:root {
    --primary-blue: #074691;
    --light-blue: #f5f8fc;
    --gold: #ff9b00;
    --gold-hover: #dc9f1c;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sponsors-container {
    width: 100%;
    max-width: none;
}

.section {
    padding: 50px 0;
    scroll-margin-top: 120px;
}

/* SmokyText cho tiêu đề phần giới thiệu */
.smoky-text {
    position: relative;
    display: inline-block;
    isolation: isolate;
    white-space: pre-wrap;
}

.smoky-text::before {
    content: attr(data-smoky-text);
    position: absolute;
    inset: -12% -4%;
    z-index: -1;
    color: rgba(135, 206, 250, 0.9);
    filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    white-space: pre-wrap;
    animation: smoky-text-cloud 4.8s ease-in-out infinite;
}

.smoky-text-char {
    display: inline-block;
    animation: smoky-text-letter 4.8s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

.smoky-text-mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .smoky-text-mobile-break {
        display: block;
    }
}

@keyframes smoky-text-letter {

    0%,
    100% {
        opacity: 0.82;
        filter: blur(0);
        transform: translate3d(0, 0, 0);
    }

    24% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0);
    }

    52% {
        opacity: 0.58;
        filter: blur(2px);
        transform: translate3d(0, -4px, 0) scale(1.025);
    }

    78% {
        opacity: 0.92;
        filter: blur(0.4px);
        transform: translate3d(0, 1px, 0);
    }
}

@keyframes smoky-text-cloud {

    0%,
    100% {
        opacity: 0;
        transform: translate3d(-10px, 4px, 0) scale(0.96);
    }

    45% {
        opacity: 0.55;
        transform: translate3d(2px, -3px, 0) scale(1.02);
    }

    72% {
        opacity: 0.18;
        transform: translate3d(10px, -8px, 0) scale(1.06);
    }
}



.bg-light {
    background-color: var(--light-blue);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-white {
    color: var(--white) !important;
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1.1rem;
}

.load-more-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.load-more-actions[hidden] {
    display: none !important;
}

.load-more-button {
    min-width: 150px;
}

.load-more-button.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.section-subtitle {
    display: block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.0rem;
    margin-bottom: 20px;
}

.section-desc {
    max-width: 760px;
    margin: -8px auto 22px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.section-desc p:last-child {
    margin-bottom: 0;
}

.title-separator {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto 40px;
}

.content-main .title-separator {
    margin-left: 0;
    margin-right: auto;
}

.section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 800;
}

.section-view-all:hover {
    color: var(--gold);
}

.section-header .section-view-all {
    margin: -22px auto 34px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.logo-title-line {
    display: block;
}

.logo-subtitle {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.85rem;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-list li {
    position: relative;
}

.nav-list>li {
    display: flex;
    align-items: center;
}

.nav-list a,
.nav-dropdown-toggle {
    font-weight: 450;
    font-size: 1rem;
    color: var(--text-main);
    padding: 5px 0;
    position: relative;
}

.main-nav .nav-list>li>a,
.main-nav .nav-list>li>.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    line-height: 1.6;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--primary-blue);
}

.nav-list a::after,
.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle[aria-expanded="true"]::after {
    width: 100%;
}

.nav-dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white);
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
}

.header-search-toggle:hover,
.header-search.is-open .header-search-toggle {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.header-search-form {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: 20px minmax(220px, 1fr) 38px 34px;
    align-items: center;
    gap: 8px;
    width: min(460px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.header-search-form[hidden] {
    display: none;
}

.header-search-form>i {
    color: var(--primary-blue);
    text-align: center;
}

.header-search-form input {
    width: 100%;
    height: 42px;
    border: 0;
    outline: none;
    color: var(--text-main);
    font: inherit;
}

.header-search-submit,
.header-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.header-search-submit {
    background: var(--gold);
    color: var(--white);
}

.header-search-close {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.has-dropdown:hover .sub-menu,
.has-dropdown:focus-within .sub-menu,
.has-dropdown.open>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    list-style: none;
}

.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-main);
    font-weight: 500;
    white-space: nowrap;
}

.sub-menu li a:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    /* Header height */
    min-height: 520px;
    position: relative;
    padding: 120px 0 160px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-desktop-image);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    z-index: -2;
    opacity: 0;
    transform: scale(var(--hero-scale-start, 1.06));
    transform-origin: center;
    transition: opacity 1s ease-in-out;
    will-change: opacity, transform;
}

.hero-picture {
    display: none;
}

.hero-picture img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: var(--hero-mobile-image, var(--hero-desktop-image));
    }
}

.hero-bg.active {
    opacity: 1;
    animation: hero-zoom 6s ease-out both;
}

.hero-bg.leaving {
    opacity: 0;
    transform: scale(var(--hero-scale-end, 1));
}

@keyframes hero-zoom {
    from {
        transform: scale(var(--hero-scale-start, 1.06));
    }

    to {
        transform: scale(var(--hero-scale-end, 1));
    }
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 24, 48, 0.62) 0%, rgba(5, 24, 48, 0.42) 52%, rgba(5, 24, 48, 0.28) 100%);
    z-index: 0;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 120px 7vw 160px;
    z-index: 1;
    pointer-events: none;
}

.hero-copy {
    grid-area: 1 / 1;
    max-width: 900px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}

.hero-copy.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-copy.leaving {
    opacity: 0;
    transform: translateY(-10px);
}

.hero-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .45);
}

.hero-subtitle {
    display: block;
    color: var(--gold);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-style: italic;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .42);
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto 40px;
    font-weight: 500;
    line-height: 1.75;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .48);
}

.hero-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--gold);
    width: 20px;
    border-radius: 5px;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.hero-nav:hover {
    background: var(--gold);
}

.hero-nav.prev {
    left: 20px;
}

.hero-nav.next {
    right: 20px;
}

.hero-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

/* Event ads */
.ad-popup {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.ad-popup[hidden] {
    display: none;
}

.ad-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 42, 0.68);
    backdrop-filter: blur(4px);
}

.ad-popup-dialog {
    position: relative;
    width: fit-content;
    max-width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    z-index: 1;
}

.ad-popup-media {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.ad-popup-media picture {
    display: block;
}

.ad-popup-media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 72px);
}

.ad-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 70, 145, 0.92);
    color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.ad-popup-close:hover {
    background: var(--gold);
}

body.ad-popup-open {
    overflow: hidden;
}

.event-side-ads {
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
}

.event-side-ad {
    position: fixed;
    top: 132px;
    width: clamp(184px, 14vw, 256px);
    max-height: calc(100vh - 170px);
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: event-side-ad-run 6s ease-in-out infinite;
}

.event-side-ad-left {
    left: 12px;
}

.event-side-ad-right {
    right: 12px;
    animation-delay: -3s;
}

.event-side-ad-media {
    display: block;
}

.event-side-ad img {
    width: 100%;
    max-height: calc(100vh - 170px);
    object-fit: contain;
}

.event-side-ad-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 70, 145, 0.92);
    color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.event-side-ad-close:hover {
    background: var(--gold);
}

@keyframes event-side-ad-run {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(28px);
    }
}

@media (max-width: 1320px) {
    .event-side-ad {
        top: 118px;
        width: 172px;
        max-height: calc(100vh - 150px);
    }

    .event-side-ad-left {
        left: 8px;
    }

    .event-side-ad-right {
        right: 8px;
    }

    .event-side-ad img {
        max-height: calc(100vh - 150px);
    }
}

@media (max-width: 1023px) {
    .event-side-ads {
        display: none;
    }
}

@media (max-width: 768px) {
    .ad-popup {
        padding: 16px;
    }

    .ad-popup-dialog {
        max-width: min(520px, calc(100vw - 24px));
    }

    .ad-popup-media img {
        max-height: calc(100vh - 48px);
    }
}



/* About Section */
.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-icon:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

.feature-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Vision Mission Values */
.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.vmv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 0;
    overflow-wrap: anywhere;
}

.vmv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vmv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold);
}

.vmv-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.vmv-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.vmv-subtitle {
    display: block;
    margin: -4px 0 12px;
    color: var(--primary-blue);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
}

.vmv-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
}

.vmv-desc p:last-child {
    margin-bottom: 0;
}

.vmv-list {
    text-align: left;
    margin-top: 20px;
}

.vmv-list li {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vmv-list li i {
    color: var(--primary-blue);
    font-size: 0.5rem;
}

/* Rules & Benefits */
.rb-container {
    display: flex;
    gap: 40px;
}

.rules-box {
    flex: 1;
    background-color: var(--light-blue);
    padding: 40px;
    border-radius: var(--border-radius);
}

.benefits-box {
    flex: 2;
}

.rb-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rb-title i {
    color: var(--gold);
}

.rules-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    color: var(--text-muted);
}

.rules-list i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 3px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(241, 181, 34, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.benefit-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Thank You Letter Highlight */
.thanks-highlight {
    background:
        linear-gradient(135deg, rgba(7, 70, 145, 0.96), rgba(12, 97, 159, 0.92)),
        linear-gradient(90deg, rgba(255, 155, 0, 0.18), rgba(255, 255, 255, 0));
}

.thanks-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.thanks-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-left: 6px solid var(--gold);
    pointer-events: none;
}

.thanks-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(7, 70, 145, 0.25);
}

.thanks-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.thanks-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.thanks-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.thanks-content p {
    max-width: 760px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.thanks-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 600;
}

.thanks-meta i {
    color: var(--gold);
}

.thanks-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 132px;
    padding: 12px 18px;
    border-radius: 30px;
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 800;
    white-space: nowrap;
}

.thanks-card:hover .thanks-action {
    background: var(--gold);
    color: var(--white);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    position: relative;
    height: 200px;
}

.news-img-link {
    display: block;
    color: inherit;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.75rem;
}

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f2ff;
    color: var(--primary-blue);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
}

.news-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.news-title-link {
    color: inherit;
}

.news-card a:hover .news-title,
.news-title:hover,
.news-title-link:hover {
    color: var(--gold);
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

.news-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    color: var(--gold);
}

.home-news-heading {
    position: relative;
}

.home-news-heading .section-view-all {
    position: absolute;
    right: 0;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
}

.search-page-form {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-page-form>i {
    color: var(--primary-blue);
    text-align: center;
}

.search-page-form input {
    width: 100%;
    min-height: 44px;
    border: 0;
    outline: none;
    color: var(--text-main);
    font: inherit;
}

.search-summary {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-weight: 600;
}

.search-result-section {
    margin-top: 42px;
}

.search-result-section .section-header {
    margin-bottom: 18px;
}

/* Stats Section */
.stats-section {
    background-color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: transparent;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
}

.stat-item:hover .stat-icon {
    color: var(--primary-blue);
}

.stat-number-wrapper {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number {
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    margin-left: 5px;
    font-size: 3.5rem;
}

.stat-label {
    font-size: 1.15rem;
    font-weight: 500 !important;
    color: white;
}

.stat-item:hover .stat-label {
    color: var(--primary-blue);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    background: var(--primary-blue);
    overflow: hidden;
}

.cta-bg.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(241, 181, 34, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(241, 181, 34, 0.15) 0%, transparent 50%);
    background-size: cover;
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-content {
    display: grid;
    grid-template-columns: minmax(220px, 360px) 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.cta-stats-grid {
    grid-template-columns: 1fr;
}

.cta-message {
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 30px;
}

/* FAQ */
.faq-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.faq-accordion {
    flex: 1;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: var(--white);
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-blue);
}

.faq-question.active {
    background-color: var(--light-blue);
    color: var(--gold);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

.faq-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-illustration {
    position: relative;
    width: 300px;
    height: 300px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Partners */
.partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: repeating-linear-gradient(-45deg,
            #bbdef5,
            #cce5f7 40px,
            #cce5f7 40px,
            #cce5f7 80px);
    color: var(--primary-blue);
}

.footer-top {
    padding: 20px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.7fr;
    gap: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-mark {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 50%;
}

.footer-logo img {
    position: relative;
    z-index: 1;
    height: 120px;
}

.footer-desc {
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(11, 60, 124, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--gold);
    margin-top: 5px;
}

.facebook-col {
    min-width: 0;
}

.facebook-card {
    width: 300px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.facebook-card-cover {
    position: relative;
    display: block;
    height: 132px;
    overflow: hidden;
    color: var(--white);
}

.facebook-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 70, 145, 0.05), rgba(7, 70, 145, 0.82));
}

.facebook-card-cover>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.facebook-card-cover:hover>img {
    transform: scale(1.06);
}

.facebook-card-info {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.facebook-card-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border: 3px solid var(--white);
    border-radius: 8px;
    background: var(--white);
    object-fit: contain;
}

.facebook-card-text {
    min-width: 0;
    display: block;
    padding-bottom: 2px;
}

.facebook-card-name,
.facebook-card-meta {
    display: block;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.facebook-card-name {
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
}

.facebook-card-meta {
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 500;
}

.facebook-card-actions {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 8px;
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.facebook-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    border-radius: 6px;
    background: #e4e6eb;
    color: #1c1e21;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.facebook-card-button-primary {
    background: #1877f2;
    color: var(--white);
}

.facebook-page-frame {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 340px;
    border: 0;
    background: var(--white);
    overflow: hidden;
}

.footer-bottom {
    border-top: 1px solid rgba(11, 60, 124, 0.15);
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-include {
    background: #e1f0fa;
}

.footer-frame {
    display: block;
    width: 100%;
    height: 680px;
    border: 0;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {

    .vmv-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
        gap: 15px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-md);
        display: none;
        padding: 20px;

    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .main-nav .nav-list>li {
        display: block;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        text-align: left;
    }

    .sub-menu {
        position: static;
        top: auto;
        left: auto;
        min-width: unset;
        border-radius: 12px;
        box-shadow: none;
        padding: 8px 0 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: transparent;
    }

    .sub-menu li a {
        white-space: normal;
    }

    .has-dropdown.open>.sub-menu {
        display: block;
    }

    .header .btn-primary {
        display: none;
    }

    .header-actions {
        margin-left: auto;
        gap: 8px;
    }

    .header-search-form {
        right: -52px;
        grid-template-columns: 20px minmax(0, 1fr) 38px 34px;
        width: calc(100vw - 32px);
    }

    .header-search {
        margin-right: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        gap: 12px;
    }

    .logo img {
        height: 60px;
    }

    .logo-title {
        font-size: 1rem;
    }

    .footer-logo img {
        height: 95px;
    }

    /* Hero banner: fit full width and keep image height ratio on mobile. */
    .hero {
        min-height: 0;
        padding: 0;
    }

    .hero-bg {
        display: none;
        background-image: none;
        transform: none;
        z-index: 0;
    }

    .hero-bg.active {
        display: block;
        position: relative;
        height: auto;
        animation: none;
        opacity: 1;
    }

    .hero-bg.leaving {
        display: block;
        position: absolute;
        inset: 0;
        height: 100%;
        transform: none;
    }

    .hero-picture {
        display: block;
    }

    .hero-content {
        padding: 24px;
    }

    .hero-curve {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 0;
    }

    .about-container {
        flex-direction: column;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .vmv-grid,
    .news-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .thanks-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 24px;
        text-align: center;
    }

    .thanks-icon {
        margin: 0 auto;
    }

    .thanks-content h2 {
        font-size: 1.7rem;
    }

    .thanks-content p,
    .thanks-meta {
        justify-content: center;
    }

    .thanks-action {
        width: 100%;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .faq-container {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 38px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .inner-title {
        font-size: 1.8rem;
    }

    .inner-desc {
        font-size: 1rem;
    }

    .logo {
        gap: 8px;
        min-width: 0;
    }

    .logo img {
        height: 52px;
        flex-shrink: 0;
    }

    .logo-text {
        min-width: 0;
    }

    .logo-title {
        font-size: 0.9rem;
    }

    .logo-subtitle {
        font-size: 0.76rem;
    }

    .main-nav {
        padding: 16px;
    }

    .content-main {
        padding: 20px;
        text-align: justify;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations & New Features */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cta-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: -90px;
    left: -10px;
    right: -10px;
    bottom: -90px;
    background-size: cover;
    background-position: center calc(50% + var(--cta-bg-shift, 0px));
    filter: blur(2px) brightness(0.7);
    transform: scale(1.06);
    will-change: background-position;
    z-index: 1;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.partners-track {
    display: flex;
    width: max-content;
    height: 160px;
    animation: marquee 50s linear infinite;
    gap: 20px;
    align-items: center;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: float 15s infinite linear;
}

.tamnhin-bubbles {
    position: relative;
    overflow: hidden;
}

.tamnhin-bubbles .particle {
    z-index: 2;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.2;
    }

    33% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 0.6;
    }

    66% {
        transform: translateY(-200px) translateX(-50px) scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: translateY(-300px) translateX(0) scale(1);
        opacity: 0;
    }
}

/* Scroll to Top Button */
.floating-zalo {
    position: fixed;
    right: 30px;
    bottom: 88px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0068ff;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(0, 104, 255, 0.45);
    animation: floating-zalo-pulse 2.4s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-zalo::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(0, 104, 255, 0.5);
    border-radius: 50%;
    animation: floating-zalo-ring 2.4s ease-out infinite;
    pointer-events: none;
}

.zalo-floating-mark {
    display: block;
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.zalo-social-icon {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.floating-zalo:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 22px rgba(0, 104, 255, 0.6);
}

@keyframes floating-zalo-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes floating-zalo-ring {
    0% {
        opacity: 0.8;
        transform: scale(0.9);
    }

    70%,
    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(7, 70, 145, 0.35);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 155, 0, 0.4);
}



@media (max-width: 640px) {
    .floating-zalo {
        right: 16px;
        bottom: 82px;
    }

    .scroll-top-btn {
        right: 16px;
        bottom: 22px;
    }
}

/* Inner Pages */
.inner-hero {
    position: relative;
    margin-top: 90px;
    min-height: 70px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: linear-gradient(rgba(7, 70, 145, 0.82), rgba(7, 70, 145, 0.82)), url('../images/header_title_bg.jpg') center/cover;
}

.inner-title {
    display: none;
    max-width: 820px;
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.inner-desc {
    max-width: 760px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 1.18rem;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.9;
}

.breadcrumb i {
    color: var(--gold);
    font-size: 0.75rem;
}

.content-page {
    background-color: var(--white);
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 25px;
    align-items: start;
}

.content-layout.content-layout-no-sidebar {
    grid-template-columns: minmax(0, 1fr);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.content-main,
.content-sidebar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.content-main {
    padding: 25px;
    min-width: 0;
    overflow-wrap: break-word;
    text-align: justify;
}

.content-main p {
    margin-bottom: 8px;
    color: #252525;
}

.category-layout {
    grid-template-columns: minmax(0, 1fr);
}

.category-layout .content-sidebar {
    display: none;
}

.content-main .lead {
    color: var(--text-main);
    font-size: 1.08rem;
    font-weight: 500;
}

.info-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}

.info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-muted);
}

.info-list i {
    color: var(--gold);
    margin-top: 4px;
}

.article-meta {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--gold);
}

.article-meta+img {
    padding-top: 10px;
}

.activity-detail-info {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 0;
    padding: 16px 12px;
    border: 1px solid rgba(8, 119, 181, 0.24);
    border-radius: 12px;
    background: #f5faff;
}

.activity-detail-info strong {
    color: var(--text-main);
}

.activity-detail-actions {
    margin-top: 8px;
}

.activity-detail-info>.activity-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.activity-detail-info .activity-detail-row>i {
    flex: 0 0 18px;
    margin-top: 3px;
}

.activity-detail-info .activity-detail-label {
    flex: 0 0 auto;
    gap: 0;
    white-space: nowrap;
}

.activity-detail-info .activity-detail-value {
    display: block;
    flex: 1 1 180px;
    min-width: 0;
    gap: 0;
}

@media (max-width: 640px) {
    .activity-detail-actions {
        justify-self: center;
    }

    .activity-detail-info>.activity-detail-row {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 5px 8px;
    }

    .activity-detail-info .activity-detail-row>i {
        grid-column: 1;
        grid-row: 1;
    }

    .activity-detail-info .activity-detail-label {
        grid-column: 2;
        grid-row: 1;
    }

    .activity-detail-info .activity-detail-value {
        grid-column: 1 / -1;
        grid-row: 2;
        /* padding-left: 26px; */
    }
}

.content-sidebar {
    padding: 15px;
    position: sticky;
    top: 110px;
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.sidebar-links {
    display: grid;
    gap: 10px;
}

.sidebar-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 11px 12px;
    border-radius: var(--border-radius);
    background: var(--light-blue);
    color: var(--text-main);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: var(--primary-blue);
    color: var(--white);
}

.sidebar-article-list {
    display: grid;
    gap: 12px;
}

.sidebar-article-link {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border-radius: var(--border-radius);
    background: var(--light-blue);
    color: var(--text-main);
}

.sidebar-article-link img {
    width: 88px;
    aspect-ratio: 11 / 8;
    border-radius: 8px;
    object-fit: cover;
    background: var(--white);
}

.sidebar-article-link span {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.sidebar-article-link strong {
    color: inherit;
    font-size: .94rem;
    line-height: 1.35;
    font-weight: 700;
}

.sidebar-article-link time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.3;
}

.sidebar-article-link time i {
    color: var(--gold);
}

.sidebar-article-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.sidebar-article-link:hover time,
.sidebar-article-link:hover time i {
    color: inherit;
}

/* Aside bài viết: ảnh lớn phía trên, tiêu đề rồi đến ngày tạo */
.article-related-sidebar .sidebar-article-link {
    display: block;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-related-sidebar .sidebar-article-link img {
    display: block;
    width: 100%;
    height: 150px;
    border-radius: 0;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-related-sidebar .sidebar-article-link span {
    padding: 12px;
}

.article-related-sidebar .sidebar-article-link:hover img {
    transform: scale(1.05);
}

.org-grid,
.member-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.org-card,
.member-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 18px;
    background: var(--light-blue);
}

.org-card h3,
.member-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.org-card p,
.member-card p {
    margin-bottom: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 14px;
    font: inherit;
    color: var(--text-main);
    background: var(--white);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.google-form-wrap {
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
}

.google-form-wrap iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

.member-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    margin-top: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.member-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.member-table th,
.member-table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.member-table .news-link {
    font-size: inherit;
}

.member-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
}

.member-table tr:last-child td {
    border-bottom: none;
}

.related-members-section {
    margin-top: 12px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.related-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.related-member-card {
    display: grid;
    grid-template-rows: 104px auto;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-member-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.related-member-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #f8fafc;
}

.related-member-logo img {
    display: block;
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.related-member-content {
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 14px;
}

.related-member-content strong {
    color: var(--primary-blue);
    line-height: 1.4;
}

.related-member-content small {
    color: var(--text-muted);
    line-height: 1.45;
}

.member-detail-page {
    display: grid;
    gap: 28px;
}

.member-profile-head {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.member-profile-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 140px;
    /* padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius); */
    background: var(--white);
}

.member-profile-logo img {
    position: relative;
    z-index: 1;
    max-height: 120px;
    object-fit: contain;
}

.member-profile-summary .section-title {
    margin-bottom: 12px;
}

.member-profile-meta {
    display: grid;
    gap: 10px;
    margin-bottom: 18px !important;
    color: var(--text-muted);
    font-weight: 600;
}

.member-profile-meta span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    overflow-wrap: anywhere;
}

.member-profile-meta i {
    color: var(--gold);
}

.member-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.member-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 30px;
    background: var(--primary-blue);
    color: var(--white);
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.member-action-icon-only {
    width: 40px;
    height: 40px;
    padding: 0;
}

.member-action:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.member-action-facebook {
    background: #1877f2;
}

.member-action-zalo {
    background: #0068ff;
}

.member-action-share {
    background: var(--gold);
}

.zalo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.member-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.member-info p {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-blue);
    color: var(--text-main);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.member-info p:first-child,
.member-info p:last-child {
    grid-column: 1 / -1;
}

.member-info p>i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.member-info strong {
    display: block;
    margin: 0 0 4px;
    color: var(--primary-blue);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.member-info a {
    color: var(--primary-blue);
}

.member-info a:hover {
    color: var(--gold);
}

.share-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(7, 63, 104, 0.18);
}

.share-socials-label {
    flex: 0 0 auto;
    color: var(--text-main);
    font-weight: 700;
    white-space: nowrap;
}

.share-socials-icons {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.share-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 4px;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition);
}

.share-social i,
.share-social span {
    display: none;
}

.share-social:hover {
    color: var(--white);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.share-social-facebook {
    background: url('../images/facebook.png') center / 36px 36px no-repeat;
}

.share-social-x {
    background: url('../images/x.png') center / 36px 36px no-repeat;
}

.share-social-whatsapp {
    background: url('../images/whatsapp.png') center / 36px 36px no-repeat;
}

.share-social-linkedin {
    background: url('../images/linkedin.png') center / 36px 36px no-repeat;
}

.share-social-threads {
    background: url('../images/thread.png') center / 36px 36px no-repeat;
}

.member-section {
    padding-top: 2px;
}

.member-section h3 {
    font-size: 1.3rem;
}

.member-section p:last-child {
    margin-bottom: 0;
}

.member-map-section {
    padding-top: 10px;
}

.member-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.member-map-heading h3 {
    margin-bottom: 0;
}

.member-map-heading a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-blue);
    font-size: .9rem;
    font-weight: 800;
}

.member-map-frame {
    overflow: hidden;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-blue);
    box-shadow: var(--shadow-sm);
}

.member-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 380px;
    border: 0;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(7, 70, 145, 0.16);
    border-radius: 30px;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 800;
}

.committee-profile {
    display: grid;
    grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.committee-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.committee-photo {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    min-height: 430px;
    padding: 18px 18px 0;
    background: #e9eef6;
}

.footer-logo-mark::after,
.member-profile-logo::after,
.committee-photo::after {
    content: '';
    position: absolute;
    top: -35%;
    left: -70%;
    z-index: 2;
    width: 38%;
    height: 170%;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.28) 35%,
            rgba(255, 255, 255, 0.86) 50%,
            rgba(255, 255, 255, 0.24) 65%,
            rgba(255, 255, 255, 0) 100%);
    filter: blur(1px);
    transform: skewX(-24deg) translateX(0);
    animation: committee-photo-shine 4.8s ease-out infinite;
}

.committee-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    object-position: center bottom;
}

@keyframes committee-photo-shine {
    0% {
        transform: skewX(-24deg) translateX(0);
    }

    38% {
        transform: skewX(-24deg) translateX(560%);
    }

    100% {
        transform: skewX(-24deg) translateX(560%);
    }
}



.committee-caption {
    padding: 14px 18px;
    text-align: center;
}

.committee-caption p {
    margin-bottom: 6px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.committee-caption em {
    margin-right: 4px;
    font-style: italic;
}

.committee-caption strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.committee-caption span {
    display: block;
    color: var(--text-main);
    line-height: 1.45;
}

.committee-info {
    min-width: 0;
}

.committee-info h2 {
    margin-bottom: 26px;
    color: var(--primary-blue);
    font-size: 1.65rem;
}

.committee-info-block {
    margin-bottom: 24px;
}

.committee-info-block h3 {
    margin-bottom: 8px;
    color: var(--primary-blue);
    font-size: 1.08rem;
}

.committee-info-block p {
    margin-bottom: 12px;
    color: var(--text-main);
}

.committee-facts {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-left: 20px;
    list-style: disc;
}

.committee-facts li {
    color: var(--text-main);
}

.committee-facts strong {
    color: var(--primary-blue);
}

.committee-facts a {
    color: var(--primary-blue);
    font-weight: 700;
}

.committee-facts a:hover {
    color: var(--gold);
}

.committee-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.contact-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-blue);
}

.contact-card i {
    color: var(--gold);
    font-size: 1.35rem;
    margin-top: 3px;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-card p {
    margin-bottom: 0;
}

.contact-social-links {
    margin-top: 18px;
    margin-bottom: 24px;
}

.contact-map {
    margin-top: 24px;
}

.contact-map iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.brand-intro {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-blue);
}

.brand-intro img {
    width: 160px;
    margin: 0 auto;
}

.brand-slogan {
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.trade-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.trade-card {
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-blue);
}

.trade-card i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.trade-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.trade-card p {
    margin-bottom: 0;
}

.board-page {
    min-width: 0;
}

.board-heading {
    margin-bottom: 18px;
    text-align: center;
}

.board-heading h2 {
    margin-bottom: 2px;
    color: var(--primary-blue);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.board-heading p {
    margin-bottom: 0;
    color: var(--text-main);
    font-size: 1.08rem;
    font-weight: 800;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.board-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: inherit;
    transition: var(--transition);
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.board-photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 320px;
    padding: 20px 16px 0;
    background: #e9eef6;
    overflow: hidden;
    position: relative;
}

.board-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary-blue) 0%, rgba(255, 255, 255, 0) 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.board-card:hover .board-photo::before {
    opacity: 0.9;
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.board-caption {
    padding: 10px 12px;
    text-align: center;
}

.board-caption p {
    margin-bottom: 4px;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.35;
}

.board-caption em {
    margin-right: 4px;
    font-style: italic;
}

.board-caption strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.board-caption span {
    display: block;
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .inner-hero {
        margin-top: 78px;
        min-height: 70px;
    }

    .inner-title {
        font-size: 2.1rem;
    }

    .content-main {
        padding: 24px;
        text-align: justify;
    }

    .member-profile-head,
    .member-info {
        grid-template-columns: 1fr;
    }

    .member-profile-head {
        text-align: center;
    }

    .member-profile-summary .section-title {
        text-align: center;
    }

    .member-profile-logo {
        max-width: 220px;
        width: 100%;
        margin: 0 auto;
    }

    .member-profile-meta {
        text-align: left;
        justify-items: start;
    }

    .member-quick-actions {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
    }

    .share-socials {
        justify-content: center;
    }

    .committee-profile {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .committee-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .committee-info h2,
    .committee-info-block h3 {
        text-align: center;
    }

    .committee-actions {
        justify-content: center;
    }

    .brand-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .org-grid,
    .member-grid,
    .form-grid,
    .contact-cards,
    .trade-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .board-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-photo {
        height: 255px;
    }
}

@media (max-width: 420px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .board-photo {
        height: 300px;
    }
}

/* Homepage refresh */
.header-cta {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    padding: 9px 18px;
    font-size: 0.85rem;
    text-transform: uppercase;
    white-space: nowrap;
    background-image: linear-gradient(110deg,
            transparent 34%,
            rgba(255, 255, 255, 0.18) 42%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0.18) 58%,
            transparent 66%);
    background-size: 260% 100%;
    background-repeat: no-repeat;
    background-position: 150% 0;
    animation: header-cta-shine 4s ease-in-out infinite;
}

@keyframes header-cta-shine {

    0%,
    46% {
        background-position: 150% 0;
    }

    100% {
        background-position: -150% 0;
    }
}



.btn-outline {
    border: 1px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.home-deferred-sections [hidden] {
    display: none !important;
}

.home-skeleton-card,
.home-skeleton-logo,
.home-skeleton-media,
.home-skeleton-thumb,
.home-skeleton-line {
    position: relative;
    overflow: hidden;
    background: #eef3f8;
}

.home-skeleton-card::after,
.home-skeleton-logo::after,
.home-skeleton-media::after,
.home-skeleton-thumb::after,
.home-skeleton-line::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    animation: home-skeleton-shimmer 1.35s ease-in-out infinite;
}

.home-skeleton-media {
    height: 190px;
}

.home-skeleton-thumb {
    display: block;
    width: 112px;
    height: 74px;
    border-radius: var(--border-radius);
}

.home-skeleton-line {
    display: block;
    width: 100%;
    height: 14px;
    margin-bottom: 12px;
    border-radius: 999px;
}

.home-skeleton-line.title {
    height: 22px;
}

.home-skeleton-line.medium {
    width: 58%;
}

.home-skeleton-line.short {
    width: 42%;
}

.partner-logo.home-skeleton-logo,
.featured-member-card.home-skeleton-logo {
    min-height: 100px;
    border-color: transparent;
}

@keyframes home-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}



.home-stats {
    border-bottom: 1px solid var(--border-color);
}

.home-stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-stats .stat-item {
    border: 1px solid var(--border-color);
    background: var(--white);
    padding: 24px 10px;
}

.home-stats .stat-item:hover {
    border-color: rgba(7, 70, 145, 0.22);
}

.home-stats .stat-icon {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 2.15rem;
}

.home-stats .stat-number-wrapper,
.home-stats .stat-plus {
    font-size: 2.65rem;
}

.home-stats .stat-label {
    color: var(--text-main);
    font-size: 1rem;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.about-more {
    margin-top: 42px;
}

.about-more[hidden] {
    display: none;
}

.compact-vmv .vmv-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    padding: 30px 24px;
    text-align: left;
}

.compact-vmv .vmv-icon {
    margin-left: 0;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.activity-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.activity-img {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--light-blue);
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.activity-card:hover .activity-img img {
    transform: scale(1.06);
}

.activity-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
    text-align: justify;
}

.activity-badge {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 155, 0, 0.14);
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.activity-badge.news-badge {
    background: rgba(7, 70, 145, 0.1);
    color: var(--primary-blue);
}

.activity-content h3 {
    font-size: 1.05rem;
}

.activity-content h3 a {
    color: inherit;
    transition: var(--transition);
}

.activity-content h3 a:hover {
    color: var(--gold);
}

.activity-content p {
    flex: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    margin-bottom: 5px;
}

.activity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.activity-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 800;
}

.activity-register:hover {
    background: var(--gold);
    color: var(--white);
}

.sponsor-board {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.sponsor-track {
    animation: sponsor-marquee 20s linear infinite;
}

.sponsor-track .partner-logo {
    width: 230px;
    height: 250px;
    padding: 14px 20px;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.sponsor-track .partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes sponsor-marquee {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.featured-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 22px;
}

.featured-member-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 3px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.featured-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.member-logo {
    width: 100%;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    background: var(--white);
}

.member-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.member-logo-text {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    font-size: 1.45rem;
    font-weight: 700;
}

.featured-member-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.featured-member-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.member-meta {
    color: var(--gold) !important;
    font-weight: 800;
}

.featured-members-footer {
    margin-top: 30px;
    text-align: center;
}

.home-video-section {
    padding-top: 30px;
}

.home-video-frame {
    position: relative;
    width: min(100%, 960px);
    aspect-ratio: 16 / 9;
    margin: 0 auto 36px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.home-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.home-video-sound-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    padding: 9px 14px;
    color: var(--white);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    cursor: pointer;
}

.home-video-sound-toggle:hover,
.home-video-sound-toggle:focus-visible {
    background: rgba(7, 70, 145, 0.92);
}

.library-strip {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border-color);
}

.library-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 20px;
}

.library-heading h3 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.library-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-blue);
    font-weight: 700;
    color: var(--primary-blue);
}

.library-card span {
    transition: var(--transition);
}

.library-card-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.library-card-copy time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.library-card-copy time i {
    color: var(--gold);
}

.library-card:hover {
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.library-card:hover span,
.library-card span:hover {
    color: var(--gold);
}

.library-card img {
    width: 112px;
    height: 74px;
    object-fit: cover;
    border-radius: var(--border-radius);
}


@media (max-width: 1180px) {
    .main-nav .nav-list {
        gap: 16px;
    }

    .nav-list a,
    .nav-dropdown-toggle {
        font-size: 0.82rem;
    }
}

@media (max-width: 980px) {
    .header-cta {
        display: none;
    }
}

@media (max-width: 1024px) {

    .home-stats-grid,
    .activity-grid,
    .library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* iPad: keep the compact header and balance the two-column stats grid. */
@media (min-width: 769px) and (max-width: 1024px) {
    .header .logo-title {
        display: none;
    }

    /* Preserve a generous banner area after the curved lower edge is applied. */
    .hero {
        min-height: 640px;
        padding-bottom: 200px;
    }

    .hero-bg {
        background-size: cover;
    }

    .hero-curve svg {
        display: block;
        height: 140px;
        width: 100%;
    }

    .home-stats-grid .stat-item:last-child:nth-child(odd) {
        display: none;
    }
}

@media (max-width: 768px) {
    .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stats-grid .stat-item:last-child:nth-child(odd) {
        display: none;
    }

    .activity-grid,
    .library-grid {
        grid-template-columns: 1fr;
    }

    .news-content {
        padding: 12px;
    }

    .category-layout .content-sidebar {
        display: block;
    }

    .library-card {
        grid-template-columns: 1fr;
    }

    .member-logo {
        width: 100%;
        max-width: 180px;
    }

    .library-card img {
        width: 100%;
        height: 150px;
    }

    .library-heading {
        display: block;
    }

    .home-news-heading .section-view-all {
        position: static;
        justify-content: flex-end;
        width: 100%;
        margin: -24px 0 28px;
        transform: none;
    }

    .library-heading .section-view-all {
        margin-top: 10px;
    }

    .search-page-form {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .search-page-form .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 38px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .inner-hero {
        min-height: 70px;
    }

    .inner-title {
        font-size: 1.8rem;
    }

    .inner-desc {
        font-size: 1rem;
    }

    .content-main,
    .content-sidebar {
        padding: 20px;
        text-align: justify;
    }

    .member-profile-head {
        gap: 20px;
        padding-bottom: 22px;
    }

    .member-profile-logo {
        min-height: 124px;
        padding: 18px;
    }

    .member-profile-logo img {
        max-height: 120px;
    }

    .member-info p {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
    }

    .member-info p>i {
        width: 36px;
        height: 36px;
    }

    .member-action {
        width: 100%;
    }

    .member-action-icon-only {
        width: 40px;
        padding: 0;
    }

    .featured-member-card .member-logo {
        margin: 0 auto;
    }

    .member-table th,
    .member-table td {
        padding: 12px 14px;
    }

    .committee-photo {
        min-height: 360px;
        padding: 14px 14px 0;
    }

    .committee-photo img {
        max-height: 360px;
    }

    .committee-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   Tinh chỉnh responsive: menu chính, header-actions, footer logo
   ============================================================ */
/* Dải tablet/laptop nhỏ: menu vẫn nằm ngang, search + CTA cùng hiển thị */
@media (min-width: 769px) and (max-width: 1180px) {

    /* Menu chính dễ đọc hơn (trước đây 0.82rem hơi nhỏ) */
    .nav-list a,
    .nav-dropdown-toggle {
        font-size: 0.92rem;
    }

    /* Tách icon tìm kiếm & nút "Đăng ký hội viên" cho thoáng, không dính sát */
    .header-actions {
        gap: 18px;
    }
}

@media (max-width: 768px) {

    /* Menu trong drawer mobile: chữ to & vùng bấm rộng hơn */
    .main-nav .nav-list a,
    .nav-dropdown-toggle {
        font-size: 1.05rem;
        padding: 8px 0;
    }

    /* Footer: logo & tên tổ chức to lại cho cân đối */
    .footer-logo img {
        height: 85px;
    }

    .footer-logo .logo-title {
        font-size: 1.15rem;
    }
}