:root {
    --brand: #E1251B;
    --brand-dark: #b91c14;
    --navy: #1E293B;
    --navy-soft: #334155;
    --page: #F8FAFC;
    --surface: #ffffff;
    --surface-soft: #eef2f7;
    --text: #172033;
    --muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 8px 22px rgba(15, 23, 42, .07);
    --shadow-md: 0 18px 44px rgba(15, 23, 42, .13);
    --radius: 12px;
    --radius-lg: 18px;
}

[data-theme="dark"] {
    --page: #121212;
    --surface: #1E1E1E;
    --surface-soft: #252525;
    --text: #E5E7EB;
    --muted: #a3aab8;
    --border: #343434;
    --navy: #0f172a;
    --navy-soft: #1f2937;
    --shadow-sm: 0 8px 22px rgba(0, 0, 0, .24);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--page);
    color: var(--text);
    font-family: Inter, Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(225, 37, 27, .42);
    outline-offset: 3px;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    margin-inline: auto;
    width: min(100% - clamp(24px, 5vw, 72px), 1180px);
}

.reading-progress {
    background: var(--brand);
    height: 3px;
    inset: 0 auto auto 0;
    position: fixed;
    transform: scaleX(0);
    transform-origin: left;
    width: 100%;
    z-index: 300;
}

.top-header {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 13px;
}

.top-wrapper {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 38px;
}

.top-kicker,
.right-top {
    align-items: center;
    display: flex;
    gap: 16px;
}

.top-kicker strong {
    color: #fff;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.right-top a {
    color: #cbd5e1;
    transition: color .2s ease;
}

.right-top a:hover {
    color: #fff;
}

.site-header {
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 16px 38px rgba(15, 23, 42, .28);
}

.header-content {
    align-items: center;
    display: grid;
    column-gap: 0;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    min-height: 78px;
}

.brand {
    align-items: flex-start;
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.brand-mark {
    color: #fff;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1px;
}

.brand-mark span {
    color: var(--brand);
}

.brand small {
    color: #cbd5e1;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
    margin-top: 3px;
    text-transform: uppercase;
}

.desktop-nav {
    align-items: center;
    display: flex;
    gap: clamp(14px, 1.45vw, 22px);
    justify-content: flex-start;
    margin-left: clamp(35px, 3.2vw, 40px);
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
}

.desktop-nav::-webkit-scrollbar {
    display: none;
}

.desktop-nav a {
    color: #e2e8f0;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    padding: 28px 0 25px;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}

.desktop-nav a::after {
    background: var(--brand);
    bottom: 17px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.desktop-nav-more {
    margin-left: 14px;
    position: relative;
}

.desktop-nav-more[hidden] {
    display: none;
}

.desktop-nav-more button {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    min-height: 36px;
    padding: 8px 12px;
    white-space: nowrap;
}

.desktop-nav-more__menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    display: none;
    min-width: 190px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 220;
}

.desktop-nav-more.is-open .desktop-nav-more__menu {
    display: grid;
    gap: 2px;
}

.desktop-nav-more__menu a {
    border-radius: 10px;
    color: var(--navy);
    display: block;
    font-size: 12px;
    font-weight: 850;
    padding: 10px 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.desktop-nav-more__menu a:hover,
.desktop-nav-more__menu a.active {
    background: rgba(225, 37, 27, .1);
    color: var(--brand);
}

[data-theme="dark"] .desktop-nav-more__menu a {
    color: var(--text);
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-left: clamp(22px, 2.5vw, 34px);
    min-width: max-content;
}

.search-box,
.mobile-search {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    display: flex;
    overflow: hidden;
}

.search-box {
    max-width: 320px;
    min-width: 280px;
    width: clamp(280px, 22vw, 320px);
}

.search-box input,
.mobile-search input {
    background: transparent;
    border: 0;
    color: #fff;
    min-width: 0;
    outline: 0;
    padding: 10px 0 10px 14px;
    width: 100%;
}

.search-box input::placeholder,
.mobile-search input::placeholder {
    color: #cbd5e1;
}

.search-box button,
.mobile-search button,
.theme-toggle,
.menu-btn {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    width: 40px;
}

.theme-toggle,
.menu-btn {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.theme-toggle:hover,
.menu-btn:hover,
.search-box button:hover,
.mobile-search button:hover {
    background: var(--brand);
    transform: translateY(-1px);
}

.live-button {
    background: var(--brand);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 10px 14px;
    transition: background .2s ease, transform .2s ease;
    white-space: nowrap;
}

.live-button:hover,
.read-btn:hover,
.newsletter-card button:hover,
.footer-newsletter button:hover,
.contact-form button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.menu-btn {
    display: none;
}

.mobile-search-toggle,
.mobile-search-overlay,
.mobile-bottom-nav,
.mobile-section-title {
    display: none;
}

.mobile-nav {
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: none;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav .container {
    display: grid;
    gap: 10px;
    padding-block: 16px;
}

.mobile-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #e2e8f0;
    font-weight: 800;
    padding: 10px 0;
    text-transform: uppercase;
}

.nav-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    color: var(--navy);
    margin: -22px 0 38px;
}

.nav-strip--below-hero {
    margin-top: -20px;
}

.nav-strip__inner {
    align-items: center;
    display: flex;
    gap: 18px;
    min-height: 42px;
    min-width: 0;
}

.nav-strip span {
    color: var(--brand);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-strip__inner div {
    display: flex;
    gap: 18px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-strip a {
    color: var(--muted);
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    transition: color .2s ease;
    white-space: nowrap;
}

.nav-strip a:hover {
    color: var(--brand);
}

.breaking-news {
    background: var(--brand);
    color: #fff;
    margin: 0;
}

.breaking-wrapper {
    align-items: center;
    display: flex;
    min-height: 44px;
    overflow: hidden;
}

.breaking-title {
    background: rgba(15, 23, 42, .92);
    align-self: stretch;
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    letter-spacing: .06em;
    padding: 0 18px;
    text-transform: uppercase;
}

.breaking-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.breaking-track {
    animation: breaking-scroll 34s linear infinite;
    display: flex;
    gap: 34px;
    width: max-content;
    white-space: nowrap;
}

.breaking-track a,
.breaking-track span {
    font-size: 14px;
    font-weight: 700;
}

.breaking-track a::before {
    content: "";
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    height: 5px;
    margin: 0 12px 2px 0;
    width: 5px;
}

@keyframes breaking-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ncc-hero {
    margin: 26px 0 42px;
}

.ncc-hero-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.66fr) minmax(330px, .84fr);
    align-items: stretch;
}

.hero-main {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    min-height: clamp(340px, 34vw, 440px);
    overflow: hidden;
    position: relative;
}

.hero-main img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform .45s ease;
}

.hero-main:hover img {
    transform: scale(1.035);
}

.hero-main-overlay {
    background: linear-gradient(90deg, rgba(248, 250, 252, .98) 0%, rgba(248, 250, 252, .84) 48%, rgba(248, 250, 252, .24) 100%);
    color: var(--navy);
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3.4vw, 38px);
    position: absolute;
    width: min(680px, 78%);
}

[data-theme="dark"] .hero-main-overlay {
    background: linear-gradient(90deg, rgba(18, 18, 18, .98) 0%, rgba(18, 18, 18, .82) 52%, rgba(18, 18, 18, .22) 100%);
    color: var(--text);
}

.category {
    background: var(--brand);
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    margin-bottom: 12px;
    padding: 5px 9px;
    text-transform: uppercase;
}

.hero-main h1 {
    color: var(--navy);
    font-size: clamp(28px, 3.55vw, 44px);
    font-weight: 950;
    line-height: 1.03;
    margin-bottom: 12px;
    text-transform: uppercase;
}

[data-theme="dark"] .hero-main h1 {
    color: var(--text);
}

.hero-main p {
    color: var(--navy-soft);
    max-width: 580px;
    font-size: 15px;
    line-height: 1.5;
}

[data-theme="dark"] .hero-main p {
    color: var(--muted);
}

.news-meta {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px 14px;
    margin-top: 12px;
}

.hero-meta-panel {
    border-top: 1px solid rgba(30, 41, 59, .12);
    margin-top: 16px;
    padding-top: 14px;
}

[data-theme="dark"] .hero-meta-panel {
    border-top-color: rgba(255, 255, 255, .12);
}

.hero-news-meta {
    color: var(--navy-soft);
    gap: 8px 14px;
    margin-top: 0;
}

[data-theme="dark"] .hero-news-meta {
    color: var(--muted);
}

.hero-news-meta i {
    color: var(--brand);
    margin-right: 5px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.read-btn {
    background: var(--brand);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    margin-top: 0;
    padding: 11px 16px;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}

.share-btn {
    align-items: center;
    background: rgba(30, 41, 59, .08);
    border: 1px solid rgba(30, 41, 59, .14);
    border-radius: 8px;
    color: var(--navy);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    letter-spacing: .04em;
    padding: 10px 14px;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.share-btn:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-1px);
}

[data-theme="dark"] .share-btn {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
    color: var(--text);
}

.hero-side-news {
    display: grid;
    gap: 10px;
    grid-template-rows: repeat(4, minmax(0, 1fr));
}

.side-headline {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 11px;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 0;
    padding: 9px;
    transition: box-shadow .22s ease, transform .22s ease;
}

.side-headline:hover,
.latest-item:hover,
.news-card:hover,
.editor-card:hover,
.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.side-headline img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
}

.side-headline strong {
    color: var(--navy);
    display: block;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.16;
    margin: 3px 0 4px;
    text-transform: uppercase;
}

[data-theme="dark"] .side-headline strong {
    color: var(--text);
}

.side-headline .side-kicker {
    color: var(--brand);
    display: inline-flex;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .06em;
    margin: 0;
    text-transform: uppercase;
}

.side-headline p {
    color: var(--muted);
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.35;
    margin: 0 0 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.side-headline .side-meta {
    color: var(--muted);
    display: block;
    font-size: 11px;
    margin-top: 0;
}

.side-headline .side-meta b {
    color: var(--border);
    font-weight: 400;
}

.content-shell,
.article-layout {
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
    margin-bottom: 54px;
}

.section-heading {
    align-items: end;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
}

.section-heading span,
.page-kicker {
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-heading h2 {
    color: var(--navy);
    flex: 1;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.08;
    text-transform: uppercase;
}

[data-theme="dark"] .section-heading h2 {
    color: var(--text);
}

.section-heading a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
}

.spaced-heading,
.category-news-section {
    margin-top: 42px;
}

.latest-list {
    display: grid;
    gap: 14px;
}

.latest-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: grid;
    gap: 16px;
    grid-template-columns: 210px minmax(0, 1fr);
    padding: 12px;
    transition: box-shadow .22s ease, transform .22s ease;
}

.latest-item img {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    object-fit: cover;
}

.latest-item h3,
.news-card h3,
.editor-card h3 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 950;
    line-height: 1.22;
    margin-bottom: 8px;
}

[data-theme="dark"] .latest-item h3,
[data-theme="dark"] .news-card h3,
[data-theme="dark"] .editor-card h3 {
    color: var(--text);
}

.latest-item p,
.news-card p,
.newsletter-card p,
.page-description,
.about-content p,
.contact-info p {
    color: var(--muted);
}

.news-grid,
.category-news-grid,
.editor-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card,
.editor-card,
.sidebar-widget,
.contact-info,
.contact-form,
.about-image,
.article-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.news-card,
.editor-card {
    overflow: hidden;
    transition: box-shadow .22s ease, transform .22s ease;
}

.news-card__image img,
.editor-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-card__body,
.editor-card div {
    padding: 16px;
}

.editor-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ncc-sidebar,
.article-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 128px;
}

.sidebar-widget {
    padding: 20px;
    transition: box-shadow .22s ease, transform .22s ease;
}

.sidebar-widget h3 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 950;
    margin-bottom: 16px;
    text-transform: uppercase;
}

[data-theme="dark"] .sidebar-widget h3 {
    color: var(--text);
}

.rank-list {
    counter-reset: rank;
    list-style: none;
}

.rank-list li {
    border-bottom: 1px solid var(--border);
    counter-increment: rank;
    display: grid;
    gap: 4px 12px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 13px 0;
}

.rank-list li:last-child {
    border-bottom: 0;
}

.rank-list li::before {
    color: var(--brand);
    content: counter(rank);
    font-size: 26px;
    font-weight: 950;
    line-height: 1;
}

.rank-list a {
    font-weight: 900;
    line-height: 1.25;
}

.rank-list span {
    color: var(--muted);
    font-size: 12px;
    grid-column: 2;
}

.category-cloud {
    display: grid;
    gap: 9px;
}

.category-cloud a {
    align-items: center;
    background: var(--surface-soft);
    border-radius: 9px;
    color: var(--navy);
    display: flex;
    font-weight: 850;
    justify-content: space-between;
    padding: 10px 12px;
}

[data-theme="dark"] .category-cloud a {
    color: var(--text);
}

.category-cloud a:hover {
    background: var(--brand);
    color: #fff;
}

.category-cloud span {
    color: var(--muted);
    font-size: 12px;
}

.newsletter-card {
    background: linear-gradient(160deg, var(--navy), #111827);
    color: #fff;
}

.newsletter-card h3,
.newsletter-card p {
    color: #fff;
}

.newsletter-card form,
.footer-newsletter {
    display: grid;
    gap: 10px;
}

.newsletter-card input,
.footer-newsletter input {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #111827;
    outline: 0;
    padding: 12px;
    width: 100%;
}

.newsletter-card button,
.footer-newsletter button,
.contact-form button {
    background: var(--brand);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: 12px 14px;
    transition: background .2s ease, transform .2s ease;
}

.ad-placeholder,
.ad-slot,
.video-placeholder {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(30, 41, 59, .08), rgba(225, 37, 27, .08)),
        var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    display: flex;
    justify-content: center;
    min-height: 180px;
    text-align: center;
}

.ad-slot {
    background: transparent;
    border: 0;
    min-height: auto;
}

.ad-slot a {
    display: block;
}

.ad-slot img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    width: 100%;
}

.ad-slot--hero,
.ad-slot--footer {
    margin: 24px auto 38px;
    width: min(100% - clamp(24px, 5vw, 72px), 1180px);
}

.ad-slot--hero img,
.ad-slot--footer img {
    aspect-ratio: 16 / 3;
}

.ncc-sidebar .ad-slot img,
.article-sidebar .ad-slot img {
    aspect-ratio: 4 / 5;
}

.ad-slot--article {
    margin: 28px 0;
}

.ad-slot--article img {
    aspect-ratio: 16 / 5;
}

.video-placeholder {
    min-height: 260px;
    padding: 24px;
}

.video-placeholder i {
    align-items: center;
    background: var(--brand);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 54px;
    justify-content: center;
    margin-bottom: 14px;
    width: 54px;
}

.video-placeholder h3 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 8px;
}

[data-theme="dark"] .video-placeholder h3 {
    color: var(--text);
}

.page-hero,
.article-hero {
    margin: 46px auto 28px;
    text-align: center;
}

.page-title,
.article-hero h1 {
    color: var(--navy);
    font-size: clamp(36px, 6vw, 66px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 8px auto 14px;
    max-width: 960px;
    text-transform: uppercase;
}

[data-theme="dark"] .page-title,
[data-theme="dark"] .article-hero h1 {
    color: var(--text);
}

.page-description {
    margin: 0 auto;
    max-width: 760px;
}

.category-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-menu a,
.share a {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
    font-weight: 850;
    padding: 10px 15px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

[data-theme="dark"] .category-menu a,
[data-theme="dark"] .share a {
    color: var(--text);
}

.category-menu a:hover,
.share a:hover {
    background: var(--brand);
    color: #fff;
    transform: translateY(-1px);
}

.article-layout {
    margin-top: 0;
}

.article-content {
    padding: clamp(18px, 3vw, 30px);
}

.article-image {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    margin-bottom: 20px;
    object-fit: cover;
}

.share {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-top {
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    padding-bottom: 20px;
}

.share span {
    color: var(--muted);
    font-weight: 900;
}

.article-body {
    color: var(--text);
    font-size: 18px;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body table {
    margin-bottom: 20px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--navy);
    line-height: 1.18;
    margin: 30px 0 14px;
}

[data-theme="dark"] .article-body h2,
[data-theme="dark"] .article-body h3,
[data-theme="dark"] .article-body h4 {
    color: var(--text);
}

.article-body blockquote {
    border-left: 5px solid var(--brand);
    color: var(--navy);
    font-size: 22px;
    font-weight: 850;
    padding: 10px 20px;
}

[data-theme="dark"] .article-body blockquote {
    color: var(--text);
}

.article-body img {
    border-radius: var(--radius);
}

.article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.article-nav {
    border-top: 1px solid var(--border);
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
    padding-top: 22px;
}

.article-nav a {
    background: var(--surface-soft);
    border-radius: var(--radius);
    color: var(--navy);
    font-weight: 900;
    padding: 16px;
}

[data-theme="dark"] .article-nav a {
    color: var(--text);
}

.article-nav span {
    color: var(--brand);
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.about-section,
.contact-section {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    margin-bottom: 56px;
}

.about-image,
.contact-info,
.contact-form {
    padding: clamp(22px, 3vw, 32px);
}

.about-logo {
    align-items: center;
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    justify-content: center;
}

.about-logo .brand-mark {
    font-size: clamp(56px, 8vw, 92px);
}

.about-content h2,
.contact-info h2,
.contact-form h2 {
    color: var(--navy);
    font-size: 30px;
    font-weight: 950;
    margin-bottom: 14px;
}

[data-theme="dark"] .about-content h2,
[data-theme="dark"] .contact-info h2,
[data-theme="dark"] .contact-form h2 {
    color: var(--text);
}

.contact-info i {
    color: var(--brand);
    margin-right: 8px;
}

.contact-form form {
    display: grid;
    gap: 10px;
}

.contact-form label {
    font-weight: 850;
}

.contact-form input,
.contact-form textarea {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    outline: 0;
    padding: 12px 14px;
    width: 100%;
}

.contact-alert {
    background: rgba(22, 163, 74, .1);
    border: 1px solid rgba(22, 163, 74, .25);
    border-radius: 8px;
    color: #15803d;
    font-weight: 800;
    margin-bottom: 16px;
    padding: 12px;
}

.form-error {
    color: var(--brand);
    font-size: 13px;
}

.site-footer {
    background: var(--navy);
    color: #e2e8f0;
    margin-top: 64px;
}

.footer-mobile {
    display: none;
}

.footer-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.3fr .8fr .8fr 1fr;
    padding: 58px 0;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-grid h3 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
    color: #cbd5e1;
}

.footer-grid a {
    display: block;
    margin-bottom: 9px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    margin: 0;
    width: 38px;
}

.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #94a3b8;
    font-size: 13px;
    padding: 17px;
    text-align: center;
}

.empty-state {
    color: var(--muted);
    padding: 16px 0;
}

#topButton {
    background: var(--brand);
    border: 0;
    border-radius: 50%;
    bottom: 24px;
    box-shadow: var(--shadow-md);
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 20px;
    height: 46px;
    position: fixed;
    right: 24px;
    width: 46px;
    z-index: 160;
}

@media (max-width: 1280px) {
    .container {
        width: min(100% - 48px, 1180px);
    }

    .desktop-nav {
        gap: 13px;
        margin-left: 35px;
    }

    .header-actions {
        gap: 10px;
        margin-left: 22px;
    }

    .search-box {
        min-width: 280px;
        width: 280px;
    }
}

@media (max-width: 1120px) {
    .header-content {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
    }

    .desktop-nav {
        gap: 14px;
        margin-left: 35px;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .search-box {
        display: none;
    }

    .news-grid,
    .category-news-grid,
    .editor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .desktop-nav-more {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
    }

    .header-content {
        column-gap: 16px;
        min-height: 74px;
    }

    .header-actions {
        margin-left: 0;
    }

    .ncc-hero-grid,
    .content-shell,
    .article-layout,
    .about-section,
    .contact-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ncc-sidebar,
    .article-sidebar {
        position: static;
    }

    .hero-side-news {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .hero-main {
        min-height: clamp(330px, 48vw, 420px);
    }

    .footer-grid {
        padding: 44px 0;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 74px;
    }

    .container {
        width: min(100% - 28px, 100%);
    }

    .top-header {
        display: none;
    }

    .site-header {
        box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
    }

    .top-wrapper {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 8px 0;
    }

    .right-top {
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .header-content {
        align-items: center;
        display: grid;
        gap: 8px;
        grid-template-columns: 38px minmax(0, 1fr) 38px 38px;
        min-height: 54px;
        padding: 6px 0;
    }

    .header-actions {
        display: contents;
        justify-content: flex-end;
    }

    .menu-btn {
        display: inline-flex;
        grid-column: 1;
        grid-row: 1;
        height: 38px;
        width: 38px;
    }

    .brand {
        align-items: center;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .live-button {
        display: none;
    }

    .brand-mark {
        font-size: 27px;
        letter-spacing: -.5px;
    }

    .brand small {
        display: none;
    }

    .search-box {
        display: none;
    }

    .mobile-search-toggle,
    .theme-toggle {
        align-items: center;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 50%;
        color: #fff;
        display: inline-flex;
        font-size: 15px;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .mobile-search-toggle {
        background: transparent;
        grid-column: 3;
        grid-row: 1;
    }

    .theme-toggle {
        grid-column: 4;
        grid-row: 1;
    }

    .mobile-nav .container {
        padding-block: 12px;
    }

    .mobile-search {
        display: none;
    }

    .mobile-search-overlay {
        align-items: flex-start;
        background: rgba(15, 23, 42, .68);
        display: flex;
        inset: 0;
        opacity: 0;
        padding: 72px 14px 0;
        pointer-events: none;
        position: fixed;
        transition: opacity .2s ease;
        z-index: 220;
    }

    .mobile-search-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-search-panel {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow-md);
        color: var(--text);
        padding: 16px;
        position: relative;
        width: 100%;
    }

    .mobile-search-panel label {
        color: var(--navy);
        display: block;
        font-size: 18px;
        font-weight: 950;
        margin-bottom: 12px;
    }

    [data-theme="dark"] .mobile-search-panel label {
        color: var(--text);
    }

    .mobile-search-panel div {
        display: grid;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .mobile-search-panel input {
        background: var(--surface-soft);
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--text);
        padding: 12px;
    }

    .mobile-search-panel button[type="submit"] {
        background: var(--brand);
        border: 0;
        border-radius: 12px;
        color: #fff;
        font-weight: 900;
        padding: 0 16px;
    }

    .mobile-search-close {
        align-items: center;
        background: var(--surface-soft);
        border: 1px solid var(--border);
        border-radius: 50%;
        color: var(--text);
        display: inline-flex;
        height: 34px;
        justify-content: center;
        position: absolute;
        right: 12px;
        top: 12px;
        width: 34px;
    }

    .nav-strip__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
    }

    .nav-strip,
    .nav-strip--below-hero {
        background: transparent;
        border: 0;
        margin: 20px 0 26px;
    }

    .nav-strip span {
        font-size: 11px;
    }

    .nav-strip__inner div {
        display: grid;
        gap: 9px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        width: 100%;
    }

    .nav-strip a {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--navy);
        font-size: 12px;
        padding: 10px 12px;
    }

    [data-theme="dark"] .nav-strip a {
        color: var(--text);
    }

    .breaking-wrapper {
        align-items: center;
        min-height: 28px;
    }

    .breaking-title {
        font-size: 10px;
        padding-inline: 10px;
    }

    .breaking-track {
        animation-duration: 24s;
        padding-left: 10px;
    }

    .breaking-track a,
    .breaking-track span {
        font-size: 11px;
    }

    .ad-slot--hero,
    .ad-slot--footer {
        margin: 14px auto 18px;
        width: min(100% - 28px, 100%);
    }

    .ad-slot--hero img,
    .ad-slot--footer img,
    .ad-slot--article img {
        aspect-ratio: 16 / 5;
    }

    .ad-placeholder {
        min-height: 92px;
    }

    .ncc-hero {
        margin: 16px 0 22px;
    }

    .ncc-hero-grid {
        gap: 22px;
    }

    .hero-main {
        background: transparent;
        box-shadow: none;
        display: grid;
        min-height: 0;
        overflow: visible;
    }

    .hero-main img {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
        height: auto;
        object-fit: cover;
        position: static;
    }

    .hero-main-overlay {
        background: transparent;
        color: var(--text);
        display: block;
        padding: 14px 0 0;
        position: static;
        width: 100%;
    }

    [data-theme="dark"] .hero-main-overlay {
        background: transparent;
    }

    .hero-main h1 {
        font-size: clamp(24px, 7.2vw, 32px);
        line-height: 1.08;
        margin-bottom: 9px;
        text-transform: none;
    }

    .category {
        border-radius: 7px;
        font-size: 10px;
        margin-bottom: 9px;
        padding: 4px 8px;
    }

    .hero-main p {
        display: -webkit-box;
        font-size: 14px;
        line-height: 1.45;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .hero-meta-panel {
        margin-top: 10px;
        padding-top: 10px;
    }

    .hero-news-meta {
        font-size: 12px;
        gap: 7px 10px;
    }

    .hero-news-meta span:nth-child(1) {
        display: none;
    }

    .hero-news-meta i {
        margin-right: 4px;
    }

    .hero-actions {
        margin-top: 10px;
    }

    .read-btn,
    .share-btn {
        min-height: 40px;
        padding: 10px 13px;
    }

    .news-grid,
    .category-news-grid {
        grid-template-columns: 1fr;
    }

    .editor-grid {
        display: grid;
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-side-news {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        display: grid;
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    .mobile-section-title {
        color: var(--navy);
        display: block;
        grid-column: 1 / -1;
        font-size: 18px;
        font-weight: 950;
        margin: 0;
    }

    [data-theme="dark"] .mobile-section-title {
        color: var(--text);
    }

    .side-headline {
        align-content: start;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
        display: grid;
        gap: 9px;
        grid-template-columns: 1fr;
        height: 100%;
        padding: 12px;
        transition: transform .16s ease, box-shadow .16s ease;
    }

    .side-headline:active {
        box-shadow: 0 5px 12px rgba(15, 23, 42, .10);
        transform: scale(.98);
    }

    .latest-item {
        border: 0;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        box-shadow: none;
        display: grid;
        gap: 12px;
        grid-template-columns: 100px minmax(0, 1fr);
        min-height: 96px;
        padding: 12px 0;
        transition: background .16s ease, transform .16s ease;
    }

    .latest-item:active {
        background: rgba(225, 37, 27, .04);
        transform: scale(.99);
    }

    .latest-item > a {
        align-self: start;
        display: block;
        width: 100px;
    }

    .latest-item img {
        aspect-ratio: auto;
        border-radius: 11px;
        height: 70px;
        object-fit: cover;
        width: 100px;
    }

    .latest-item > div {
        align-content: start;
        display: grid;
        gap: 5px;
        min-width: 0;
    }

    .side-headline:last-child {
        border-bottom: 1px solid var(--border);
    }

    .side-headline img {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
        object-fit: cover;
        width: 100%;
    }

    .side-headline > div {
        display: grid;
        gap: 5px;
    }

    .side-headline strong {
        display: -webkit-box;
        font-size: 13px;
        line-height: 1.25;
        margin: 0;
        min-height: 2.5em;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-transform: none;
    }

    .side-headline .side-kicker {
        background: rgba(225, 37, 27, .1);
        border-radius: 999px;
        color: var(--brand);
        display: inline-flex;
        font-size: 9px;
        font-weight: 950;
        justify-self: start;
        letter-spacing: .04em;
        line-height: 1;
        padding: 5px 7px;
    }

    .side-headline p {
        display: none;
    }

    .side-headline .side-meta {
        color: var(--muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 10px;
        gap: 4px;
        margin-top: 0;
    }

    .side-headline .side-author,
    .side-headline .side-separator {
        display: none;
    }

    .latest-list {
        gap: 0;
    }

    .latest-item {
        background: transparent;
    }

    .latest-item p {
        display: none;
    }

    .latest-item h3 {
        display: -webkit-box;
        font-size: 15px;
        line-height: 1.24;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .latest-item .category {
        border-radius: 999px;
        font-size: 9px;
        justify-self: start;
        line-height: 1;
        margin: 0;
        padding: 4px 7px;
    }

    .latest-item .news-meta {
        color: var(--muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 10px;
        gap: 4px 7px;
        line-height: 1.2;
        margin: 0;
    }

    .trending-mobile-list {
        counter-reset: trending-rank;
        display: grid;
        gap: 0;
        grid-template-columns: 1fr;
    }

    .trending-mobile-list .news-card {
        align-items: center;
        background: transparent;
        border: 0;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        box-shadow: none;
        counter-increment: trending-rank;
        display: grid;
        gap: 10px;
        grid-template-columns: 32px 90px minmax(0, 1fr);
        min-height: 88px;
        padding: 10px 0;
        transition: background .16s ease, transform .16s ease;
    }

    .trending-mobile-list .news-card:active {
        background: rgba(225, 37, 27, .04);
        transform: scale(.99);
    }

    .trending-mobile-list .news-card::before {
        color: var(--brand);
        content: "#" counter(trending-rank);
        font-size: 18px;
        font-weight: 950;
        line-height: 1;
    }

    .trending-mobile-list .news-card__image {
        display: block;
        width: 90px;
    }

    .trending-mobile-list .news-card__image img {
        aspect-ratio: auto;
        border-radius: 10px;
        height: 60px;
        object-fit: cover;
        width: 90px;
    }

    .trending-mobile-list .news-card__body {
        display: grid;
        gap: 5px;
        min-width: 0;
        padding: 0;
    }

    .trending-mobile-list .category,
    .trending-mobile-list .news-card p,
    .trending-mobile-list .news-meta span:first-child {
        display: none;
    }

    .trending-mobile-list .news-card h3 {
        display: -webkit-box;
        font-size: 14px;
        line-height: 1.25;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .trending-mobile-list .news-meta {
        color: var(--muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 10px;
        gap: 4px 8px;
        line-height: 1.2;
        margin: 0;
    }

    .news-card h3,
    .editor-card h3 {
        font-size: 16px;
    }

    .news-meta {
        font-size: 11px;
        gap: 6px 10px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        margin-bottom: 14px;
    }

    .section-heading h2 {
        font-size: 22px;
        text-transform: none;
    }

    .content-shell {
        gap: 24px;
        margin-bottom: 34px;
    }

    .spaced-heading,
    .category-news-section {
        margin-top: 30px;
    }

    .category-news-section .section-heading {
        align-items: center;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 10px;
    }

    .category-news-section .section-heading span {
        display: none;
    }

    .category-news-section .section-heading h2 {
        min-width: 0;
    }

    .category-news-section .section-heading a {
        align-items: center;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 12px;
        min-height: 36px;
        white-space: nowrap;
    }

    .news-card,
    .sidebar-widget {
        border-radius: 14px;
    }

    .news-card__body {
        padding: 13px;
    }

    .category-news-grid {
        gap: 0;
    }

    .category-news-grid .news-card {
        background: transparent;
        border: 0;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        box-shadow: none;
        display: grid;
        gap: 12px;
        grid-template-columns: 100px minmax(0, 1fr);
        min-height: 96px;
        padding: 12px 0;
        transition: background .16s ease, transform .16s ease;
    }

    .category-news-grid .news-card:active {
        background: rgba(225, 37, 27, .04);
        transform: scale(.99);
    }

    .category-news-grid .news-card__image {
        align-self: start;
        display: block;
        width: 100px;
    }

    .category-news-grid .news-card__image img {
        aspect-ratio: 10 / 7;
        border-radius: 11px;
        height: 70px;
        object-fit: cover;
        width: 100px;
    }

    .category-news-grid .news-card__body {
        align-content: center;
        display: grid;
        min-width: 0;
        padding: 0;
    }

    .category-news-grid .category,
    .category-news-grid .news-card p {
        display: none;
    }

    .category-news-grid .news-card h3 {
        font-size: 14px;
        line-height: 1.25;
        margin: 0 0 7px;
    }

    .category-news-grid .news-card h3 a {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .category-news-grid .news-meta {
        color: var(--muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 10px;
        gap: 4px 8px;
        line-height: 1.2;
        margin: 0;
    }

    .editor-card {
        border-radius: 12px;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
        min-height: 180px;
        padding: 10px;
        transition: transform .16s ease, box-shadow .16s ease;
    }

    .editor-card:active {
        box-shadow: 0 5px 12px rgba(15, 23, 42, .10);
        transform: scale(.98);
    }

    .editor-card img {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
        object-fit: cover;
    }

    .editor-card div {
        padding: 9px 0 0;
    }

    .editor-card span {
        background: rgba(225, 37, 27, .1);
        border-radius: 999px;
        color: var(--brand);
        display: inline-flex;
        font-size: 9px;
        font-weight: 950;
        line-height: 1;
        margin-bottom: 7px;
        padding: 5px 7px;
        text-transform: uppercase;
    }

    .editor-card h3 {
        display: -webkit-box;
        font-size: 13px;
        line-height: 1.25;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .article-hero {
        text-align: left;
    }

    .video-placeholder {
        border-radius: 16px;
        min-height: 136px;
        padding: 16px;
    }

    .video-placeholder i {
        height: 42px;
        margin-bottom: 8px;
        width: 42px;
    }

    .video-placeholder h3 {
        font-size: 19px;
        margin-bottom: 4px;
    }

    .video-placeholder p {
        font-size: 13px;
        margin: 0;
    }

    .ncc-sidebar {
        gap: 16px;
    }

    .ncc-sidebar .sidebar-widget {
        border-radius: 16px;
        padding: 16px;
    }

    .ncc-sidebar .sidebar-widget h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .ncc-sidebar .rank-list li {
        align-items: center;
        gap: 4px 10px;
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 64px;
        padding: 9px 0;
    }

    .ncc-sidebar .rank-list li::before {
        content: "#" counter(rank);
        font-size: 18px;
    }

    .ncc-sidebar .rank-list a {
        display: -webkit-box;
        font-size: 14px;
        line-height: 1.25;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ncc-sidebar .rank-list span {
        font-size: 10px;
    }

    .category-cloud {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-cloud a {
        border-radius: 999px;
        font-size: 12px;
        min-height: 38px;
        padding: 8px 10px;
    }

    .category-cloud span {
        align-items: center;
        background: rgba(225, 37, 27, .1);
        border-radius: 999px;
        color: var(--brand);
        display: inline-flex;
        font-size: 10px;
        height: 20px;
        justify-content: center;
        min-width: 24px;
        padding: 0 6px;
    }

    .category-cloud .category-cloud__all {
        background: var(--brand);
        color: #fff;
        grid-column: 1 / -1;
        justify-content: center;
    }

    .newsletter-card {
        padding: 16px;
    }

    .newsletter-card p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .newsletter-card form {
        gap: 8px;
    }

    .newsletter-card input,
    .newsletter-card button {
        min-height: 42px;
        padding: 10px 12px;
    }

    .site-footer {
        margin-top: 34px;
    }

    .footer-grid {
        display: none;
    }

    .footer-mobile {
        display: grid;
        gap: 12px;
        padding: 24px 0 14px;
    }

    .footer-mobile__brand p {
        color: #cbd5e1;
        font-size: 13px;
        line-height: 1.5;
        margin: 8px 0 0;
    }

    .footer-mobile .footer-brand {
        margin-bottom: 0;
    }

    .footer-mobile .footer-social {
        margin-top: 12px;
    }

    .footer-mobile .footer-social a {
        height: 34px;
        width: 34px;
    }

    .footer-accordion {
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding-top: 10px;
    }

    .footer-accordion summary {
        align-items: center;
        color: #fff;
        cursor: pointer;
        display: flex;
        font-size: 14px;
        font-weight: 900;
        justify-content: space-between;
        list-style: none;
        min-height: 34px;
        text-transform: uppercase;
    }

    .footer-accordion summary::-webkit-details-marker {
        display: none;
    }

    .footer-accordion summary::after {
        content: "+";
        color: var(--brand);
        font-size: 18px;
        line-height: 1;
    }

    .footer-accordion[open] summary::after {
        content: "-";
    }

    .footer-accordion a {
        color: #cbd5e1;
        display: block;
        font-size: 13px;
        padding: 7px 0;
    }

    .footer-newsletter--mobile {
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) auto;
        margin-top: 4px;
    }

    .footer-newsletter--mobile input,
    .footer-newsletter--mobile button {
        border-radius: 12px;
        min-height: 42px;
        padding: 10px 12px;
    }

    .footer-newsletter--mobile button {
        white-space: nowrap;
    }

    .copyright {
        font-size: 11px;
        padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        align-items: center;
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid var(--border);
        bottom: 0;
        box-shadow: 0 -10px 26px rgba(15, 23, 42, .12);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        left: 0;
        min-height: 66px;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: 180;
    }

    [data-theme="dark"] .mobile-bottom-nav {
        background: rgba(30, 30, 30, .96);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        align-items: center;
        background: transparent;
        border: 0;
        color: var(--muted);
        display: inline-flex;
        flex-direction: column;
        font-size: 10px;
        font-weight: 800;
        gap: 3px;
        justify-content: center;
        min-width: 0;
        min-height: 48px;
        position: relative;
    }

    .mobile-bottom-nav i {
        font-size: 17px;
    }

    .mobile-bottom-nav .active,
    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav button:hover {
        color: var(--brand);
    }

    .mobile-bottom-nav .active::before {
        background: var(--brand);
        border-radius: 999px;
        content: "";
        height: 3px;
        left: 50%;
        position: absolute;
        top: 0;
        transform: translateX(-50%);
        width: 22px;
    }

    #topButton {
        bottom: calc(106px + env(safe-area-inset-bottom));
        height: 42px;
        width: 42px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 22px, 100%);
    }

    .theme-toggle,
    .menu-btn {
        height: 38px;
        width: 38px;
    }

    .side-headline {
        grid-template-columns: 1fr;
    }

    .side-headline img {
        aspect-ratio: 16 / 9;
    }

    .latest-item {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 94px;
    }

    .latest-item > a,
    .latest-item img {
        width: 96px;
    }

    .latest-item img {
        height: 68px;
    }

    .article-body {
        font-size: 16px;
    }
}

.article-image-caption {
    margin: 10px 0 22px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
    font-style: italic;
}

.article-detail-title {
    font-size: clamp(28px, 3vw, 44px) !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    max-width: 980px !important;
    margin: 16px auto 14px !important;
    text-align: center;
}

@media (max-width: 768px) {
    .article-detail-title {
        font-size: clamp(24px, 6vw, 32px) !important;
        line-height: 1.18 !important;
        margin: 10px 0 12px !important;
    }
}

/* article-body-justify-fix */
.article-body p {
    text-align: justify;
    text-justify: inter-word;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body blockquote,
.article-body li,
.article-body figcaption {
    text-align: left;
}

@media (max-width: 768px) {
    .article-body p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }
}

/* mobile-category-compact-fix */
@media (max-width: 768px) {
    .nav-strip--below-hero {
        padding: 14px 0 10px !important;
        border-top: 1px solid #e8eef6;
        border-bottom: 1px solid #e8eef6;
        background: #f8fafc;
    }

    .nav-strip--below-hero .nav-strip__inner {
        display: block !important;
        padding: 0 16px !important;
    }

    .nav-strip--below-hero .nav-strip__inner > span {
        display: block !important;
        margin: 0 0 10px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        color: #e1251b !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .04em !important;
    }

    .nav-strip--below-hero .nav-strip__inner > div {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        padding: 0 2px 6px !important;
        margin: 0 -2px !important;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-strip--below-hero .nav-strip__inner > div::-webkit-scrollbar {
        display: none;
    }

    .nav-strip--below-hero .nav-strip__inner a {
        flex: 0 0 auto !important;
        min-height: 36px !important;
        padding: 9px 14px !important;
        border-radius: 999px !important;
        border: 1px solid #dfe6ef !important;
        background: #ffffff !important;
        color: #1d2636 !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, .06) !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-transform: uppercase !important;
        scroll-snap-align: start;
    }

    .nav-strip--below-hero .nav-strip__inner a:active {
        transform: scale(.96);
        background: #fff3f2 !important;
        border-color: #e1251b !important;
        color: #e1251b !important;
    }
}
