:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --space-2: 0.5rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --container-max: 1200px;
    --container-padding: 1rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--color-primary-dark); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: var(--space-8) 0;
}

.site-header {
    background: linear-gradient(135deg, #1a2a4a, #2d3a52);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
    flex-shrink: 1;
    z-index: 2;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-tagline {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    margin-left: auto;
    z-index: 2;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
}

.main-nav a:hover { color: #fff; }

.main-nav a[aria-current="page"] {
    color: #fff;
    font-weight: 600;
}

/* Hamburger — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle__bar {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
}

body.nav-lock {
    overflow: hidden;
}

/* Header search */
.header-search {
    display: flex;
    align-items: center;
    position: relative;
    gap: var(--space-2);
}

.header-search__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}

.header-search__toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-search__form {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 0;
    opacity: 0;
    transition: width 0.25s ease, opacity 0.2s ease;
    background: #fff;
    border-radius: 999px;
}

.header-search.is-open .header-search__form {
    width: 240px;
    opacity: 1;
}

.header-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 8px 14px;
    font-size: 0.875rem;
    background: transparent;
    color: #1a2a4a;
}

.header-search__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #1a2a4a;
    padding: 0 12px;
    cursor: pointer;
}

@media (min-width: 769px) {
    .site-header .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .main-nav {
        justify-content: center;
    }

    .header-actions {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 0 16px;
        background: linear-gradient(180deg, #1a2a4a, #243450);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.28s ease, opacity 0.2s ease;
        z-index: 120;
    }

    .site-header.is-nav-open .main-nav {
        max-height: min(70vh, 420px);
        overflow-y: auto;
        opacity: 1;
        pointer-events: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav a {
        display: block;
        padding: 14px var(--container-padding);
        font-size: 1rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

    .main-nav a[aria-current="page"] {
        color: #fff;
        background: rgba(37, 99, 235, 0.25);
        border-left: 3px solid var(--color-primary);
        padding-left: calc(var(--container-padding) - 3px);
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .site-header.is-nav-open .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .header-search.is-open {
        position: static;
    }

    .header-search.is-open .header-search__form {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        width: auto;
        z-index: 130;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .logo-main {
        font-size: 1.1rem;
        max-width: 46vw;
    }

    .logo-tagline {
        font-size: 9px;
        letter-spacing: 1px;
    }
}

.home-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-banner { margin-bottom: var(--space-10); }

.hero-grid-5 {
    display: grid;
    gap: 12px;
}

.hero-main,
.hero-side-item { position: relative; }

.hero-main a,
.hero-side-item a { display: block; color: inherit; }

.hero-image-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-alt);
}

.hero-main .hero-image-wrap {
    aspect-ratio: 16 / 10;
    min-height: 220px;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.hero-main:hover img { transform: scale(1.03); }

.hero-side-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.hero-side-item .hero-image-wrap {
    aspect-ratio: 16 / 10;
}

.hero-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.hero-side-item:hover img { transform: scale(1.05); }

.hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    pointer-events: none;
}

.hero-caption span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-caption--main {
    padding: 20px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.hero-caption--main span {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 3;
}

@media (min-width: 768px) {
    .hero-caption--main {
        padding: 28px 20px 18px;
    }

    .hero-caption--main span {
        font-size: 1.375rem;
    }
}

@media (min-width: 768px) {
    .hero-grid-5 {
        grid-template-columns: 1.2fr 1fr;
        align-items: stretch;
    }

    .hero-main .hero-image-wrap {
        height: 100%;
        min-height: 420px;
        aspect-ratio: auto;
    }
}

.news-section { margin-bottom: var(--space-10); }

.section-header {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--color-primary);
}

.section-header--row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
}

.section-more {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.section-more:hover {
    color: var(--color-primary-dark);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.error-page {
    text-align: center;
    padding: var(--space-12) var(--container-padding);
}

.error-page__code {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-border);
    margin-bottom: var(--space-4);
}

.error-page__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.error-page__text {
    max-width: 420px;
    margin: 0 auto var(--space-8);
    color: var(--color-text-light);
    line-height: 1.6;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    background: #fff;
}

.error-page__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.error-page__btn--primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.error-page__btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.section-lead {
    margin-top: var(--space-2);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 720px;
}

.news-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: var(--space-5);
}

.news-page-title {
    margin: 0;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1.25;
}

.news-page-meta {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.news-category-nav {
    margin: 0 0 var(--space-6);
    position: relative;
}

.news-category-nav::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #fff);
}

.news-category-nav__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 4px 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.news-category-nav__track::-webkit-scrollbar {
    display: none;
}

.news-category-nav__link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.news-category-nav__link:hover {
    border-color: #93c5fd;
    color: var(--color-primary);
    background: #eff6ff;
}

.news-category-nav__link.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.news-category-nav__link.is-active:hover {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
    color: #fff;
}

@media (min-width: 768px) {
    .news-category-nav::after {
        display: none;
    }

    .news-category-nav__track {
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
    }
}

.news-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .news-grid { grid-template-columns: repeat(4, 1fr); }
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.news-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body { padding: 14px; }

.news-card-body h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body time {
    font-size: 12px;
    color: var(--color-text-muted);
}

.ad-container {
    margin: var(--space-6) 0;
    padding: var(--space-4);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    text-align: center;
    min-height: 90px;
    overflow: hidden;
}

.ad-container iframe,
.ad-container img {
    margin: 0 auto;
}

.site-footer {
    background: #1e293b;
    padding: 30px 0;
    margin-top: 50px;
}

.site-footer .container { text-align: center; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-links a:hover { color: #fff; }

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Quảng cáo — AdsConex / Taboola */
.ad-container {
    margin: var(--space-6) auto;
    text-align: center;
    min-height: 90px;
    overflow: hidden;
}

.ad-container--video {
    min-height: 200px;
}

.ad-container--taboola,
.ad-container--mid {
    min-height: 120px;
}

.adsconex-parallax_wrapper {
    display: block;
    margin: var(--space-6) 0;
}

.adsconex-parallax_ad {
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-page {
    overflow-x: clip;
}

.article-page .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.article-header { margin-bottom: 20px; }

.article-page-title {
    font-size: clamp(1.375rem, 4.2vw, 2.625rem);
    line-height: 1.25;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    color: var(--color-text-light);
    font-size: 13px;
    line-height: 1.4;
}

.article-meta > * {
    display: inline-flex;
    align-items: center;
}

.article-meta > * + *::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
    flex-shrink: 0;
}

.article-featured-image {
    margin: 0 0 var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 600;
    color: #334155;
    margin: 0 0 var(--space-6);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-border);
    overflow-wrap: anywhere;
}

.article-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (min-width: 768px) {
    .article-header { margin-bottom: 24px; }

    .article-meta { font-size: 14px; }

    .article-lead {
        font-size: 1.125rem;
        line-height: 1.7;
    }

    .article-body {
        font-size: 1.125rem;
        line-height: 1.8;
    }

    .article-featured-image {
        margin-bottom: var(--space-8);
    }
}

.article-body > * {
    max-width: 100%;
}

.article-body div:empty {
    display: none;
}

.article-body p {
    margin-bottom: 1.15em;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body img,
.article-body video,
.article-body iframe,
.article-body embed,
.article-body object,
.article-body figure {
    max-width: 100% !important;
}

.article-body img {
    height: auto !important;
    border-radius: var(--radius-md);
    margin: 1.25em auto;
    display: block;
}

.article-body figure {
    margin: 1.25em 0;
}

.article-body figure img {
    margin: 0 auto;
}

.article-body figcaption {
    margin-top: 0.5em;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--color-text-light);
    text-align: center;
}

.article-body iframe,
.article-body video,
.article-body embed {
    width: 100% !important;
    display: block;
    margin: 1.25em auto;
    border: 0;
    border-radius: var(--radius-md);
}

.article-body iframe {
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 180px;
    background: #0f172a;
}

.article-body table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 1.25em 0;
    font-size: 0.9375rem;
}

.article-body th,
.article-body td {
    padding: 8px 10px;
    border: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.article-body ul,
.article-body ol {
    margin: 0 0 1.15em;
    padding-left: 1.25em;
}

.article-body li {
    margin-bottom: 0.4em;
}

.article-body li > ul,
.article-body li > ol {
    margin: 0.4em 0 0;
}

.article-body blockquote {
    margin: 1.25em 0;
    padding: 0.75em 0 0.75em 1em;
    border-left: 3px solid var(--color-primary);
    color: #475569;
    font-style: italic;
}

.article-body pre,
.article-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
}

.article-body pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px;
    margin: 1.25em 0;
    border-radius: var(--radius-md);
    background: #0f172a;
    color: #e2e8f0;
}

.article-body a {
    word-break: break-word;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.article-body h2 { font-size: 1.35em; }
.article-body h3 { font-size: 1.2em; }
.article-body h4 { font-size: 1.08em; }

.breadcrumb {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: var(--space-5);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.breadcrumb__list::-webkit-scrollbar {
    display: none;
}

.breadcrumb__list li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb__list li + li::before {
    content: "›";
    margin: 0 8px;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-light);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.related-section { margin-top: var(--space-12); }

/* Continue Reading — inspired by celedaily.cafex.biz */
.continue-reading-stack {
    margin-top: var(--space-10);
    margin-bottom: var(--space-8);
}

.continue-reading-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d1d5db, transparent);
    margin: var(--space-8) 0;
}

.continue-reading-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--space-3);
}

.continue-reading-next-title,
.continue-reading-title {
    font-size: clamp(1.15rem, 3.5vw, 1.5rem);
    line-height: 1.35;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-4);
    overflow-wrap: anywhere;
}

.continue-reading-title a {
    color: inherit;
    text-decoration: none;
}

.continue-reading-title a:hover {
    color: var(--color-primary, #2563eb);
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin: var(--space-4) auto 0;
    padding: 14px 24px;
    border: 2px solid #1a2a4a;
    border-radius: 999px;
    background: #fff;
    color: #1a2a4a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.btn-continue:hover {
    background: #1a2a4a;
    color: #fff;
}

.btn-continue-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.btn-continue[aria-expanded="true"] .btn-continue-icon {
    transform: rotate(180deg);
}

.continue-reading-gate {
    text-align: center;
    padding: var(--space-6) 0;
}

.continue-reading-error {
    margin-top: var(--space-3);
    color: #b91c1c;
    font-size: 0.875rem;
}

.btn-continue:disabled {
    opacity: 0.7;
    cursor: wait;
}

.continue-reading-article {
    margin-top: var(--space-8);
    padding-top: var(--space-2);
    animation: continueFadeIn 0.45s ease;
}

.continue-reading-article.is-visible {
    display: block;
}

.continue-reading-header {
    margin-bottom: var(--space-6);
}

.continue-reading-full-link {
    margin-top: var(--space-8);
    text-align: center;
    font-weight: 600;
}

.continue-reading-full-link a {
    color: var(--color-primary, #2563eb);
}

@keyframes continueFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.related-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .main-content {
        padding: var(--space-4) 0 var(--space-6);
    }

    .article-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .article-featured-image {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        width: calc(100% + 32px);
        max-width: none;
    }

    .article-body img {
        border-radius: var(--radius-md);
    }

    .article-body h2,
    .article-body h3,
    .article-body h4 {
        margin-top: 1.35em;
    }

    .article-page .ad-container {
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        max-width: none;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .btn-continue {
        max-width: none;
        padding: 13px 18px;
        font-size: 15px;
    }

    .continue-reading-gate {
        padding: var(--space-4) 0;
    }

    .related-section {
        margin-top: var(--space-8);
    }

    .related-section .section-header {
        margin-bottom: var(--space-4);
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: var(--space-10);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 14px;
}

.pagination a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination .active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.no-content {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--space-12) 0;
}

/* Static pages (Contact, Terms, Privacy) */
.static-page {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.static-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary);
}

.static-page h2 {
    font-size: 22px;
    font-weight: 600;
    color: #334155;
    margin-top: 30px;
    margin-bottom: 15px;
}

.static-page h3 {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-top: 25px;
    margin-bottom: 12px;
}

.static-page p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}

.static-page ul {
    margin: 16px 0;
    padding-left: 24px;
}

.static-page li {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 10px;
}

.static-page a {
    color: var(--color-primary);
    text-decoration: underline;
}

.static-page a:hover {
    color: var(--color-primary-dark);
}

.contact-section,
.terms-section,
.privacy-section {
    margin-top: 10px;
}

.contact-info {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-6) 0;
    border-left: 4px solid var(--color-primary);
}

.contact-info h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.contact-form-placeholder {
    background: #fff;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-6);
}

/* Sticky contact float — right */
.contact-float {
    position: fixed;
    right: 10px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.contact-float__pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    pointer-events: auto;
}

.contact-float__btn,
.contact-float__telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.18s ease, filter 0.18s ease;
    pointer-events: auto;
    line-height: 0;
}

.contact-float__btn svg,
.contact-float__btn img,
.contact-float__telegram svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-float__btn:hover,
.contact-float__telegram:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.contact-float__telegram {
    width: 46px;
    height: 46px;
    box-shadow: 0 4px 14px rgba(42, 171, 238, 0.45);
}

@media (max-width: 640px) {
    .contact-float {
        right: 6px;
        left: auto;
        gap: 8px;
    }

    .contact-float__pill {
        padding: 10px 6px;
        gap: 8px;
    }

    .contact-float__btn {
        width: 36px;
        height: 36px;
    }

    .contact-float__telegram {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-float__btn,
    .contact-float__telegram {
        transition: none;
    }
}
