:root {
    --bg: #090b11;
    --surface: #121722;
    --surface-2: #19202d;
    --paper: #f6f7fb;
    --ink: #121521;
    --muted: #687084;
    --line: #e4e7ef;
    --accent: #ff3d67;
    --accent-2: #ffb000;
    --cyan: #35d6c7;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 18px 60px rgba(12, 18, 33, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

img {
    display: block;
    max-width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #202838, #303a50);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
.button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 200;
    left: 20px;
    top: -80px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--accent);
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.icon,
.crumb-icon,
.page-icon,
.note-icon,
.newsletter-icon,
.play-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.icon svg,
.crumb-icon svg,
.page-icon svg,
.note-icon svg,
.newsletter-icon svg,
.play-icon svg {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    color: var(--white);
    background: rgba(9, 11, 17, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-height: 76px;
}

.brand img {
    width: 188px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.nav-link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 10px 9px;
    color: #c8ccda;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
    background: rgba(255, 61, 103, 0.16);
}

.header-search {
    display: flex;
    width: 210px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    overflow: hidden;
}

.header-search input {
    min-width: 0;
    width: 100%;
    padding: 9px 4px 9px 12px;
    color: var(--white);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search button {
    padding: 8px 11px;
    color: var(--white);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-button {
    display: none;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    padding: 68px 0;
    color: var(--white);
    background: radial-gradient(circle at 15% 10%, rgba(255, 61, 103, 0.24), transparent 30%), radial-gradient(circle at 90% 80%, rgba(53, 214, 199, 0.16), transparent 28%), var(--bg);
}

.hero-shell::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.18;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 58px;
    align-items: center;
}

.hero-kicker,
.eyebrow-text {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.3rem, 7vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-intro {
    max-width: 660px;
    margin: 26px 0 0;
    color: #c9ceda;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
}

.button-primary {
    color: var(--white);
    background: var(--accent);
}

.button-ghost {
    color: inherit;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.button-light {
    color: var(--bg);
    background: var(--white);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: #aeb5c4;
    font-size: 14px;
}

.trust-strip span::before {
    margin-right: 7px;
    color: var(--cyan);
    content: "✓";
}

.hero-feature {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.hero-feature img {
    width: 100%;
    aspect-ratio: 10 / 7;
}

.hero-feature-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 42px 28px 24px;
    background: linear-gradient(transparent, rgba(5, 7, 12, 0.96));
}

.hero-feature-overlay strong {
    color: var(--accent-2);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.hero-feature-overlay span {
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.35;
}

.section-block {
    padding: 76px 0;
}

.section-heading {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 4px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
}

.text-link {
    flex: 0 0 auto;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent);
    font-weight: 700;
}

.categories-section {
    padding-top: 40px;
    padding-bottom: 24px;
}

.category-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.category-pill {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-pill:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.category-pill .icon {
    width: 38px;
    height: 38px;
    color: var(--white);
    background: var(--ink);
    border-radius: 12px;
}

.category-pill strong {
    font-size: 15px;
}

.category-pill > span:last-child {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 24px;
}

.article-card,
.compact-card,
.profile-card,
.mosaic-card,
.poster-card,
.horizontal-card {
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.card-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    transition: transform 0.35s ease;
}

.article-card:hover .card-media img,
.compact-card:hover .card-media img,
.profile-card:hover .card-media img,
.mosaic-card:hover .card-media img,
.poster-card:hover .card-media img {
    transform: scale(1.035);
}

.media-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(9, 11, 17, 0.82);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.card-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.meta {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 3em;
    margin: 9px 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-body p {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span,
.article-tags a {
    padding: 3px 9px;
    color: #9b2746;
    background: #fff0f4;
    border-radius: 999px;
    font-size: 12px;
}

.article-card-lead .card-media img {
    aspect-ratio: 16 / 8.5;
}

.article-card-lead .card-body h3 {
    font-size: 25px;
}

.stack-list {
    display: grid;
    gap: 12px;
}

.compact-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
}

.compact-card .card-media img {
    height: 100%;
    aspect-ratio: auto;
}

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

.compact-card .card-body h3 {
    min-height: 2.8em;
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.4;
}

.compact-card .card-body p,
.compact-card .tag-row,
.compact-card .media-label {
    display: none;
}

.contrast-section {
    color: var(--white);
    background: var(--bg);
}

.contrast-section .section-heading h2,
.contrast-section .text-link {
    color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.video-tile {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
}

.video-tile img {
    width: 100%;
    aspect-ratio: 4 / 5;
}

.video-tile::after {
    position: absolute;
    inset: 30% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(5, 7, 12, 0.96));
}

.video-tile strong {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.play-icon {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--accent);
    border-radius: 50%;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 48px;
    align-items: start;
}

.ranking-list {
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.ranking-list li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.ranking-list li > span {
    color: var(--accent);
    font-size: 24px;
    font-weight: 900;
}

.ranking-list a {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editor-note,
.fact-panel {
    padding: 34px;
    color: var(--white);
    background: linear-gradient(145deg, #20283a, #111620);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.note-icon,
.newsletter-icon {
    width: 54px;
    height: 54px;
    color: var(--white);
    background: var(--accent);
    border-radius: 16px;
}

.editor-note h2,
.fact-panel h2 {
    margin: 8px 0;
    font-size: 27px;
}

.editor-note p:not(.eyebrow-text),
.fact-panel p {
    color: #c6ccda;
}

.editor-note a {
    color: var(--accent-2);
    font-weight: 800;
}

.soft-section {
    background: #eef0f6;
}

.profile-grid,
.news-grid,
.poster-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.profile-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
}

.profile-card .card-media img {
    height: 100%;
    aspect-ratio: auto;
}

.profile-card .card-body {
    padding: 18px;
}

.profile-card .tag-row,
.profile-card .media-label {
    display: none;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: repeat(2, minmax(220px, auto));
    gap: 18px;
}

.mosaic-1 {
    grid-row: 1 / 3;
}

.mosaic-card {
    position: relative;
    min-height: 0;
}

.mosaic-card .card-media,
.mosaic-card .card-media img {
    height: 100%;
}

.mosaic-card .card-body {
    position: absolute;
    inset: auto 0 0;
    color: var(--white);
    background: linear-gradient(transparent, rgba(6, 8, 13, 0.95));
}

.mosaic-card .card-body p,
.mosaic-card .meta,
.mosaic-card .tag-row,
.mosaic-card .media-label {
    display: none;
}

.mosaic-card .card-body h3 {
    min-height: 0;
    margin: 32px 0 0;
}

.timeline-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.timeline-list li {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 28px;
}

.timeline-list li::before {
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 35px;
    width: 1px;
    content: "";
    background: rgba(255, 255, 255, 0.18);
}

.timeline-list time {
    position: relative;
    z-index: 1;
    padding: 7px 8px;
    color: var(--bg);
    background: var(--accent-2);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.timeline-list a {
    font-weight: 800;
}

.timeline-list p {
    margin: 4px 0 0;
    color: #aeb5c4;
    font-size: 14px;
}

.fact-panel ul {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.fact-panel li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-panel strong {
    color: var(--accent-2);
}

.poster-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.poster-card .card-media img {
    aspect-ratio: 4 / 5;
}

.poster-card .card-body p,
.poster-card .tag-row {
    display: none;
}

.keyword-section {
    background: #ffeef2;
}

.keyword-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: center;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-cloud a {
    padding: 9px 14px;
    background: var(--white);
    border: 1px solid #ffd0db;
    border-radius: 999px;
    font-size: 14px;
}

.big-search {
    padding: 30px;
    color: var(--white);
    background: var(--ink);
    border-radius: 20px;
}

.big-search label {
    display: block;
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 800;
}

.big-search > div,
.result-search {
    display: flex;
    overflow: hidden;
    background: var(--white);
    border-radius: 12px;
}

.big-search input,
.result-search input {
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    outline: 0;
}

.big-search button,
.result-search button {
    padding: 10px 18px;
    color: var(--white);
    background: var(--accent);
    border: 0;
    cursor: pointer;
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsletter-section {
    padding-top: 0;
}

.newsletter {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding: 44px;
    color: var(--white);
    background: linear-gradient(120deg, #ec315d, #a8184d);
    border-radius: 26px;
}

.newsletter > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
}

.newsletter .newsletter-icon {
    grid-row: 1 / 4;
    background: rgba(255, 255, 255, 0.16);
}

.newsletter h2,
.newsletter p {
    margin: 0;
}

.newsletter .eyebrow-text {
    color: #ffe0e8;
}

.site-footer {
    padding: 56px 0 20px;
    color: #c3c8d5;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr;
    gap: 50px;
}

.footer-brand img {
    width: 188px;
}

.footer-brand p,
.site-footer p {
    max-width: 520px;
    margin: 12px 0 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 16px;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 28px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
    overflow-x: auto;
}

.breadcrumb a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.page-hero {
    padding: 58px 0;
    color: var(--white);
    background: radial-gradient(circle at 85% 20%, rgba(255, 61, 103, 0.2), transparent 25%), var(--bg);
}

.page-hero-inner,
.search-hero {
    display: flex;
    gap: 24px;
    align-items: center;
}

.page-icon {
    width: 70px;
    height: 70px;
    color: var(--white);
    background: var(--accent);
    border-radius: 20px;
}

.page-icon svg {
    width: 34px;
    height: 34px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.1;
}

.page-hero p:not(.eyebrow-text) {
    max-width: 760px;
    margin: 12px 0 0;
    color: #c1c7d4;
}

.compact-hero {
    padding: 42px 0;
}

.content-sidebar,
.article-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 42px;
    align-items: start;
}

.list-cards {
    display: grid;
    gap: 18px;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
}

.horizontal-card .card-media img {
    height: 100%;
}

.horizontal-card .card-body {
    justify-content: center;
}

.sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-box {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.sidebar-box h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.sidebar-box p {
    color: var(--muted);
}

.sidebar-box a {
    color: #b51c48;
    font-weight: 800;
}

.sidebar-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-box li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.pagination {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.pagination span,
.pagination a {
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 9px;
}

.pagination span {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.detail-layout {
    padding-top: 40px;
}

.article-header {
    max-width: 920px;
    margin: 0 auto 32px;
    text-align: center;
}

.article-category {
    color: var(--accent);
    font-weight: 900;
}

.article-header h1 {
    margin: 12px 0;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.22;
}

.article-deck {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.article-cover {
    margin: 0 0 42px;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 8;
    border-radius: 24px;
}

.article-cover figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.article-content {
    max-width: 780px;
    font-size: 17px;
}

.article-content p {
    margin: 0 0 26px;
}

.article-content h2 {
    margin: 38px 0 14px;
    font-size: 28px;
}

.lead-paragraph::first-letter {
    float: left;
    margin: 7px 8px 0 0;
    color: var(--accent);
    font-size: 56px;
    font-weight: 900;
    line-height: 0.8;
}

.article-content blockquote {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    margin: 32px 0;
    background: #fff0f4;
    border-left: 5px solid var(--accent);
    border-radius: 0 14px 14px 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.article-nav a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.article-nav span {
    color: var(--muted);
    font-size: 12px;
}

.article-nav strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sticky-box {
    position: sticky;
    top: 100px;
}

.related-section {
    margin-top: 70px;
    background: #eef0f6;
}

.prose-page {
    max-width: 900px;
    padding: 42px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.prose-page h2 {
    margin: 36px 0 10px;
    font-size: 27px;
}

.prose-page h2:first-child {
    margin-top: 0;
}

.prose-page p,
.prose-page li {
    color: #4f5667;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.contact-cards > div {
    min-width: 0;
    padding: 20px;
    background: #f4f5f8;
    border-radius: 14px;
}

.contact-cards h3,
.contact-cards p {
    margin: 0;
    overflow-wrap: anywhere;
}

.result-search {
    max-width: 620px;
    margin-top: 18px;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state .page-icon {
    margin: 0 auto;
}

.not-found {
    display: grid;
    min-height: 65vh;
    place-items: center;
    color: var(--white);
    background: radial-gradient(circle at 50% 30%, rgba(255, 61, 103, 0.22), transparent 35%), var(--bg);
}

.not-found-inner {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.error-code {
    margin: 0;
    color: var(--accent);
    font-size: clamp(6rem, 18vw, 13rem);
    font-weight: 950;
    line-height: 0.85;
}

.not-found h1 {
    margin: 24px 0 10px;
    font-size: clamp(2rem, 5vw, 4rem);
}

.not-found p:not(.error-code) {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    color: #bec4d2;
}

.not-found .hero-actions {
    justify-content: center;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .menu-button {
        display: inline-flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
        background: #121722;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
    }

    .header-search {
        justify-self: end;
    }

    .category-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lead-grid,
    .split-layout,
    .keyword-layout {
        grid-template-columns: 1fr;
    }

    .stack-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .compact-card {
        display: block;
    }

    .compact-card .card-media img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 820px) {
    .container {
        width: calc(100% - 40px);
    }

    .hero-grid,
    .content-sidebar,
    .article-main {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .category-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-grid,
    .poster-row,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mosaic-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 360px 240px;
    }

    .mosaic-1 {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / 3;
    }

    .horizontal-card {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .article-aside {
        order: -1;
    }

    .sticky-box {
        position: static;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .brand img {
        width: 162px;
    }

    .menu-button {
        grid-column: 2;
        grid-row: 1;
    }

    .header-search {
        display: none;
    }

    .main-nav {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        padding: 46px 0;
    }

    .hero-intro {
        font-size: 16px;
    }

    .trust-strip {
        gap: 8px 14px;
    }

    .section-block {
        padding: 52px 0;
    }

    .section-heading {
        align-items: start;
    }

    .section-heading h2 {
        font-size: 1.75rem;
    }

    .text-link {
        font-size: 13px;
    }

    .category-pill {
        padding: 16px 12px;
    }

    .stack-list,
    .video-grid,
    .poster-row,
    .news-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .compact-card,
    .profile-card,
    .horizontal-card {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .compact-card .card-media img,
    .profile-card .card-media img,
    .horizontal-card .card-media img {
        height: 100%;
        aspect-ratio: auto;
    }

    .horizontal-card .card-body p,
    .horizontal-card .tag-row,
    .profile-card .card-body p {
        display: none;
    }

    .video-tile img,
    .poster-card .card-media img {
        aspect-ratio: 16 / 10;
    }

    .mosaic-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 280px);
    }

    .mosaic-1 {
        grid-column: auto;
    }

    .newsletter {
        align-items: stretch;
        flex-direction: column;
        padding: 28px;
    }

    .newsletter > div {
        display: block;
    }

    .newsletter-icon {
        margin-bottom: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: start;
        flex-direction: column;
    }

    .page-hero-inner,
    .search-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-icon {
        width: 58px;
        height: 58px;
    }

    .prose-page {
        padding: 24px;
    }

    .article-header {
        text-align: left;
    }

    .article-meta {
        justify-content: flex-start;
    }

    .article-cover img {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
