﻿html {
    font-size: 17px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* =============================================
   TRANG GIOI THIEU - MENU NGANG
   ============================================= */

/* Wrapper noi dung full-width */
.gt-body {
    padding-top: 1.5rem;
}

/* ---- Menu ngang chinh ---- */
/* =============================================
   PAGE GIOI THIEU – VERTICAL ICON SIDENAV
   ============================================= */

/* Layout wrapper: sidebar + content */
.pgt-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

/* ── Sidebar ── */
.pgt-sidenav {
    --snav-w-collapsed: 56px;
    --snav-w-expanded:  230px;
    --snav-accent:      var(--bs-primary, #1a5fb4);
    --snav-bg:          #fff;
    --snav-radius:      14px;

    flex-shrink: 0;
    width: var(--snav-w-collapsed);
    background: var(--snav-bg);
    border-radius: var(--snav-radius);
    box-shadow: 0 2px 16px rgba(0,0,0,.09);
    overflow: hidden;
    transition: width 0.28s cubic-bezier(.4,0,.2,1);
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: none;
}
.pgt-sidenav::-webkit-scrollbar { display: none; }

/* Expand on hover – desktop only */
@media (hover: hover) and (min-width: 993px) {
    .pgt-sidenav:hover {
        width: var(--snav-w-expanded);
    }
}

/* ── Nav list ── */
.pgt-nav-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

/* ── Nav item ── */
.pgt-nav-item {
    position: relative;
}

/* ── Nav link ── */
.pgt-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0;
    padding-left: 0;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border-left: 3px solid transparent;
    transition: color 0.18s, background 0.18s, border-color 0.18s;
    min-height: 48px;
    overflow: hidden;
}

.pgt-nav-link:hover,
.pgt-nav-link.active {
    color: var(--snav-accent);
    background: #f0f5ff;
    border-left-color: var(--snav-accent);
}

/* icon cell – fixed width so text slides in */
.pgt-nav-icon {
    flex-shrink: 0;
    width: var(--snav-w-collapsed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #666;
    transition: color 0.18s;
}
.pgt-nav-link:hover .pgt-nav-icon,
.pgt-nav-link.active .pgt-nav-icon {
    color: var(--snav-accent);
}

.pgt-nav-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s 0.05s, transform 0.2s 0.05s;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pgt-nav-arrow {
    flex-shrink: 0;
    padding-right: 0.8rem;
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

/* Show text when sidebar is expanded (hover on desktop) */
@media (hover: hover) and (min-width: 993px) {
    .pgt-sidenav:hover .pgt-nav-text,
    .pgt-sidenav:hover .pgt-nav-arrow {
        opacity: 1;
        transform: translateX(0);
    }
    .pgt-has-sub.active > .pgt-nav-link .pgt-nav-arrow,
    .pgt-has-sub:hover > .pgt-nav-link .pgt-nav-arrow {
        transform: rotate(180deg);
    }
}

/* Active item accent bar */
.pgt-nav-item.active > .pgt-nav-link {
    background: #eef3ff;
    border-left-color: var(--snav-accent);
    color: var(--snav-accent);
    font-weight: 600;
}
.pgt-nav-item.active > .pgt-nav-link .pgt-nav-icon { color: var(--snav-accent); }

/* ── Sub menu ── */
.pgt-nav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: #f7f9ff;
}

.pgt-nav-sub li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0;
    padding-left: 0;
    color: #555;
    text-decoration: none;
    font-size: 0.87rem;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.15s, background 0.15s;
    min-height: 44px;
}
.pgt-nav-sub li a .pgt-nav-icon {
    font-size: 0.85rem;
    color: #999;
}
.pgt-nav-sub li a .pgt-nav-text {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s 0.05s, transform 0.2s 0.05s;
}
.pgt-nav-sub li a:hover,
.pgt-nav-sub li.active a {
    color: var(--snav-accent);
    background: #e8efff;
}
.pgt-nav-sub li.active a { font-weight: 600; }
.pgt-nav-sub li.active a .pgt-nav-icon { color: var(--snav-accent); }

/* Expand sub when parent group active or sidebar hovered */
.pgt-has-sub.active > .pgt-nav-sub { max-height: 400px; }

@media (hover: hover) and (min-width: 993px) {
    .pgt-sidenav:hover .pgt-nav-sub li a .pgt-nav-text {
        opacity: 1;
        transform: translateX(0);
    }
    .pgt-sidenav:hover .pgt-has-sub:hover > .pgt-nav-sub,
    .pgt-sidenav:hover .pgt-has-sub.active > .pgt-nav-sub {
        max-height: 400px;
    }
}

/* ── Content area ── */
.pgt-content {
    flex: 1;
    min-width: 0;
}

/* =============================================
   MOBILE  ≤ 992px  → horizontal pill bar
   ============================================= */
@media (max-width: 992px) {
    .pgt-layout {
        flex-direction: column;
        gap: 0;
    }

    .pgt-sidenav {
        width: 100% !important;
        position: static;
        max-height: none;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,.08);
        overflow: visible;
        margin-bottom: 1.25rem;
    }

    .pgt-nav-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.4rem 0.5rem;
        gap: 0.4rem;
        scrollbar-width: none;
    }
    .pgt-nav-list::-webkit-scrollbar { display: none; }

    .pgt-nav-item { flex-shrink: 0; }

    .pgt-nav-link {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 0.55rem 0.85rem;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 10px;
        min-height: unset;
        background: #f4f6fb;
    }
    .pgt-nav-link:hover,
    .pgt-nav-link.active {
        border-bottom-color: var(--snav-accent);
        background: #e8efff;
    }
    .pgt-nav-item.active > .pgt-nav-link {
        border-left: none;
        border-bottom: 3px solid var(--snav-accent);
    }

    .pgt-nav-icon {
        width: auto;
        font-size: 1.1rem;
    }

    .pgt-nav-text {
        opacity: 1 !important;
        transform: none !important;
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.2;
        max-width: 80px;
        white-space: normal;
    }

    .pgt-nav-arrow { display: none; }

    /* sub-menu on mobile: full-width dropdown below bar */
    .pgt-nav-sub {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 200;
        background: #fff;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 6px 20px rgba(0,0,0,.1);
        flex-direction: column;
        display: none;
    }
    .pgt-has-sub.active > .pgt-nav-sub,
    .pgt-has-sub:focus-within > .pgt-nav-sub { display: flex; max-height: none; }

    .pgt-nav-sub li a {
        padding: 0.6rem 1rem;
        min-height: unset;
    }
    .pgt-nav-sub li a .pgt-nav-text { opacity: 1; transform: none; font-size: 0.88rem; }
}



/* =============================================
   TYPOGRAPHY - NOI DUNG HTML TU DB
   Ap dung cho ca .page-tomtat va .page-noidung
   ============================================= */
.page-tomtat,
.page-noidung {
    line-height: 2;
    color: #1f2937;
    font-size: 1.07rem;
    word-break: break-word;
    letter-spacing: .01em;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

    /* Tieu de */
    .page-tomtat h1, .page-noidung h1,
    .page-tomtat h2, .page-noidung h2,
    .page-tomtat h3, .page-noidung h3,
    .page-tomtat h4, .page-noidung h4,
    .page-tomtat h5, .page-noidung h5,
    .page-tomtat h6, .page-noidung h6 {
        font-weight: 700;
        line-height: 1.4;
        margin-top: 2rem;
        margin-bottom: 0.85rem;
        color: #111827;
        letter-spacing: -.01em;
    }

    .page-tomtat h1, .page-noidung h1 {
        font-size: 1.95rem;
    }

    /* H2: gach ngang duoi co accent mau */
    .page-tomtat h2, .page-noidung h2 {
        font-size: 1.55rem;
        padding-bottom: .45rem;
        border-bottom: 2px solid #e5e7eb;
        position: relative;
    }
    .page-noidung h2::after {
        content: '';
        position: absolute;
        left: 0; bottom: -2px;
        width: 48px; height: 2px;
        background: var(--primary, #1a5fb4);
        border-radius: 2px;
    }

    /* H3: gach trai accent */
    .page-tomtat h3, .page-noidung h3 {
        font-size: 1.3rem;
        padding-left: .85rem;
        border-left: 3px solid var(--primary, #1a5fb4);
    }

    .page-tomtat h4, .page-noidung h4 {
        font-size: 1.15rem;
        color: #1e3a5f;
    }

    .page-tomtat h5, .page-noidung h5 {
        font-size: 1.05rem;
    }

    .page-tomtat h6, .page-noidung h6 {
        font-size: .95rem;
        color: #4b5563;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    /* Doan van */
    .page-tomtat p, .page-noidung p {
        margin-bottom: 1.25rem;
    }

    /* Danh sach */
    .page-tomtat ul, .page-noidung ul,
    .page-tomtat ol, .page-noidung ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .page-tomtat ul, .page-noidung ul {
        list-style: disc;
    }

    .page-tomtat ol, .page-noidung ol {
        list-style: decimal;
    }

    .page-tomtat li, .page-noidung li {
        margin-bottom: .5rem;
        line-height: 1.8;
    }

    /* Lien ket */
    .page-tomtat a, .page-noidung a {
        color: var(--primary, #1a5fb4);
        text-decoration: none;
        border-bottom: 1px solid rgba(26,95,180,.3);
        transition: color .15s, border-color .15s;
    }

    .page-tomtat a:hover, .page-noidung a:hover {
        color: #0e3d8a;
        border-bottom-color: #0e3d8a;
    }

    /* Hinh anh: can giua, do bong, vien nhe */
    .page-tomtat img, .page-noidung img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 1.75rem auto;
        border-radius: 10px;
        box-shadow: 0 4px 24px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
        border: 1px solid rgba(0,0,0,.06);
    }

    /* Blockquote */
    .page-tomtat blockquote, .page-noidung blockquote {
        position: relative;
        border-left: 4px solid var(--primary, #1a5fb4);
        padding: 1rem 1.25rem 1rem 3rem;
        margin: 1.75rem 0;
        background: linear-gradient(135deg, #f0f6ff 0%, #f8fafc 100%);
        border-radius: 0 10px 10px 0;
        color: #374151;
        font-style: italic;
        font-size: 1.05rem;
        line-height: 1.8;
        box-shadow: 0 2px 8px rgba(26,95,180,.07);
    }
    .page-tomtat blockquote::before, .page-noidung blockquote::before {
        content: '\201C';
        position: absolute;
        left: .6rem;
        top: .1rem;
        font-size: 3rem;
        line-height: 1;
        color: var(--primary, #1a5fb4);
        opacity: .35;
        font-style: normal;
        font-weight: 900;
    }

    /* Bang */
    .page-tomtat table, .page-noidung table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.5rem 0;
        font-size: .97rem;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 6px rgba(0,0,0,.07);
    }
    .page-tomtat th, .page-noidung th {
        background: var(--primary, #1a5fb4);
        color: #fff;
        padding: .65rem .95rem;
        text-align: left;
        font-weight: 600;
        font-size: .9rem;
        letter-spacing: .03em;
    }
    .page-tomtat td, .page-noidung td {
        padding: .6rem .95rem;
        border-bottom: 1px solid #f0f0f0;
        vertical-align: top;
    }
    .page-tomtat tr:nth-child(even) td,
    .page-noidung tr:nth-child(even) td {
        background: #f8fafc;
    }
    .page-noidung tr:hover td {
        background: #eef3fb;
    }

    /* Code */
    .page-tomtat pre, .page-noidung pre {
        background: #f4f4f4;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 1rem;
        overflow-x: auto;
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .page-tomtat code, .page-noidung code {
        background: #f0f0f0;
        padding: 0.1em 0.4em;
        border-radius: 3px;
        font-size: 0.95em;
    }

    .page-tomtat pre code, .page-noidung pre code {
        background: none;
        padding: 0;
    }

    /* Duong ngang */
    .page-tomtat hr, .page-noidung hr {
        border: none;
        height: 2px;
        background: linear-gradient(90deg, var(--primary,#1a5fb4) 0%, transparent 100%);
        margin: 2rem 0;
        opacity: .25;
        border-radius: 2px;
    }

    /* Strong / Em */
    .page-tomtat strong, .page-noidung strong {
        font-weight: 700;
    }

    .page-tomtat em, .page-noidung em {
        font-style: italic;
    }

/* =============================================
   SCHOOL CARD
   ============================================= */
.school-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.school-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

    .school-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,.14);
        transform: translateY(-2px);
    }

.school-card__cover {
    position: relative;
    display: block;
    height: 180px;
    overflow: hidden;
}

    .school-card__cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
    }

.school-card:hover .school-card__cover img {
    transform: scale(1.04);
}

.school-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary, #1e3a5f);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .04em;
}

.school-card__body {
    padding: 1rem 1.2rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.school-card__logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: .6rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .school-card__logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.school-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: .4rem;
}

    .school-card__name a {
        color: inherit;
        text-decoration: none;
    }

        .school-card__name a:hover {
            color: var(--color-primary, #1e3a5f);
        }

.school-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .9rem;
    color: #6b7280;
    margin-bottom: .6rem;
}

    .school-card__meta span {
        display: flex;
        align-items: center;
        gap: .3rem;
    }

.school-card__desc {
    font-size: .95rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.btn-sm {
    padding: .4rem .9rem;
    font-size: .9rem;
}

/* =============================================
   SCHOOL SEARCH FORM
   ============================================= */
.school-search-form {
        display: flex;
        flex-wrap: wrap;
        gap: .75rem;
        align-items: center;
    }

        .school-search-form input, .school-search-form select {
            padding: .65rem 1rem;
            border: 1.5px solid #d1d5db;
            border-radius: 8px;
            font-size: 1rem;
            background: #fff;
            min-width: 160px;
            flex: 1;
        }

    .school-search-form--full input, .school-search-form--full select {
        min-width: 180px;
    }

    .school-search-btn {
        padding: .65rem 1.6rem;
        background: var(--color-primary, #1e3a5f);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: background .2s;
    }

        .school-search-btn:hover {
            background: #163060;
        }

    .school-search-btn-container {
        display: flex;
        gap: .75rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    /* =============================================
   SCHOOL FINDER (NEW HERO SEARCH)
   ============================================= */
    .school-finder-section {
        padding: 0;
    }

    .school-finder-bg {
        position: relative;
        background: linear-gradient(135deg, #0d2447 0%, #1e3a5f 40%, #0b4d8a 100%);
        overflow: hidden;
    }

        .school-finder-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/static/img/world-map-dots.svg') center/cover no-repeat;
            opacity: .06;
            pointer-events: none;
        }

        .school-finder-bg::after {
            content: '';
            position: absolute;
            bottom: -60px;
            left: -60px;
            width: 340px;
            height: 340px;
            background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
            pointer-events: none;
        }

    .school-finder-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(13,36,71,.55) 0%, rgba(11,77,138,.35) 100%);
        pointer-events: none;
    }

    .school-finder-inner {
        position: relative;
        z-index: 1;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .school-finder-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .school-finder-label {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.25);
        color: #fff;
        font-size: .82rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        padding: .35rem 1.1rem;
        border-radius: 30px;
        margin-bottom: 1rem;
        backdrop-filter: blur(4px);
    }

    .school-finder-title {
        color: #fff;
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
        font-weight: 800;
        margin: 0 0 .75rem;
        line-height: 1.2;
        text-shadow: 0 2px 8px rgba(0,0,0,.25);
    }

    .school-finder-desc {
        color: rgba(255,255,255,.8);
        font-size: 1rem;
        max-width: 560px;
        margin: 0 auto;
        line-height: 1.6;
    }
    /* Search input */
    .school-finder-search {
        margin-bottom: 2rem;
    }

    .school-finder-input-wrap {
        position: relative;
        max-width: 660px;
        margin: 0 auto;
    }

    .school-finder-input-icon {
        position: absolute;
        left: 1.2rem;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 1rem;
        pointer-events: none;
    }

    .school-finder-input-wrap input {
        width: 100%;
        padding: 1rem 1.2rem 1rem 3rem;
        border-radius: 50px;
        border: 2px solid rgba(255,255,255,.2);
        background: rgba(255,255,255,.95);
        font-size: 1rem;
        color: #1e293b;
        outline: none;
        transition: border-color .2s, box-shadow .2s;
        box-shadow: 0 4px 20px rgba(0,0,0,.15);
    }

        .school-finder-input-wrap input:focus {
            border-color: #3b82f6;
            box-shadow: 0 4px 24px rgba(59,130,246,.25);
        }

        .school-finder-input-wrap input::placeholder {
            color: #9ca3af;
        }
    /* Filter groups */
    .school-finder-filters {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        max-width: 900px;
        margin: 0 auto 2.5rem;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 20px;
        padding: 1.6rem 2rem;
        backdrop-filter: blur(8px);
    }

    .sf-filter-group {
    }

    .sf-filter-label {
        color: rgba(255,255,255,.65);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase;
        margin-bottom: .65rem;
        display: flex;
        align-items: center;
        gap: .4rem;
    }

    .sf-chips {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .sf-chip {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .45rem 1rem;
        border-radius: 30px;
        border: 1.5px solid rgba(255,255,255,.22);
        background: rgba(255,255,255,.1);
        color: rgba(255,255,255,.85);
        font-size: .88rem;
        font-weight: 600;
        cursor: pointer;
        transition: background .18s, border-color .18s, color .18s, transform .15s;
        white-space: nowrap;
        backdrop-filter: blur(4px);
    }

        .sf-chip:hover {
            background: rgba(255,255,255,.22);
            border-color: rgba(255,255,255,.5);
            color: #fff;
            transform: translateY(-1px);
        }

        .sf-chip.active {
            background: #fff;
            border-color: #fff;
            color: #0d2447;
            box-shadow: 0 3px 12px rgba(0,0,0,.18);
        }

        .sf-chip img.sf-chip-flag {
            width: 16px;
            height: 12px;
            object-fit: cover;
            border-radius: 2px;
        }
    /* CTA */
    .school-finder-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .sf-search-btn {
        display: inline-flex;
        align-items: center;
        gap: .6rem;
        padding: .9rem 2.4rem;
        background: linear-gradient(135deg, #f97316, #ef4444);
        color: #fff;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: .04em;
        cursor: pointer;
        box-shadow: 0 6px 24px rgba(239,68,68,.4);
        transition: transform .18s, box-shadow .18s, opacity .18s;
    }

        .sf-search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 32px rgba(239,68,68,.45);
            opacity: .95;
        }

    .sf-link-btn {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .8rem 1.5rem;
        background: rgba(255,255,255,.12);
        border: 1.5px solid rgba(255,255,255,.3);
        color: #fff;
        border-radius: 50px;
        font-size: .9rem;
        font-weight: 600;
        text-decoration: none;
        backdrop-filter: blur(4px);
        transition: background .18s, border-color .18s, transform .15s;
    }

        .sf-link-btn:hover {
            background: rgba(255,255,255,.22);
            border-color: rgba(255,255,255,.55);
            color: #fff;
            transform: translateY(-1px);
        }

    @media (max-width: 640px) {
        .school-finder-filters {
            padding: 1.2rem 1rem;
        }

        .sf-search-btn {
            width: 100%;
            justify-content: center;
        }

        .sf-link-btn {
            flex: 1;
            justify-content: center;
        }
    }
    /* =============================================
   MAJOR GRID
   ============================================= */
    .major-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .major-card {
        background: #fff;
        border: 1.5px solid #e5e7eb;
        border-radius: 10px;
        padding: 1.2rem 1rem;
        text-align: center;
        text-decoration: none;
        color: inherit;
        transition: border-color .2s, box-shadow .2s, transform .2s;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;
    }

        .major-card:hover {
            border-color: var(--color-primary, #1e3a5f);
            box-shadow: 0 4px 16px rgba(0,0,0,.1);
            transform: translateY(-2px);
        }

    .major-card__icon {
        font-size: 1.8rem;
        color: var(--color-primary, #1e3a5f);
    }

    .major-card__name {
        font-weight: 700;
        font-size: .95rem;
    }

    .major-card__en {
        font-size: .78rem;
        color: #9ca3af;
    }

    .major-tags {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .major-tag {
        background: #f0f4ff;
        color: var(--color-primary, #1e3a5f);
        border-radius: 20px;
        padding: .3rem .85rem;
        font-size: .82rem;
        font-weight: 600;
        text-decoration: none;
        transition: background .2s;
    }

        .major-tag:hover {
            background: var(--color-primary, #1e3a5f);
            color: #fff;
        }
    /* =============================================
   TRUONG DETAIL
   ============================================= */
    .truong-hero {
        position: relative;
        min-height: 340px;
        display: flex;
        align-items: flex-end;
        background-size: cover;
        background-position: center;
    }

    .truong-hero__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 100%);
    }

    .truong-hero__content {
        position: relative;
        z-index: 1;
        padding: 2rem 0;
        display: flex;
        align-items: flex-end;
        gap: 1.5rem;
        width: 100%;
    }

    .truong-hero__logo {
        width: 90px;
        height: 90px;
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border: 2px solid rgba(255,255,255,.3);
    }

        .truong-hero__logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .truong-hero__info {
        flex: 1;
    }

    .truong-hero__badges {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
        margin-bottom: .6rem;
    }

    .truong-hero__name {
        color: #fff;
        font-size: clamp(1.4rem, 3vw, 2.2rem);
        font-weight: 800;
        line-height: 1.2;
    }

    .truong-hero__city {
        color: rgba(255,255,255,.8);
        font-size: .9rem;
        margin-top: .4rem;
    }

    .truong-meta-bar {
        padding: .8rem 0;
    }

    .truong-meta-bar__inner {
        display: flex;
        flex-wrap: wrap;
        gap: 1.2rem;
        align-items: center;
    }

    .truong-meta-item {
        display: flex;
        align-items: center;
        gap: .4rem;
        color: rgba(255,255,255,.85);
        font-size: .88rem;
    }

        .truong-meta-item a {
            color: inherit;
        }

        .truong-meta-item i {
            color: rgba(255,255,255,.6);
        }

    .truong-layout {
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: 2.5rem;
        align-items: flex-start;
    }

    @media (max-width: 900px) {
        .truong-layout {
            grid-template-columns: 1fr;
        }
    }

    .truong-section {
        margin-bottom: 2.5rem;
    }

    .truong-section__title {
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 1rem;
        padding-bottom: .6rem;
        border-bottom: 2px solid #e5e7eb;
        color: var(--color-primary, #1e3a5f);
    }

    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: .75rem;
    }

    .info-item {
        background: #f9fafb;
        border-radius: 8px;
        padding: .8rem 1rem;
        display: flex;
        flex-direction: column;
        gap: .25rem;
    }

    .info-label {
        font-size: .78rem;
        color: #6b7280;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .info-value {
        font-size: .95rem;
        font-weight: 600;
        color: #111827;
    }

    .badge {
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        padding: .3rem .75rem;
        border-radius: 20px;
        font-size: .78rem;
        font-weight: 700;
        background: rgba(255,255,255,.15);
        color: #fff;
    }

    .badge--partner {
        background: #f59e0b;
        color: #fff;
    }

    .badge--yes {
        background: #d1fae5;
        color: #065f46;
    }

    .cost-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .cost-table th, .cost-table td {
        padding: .7rem 1rem;
        text-align: left;
        border-bottom: 1px solid #e5e7eb;
    }

    .cost-table th {
        background: #f3f4f6;
        font-weight: 700;
        font-size: .85rem;
        color: #374151;
    }

    .cost-table tr:last-child td {
        border-bottom: none;
    }

    .stats-row {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        background: #f0f4ff;
        border-radius: 10px;
        padding: 1rem 1.5rem;
        text-align: center;
        min-width: 120px;
    }

    .stat-num {
        display: block;
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--color-primary, #1e3a5f);
    }

    .stat-label {
        font-size: .78rem;
        color: #6b7280;
        margin-top: .25rem;
    }

    .sidebar-card {
        background: #fff;
        border: 1.5px solid #e5e7eb;
        border-radius: 12px;
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }

        .sidebar-card p {
            font-size: .88rem;
            margin-bottom: .5rem;
            display: flex;
            gap: .5rem;
            align-items: flex-start;
            color: #374151;
        }

            .sidebar-card p i {
                color: var(--color-primary, #1e3a5f);
                margin-top: .15rem;
                flex-shrink: 0;
            }

            .sidebar-card p a {
                color: inherit;
                word-break: break-all;
            }

    .sidebar-card__title {
        font-weight: 800;
        font-size: 1rem;
        margin-bottom: .8rem;
        color: var(--color-primary, #1e3a5f);
    }

    .sidebar-card ol {
        margin: 5px 10px;
    }

        .sidebar-card ol li {
            list-style: decimal;
            padding: 3px 5px;
            border-bottom: dashed 1px #e7e6e6;
        }
    /* Page hero */
    .page-hero {
        background: var(--color-primary, #1e3a5f);
        padding: 4rem 0;
    }
    /* =============================================
   TRUONG SWIPER COMPONENT
   ============================================= */
    .truong-swiper-component {
        position: relative;
        padding: 0 44px;
    }

    .truong-swiper-container {
        overflow: hidden;
        padding-bottom: 36px;
    }

        .truong-swiper-container .swiper-wrapper {
            align-items: stretch;
        }

        .truong-swiper-container .swiper-slide {
            height: auto;
            display: flex;
            flex-direction: column;
        }

            .truong-swiper-container .swiper-slide .school-card {
                height: 100%;
            }

    .truong-swiper-prev,
    .truong-swiper-next {
        position: absolute;
        top: 50%;
        transform: translateY(-60%);
        z-index: 10;
        width: 36px;
        height: 36px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        color: var(--color-primary, #1e3a5f);
    }

    .truong-swiper-prev {
        left: 0;
    }

    .truong-swiper-next {
        right: 0;
    }

        .truong-swiper-prev::after,
        .truong-swiper-next::after {
            font-size: 14px;
            font-weight: 700;
        }

    .truong-swiper-pagination {
        position: absolute !important;
        bottom: 4px !important;
        left: 0;
        right: 0;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .truong-swiper-pagination .swiper-pagination-bullet {
            background: var(--color-primary, #1e3a5f);
            opacity: .35;
        }

        .truong-swiper-pagination .swiper-pagination-bullet-active {
            opacity: 1;
        }

    .school-card__logo-wrap {
        width: 40px;
        height: 40px;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: .5rem;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .school-card__logo-wrap img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    /* ============================================================
   TRUONG QUOCGIA – Sidebar layout + Filter chips + Pagination
   ============================================================ */
    .truong-quocgia-layout {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 2rem;
        align-items: start;
    }

    @media (max-width: 900px) {
        .truong-quocgia-layout {
            grid-template-columns: 1fr;
        }
    }
    /* Sidebar */
    .truong-filter-sidebar {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 1.25rem;
        position: sticky;
        top: 72px;
    }

    .filter-group {
        margin-bottom: 1.25rem;
    }

        .filter-group:last-child {
            margin-bottom: 0;
        }

    .filter-group__title {
        font-size: .8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: #6b7280;
        margin-bottom: .6rem;
        display: flex;
        align-items: center;
        gap: .4rem;
    }

    .filter-group__options {
        display: flex;
        flex-direction: column;
        gap: .35rem;
    }

    .filter-group__options--scroll {
        max-height: 220px;
        overflow-y: auto;
        padding-right: 4px;
    }

        .filter-group__options--scroll::-webkit-scrollbar {
            width: 4px;
        }

        .filter-group__options--scroll::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 4px;
        }

    .filter-chip {
        display: block;
        padding: .8rem .75rem;
        margin-bottom: .2rem;
        border-radius: 8px;
        font-size: .82rem;
        color: #374151;
        background: #f3f4f6;
        transition: background .15s, color .15s;
        cursor: pointer;
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .filter-chip:hover {
            background: #e0e7ff;
            color: #3730a3;
        }

        .filter-chip.active {
            background: var(--color-primary, #2563eb);
            color: #fff;
            font-weight: 600;
        }
    /* Badge lo?i tru?ng */
    .badge-loai {
        display: inline-block;
        background: #dbeafe;
        color: #1d4ed8;
        font-size: .75rem;
        font-weight: 600;
        padding: .15rem .6rem;
        border-radius: 999px;
        margin-left: .5rem;
        vertical-align: middle;
    }
    /* Tuition chip in card */
    .school-card__tuition {
        color: #15803d;
        font-weight: 600;
    }
    /* btn-xs */
    .btn-xs {
        padding: .2rem .55rem !important;
        font-size: .75rem !important;
        border-radius: 6px !important;
    }
    /* Pagination dots (existing) + page links */
    .pagination a.active {
        background: var(--color-primary, #2563eb);
        color: #fff;
        pointer-events: none;
    }
    /* ================================================================
   TRUONG SEARCH LAYOUT  (dùng chung Index + QuocGia)
   ================================================================ */
      .truong-search-layout {
         display: grid;
         grid-template-columns: 272px 1fr;
         gap: 2rem;
         align-items: start;
     }

     /* ----------------------------------------------------------------
    ALPHABET BAR
    ---------------------------------------------------------------- */
     .alpha-bar {
         display: flex;
         flex-wrap: wrap;
         gap: 4px;
     }

     .alpha-bar__item {
         display: inline-flex;
         align-items: center;
         justify-content: center;
         min-width: 32px;
         height: 32px;
         padding: 0 6px;
         border-radius: 6px;
         border: 1px solid #e2e8f0;
         background: #fff;
         color: #374151;
         font-size: .8rem;
         font-weight: 600;
         text-decoration: none;
         transition: background .15s, color .15s, border-color .15s;
     }

     .alpha-bar__item:hover,
     .alpha-bar__item.active {
         background: var(--primary, #1a5fb4);
         color: #fff;
         border-color: var(--primary, #1a5fb4);
     }

    @media (max-width: 960px) {
        .truong-search-layout {
            grid-template-columns: 1fr;
        }
    }
    /* ---- Sidebar ---- */
    .truong-filter-sidebar {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 1.25rem 1.1rem;
        position: sticky;
        top: 72px;
    }

    .filter-sidebar__header {
        display: flex;
        align-items: center;
        gap: .55rem;
        font-weight: 700;
        font-size: .95rem;
        color: #1e3a5f;
        margin-bottom: 1rem;
        padding-bottom: .75rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .filter-sidebar__reset {
        margin-left: auto;
        font-size: .78rem;
        color: #ef4444;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: .3rem;
    }

        .filter-sidebar__reset:hover {
            text-decoration: underline;
        }

    .filter-group {
        margin-bottom: 1.2rem;
    }

        .filter-group:last-child {
            margin-bottom: 0;
        }

    .filter-group__title {
        font-size: .78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: #9ca3af;
        margin-bottom: .55rem;
        display: flex;
        align-items: center;
        gap: .4rem;
    }

    .filter-group__options {
        display: flex;
        flex-direction: column;
        gap: .28rem;
    }

    .filter-group__options--scroll {
        max-height: 230px;
        overflow-y: auto;
        padding-right: 4px;
    }

        .filter-group__options--scroll::-webkit-scrollbar {
            width: 4px;
        }

        .filter-group__options--scroll::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 4px;
        }

    .filter-chip {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .4rem;
        padding: .8rem .75rem;
        margin-bottom: .2rem;
        border-radius: 8px;
        font-size: .83rem;
        color: #374151;
        background: #f9fafb;
        transition: background .15s, color .15s;
        text-decoration: none;
        cursor: pointer;
        border: 1px solid transparent;
    }

        .filter-chip:hover {
            background: #e0e7ff;
            color: #3730a3;
            border-color: #c7d2fe;
        }

        .filter-chip.active {
            background: var(--color-primary, #1e3a5f);
            color: #fff;
            font-weight: 600;
            border-color: transparent;
        }

    .filter-chip__count {
        font-size: .75rem;
        background: rgba(0,0,0,.08);
        padding: 1px 7px;
        border-radius: 20px;
        font-weight: 600;
    }

    .filter-chip.active .filter-chip__count {
        background: rgba(255,255,255,.2);
    }
    /* ---- Results area ---- */
    .truong-search-results {
        min-width: 0;
    }

    .truong-results-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: .75rem;
        margin-bottom: 1.25rem;
        padding: .75rem 1rem;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
    }

    .truong-results-count {
        font-size: .9rem;
        color: #4b5563;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .4rem;
    }

    .truong-results-pagesize {
        display: flex;
        align-items: center;
        gap: .4rem;
    }

    .filter-tag {
        display: inline-block;
        background: #dbeafe;
        color: #1d4ed8;
        font-size: .74rem;
        font-weight: 600;
        padding: .15rem .6rem;
        border-radius: 999px;
    }
    /* grid trong trang search: 3 c?t thay vi auto-fill d? không quá r?ng */
    .school-grid--search {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    /* ================================================================
   TABS B?C H?C  (QuocGia page)
   ================================================================ */
    .loai-tabs-bar {
        background: #fff;
        border-bottom: 1px solid #e5e7eb;
        position: sticky;
        top: 0;
        z-index: 30;
        box-shadow: 0 1px 6px rgba(0,0,0,.06);
    }

    .loai-tabs {
        display: flex;
        overflow-x: auto;
        gap: .25rem;
        padding: .5rem 0;
        scrollbar-width: none;
    }

        .loai-tabs::-webkit-scrollbar {
            display: none;
        }

    .loai-tab {
        display: flex;
        align-items: center;
        gap: .4rem;
        white-space: nowrap;
        padding: .45rem 1rem;
        border-radius: 8px;
        font-size: .85rem;
        font-weight: 500;
        color: #4b5563;
        text-decoration: none;
        transition: background .15s, color .15s;
        flex-shrink: 0;
    }

        .loai-tab:hover {
            background: #f3f4f6;
            color: #1e3a5f;
        }

        .loai-tab.active {
            background: var(--color-primary, #1e3a5f);
            color: #fff;
            font-weight: 700;
        }
    /* ================================================================
   HERO SEARCH BAR  (Index page)
   ================================================================ */
    .hero-search-bar {
        max-width: 680px;
        margin: 0 auto;
    }

    .hero-search-bar__inner {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0,0,0,.18);
    }

    .hero-search-bar__icon {
        padding: 0 1rem;
        color: #9ca3af;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .hero-search-bar__input {
        flex: 1;
        border: none;
        outline: none;
        padding: .9rem .5rem;
        font-size: 1rem;
        background: transparent;
    }

    .hero-search-bar__btn {
        padding: .9rem 1.6rem;
        background: var(--color-accent, #e67e22);
        color: #fff;
        border: none;
        font-weight: 700;
        font-size: .95rem;
        cursor: pointer;
        transition: background .2s;
        flex-shrink: 0;
    }

        .hero-search-bar__btn:hover {
            background: #cf6d17;
        }
    /* ================================================================
   SITE PAGINATION  (dùng chung _Pagination.cshtml)
   ================================================================ */
    .site-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: .35rem;
    }

    .site-pagination__btn,
    .site-pagination__page {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 .55rem;
        border-radius: 8px;
        font-size: .88rem;
        font-weight: 600;
        text-decoration: none;
        transition: background .15s, color .15s, box-shadow .15s;
        border: 1.5px solid #e5e7eb;
        background: #fff;
        color: #374151;
        cursor: pointer;
    }

        .site-pagination__btn:hover,
        .site-pagination__page:hover {
            background: #f0f4ff;
            border-color: #93c5fd;
            color: #1d4ed8;
        }

        .site-pagination__page.active {
            background: var(--color-primary, #1e3a5f);
            border-color: var(--color-primary, #1e3a5f);
            color: #fff;
            box-shadow: 0 2px 8px rgba(30,58,95,.3);
            pointer-events: none;
        }

        .site-pagination__btn.disabled {
            opacity: .35;
            pointer-events: none;
            cursor: default;
        }

    .site-pagination__ellipsis {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 36px;
        color: #9ca3af;
        font-size: .9rem;
        pointer-events: none;
        user-select: none;
    }

    .site-pagination__info {
        font-size: .78rem;
        color: #9ca3af;
        margin-left: .75rem;
        white-space: nowrap;
    }
    /* btn-xs */
    .btn-xs {
        padding: .2rem .6rem !important;
        font-size: .75rem !important;
        border-radius: 6px !important;
        min-height: unset !important;
    }

/* =============================================
   TRUONG DETAIL – LEVELS BADGES
   ============================================= */
.truong-hero__levels {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

.badge--level {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: .3rem .85rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.badge--level-sm {
    display: inline-block;
    background: #e8f0fe;
    color: #1e3a5f;
    font-size: .78rem;
    font-weight: 700;
    padding: .15rem .6rem;
    border-radius: 12px;
}

/* =============================================
   TRUONG DETAIL – SCHOLARSHIP GRID
   ============================================= */
.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.scholarship-card {
    background: #f0f7ff;
    border: 1.5px solid #c7dff7;
    border-radius: 10px;
    padding: 1rem 1.2rem;
}

.scholarship-card__level {
    font-size: .82rem;
    font-weight: 700;
    color: #1e3a5f;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.scholarship-card__value {
    font-size: 1rem;
    font-weight: 700;
    color: #0d6efd;
}

.scholarship-note {
    margin-top: .75rem;
    font-size: .93rem;
    color: #555;
    display: flex;
    gap: .5rem;
    align-items: flex-start;
}

.scholarship-note i { margin-top: .15rem; color: #0d6efd; flex-shrink: 0; }

.financial-aid-box {
    background: #fff8e1;
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    padding: .85rem 1.2rem;
    margin-top: 1rem;
}

.financial-aid-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: .35rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.financial-aid-box p { font-size: .93rem; color: #555; margin: 0; }

/* =============================================
   TRUONG DETAIL – SUBSECTION TITLE
   ============================================= */
.truong-subsection__title {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    margin: 1.25rem 0 .6rem;
    padding-bottom: .3rem;
    border-bottom: 1px dashed #e5e7eb;
}

/* =============================================
   TRUONG DETAIL – NO DATA NOTICE
   ============================================= */
.no-data-notice {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #f9fafb;
    border: 1.5px dashed #d1d5db;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: #6b7280;
    font-size: .95rem;
}

.no-data-notice i { color: #9ca3af; flex-shrink: 0; }
.no-data-notice a { color: #0d6efd; text-decoration: underline; }

.no-data-section {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1.5px dashed #d1d5db;
    color: #6b7280;
}

.no-data-section i { color: #9ca3af; margin-bottom: 1rem; display: block; }
.no-data-section h3 { font-size: 1.1rem; font-weight: 700; color: #374151; margin-bottom: .5rem; }
.no-data-section p { margin-bottom: 1.25rem; font-size: .95rem; }

/* =============================================
   SIDEBAR – LEVELS LIST
   ============================================= */
.sidebar-levels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.sidebar-levels li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    color: #374151;
    font-weight: 500;
}

.sidebar-levels li i { color: #0d6efd; width: 18px; text-align: center; }

.sidebar-card--cta {
    background: linear-gradient(135deg, #1e3a5f, #0b4d8a);
    color: #fff;
}

.sidebar-card--cta .sidebar-card__title { color: #fff; }
.sidebar-card--cta p { color: rgba(255,255,255,.85); }

/* ================================================================
   NEWS DETAIL  (nd-*)
   ================================================================ */

/* Cover */
.nd-cover {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
}
.nd-cover img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.nd-cover__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.55) 100%);
}

/* Wrap */
.nd-wrap {
    padding: 2rem 0 4rem;
}

/* Breadcrumb */
.nd-breadcrumb {
    margin-bottom: 1.25rem;
    font-size: .85rem;
}

/* Header */
.nd-header {
    margin-bottom: 2rem;
}
.nd-cat-badge {
    display: inline-block;
    background: var(--primary, #1a5fb4);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: .6rem;
    text-transform: uppercase;
}
.nd-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: .85rem;
    color: #0f172a;
    letter-spacing: -.02em;
}
.nd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    color: #6b7280;
    font-size: .875rem;
    align-items: center;
}
.nd-meta i { margin-right: 4px; }

/* Body 2-col */
.nd-body {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
    position: relative;
}
@media (max-width: 960px) {
    .nd-body { grid-template-columns: 1fr; }
}

/* Main cá»™t trÃ¡i */
.nd-main {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 1.25rem;
    align-items: start;
}

/* Share bar */
.nd-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding-top: .25rem;
}
.nd-share--sticky {
    position: sticky;
    top: 80px;
}
.nd-share__label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: .05em;
    writing-mode: vertical-rl;
    margin-bottom: 4px;
}
.nd-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: .9rem;
    text-decoration: none;
    transition: transform .15s, opacity .15s;
}
.nd-share__btn:hover { transform: scale(1.12); opacity: .9; }
.nd-share__fb   { background: #1877f2; }
.nd-share__tw   { background: #000; }
.nd-share__li   { background: #0a66c2; }
.nd-share__copy { background: #6b7280; }

/* Summary */
.nd-summary {
    border-left: 4px solid var(--primary, #1a5fb4);
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #eef4ff 0%, #f8fafc 100%);
    border-radius: 0 10px 10px 0;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #1e3a5f;
    box-shadow: 0 2px 10px rgba(26,95,180,.08);
}

/* TOC trong content */
.nd-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
}
.nd-toc__header {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .95rem;
    color: #1e293b;
    margin-bottom: .75rem;
}
.nd-toc__toggle {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 2px 6px;
}
.nd-toc__nav ul { list-style: none; padding: 0; margin: 0; }
.nd-toc__nav ul ul { padding-left: 1rem; }
.nd-toc__item { margin: .25rem 0; }
.nd-toc__item--h1 > a { font-weight: 700; }
.nd-toc__item--h2 > a { font-weight: 600; }
.nd-toc__item--h3 > a { font-weight: 400; font-size: .9rem; }
.nd-toc__nav a {
    color: #374151;
    text-decoration: none;
    display: block;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background .12s, color .12s;
}
.nd-toc__nav a:hover,
.nd-toc__nav a.active {
    background: var(--primary, #1a5fb4);
    color: #fff;
}

/* TOC floating */
.nd-toc-float {
    position: fixed;
    bottom: 100px;
    left: 16px;
    z-index: 900;
}
.nd-toc-float__toggle {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--primary, #1a5fb4);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    display: flex; align-items: center; justify-content: center;
}
.nd-toc-float__panel {
    display: none;
    position: absolute;
    bottom: 52px;
    left: 0;
    width: 260px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    padding: .75rem 1rem;
    max-height: 60vh;
    overflow-y: auto;
}
.nd-toc-float__panel.is-open { display: block; }
.nd-toc-float__heading {
    font-weight: 700;
    font-size: .9rem;
    color: #1e293b;
    margin-bottom: .5rem;
}
.nd-toc-float__panel ul { list-style: none; padding: 0; margin: 0; }
.nd-toc-float__panel ul ul { padding-left: .9rem; }
.nd-toc-float__panel a {
    display: block;
    color: #374151;
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: .85rem;
    transition: background .12s, color .12s;
}
.nd-toc-float__panel a:hover,
.nd-toc-float__panel a.active {
    background: var(--primary, #1a5fb4);
    color: #fff;
}

/* Anchor icon on headings */
.nd-heading-anchor {
    opacity: 0;
    margin-left: .4rem;
    font-size: .7em;
    color: var(--primary, #1a5fb4);
    text-decoration: none;
    transition: opacity .15s;
}
.page-noidung h1:hover .nd-heading-anchor,
.page-noidung h2:hover .nd-heading-anchor,
.page-noidung h3:hover .nd-heading-anchor { opacity: 1; }

/* Tags */
.nd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}
.nd-tags > i { color: #9ca3af; margin-right: 4px; }
.nd-tag {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #374151;
    font-size: .8rem;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .12s, color .12s;
}
.nd-tag:hover {
    background: var(--primary, #1a5fb4);
    color: #fff;
    border-color: var(--primary, #1a5fb4);
}

/* Source */
.nd-source {
    color: #9ca3af;
    font-size: .85rem;
    margin-top: 1rem;
}

/* Related */
.nd-related { margin-top: 2.5rem; }
.nd-related__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.nd-related__grid { display: flex; flex-direction: column; gap: .75rem; }
.nd-related__item {
    display: flex;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    padding: .5rem;
    border-radius: 8px;
    transition: background .12s;
}
.nd-related__item:hover { background: #f1f5f9; }
.nd-related__img {
    width: 80px; min-width: 80px; height: 56px;
    border-radius: 6px;
    overflow: hidden;
}
.nd-related__img img { width: 100%; height: 100%; object-fit: cover; }
.nd-related__info time { font-size: .78rem; color: #9ca3af; display: block; }
.nd-related__info p {
    font-size: .9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* â”€â”€ SIDEBAR pháº£i â”€â”€ */
.nd-sidebar__sticky {
    position: sticky;
    top: 80px;
}
.nd-sidebar__block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.nd-sidebar__heading {
    font-size: .9rem;
    font-weight: 700;
    padding: .85rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
}
.nd-sidebar__news { display: flex; flex-direction: column; }
.nd-snews-item {
    display: flex;
    gap: .6rem;
    padding: .6rem .85rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: background .12s;
    align-items: flex-start;
}
.nd-snews-item:last-child { border-bottom: none; }
.nd-snews-item:hover,
.nd-snews-item--active { background: #f0f6ff; }
.nd-snews-item__img {
    width: 90px;
    min-width: 90px;
    height: 65px;
    border-radius: 5px;
    overflow: hidden;
}
.nd-snews-item__img img { width: 100%; height: 100%; object-fit: cover; }
.nd-snews-item__info time { font-size: .75rem; color: #9ca3af; display: block; }
.nd-snews-item__info p {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nd-sidebar__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary, #1a5fb4);
    text-decoration: none;
    border-top: 1px solid #e5e7eb;
    transition: background .12s;
}
.nd-sidebar__more:hover { background: #f0f6ff; }

@media (max-width: 960px) {
    .nd-main { grid-template-columns: 36px 1fr; gap: 0 .75rem; }
    .nd-share { flex-direction: row; flex-wrap: wrap; padding-top: 0; margin-bottom: 1rem; }
    .nd-share__label { writing-mode: initial; }
    .nd-cover img { height: 240px; }
    .nd-title { font-size: 1.4rem; }
    .nd-toc-float { display: none; }

    /* Sidebar tin lien quan xuong duoi noi dung chinh */
    .nd-sidebar { order: 2; }

    /* Bo sticky cua wrapper trong sidebar, de scroll noi dung binh thuong */
    .nd-sidebar__sticky { position: static; }

    /* Sticky title "Tin cùng chuyên mục" tren mobile */
    .nd-sidebar__heading--mobile-fixed {
        position: sticky;
        top: 60px;
        z-index: 50;
        background: #f8fafc;
        border-bottom: 1px solid #e5e7eb;
        margin: 0;
    }
}

/* NewsBySchool */
.nd-related-schools{margin-top:2rem}.nd-schools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-top:1rem}.nd-school-card{display:flex;align-items:center;gap:.75rem;padding:.75rem;border:1px solid #e8edf3;border-radius:8px;text-decoration:none;color:inherit;transition:box-shadow .2s,border-color .2s}.nd-school-card:hover{border-color:#2563eb;box-shadow:0 2px 12px rgba(37,99,235,.1)}.nd-school-card__logo{width:48px;height:48px;flex-shrink:0}.nd-school-card__logo img{width:100%;height:100%;object-fit:contain}.nd-school-card__logo-placeholder{width:48px;height:48px;background:#f0f4ff;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#2563eb;font-size:1.2rem}.nd-school-card__name{font-size:.85rem;font-weight:600;color:#1e3a5f;margin:0 0 .2rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.nd-school-card__country{font-size:.75rem;color:#64748b}.truong-related-news{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.truong-related-news__item{display:flex;gap:.6rem;text-decoration:none;color:inherit;padding:.5rem 0;border-bottom:1px solid #f0f0f0}.truong-related-news__item:last-child{border-bottom:none}.truong-related-news__item:hover .truong-related-news__info p{color:#2563eb}.truong-related-news__img{width:72px;height:54px;flex-shrink:0;border-radius:4px;overflow:hidden}.truong-related-news__img img{width:100%;height:100%;object-fit:cover}.truong-related-news__info time{font-size:.72rem;color:#94a3b8;display:block;margin-bottom:.2rem}.truong-related-news__info p{font-size:.82rem;color:#1e3a5f;margin:0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}

/* cat-hero */
.cat-hero{position:relative;min-height:220px;display:flex;align-items:center;overflow:hidden;background:var(--hero-gradient,linear-gradient(135deg,#1e3a5f 0%,#2563eb 100%))}.cat-hero::before{content:'';position:absolute;inset:0;background-image:var(--hero-bg,none);background-size:cover;background-position:center;opacity:.18;z-index:0}.cat-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.08) 100%);z-index:1}.cat-hero__inner{position:relative;z-index:2;padding:2.5rem 0;width:100%}.cat-hero__breadcrumb{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:rgba(255,255,255,.75);margin-bottom:1.25rem;flex-wrap:wrap}.cat-hero__breadcrumb a{color:rgba(255,255,255,.85);text-decoration:none}.cat-hero__breadcrumb a:hover{color:#fff;text-decoration:underline}.cat-hero__breadcrumb i{font-size:.65rem;color:rgba(255,255,255,.5)}.cat-hero__breadcrumb span{color:#fff;font-weight:500}.cat-hero__body{display:flex;flex-direction:column;gap:.6rem}.cat-hero__badge{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.3rem .75rem;border-radius:999px;backdrop-filter:blur(4px);width:fit-content}.cat-hero__title{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:800;color:#fff;line-height:1.2;margin:0;text-shadow:0 2px 12px rgba(0,0,0,.25)}.cat-hero__count{font-size:.85rem;color:rgba(255,255,255,.75);margin:0;display:flex;align-items:center;gap:.35rem}@media(max-width:640px){.cat-hero{min-height:170px}.cat-hero__inner{padding:1.75rem 0}}
.search-wrap {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
    --tw-translate-y: 0 !important;
    --tw-translate-x: 0 !important;
}

    .search-wrap.is-open {
        visibility: visible;
        opacity: 1;
    }

.search-overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.search-overlay-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    transform: translateY(-24px);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.search-wrap.is-open .search-overlay-inner {
    transform: translateY(0);
}

.search-hint {
    color: rgba(255,255,255,.55);
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0;
}

.searchbox-field {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.22);
    border-radius: 50px;
    padding: .35rem .35rem .35rem 1.4rem;
    transition: border-color .2s, background .2s;
}

    .searchbox-field:focus-within {
        border-color: rgba(255,255,255,.7);
        background: rgba(255,255,255,.13);
    }

.search-icon {
    color: rgba(255,255,255,.5);
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: .75rem;
}

.searchbox-field input[type="text"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.25rem;
    line-height: 2.2rem;
    padding: 0;
    min-width: 0;
}

    .searchbox-field input[type="text"]::placeholder {
        color: rgba(255,255,255,.35);
    }

.search-btn {
    background: #fff;
    color: #0a1428;
    border: none;
    border-radius: 50px;
    padding: .55rem 1.4rem;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s, transform .15s;
    flex-shrink: 0;
}

    .search-btn:hover {
        background: var(--primary, #1a5fb4);
        color: #fff;
        transform: scale(1.04);
    }

.search-close {
    position: absolute;
    top: -1rem;
    right: 0;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.2);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

    .search-close:hover {
        background: rgba(255,255,255,.25);
        transform: rotate(90deg);
    }

.search-suggestions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.search-suggestion-label {
    color: rgba(255,255,255,.45);
    font-size: .8rem;
    margin-right: .25rem;
}

.search-tag {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.75);
    padding: .3rem .85rem;
    border-radius: 50px;
    font-size: .82rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}

    .search-tag:hover {
        background: #fff;
        color: #0a1428;
    }

@media (max-width: 600px) {
    .search-btn {
        padding: .55rem .9rem;
        font-size: .82rem;
    }

    .searchbox-field input[type="text"] {
        font-size: 1rem;
    }
}

/*==========================
    EVENT WIDGET
==========================*/
/* =========================================================
   EVENT SIDEBAR
=========================================================*/

.nd-ev-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #a41034;
    box-shadow: 0 8px 28px rgb(129 55 55 / 21%);
    margin-bottom: 1.5rem;
}

.nd-ev-section__header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 16px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #edf2f7;
    background: linear-gradient(180deg,#fff,#f8fafc);
}

    .nd-ev-section__header i {
        color: #2563eb;
        font-size: 18px;
    }

/*========================================================*/

.nd-ev-cards {
    display: flex;
    flex-direction: column;
}

.nd-ev-card {
    margin: 18px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    transition: .25s;
}

    .nd-ev-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(15,23,42,.12);
    }

/*========================================================*/
/* Banner */
/*========================================================*/

.nd-ev-card__banner {
    position: relative;
    /*height: 220px;
    overflow: hidden;*/
}

    .nd-ev-card__banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .45s;
    }

.nd-ev-card:hover .nd-ev-card__banner img {
    transform: scale(1.06);
}

.nd-ev-card__banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#1d4ed8,#2563eb);
    color: #fff;
    font-size: 60px;
}

.nd-ev-card__overlay {
    position: relative;
    inset: 0;
   /* display: flex;
    flex-direction: column;*/
    justify-content: space-between;
    padding: 18px;
    /*background: linear-gradient( to top, rgba(0,0,0,.82), rgba(0,0,0,.35), rgba(0,0,0,.05) );*/
}

/*========================================================*/
/* Badge */
/*========================================================*/

.nd-ev-card__badge {
    align-self: flex-end;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f97316;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/*========================================================*/

.nd-ev-card__banner-content {
    color: #333333;
}

.nd-ev-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.nd-ev-card__desc {
    margin: 10px 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,.92);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nd-ev-card__event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333333;
    opacity: .95;
}

/*========================================================*/
/* Locations */
/*========================================================*/

.nd-ev-card__locs {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nd-ev-card__loc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    transition: .2s;
}

    .nd-ev-card__loc-row:hover {
        border-color: #bfdbfe;
        background: #eff6ff;
    }

.nd-ev-card__loc-info {
    flex: 1;
    min-width: 0;
}

.nd-ev-card__loc-addr {
    display: flex;
    gap: 0px;
    align-items: flex-start;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

    .nd-ev-card__loc-addr i {
        color: #2563eb;
        margin-top: 3px;
    }

    .nd-ev-card__loc-addr span {
        display: block;
        line-height: 1.5;
    }

.nd-ev-card__loc-dates {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0px;
    font-size: 13px;
    color: #64748b;
}

    .nd-ev-card__loc-dates i {
        color: #94a3b8;
    }

/*========================================================*/
/* Register Button */
/*========================================================*/

.nd-ev-card__reg-btn {
    flex-shrink: 0;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    min-width: 65px;
    height: 28px;
    padding: 2px 10px 4px 9px;
    border-radius: 8px;
    background: #ffffff;
    color: #0051a8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: .2s;
    border: solid 0.5px #0051a8;
    cursor: pointer;
    float: right;
}

    .nd-ev-card__reg-btn:hover {
        background: #1d4ed8;
        color: #fff;
    }

/*========================================================*/
/* Footer */
/*========================================================*/

.nd-ev-card__footer {
    padding: 0 18px 18px;
}

.nd-ev-card__reg-general {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: .25s;
}

    .nd-ev-card__reg-general:hover {
        background: #1d4ed8;
        color: #fff;
    }

/*========================================================*/
/* Reminder */
/*========================================================*/

.nd-ev-reminder {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-top: 1px solid #edf2f7;
    background: #f8fafc;
}

    .nd-ev-reminder > i {
        font-size: 24px;
        color: #2563eb;
    }

.nd-ev-reminder__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .nd-ev-reminder__text strong {
        font-size: 15px;
        color: #0f172a;
    }

    .nd-ev-reminder__text span {
        font-size: 13px;
        color: #64748b;
        line-height: 1.6;
    }

/*========================================================*/
/* Responsive */
/*========================================================*/

@media(max-width:768px) {

    .nd-ev-card {
        margin: 12px;
    }

    .nd-ev-card__banner {
        height: 180px;
    }

    .nd-ev-card__title {
        font-size: 18px;
    }

    .nd-ev-card__loc-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .nd-ev-card__reg-btn {
        width: 100%;
    }
}

/* ============================================================
   TRƯỜNG LIÊN QUAN  –  /truong-doi-tac/{slug}-{id}
   ============================================================ */
.truong-related {
    background: #f8fafc;
    border-top: 1px solid #e5eaf1;
}
.truong-related__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.truong-related__title i { color: #2563eb; }

.truong-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.truong-related__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: .85rem;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 10px;
    padding: .85rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .18s, border-color .18s, transform .18s;
}
.truong-related__card:hover {
    box-shadow: 0 4px 18px rgba(37,99,235,.12);
    border-color: #93c5fd;
    transform: translateY(-2px);
}

.truong-related__card-logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.truong-related__card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.truong-related__card-logo-placeholder {
    font-size: 1.4rem;
    color: #94a3b8;
}

.truong-related__card-body {
    flex: 1;
    min-width: 0;
}
.truong-related__card-name {
    font-size: .88rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.3;
    margin: 0 0 .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.truong-related__card-meta {
    display: flex;
    flex-direction: column;
    gap: .18rem;
}
.truong-related__card-meta span {
    font-size: .73rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.truong-related__card-meta i { color: #2563eb; font-size: .68rem; }

.truong-related__card-partner {
    position: absolute;
    top: .5rem;
    right: .6rem;
    font-size: .7rem;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: .15rem .4rem;
}

@media (max-width: 600px) {
    .truong-related__grid { grid-template-columns: 1fr; }
}