a {
    color: var(--bs-black);
    text-decoration: none;
}

.article-category-list:hover {
    color: var(--bs-secondary-900);
}

#categoryBtn.show > i, #sortSelect.show > i {
    transition: .5s;
    rotate: 180deg;
}

/* ปุ่มไลก์ - ไอคอนเปล่า ไม่ใช่ปุ่มพื้นสี
   ยังไม่ได้กด = เทา / กดแล้ว = น้ำเงิน primary-500 */
.icon-list-article,
.icon-article-like {
    font-size: 20px;
    background: none;
    border-radius: 0;
    cursor: pointer;
    transition: color .15s;
}

.icon-list-article {
    color: #9B9FAB;
}

/* hover ของตัวที่ยังไม่ได้กด ต้องไม่ใช่ primary-500 ไม่งั้นตอนเมาส์ค้างอยู่บนปุ่ม
   มันจะหน้าตาเหมือนตอนกดไลก์แล้ว ดูเหมือนกดปิดไม่ติด */
.icon-list-article:hover {
    color: #6B7385;
}

.icon-article-like {
    color: var(--bs-primary-500);
}

.icon-article-like:hover {
    color: var(--bs-primary-700);
}

.article-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.card-article-body {
    height: 290px;
}

/* .img-popular: source of truth อยู่ที่ article-list.css (โหลดทีหลังในหน้า detail) */

@media (max-width: 1200px) {

    .article-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 350px) {
    .card-article-body {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .article-list {
        grid-template-columns: 1fr;
    }
}

.news-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 center;
    height: 150px;
}
/* .underline-* ถูกลบแล้ว - ขีดใต้แท็บย้ายไปอยู่ที่ component .app-tab (main.css) */

/* share last icon */
.st-last {
    display: inline-block !important;
}
.article-creator-icon {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

/* OLD */
.article-detail img {
    max-width: 100%!important;
}

.icon-btn {
    padding: 5px;
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.border-comment {
    border-top: 3px solid gray;
}

.grid-review {
    display: grid;
    grid-template-columns: 90px 1fr;
}

.popular-news {
    margin-top: 140px;
}

@media (max-width: 766px) {
    .company-header-avatar {
        width: 60px;
        height: 60px;
    }
    .h3 {
        font-size: 20px;
    }
    .h1 {
        font-size: 30px;
    }
    .popular-news {
        margin-top: 0px;
    }
}

/* ==========================================================================
   หน้าข่าวสารและกิจกรรม (frontend/article/list + tabs)
   ย้ายมาจาก <style> ที่เคยฝังอยู่ในไฟล์ blade เพื่อไม่ให้ css กระจายหลายที่
   ========================================================================== */

/* ---- list.blade.php ---- */
    .na-page {
        max-width: 1650px;
        margin: 0 auto;
        padding: 1.25rem 2.5rem 3rem;
        text-align: left;
    }
    /* ---------- panel + tabs ---------- */
    .na-panel {
        background: #fff;
        border-radius: 28px;
        box-shadow: 0 14px 44px rgba(33, 48, 105, 0.08);
        padding: 0 2.5rem 3rem;
        position: relative;
    }
    .na-tabs {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #e9edf5;
        margin: 0 -2.5rem 2.25rem;
        padding: 0 1.5rem;
    }
    .na-tab {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        flex: 1 1 0;
        justify-content: center;
        padding: 1.2rem 1rem;
        font-weight: 700;
        font-size: 0.98rem;
        color: #55608a;
        text-decoration: none;
        position: relative;
        white-space: nowrap;
        transition: color 0.2s;
    }
    .na-tab i {
        font-size: 1.15rem;
    }
    .na-tab:hover {
        color: var(--bs-primary);
    }
    .na-tab.active {
        color: var(--bs-secondary);
    }
    .na-tab.active::after {
        content: "";
        position: absolute;
        left: 20%;
        right: 20%;
        bottom: -1px;
        height: 3px;
        border-radius: 2px;
        background: var(--bs-secondary);
    }

    /* ---------- pane ของแต่ละแท็บ ---------- */
    .na-pane {
        display: none;
    }
    .na-pane.active {
        display: block;
    }
    .na-tab-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        background: #f5f8ff;
        border: 1px dashed rgba(33, 48, 105, 0.18);
        border-radius: 18px;
        padding: 4rem 1rem;
        text-align: center;
    }
    .na-tab-placeholder i {
        font-size: 2.4rem;
        color: #9aa3b8;
        margin-bottom: 0.5rem;
    }
    .na-tab-placeholder p {
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 1.1rem;
        margin: 0;
    }
    .na-tab-placeholder span {
        color: #8b93a7;
        font-size: 0.9rem;
    }

    /* ---------- หัวข้อ section ร่วม ---------- */
    .na-section-title {
        color: var(--bs-primary);
        font-weight: 800;
        font-size: 1.35rem;
        margin: 0 0 1.25rem;
    }

    /* ---------- สองคอลัมน์ (สูงเท่ากัน) ---------- */
    .na-two-col {
        display: flex;
        gap: 2.5rem;
        align-items: stretch;
    }
    .na-col-left {
        flex: 1 1 62%;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .na-col-right {
        flex: 1 1 33%;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    /* สี/ขอบมาจาก .btn-outline-primary + .rounded-pill (main.css) - ที่นี่แค่ layout */
    .na-more-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        font-weight: 600;
        padding: 0.6rem 1.6rem;
    }

    /* ---------- แถบ filter (ใช้ร่วมกันแท็บข่าวสาร + แท็บกิจกรรม) ---------- */
    .nw-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
        align-items: center;
        margin-bottom: 1.4rem;
    }
    .nw-search {
        position: relative;
        flex: 1 1 220px;
        min-width: 180px;
    }
    .nw-search i {
        position: absolute;
        left: 0.9rem;
        top: 50%;
        transform: translateY(-50%);
        color: #9aa3b8;
        font-size: 0.85rem;
    }
    .nw-search input {
        width: 100%;
        border: 1px solid #dfe4f0;
        border-radius: 50rem;
        padding: 0.5rem 1rem 0.5rem 2.3rem;
        font-size: 0.9rem;
        color: var(--bs-primary);
        outline: none;
        background: #fff;
    }
    .nw-search input:focus {
        border-color: var(--bs-primary);
    }
    .nw-select {
        border: 1px solid #dfe4f0;
        border-radius: 50rem;
        padding: 0.5rem 2rem 0.5rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--bs-primary);
        background-color: #fff;
        outline: none;
        cursor: pointer;
        max-width: 160px;
    }
    .nw-reset {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        color: #55608a;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        padding: 0.5rem 0.75rem;
    }
    .nw-reset:hover {
        color: var(--bs-secondary);
    }

    @media (max-width: 1199.98px) {
        .na-two-col {
            flex-direction: column;
        }
        .na-col-left,
        .na-col-right {
            flex: none;
            width: 100%;
        }
    }
    @media (max-width: 767.98px) {
        .na-page {
            padding: 1rem 1rem 2rem;
        }
        .na-panel {
            padding: 0 1.25rem 2rem;
        }
        .na-tabs {
            margin: 0 -1.25rem 1.5rem;
            padding: 0 0.5rem;
        }
        .na-tab {
            flex: 1 1 50%;
            padding: 0.9rem 0.5rem;
            font-size: 0.88rem;
        }
    }

/* ---- news_list.blade.php ---- */
    #na-news {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    /* CSS ของแถบ filter (.nw-filter ฯลฯ) อยู่ที่ list.blade.php เพราะใช้ร่วมกับแท็บกิจกรรม */

    /* ---------- grid ข่าว ---------- */
    .nw-grid {
        display: flex;
        gap: 1.5rem;
        align-items: stretch;
    }
    .nw-featured {
        position: relative;
        flex: 0 0 46%;
        min-width: 0;
        border-radius: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 380px;
        text-decoration: none;
        box-shadow: 0 10px 32px rgba(33, 48, 105, 0.12);
    }
    .nw-featured :is(img.nw-featured-img, .nw-featured-img img) ,
    .nw-featured img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .nw-featured-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg,
            rgba(15, 25, 60, 0.88) 0%,
            rgba(15, 25, 60, 0.45) 45%,
            rgba(15, 25, 60, 0.1) 75%);
    }
    .nw-featured-body {
        position: relative;
        padding: 1.5rem;
        color: #fff;
    }
    .nw-badge {
        display: inline-block;
        background: #e8eefb;
        color: var(--bs-primary);
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 50rem;
        padding: 0.15rem 0.75rem;
        margin-bottom: 0.5rem;
        width: fit-content;
    }
    .nw-featured-body .nw-badge {
        background: var(--bs-primary);
        color: #fff;
    }
    .nw-featured-date {
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 0.4rem;
    }
    .nw-featured-title {
        font-weight: 800;
        font-size: 1.25rem;
        line-height: 1.45;
        margin: 0 0 0.5rem;
        color: #fff;
    }
    .nw-featured-excerpt {
        font-size: 0.88rem;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.85);
        margin: 0 0 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .nw-featured-btn {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        border: 1.5px solid rgba(255, 255, 255, 0.8);
        color: #fff;
        font-weight: 600;
        font-size: 0.88rem;
        border-radius: 50rem;
        padding: 0.45rem 1.2rem;
        transition: 0.25s;
    }
    .nw-featured:hover .nw-featured-btn {
        background: var(--bs-secondary);
        border-color: var(--bs-secondary);
    }

    .nw-side-list {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .nw-side-item {
        display: flex;
        gap: 1rem;
        padding: 0.8rem 0;
        text-decoration: none;
        align-items: flex-start;
    }
    .nw-side-item + .nw-side-item {
        border-top: 1px solid #e9edf5;
    }
    .nw-side-item img {
        width: 96px;
        height: 82px;
        flex: 0 0 96px;
        border-radius: 14px;
        object-fit: cover;
    }
    .nw-side-detail {
        min-width: 0;
    }
    .nw-side-title {
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 0.95rem;
        line-height: 1.45;
        margin: 0 0 0.35rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .nw-side-item:hover .nw-side-title {
        color: var(--bs-secondary);
    }
    .nw-side-meta {
        display: flex;
        justify-content: space-between;
        gap: 0.5rem;
        color: #8b93a7;
        font-size: 0.8rem;
    }

    @media (max-width: 767.98px) {
        .nw-grid {
            flex-direction: column;
        }
        .nw-featured {
            flex: none;
            min-height: 300px;
        }
    }

/* ---- calendar_card.blade.php ---- */
    #na-calendar {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .nc-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        background: #f5f8ff;
        border: 1px solid rgba(33, 48, 105, 0.07);
        border-radius: 20px;
        padding: 1.25rem 1.25rem 1.4rem;
    }

    .nc-event-list {
        flex: 1;
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
    }
    .nc-event-item {
        display: flex;
        gap: 0.9rem;
        padding: 0.7rem 0;
        align-items: flex-start;
    }
    .nc-event-item + .nc-event-item {
        border-top: 1px solid #e4e9f4;
    }
    .nc-event-date {
        flex: 0 0 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.15;
    }
    .nc-event-date .d {
        color: var(--bs-primary);
        font-weight: 800;
        font-size: 1.5rem;
    }
    .nc-event-date .m {
        color: var(--bs-primary);
        font-weight: 600;
        font-size: 0.82rem;
    }
    .nc-event-info {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 0;
    }
    .nc-event-info .t {
        color: #8b93a7;
        font-size: 0.8rem;
    }
    .nc-event-info .n {
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 0.92rem;
        line-height: 1.4;
    }
    .nc-event-info .p {
        color: #8b93a7;
        font-size: 0.8rem;
    }
    /* สี/ขอบมาจาก .btn-outline-primary + .rounded-pill (main.css) - ที่นี่แค่ layout */
    .nc-all-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: auto;
        font-weight: 600;
        font-size: 0.92rem;
        padding: 0.55rem 1rem;
    }

/* ---- events_gallery.blade.php ---- */
    .ev-wrap,
    .gl-wrap {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    /* ---------- การ์ดกิจกรรม ---------- */
    .ev-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .ev-card {
        background: #fff;
        border: 1px solid rgba(33, 48, 105, 0.1);
        border-radius: 18px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 6px 20px rgba(33, 48, 105, 0.07);
    }
    .ev-card-img {
        height: 140px;
        background: linear-gradient(135deg, #213069 0%, #2D66CC 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 2rem;
    }
    .ev-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .ev-card-body {
        padding: 1rem 1.1rem 1.2rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .ev-card-when {
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 0.4rem;
    }
    .ev-card-when .d {
        color: var(--bs-primary);
        font-weight: 800;
        font-size: 1.6rem;
        line-height: 1;
    }
    .ev-card-when .my {
        color: var(--bs-primary);
        font-weight: 600;
        font-size: 0.85rem;
    }
    .ev-card-when .t {
        color: #8b93a7;
        font-size: 0.8rem;
        margin-left: auto;
    }
    .ev-card-title {
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 0.98rem;
        line-height: 1.45;
        margin: 0 0 0.35rem;
    }
    .ev-card-place {
        color: #8b93a7;
        font-size: 0.82rem;
        margin: 0 0 0.75rem;
    }
    .ev-card-actions {
        margin-top: auto;
        display: flex;
        gap: 0.6rem;
    }
    /* สี/ขอบมาจาก .btn-outline-primary + .rounded-pill (main.css) - ที่นี่แค่ layout */
    .ev-btn {
        flex: 1;
        text-align: center;
        font-weight: 600;
        font-size: 0.88rem;
        padding: 0.45rem 0.9rem;
    }

    /* ---------- empty states ---------- */
    .ev-empty,
    .gl-empty {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        background: #f5f8ff;
        border: 1px dashed rgba(33, 48, 105, 0.18);
        border-radius: 18px;
        padding: 2.5rem 1rem;
        text-align: center;
    }
    .ev-empty i,
    .gl-empty i {
        font-size: 2.2rem;
        color: #9aa3b8;
        margin-bottom: 0.5rem;
    }
    .ev-empty p,
    .gl-empty p {
        color: var(--bs-primary);
        font-weight: 700;
        margin: 0;
    }
    .ev-empty span {
        color: #8b93a7;
        font-size: 0.88rem;
    }

    /* ---------- แกลเลอรี ---------- */
    .gl-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        background: #f5f8ff;
        border: 1px solid rgba(33, 48, 105, 0.07);
        border-radius: 20px;
        padding: 1.25rem;
    }
    .gl-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem;
    }
    .gl-grid img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 12px;
    }
    /* สี/ขอบมาจาก .btn-outline-primary + .rounded-pill (main.css) - ที่นี่แค่ layout */
    .gl-all-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: auto;
        font-weight: 600;
        font-size: 0.92rem;
        padding: 0.55rem 1rem;
    }
    .gl-card .gl-all-btn {
        margin-top: 1.1rem;
    }

    @media (max-width: 767.98px) {
        .ev-grid {
            grid-template-columns: 1fr;
        }
    }

/* ---- event_list.blade.php ---- */
    .evt-main {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .evt-count {
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 1.05rem;
        margin: 0 0 1rem;
    }
    .evt-count span {
        color: var(--bs-secondary);
    }

    /* ---------- แถวกิจกรรม ---------- */
    .evt-list {
        display: flex;
        flex-direction: column;
        gap: 1.1rem;
    }
    .evt-item {
        display: flex;
        gap: 1.1rem;
        align-items: stretch;
    }
    .evt-img {
        position: relative;
        flex: 0 0 210px;
        min-height: 150px;
        border-radius: 16px;
        overflow: hidden;
        background: linear-gradient(135deg, #213069 0%, #2D66CC 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 2rem;
    }
    .evt-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .evt-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1;
        background: var(--bs-primary);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 600;
        border-radius: 50rem;
        padding: 0.2rem 0.7rem;
    }
    .evt-card {
        flex: 1;
        min-width: 0;
        display: flex;
        gap: 1.1rem;
        background: #f5f8ff;
        border: 1px solid rgba(33, 48, 105, 0.07);
        border-radius: 16px;
        padding: 1rem 1.25rem;
    }
    .evt-date {
        flex: 0 0 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
    .evt-date .d {
        color: var(--bs-primary);
        font-weight: 800;
        font-size: 1.9rem;
        line-height: 1;
    }
    .evt-date .m,
    .evt-date .y {
        color: var(--bs-primary);
        font-weight: 600;
        font-size: 0.88rem;
    }
    .evt-body {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .evt-title {
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 1.02rem;
        line-height: 1.45;
        margin: 0 0 0.3rem;
    }
    .evt-desc {
        color: #55608a;
        font-size: 0.86rem;
        line-height: 1.6;
        margin: 0 0 0.6rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .evt-meta {
        margin-top: auto;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.4rem 1.25rem;
        color: #8b93a7;
        font-size: 0.82rem;
    }
    .evt-btn {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        background: var(--bs-secondary);
        color: #fff;
        font-weight: 600;
        font-size: 0.85rem;
        border-radius: 50rem;
        padding: 0.4rem 1.1rem;
        text-decoration: none;
        transition: 0.25s;
    }
    .evt-btn:hover {
        background: var(--bs-primary);
        color: #fff;
    }

    /* ---------- pagination ---------- */
    .evt-pagination {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.75rem;
    }
    .evt-page {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #dfe4f0;
        color: var(--bs-primary);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        transition: 0.2s;
    }
    .evt-page:hover {
        border-color: var(--bs-primary);
    }
    .evt-page.active {
        background: var(--bs-primary);
        border-color: var(--bs-primary);
        color: #fff;
    }

    /* ---------- empty state ---------- */
    .evt-empty {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        background: #f5f8ff;
        border: 1px dashed rgba(33, 48, 105, 0.18);
        border-radius: 18px;
        padding: 4rem 1rem;
        text-align: center;
    }
    .evt-empty i {
        font-size: 2.4rem;
        color: #9aa3b8;
        margin-bottom: 0.5rem;
    }
    .evt-empty p {
        color: var(--bs-primary);
        font-weight: 700;
        margin: 0;
    }
    .evt-empty span {
        color: #8b93a7;
        font-size: 0.88rem;
    }

    @media (max-width: 991.98px) {
        .evt-item {
            flex-direction: column;
        }
        .evt-img {
            flex: none;
            height: 170px;
        }
    }

/* ---- sidebar.blade.php ---- */
    .evs-side {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
    }
    .evs-card {
        background: #f5f8ff;
        border: 1px solid rgba(33, 48, 105, 0.07);
        border-radius: 20px;
        padding: 1.25rem;
    }
    .evs-card-title {
        color: var(--bs-primary);
        font-weight: 800;
        font-size: 1.1rem;
        margin: 0 0 1rem;
    }

    /* ---------- กิจกรรมใกล้จะถึง ---------- */
    .evs-event-item {
        display: flex;
        gap: 0.9rem;
        padding: 0.7rem 0;
        align-items: flex-start;
    }
    .evs-event-item + .evs-event-item {
        border-top: 1px solid #e4e9f4;
    }
    .evs-event-date {
        flex: 0 0 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.15;
    }
    .evs-event-date .d {
        color: var(--bs-secondary);
        font-weight: 800;
        font-size: 1.5rem;
    }
    .evs-event-date .m {
        color: var(--bs-secondary);
        font-weight: 600;
        font-size: 0.82rem;
    }
    .evs-event-info {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        min-width: 0;
    }
    .evs-event-info .n {
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 0.92rem;
        line-height: 1.4;
    }
    .evs-event-info .t {
        color: #8b93a7;
        font-size: 0.8rem;
    }
    .evs-all-link {
        display: inline-flex;
        align-items: center;
        margin-top: 0.75rem;
        color: var(--bs-primary);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
    }
    .evs-all-link:hover {
        color: var(--bs-secondary);
    }

    /* ---------- แบนเนอร์หลักสูตร ---------- */
    .evs-promo {
        border-radius: 20px;
        overflow: hidden;
        padding: 2rem 1.5rem;
        background:
            linear-gradient(180deg, rgba(33, 48, 105, 0.92) 0%, rgba(33, 48, 105, 0.55) 55%, rgba(15, 25, 60, 0.75) 100%),
            url('../image/home/bg-arrivals.webp') center bottom / cover no-repeat;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        min-height: 210px;
        justify-content: space-between;
    }
    .evs-promo-text {
        color: #fff;
        font-weight: 800;
        font-size: 1.35rem;
        line-height: 1.5;
        margin: 0;
    }
    .evs-promo-btn {
        display: inline-flex;
        align-items: center;
        background: #fff;
        color: var(--bs-primary);
        font-weight: 700;
        font-size: 0.9rem;
        border-radius: 50rem;
        padding: 0.55rem 1.3rem;
        text-decoration: none;
        transition: 0.25s;
    }
    .evs-promo-btn:hover {
        background: var(--bs-secondary);
        color: #fff;
    }
