:root {
    --color-primary: #6a9f7a;
    --color-primary-dark: #2f4b37;
    --color-primary-darker: #203228;
    --color-accent: #c47b5a;
    --color-accent-dark: #9f5f42;
    --color-success: #3f8f57;
    --color-danger: #cc4f4f;

    --color-text: #2d2d2d;
    --color-text-muted: #5d5d5d;
    --color-text-light: #7a7a7a;
    --color-bg: #faf8f3;
    --color-bg-soft: #f3f0e9;
    --color-bg-muted: #ede9e1;
    --color-border: #e7e0d6;
    --color-border-soft: #f0ebe2;

    --gradient-hero: radial-gradient(1200px 520px at 20% 10%, rgba(196, 123, 90, 0.55) 0%, rgba(196, 123, 90, 0) 55%),
        linear-gradient(135deg, #f1e7d9 0%, #faf8f3 18%, #dbe8df 55%, #6a9f7a 100%);
    --gradient-deep: linear-gradient(135deg, #1f2e27 0%, #2d2d2d 100%);
    --gradient-dept: linear-gradient(135deg, #2f4b37 0%, #203228 100%);
    --gradient-security: linear-gradient(135deg, #2a3b31 0%, #1e1e1e 100%);
    --gradient-mission: linear-gradient(135deg, #6a9f7a 0%, #c47b5a 100%);
    --gradient-trust: linear-gradient(135deg, #232323 0%, #2f4b37 100%);
    --gradient-cta: linear-gradient(135deg, #c47b5a 0%, #6a9f7a 100%);
    --gradient-accent: linear-gradient(135deg, #87a878 0%, #c47b5a 100%);
    --gradient-icon: linear-gradient(135deg, #6a9f7a 0%, #87a878 40%, #c47b5a 100%);

    --glass-bg: rgba(250, 248, 243, 0.62);
    --glass-border: rgba(45, 45, 45, 0.10);
    --glass-blur: blur(14px);

    --shadow-sm: 0 6px 16px rgba(45, 45, 45, 0.07);
    --shadow-md: 0 14px 36px rgba(45, 45, 45, 0.10), 0 1px 0 rgba(250, 248, 243, 0.75) inset;
    --shadow-lg: 0 22px 60px rgba(45, 45, 45, 0.14), 0 2px 0 rgba(250, 248, 243, 0.75) inset;
    --shadow-xl: 0 30px 90px rgba(45, 45, 45, 0.18), 0 1px 0 rgba(250, 248, 243, 0.8) inset;
    --shadow-primary: 0 18px 48px rgba(106, 159, 122, 0.20), 0 2px 0 rgba(250, 248, 243, 0.8) inset;
    --shadow-accent: 0 16px 44px rgba(196, 123, 90, 0.22), 0 2px 0 rgba(250, 248, 243, 0.82) inset;

    --radius-sm: 8px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    --transition-fast: 210ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

:where(body) {
    color: var(--color-text);
    background: radial-gradient(900px 480px at 50% -140px, rgba(135, 168, 120, 0.22) 0%, rgba(250, 248, 243, 0) 62%),
        radial-gradient(900px 520px at 0% 20%, rgba(196, 123, 90, 0.16) 0%, rgba(250, 248, 243, 0) 55%),
        var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--color-primary);
    accent-color: var(--color-primary);
}

:where(img) {
    max-width: 100%;
    height: auto;
}

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 14px 36px rgba(45, 45, 45, 0.10);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 18px 52px rgba(106, 159, 122, 0.18), 0 10px 28px rgba(196, 123, 90, 0.12);
}

.header {
    background: #faf8f3;
    z-index: 1030;
    box-shadow: 0 10px 34px rgba(45, 45, 45, 0.08);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(0 6px 14px rgba(45, 45, 45, 0.10));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 22px rgba(45, 45, 45, 0.14));
}

.header .nav-link {
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast), opacity var(--transition-fast);
    opacity: 0.92;
}

.header .nav-link:hover {
    color: var(--color-primary);
    opacity: 1;
}

.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: rgba(45, 45, 45, 0.96);
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 520px at 60% 5%, rgba(45, 45, 45, 0.06) 0%, rgba(45, 45, 45, 0) 62%),
        linear-gradient(180deg, rgba(250, 248, 243, 0.02) 0%, rgba(45, 45, 45, 0.08) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    text-shadow: 0 14px 44px rgba(45, 45, 45, 0.10);
}

.hero-section h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.9;
    margin-bottom: var(--space-md);
    font-weight: 500;
    text-shadow: 0 10px 32px rgba(45, 45, 45, 0.08);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.95;
    text-shadow: 0 10px 32px rgba(45, 45, 45, 0.08);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-block-start: var(--space-md);
}

.notice-bar {
    animation: noticeSlideIn 0.62s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.notice-bar a {
    transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
    color: inherit;
}

.notice-bar a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

@keyframes noticeSlideIn {
    from { transform: translateY(-104%); opacity: 0; filter: blur(6px); }
    to   { transform: translateY(0); opacity: 1; filter: blur(0); }
}

.breadcrumb-nav {
    background: var(--color-bg-muted);
    border-block-end: 1px solid rgba(45, 45, 45, 0.06);
}

.breadcrumb-nav .breadcrumb-item a {
    transition: color var(--transition-fast), opacity var(--transition-fast);
    opacity: 0.92;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    opacity: 1;
}

.why-us-section {
    background: var(--color-bg-soft);
}

.whyus-card {
    background: rgba(250, 248, 243, 0.88);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    height: 100%;
    box-shadow: 0 12px 34px rgba(45, 45, 45, 0.08);
}

.whyus-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 64px rgba(106, 159, 122, 0.16), 0 8px 26px rgba(45, 45, 45, 0.09);
    border-color: rgba(106, 159, 122, 0.28);
    background: rgba(250, 248, 243, 0.98);
}

.about-section {
    background: var(--gradient-deep);
    color: #faf8f3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.about-img-wrap img {
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: saturate(1.05) contrast(1.02);
}

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: saturate(1.10) contrast(1.04);
}

.about-card {
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.about-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.82) !important;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.departments-section {
    background: var(--gradient-dept);
    color: #faf8f3;
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(250, 248, 243, 0.86);
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-block-start: var(--space-lg);
}

@media (min-width: 768px) {
    .departments-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.d-item {
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.18) 0%, rgba(250, 248, 243, 0.08) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(250, 248, 243, 0.16);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
    color: rgba(250, 248, 243, 0.92);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 12px 36px rgba(196, 123, 90, 0.26);
}

.d-num span {
    color: rgba(250, 248, 243, 0.92);
    font-size: 1.1rem;
    margin-inline-start: var(--space-xs);
}

.d-image {
    margin-bottom: var(--space-sm);
}

.d-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.security-section {
    background: var(--gradient-security);
    color: #faf8f3;
}

.security-network {
    position: relative;
    max-width: 800px;
    margin: var(--space-xl) auto;
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .security-network {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    .core-node        { grid-column: 2; grid-row: 2; }
    .node-top-left    { grid-column: 1; grid-row: 1; }
    .node-top-right   { grid-column: 3; grid-row: 1; }
    .node-bottom-left { grid-column: 1; grid-row: 3; }
    .node-bottom-right{ grid-column: 3; grid-row: 3; }
}

.core-node {
    background:
        radial-gradient(circle at 30% 25%, rgba(250, 248, 243, 0.35) 0%, rgba(250, 248, 243, 0) 50%),
        var(--gradient-accent);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: rgba(23, 31, 26, 0.95);
    font-weight: 700;
    box-shadow: 0 0 0 6px rgba(250, 248, 243, 0.05), 0 18px 66px rgba(196, 123, 90, 0.26), 0 16px 52px rgba(106, 159, 122, 0.18);
    border: 1px solid rgba(250, 248, 243, 0.20);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.node {
    background: rgba(250, 248, 243, 0.10);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: rgba(250, 248, 243, 0.95);
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(250, 248, 243, 0.14);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.20);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(250, 248, 243, 0.16);
    box-shadow: 0 26px 78px rgba(0, 0, 0, 0.26), 0 10px 26px rgba(106, 159, 122, 0.12);
    border-color: rgba(135, 168, 120, 0.30);
}

.node-title {
    font-weight: 600;
    color: rgba(135, 168, 120, 0.95);
    margin-block: var(--space-xs);
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767.98px) {
    .core-node { width: 120px; height: 120px; }
}

.honor-section {
    background: var(--color-bg-soft);
}

.honor-row {
    padding-block: var(--space-sm);
}

.honor-text-card {
    padding: var(--space-md);
    background: rgba(250, 248, 243, 0.92);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid rgba(106, 159, 122, 0.95);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(231, 224, 214, 0.9);
    box-shadow: 0 14px 44px rgba(45, 45, 45, 0.08);
}

.honor-text-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.84);
    border-inline-start-color: rgba(196, 123, 90, 0.95);
}

.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #faf8f3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(250, 248, 243, 0.86);
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.stats-section {
    background: #faf8f3;
}

.stats-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    background: linear-gradient(180deg, rgba(243, 240, 233, 0.9) 0%, rgba(250, 248, 243, 0.95) 100%);
    border: 1px solid rgba(231, 224, 214, 0.95);
    box-shadow: 0 14px 44px rgba(45, 45, 45, 0.07);
}

.stats-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 78px rgba(45, 45, 45, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(219, 232, 223, 0.78) 55%, rgba(196, 123, 90, 0.10) 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #1f2e27;
    text-shadow: 0 12px 36px rgba(45, 45, 45, 0.08);
}

.news-section {
    background: var(--color-bg-soft);
}

.news-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(250, 248, 243, 0.9);
    box-shadow: 0 14px 44px rgba(45, 45, 45, 0.06);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 86px rgba(45, 45, 45, 0.14), 0 8px 24px rgba(106, 159, 122, 0.10);
    border-color: rgba(106, 159, 122, 0.30);
    background: rgba(255, 255, 255, 0.9);
}

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: calc(var(--radius-md) - 2px);
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: saturate(1.02) contrast(1.02);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.05);
}

.matches-section {
    background: var(--color-bg-soft);
}

.match-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(250, 248, 243, 0.92);
    box-shadow: 0 14px 44px rgba(45, 45, 45, 0.06);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(196, 123, 90, 0.55);
    background: rgba(255, 255, 255, 0.88);
}

.match-card .team {
    min-width: 0;
}

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: #203228;
    text-shadow: 0 10px 28px rgba(45, 45, 45, 0.08);
}

.trust-section {
    background: var(--gradient-trust);
    color: #faf8f3;
}

.trust-card {
    background: rgba(250, 248, 243, 0.10);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border: 1px solid rgba(250, 248, 243, 0.14);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(250, 248, 243, 0.16);
    box-shadow: 0 30px 98px rgba(0, 0, 0, 0.28);
    border-color: rgba(135, 168, 120, 0.30);
}

.partners-section {
    background: var(--color-bg-soft);
}

.partner-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 44px rgba(45, 45, 45, 0.06);
    border: 1px solid rgba(231, 224, 214, 0.95);
    background: rgba(250, 248, 243, 0.92);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(106, 159, 122, 0.34);
    background: rgba(255, 255, 255, 0.9);
}

.testimonials-section {
    background: #fff;
}

.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-block-start: 4px solid transparent;
    border-radius: var(--radius-md);
    border: 1px solid rgba(231, 224, 214, 0.95);
    background: rgba(250, 248, 243, 0.92);
    box-shadow: 0 14px 44px rgba(45, 45, 45, 0.06);
}

.testimonial-card:hover {
    border-block-start-color: rgba(196, 123, 90, 0.95);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

.cta-banner-section {
    background: var(--gradient-cta);
    color: #faf8f3;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 420px at 15% 20%, rgba(250, 248, 243, 0.20) 0%, rgba(0, 0, 0, 0) 52%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.26) 100%);
    z-index: 0;
}

.cta-banner-section > .container {
    position: relative;
    z-index: 1;
}

.cta-banner-section .btn-warning {
    box-shadow: 0 18px 54px rgba(196, 123, 90, 0.26), 0 10px 30px rgba(45, 45, 45, 0.14);
    border-radius: var(--radius-pill);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.footer {
    font-size: 0.9rem;
    color: rgba(45, 45, 45, 0.62);
    text-shadow: 0 10px 24px rgba(45, 45, 45, 0.06);
}

.footer a {
    transition: color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer a:hover {
    color: var(--color-sage) !important;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-soft-text);
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: rgba(45, 45, 45, 0.78);
}

.footer-beian a:hover {
    color: var(--color-sage) !important;
    text-decoration: underline !important;
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 999px;
    filter: saturate(0.95) contrast(0.98);
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: saturate(1.05) contrast(1.02);
}

.footer-beian li {
    white-space: nowrap;
}

/* Decorative focus/selection polish (no layout changes) */
.footer a:focus-visible,
.footer-beian a:focus-visible {
    outline: 3px solid rgba(135, 168, 120, 0.35);
    outline-offset: 3px;
    border-radius: 10px;
}

::selection {
    background: rgba(135, 168, 120, 0.35);
    color: #1f1f1f;
    text-shadow: none;
}

/* Caret color (where inputs exist elsewhere) */
input,
textarea,
select {
    caret-color: var(--color-sage);
    accent-color: var(--color-sage);
}

@media (max-width: 575.98px) {
    .footer-beian ul {
        flex-direction: column;
        gap: var(--space-xs) !important;
    }

    .footer-beian li {
        white-space: normal;
        text-align: center;
    }
}

/* ============================================
   22. Form (Login/Signup/Contact)
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: rgba(135, 168, 120, 0.95);
    box-shadow:
        0 0 0 4px rgba(135, 168, 120, 0.18),
        0 10px 24px rgba(45, 45, 45, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    background-image: none;
    transition: box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    background-color: #b87a53;
    border-color: #b87a53;
    color: var(--color-offwhite);
    box-shadow:
        0 10px 22px rgba(180, 117, 77, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.55) inset;
    border-radius: 999px;
    transition: background-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #a66a42;
    border-color: #a66a42;
    box-shadow:
        0 14px 30px rgba(166, 106, 66, 0.26),
        0 2px 0 rgba(255, 255, 255, 0.55) inset;
    transform: translateY(-1px);
    outline: 3px solid rgba(135, 168, 120, 0.20);
    outline-offset: 2px;
}

.input-group-text {
    background-color: rgba(250, 248, 243, 0.9);
    border-color: rgba(45, 45, 45, 0.12);
    color: rgba(45, 45, 45, 0.82);
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 10px 22px rgba(45, 45, 45, 0.06);
    transition: border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================================
   23. Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   Grid Layout Defaults (CSS-Variant-Ready)
   CSS-VariantEngine sẽ override các rules này
   ============================================================ */

/* News minimal theming variables (no layout impact) */
:root {
    --color-offwhite: #faf8f3;
    --color-soft-text: rgba(45, 45, 45, 0.86);
    --color-sage: #87a878;
    --color-terra: #c47b5a;
    --color-primary: #c47b5a;
    --color-bg-muted: rgba(250, 248, 243, 0.92);
    --color-border: rgba(45, 45, 45, 0.14);
    --shadow-soft-1: rgba(45, 45, 45, 0.10);
    --shadow-soft-2: rgba(135, 168, 120, 0.14);
    --transition-fast: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-split-text { }
.hero-split-img { text-align: center; }

.cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.post-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

.honor-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.honor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.honor-row-reverse {
    direction: rtl;
}
.honor-row-reverse > * {
    direction: ltr;
}

/* ============================================================
   Responsive Defaults
   ============================================================ */
@media (max-width: 1024px) {
    .news-grid,
    .feature-list,
    .channels-grid,
    .testimonial-list { grid-template-columns: repeat(2, 1fr); }

    .partner-grid,
    .stats-grid,
    .authors-grid { grid-template-columns: repeat(2, 1fr); }

    .matches-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }

    .hero-split { grid-template-columns: 1fr; }
    .honor-row { grid-template-columns: 1fr; }
    .honor-row-reverse { direction: ltr; }
}

@media (max-width: 640px) {
    .news-grid,
    .feature-list,
    .testimonial-list,
    .channels-grid,
    .post-list-grid,
    .related-grid,
    .authors-grid,
    .matches-grid { grid-template-columns: 1fr; }

    .partner-grid,
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .steps-grid { grid-template-columns: 1fr; }
    .qr-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }

    .faq-list { max-width: 100%; }
}