@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url("/fonts/merriweather-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url("/fonts/merriweather-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --brand-primary: #D90429; --brand-primary-hover: #b90322; --brand-dark: #2B2D42; --brand-accent: #3A86FF; --color-danger: #ef4444; --color-danger-hover: #dc2626; --color-success: #10b981; --color-success-hover: #059669; --color-warning: #f59e0b; --color-info: #3b82f6; --bg-body: #f4f4f5; --bg-card: #ffffff; --bg-surface-muted: rgba(255, 255, 255, 0.64); --text-primary: #111827; --text-secondary: #4B5563; --text-muted: #9CA3AF; --border-light: #e5e7eb; --border-medium: #d1d5db; --space-2xs: 0.125rem; --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem; --page-gutter: clamp(1rem, 4vw, 2rem); --page-max: 1400px; --page-max-home: 1680px; --reading-max: 780px; --safe-top: env(safe-area-inset-top, 0px); --header-offset-mobile: calc(4.05rem + var(--safe-top)); --header-offset-tablet: calc(4.15rem + var(--safe-top)); --header-offset-desktop: calc(4.2rem + var(--safe-top)); --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-serif: "Merriweather", Georgia, "Times New Roman", Times, serif; --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); --shadow-hover: 0 14px 30px -16px rgba(0, 0, 0, 0.22), 0 10px 18px -18px rgba(0, 0, 0, 0.18); --radius-card: 18px; --radius-sm: 4px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 24px; --radius-full: 9999px; }
* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: linear-gradient(180deg, #09111d 0%, #0d1522 22%, #101827 100%); font-family: var(--font-sans), sans-serif; color: var(--text-primary); line-height: 1.6; margin: 0; padding: 0; font-size: 16px; overflow-x: clip; -webkit-overflow-scrolling: touch; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.app-shell:not(.app-shell-admin) { --bg-body: rgba(10, 15, 24, 0.9); --bg-card: rgba(10, 15, 24, 0.96); --bg-surface-muted: rgba(12, 18, 29, 0.92); --text-primary: #f4f7fb; --text-secondary: rgba(226, 232, 240, 0.76); --text-muted: rgba(186, 197, 211, 0.58); --border-light: rgba(255, 255, 255, 0.08); --border-medium: rgba(255, 255, 255, 0.14); color: var(--text-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; margin-bottom: 0.75em; color: var(--text-primary); font-size-adjust: 0.5; }
.article-content { font-size-adjust: 0.5; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--brand-primary); }
:where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
:where(input, select, textarea):focus-visible { outline: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100%, var(--page-max)); margin: 0 auto; padding-inline: var(--page-gutter); }
.public-content-shell { padding-bottom: var(--space-2xl); }
.shell-frame-home { width: min(100%, var(--page-max-home)); margin: 0 auto; padding-inline: clamp(0.875rem, 2.7vw, 2.5rem); }
main { padding-top: var(--header-offset-mobile); }
@media (min-width: 768px) { main { padding-top: var(--header-offset-tablet); } }
@media (min-width: 1024px) { main { padding-top: var(--header-offset-desktop); } }
.app-shell-home main { padding-top: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.625rem 1.1rem; font-size: 0.9rem; font-weight: 600; border-radius: var(--radius-md); border: 1px solid var(--border-medium); background-color: var(--bg-card); color: var(--text-primary); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.12s ease; text-decoration: none; line-height: 1.4; }
.btn:active { transform: scale(0.96); }
.btn:hover { background-color: var(--bg-body); border-color: var(--text-secondary); }
.btn-primary { background-color: var(--brand-primary); border-color: var(--brand-primary); color: white; }
.btn-primary:hover { background-color: var(--brand-primary-hover); border-color: var(--brand-primary-hover); color: white; }
.btn-secondary { background-color: var(--bg-card); border-color: var(--border-medium); color: var(--text-primary); }
.btn-danger { background-color: var(--color-danger); border-color: var(--color-danger); color: white; }
.btn-danger:hover { background-color: var(--color-danger-hover); border-color: var(--color-danger-hover); }
.btn-sm { min-height: 38px; padding: 0.5rem 0.85rem; font-size: 0.8125rem; }
.btn-xs { min-height: 32px; padding: 0.35rem 0.65rem; font-size: 0.75rem; }
.btn-xxs { min-height: 26px; padding: 0.2rem 0.5rem; font-size: 0.6875rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.875rem; color: var(--text-secondary); }
.form-control { width: 100%; min-height: 44px; padding: 0.625rem 0.875rem; font-family: var(--font-sans), sans-serif; font-size: 1rem; color: var(--text-primary); background-color: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-control:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.18); }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-hint { display: block; margin-top: 0.375rem; font-size: 0.8125rem; color: var(--text-muted); }
.slug-preview { font-family: var(--font-mono), monospace; color: var(--brand-primary); }
.form-row { display: flex; flex-direction: row; gap: var(--space-md); flex-wrap: wrap; }
.form-row .form-group { margin-bottom: 0; }
.siteheader { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0 0.45rem; min-height: calc(4.05rem + env(safe-area-inset-top, 0px)); background: #070b13; transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease; }
.siteheader.is-scrolled { background: rgba(7, 11, 19, 0.82); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 22px rgba(0, 0, 0, 0.22); }
.reading-progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--brand-primary) 0%, #ff5068 100%); z-index: 1100; pointer-events: none; opacity: 0; transform: scaleX(0); transform-origin: left center; will-change: transform, opacity; transition: opacity 0.3s ease, transform 0.08s linear; box-shadow: 0 0 8px rgba(217, 4, 41, 0.4); }
.app-shell:has(.article-content) .reading-progress { opacity: 1; }
.siteheader::before { display: none; }
.siteheader::after { display: none; }
.header-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; min-height: 3.1rem; width: min(100%, var(--page-max-home)); margin: 0 auto; padding-left: calc(44px + clamp(0.875rem, 2.7vw, 2.5rem)); padding-right: clamp(0.875rem, 2.7vw, 2.5rem); position: relative; }
.header-brand { text-align: left; min-width: 0; }
.brand-heading { display: inline-block; font-family: var(--font-serif); font-size: clamp(1.1rem, 4.6vw, 1.6rem); letter-spacing: -0.04em; margin: 0; padding: 0; line-height: 1; font-weight: 700; text-wrap: balance; font-size-adjust: 0.5; color: var(--text-primary); }
.logo-title { color: #ffffff; display: inline-block; letter-spacing: -0.045em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); transition: color 0.2s ease; }
.logo-title:hover { color: #ffffff; }
.logo-title:active { color: var(--brand-primary); }
.site-description { display: block; margin: 0.24rem 0 0; color: rgba(255, 255, 255, 0.62); font-size: clamp(0.54rem, 1.5vw, 0.62rem); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.55rem; flex-wrap: nowrap; }
.header-search-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-full); color: rgba(255, 255, 255, 0.82); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease; }
.header-search-btn:hover { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.header-search-btn:active { transform: scale(0.96); }
.header-search-btn svg { width: 18px; height: 18px; }
.header-nav { margin-top: 0; }
.header-nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; justify-content: center; background: rgba(255, 255, 255, 0.06); border-radius: var(--radius-full); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: none; overflow: hidden; flex-wrap: wrap; }
.header-nav li { display: flex; }
.header-nav li:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
.nav-link { font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.7); padding: 0.7rem 1rem; transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: block; white-space: nowrap; }
.nav-link:hover { color: #ffffff; background: rgba(255, 255, 255, 0.1); text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
.logout-form { margin: 0; display: flex; }
.logout-btn { background: transparent; border: none; cursor: pointer; font-family: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
.category-nav { position: fixed; top: calc((var(--header-offset-mobile) - 44px) / 2); left: max(var(--space-sm), env(safe-area-inset-left)); z-index: 1002; }
@media (min-width: 768px) { .category-nav { top: calc((var(--header-offset-tablet) - 44px) / 2); } }
@media (min-width: 1024px) { .category-nav { top: calc((var(--header-offset-desktop) - 44px) / 2); } }
.hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-full); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.12s ease; }
.hamburger:active { transform: scale(0.96); }
.hamburger:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.18); }
.hamburger-line { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center center; }
.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.category-menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(24rem, 92vw); background: rgba(12, 13, 16, 0.98); border-right: 1px solid rgba(255, 255, 255, 0.06); z-index: 1001; transform: translateX(-100%); visibility: hidden; overflow-y: auto; display: none; flex-direction: column; }
.category-menu.menu-ready { display: flex; }
.category-menu.animated { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s; }
.category-menu.is-open { transform: translateX(0); visibility: visible; }
.menu-header { padding: calc(var(--header-offset-mobile) + 0.85rem) 1.4rem 1.4rem 4rem; border-bottom: none; position: relative; }
.menu-header::after { content: ''; position: absolute; bottom: 0; left: 2rem; right: 2rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); }
.menu-title { font-family: var(--font-serif); font-size: clamp(1.65rem, 7vw, 2rem); font-weight: 700; color: var(--text-primary); letter-spacing: -0.03em; }
.menu-nav { padding: 1.5rem 0; flex: 1; }
.menu-section-title { padding: 1.5rem 2rem 0.6rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand-primary); }
.category-link { display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 1.4rem; color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1); position: relative; border: none; }
.category-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.category-link:hover::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 60%; background: var(--brand-primary); border-radius: 0 2px 2px 0; }
.category-link.active { color: #fff; font-weight: 600; background: rgba(255, 255, 255, 0.04); }
.category-link.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 100%; background: var(--brand-primary); border-radius: 0; }
.category-link.active:hover::before { height: 100%; }
.category-link.search-link { margin: 1.25rem 1rem 1rem 1rem; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.category-link.search-link:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: #fff; }
.category-link.search-link:hover::before,
.category-link.search-link::before { display: none; }
.menu-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.menu-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.68); z-index: 1000; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0.25s ease; }
.menu-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.app-shell:has(.article-header.has-hero) .siteheader:not(.is-scrolled),
.app-shell-home:has(.home-feature-card) .siteheader:not(.is-scrolled) { background: linear-gradient(180deg, rgba(5, 8, 15, 0.78) 0%, rgba(5, 8, 15, 0.4) 60%, transparent 100%); box-shadow: none; }
.app-shell:not(.app-shell-admin):has(.header-nav) .header-nav { display: none; }
.app-shell:not(.app-shell-admin):has(.header-nav) .site-description { display: none; }
.menu-logout-form { margin: 0; padding: 0; }
.menu-logout-btn { width: 100%; background: none; cursor: pointer; font-family: inherit; text-align: left; }
.home-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-top: 0; }
.home-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.home-feature-media,
.home-top-media,
.story-card-media { position: relative; display: block; overflow: hidden; background: #0a0f18; }
.home-feature-media picture,
.home-top-media picture,
.story-card-media picture { display: block; width: 100%; height: 100%; }
.home-feature-image { width: 100%; height: 100%; object-fit: cover; object-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.home-feature-kicker { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.home-feature-title a { color: inherit; }
.home-feature-excerpt { margin: 0; font-family: var(--font-sans), sans-serif; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.home-section-pill { display: inline-flex; align-items: center; min-height: 1.82rem; padding: 0.34rem 0.72rem; background: var(--brand-primary); color: white; border-radius: 999px; font-size: 0.68rem; font-weight: 800; line-height: 1; letter-spacing: 0.09em; text-transform: uppercase; box-shadow: 0 16px 26px -22px rgba(217, 4, 41, 0.9); }
.home-feature-date { color: rgba(255,255,255,0.66); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.home-top-strip { display: grid; gap: 0.9rem; }
.home-top-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 0.85rem; align-items: stretch; }
.home-top-media { aspect-ratio: 1 / 1; border-radius: 10px; align-self: center; }
.home-top-image { width: 100%; height: 100%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.home-top-body { display: grid; gap: 0.35rem; align-content: center; padding: 0; border-top: none; margin-top: 0; min-width: 0; }
.home-top-kicker { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.home-top-title { margin: 0; max-width: 18ch; font-size: 1.3rem; line-height: 1.1; letter-spacing: 0; color: var(--text-primary); text-wrap: balance; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-top-title a { color: inherit; }
.home-top-excerpt { display: none; }
.home-top-date { color: rgba(255, 255, 255, 0.58); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.home-top-card--dispatch .home-top-title,
.home-top-card--briefing .home-top-title { max-width: 18ch; }
.story-grid { display: grid; gap: 0.9rem; }
.story-grid-home { grid-template-columns: minmax(0, 1fr); align-items: start; }
.story-grid-archive { grid-template-columns: minmax(0, 1fr); }
.story-grid-archive:has(> :only-child) .story-card-media { aspect-ratio: 1 / 1; }
.story-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 0.85rem; align-items: stretch; }
.story-card-media { aspect-ratio: 1 / 1; border-radius: 10px; align-self: center; }
.story-card-image { width: 100%; height: 100%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.story-card-content { display: grid; gap: 0.35rem; padding: 0; align-content: center; min-width: 0; }
.story-card-kicker { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.story-section-pill { min-height: 1.56rem; padding-inline: 0.6rem; font-size: 0.62rem; }
.story-card-date { color: rgba(255, 255, 255, 0.54); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.story-card-title { margin: 0; max-width: 18ch; font-size: 1.3rem; line-height: 1.1; letter-spacing: 0; text-wrap: balance; color: var(--text-primary); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-card-title a { color: inherit; }
.story-card-excerpt { display: none; }
.story-card--portrait .story-card-media,
.story-card--landscape .story-card-media { aspect-ratio: 1 / 1; }
.story-card--portrait .story-card-title,
.story-card--standard .story-card-title,
.story-card--landscape .story-card-title { max-width: 18ch; }
.slot-art-lead { object-position: center 40%; }
.slot-art-top-dispatch { object-position: center 38%; }
.slot-art-top-briefing { object-position: center 28%; }
.slot-art-grid-portrait { object-position: center 34%; }
.slot-art-grid-landscape { object-position: center 38%; }
.slot-art-grid-standard { object-position: center 34%; }
.article-page { background: transparent; }
.article-header { margin-bottom: var(--space-md); text-align: center; position: relative; }
.article-header.has-hero { margin-top: calc(var(--header-offset-mobile) * -1); }
.article-hero-image { width: 100vw; margin-left: calc(-50vw + 50%); height: clamp(22rem, 62svh, 34rem); min-height: 22rem; max-height: 34rem; position: relative; overflow: hidden; margin-bottom: 0; padding-top: 0; }
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, 0.45) 0%, rgba(6, 10, 18, 0.18) 18%, rgba(6, 10, 18, 0.12) 50%, rgba(7, 11, 20, 0.55) 82%, rgba(9, 17, 29, 1) 100%); pointer-events: none; }
.article-header-content { position: relative; z-index: 10; max-width: 900px !important; margin: 0 auto; padding: clamp(1.25rem, 4vw, 2rem); }
.article-header.has-hero .article-header-content { margin-top: -5.5rem; }
.article-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-md); font-family: var(--font-sans), sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); font-variant-numeric: tabular-nums; }
.article-category { background: var(--brand-primary); color: white; padding: 0.3rem 0.7rem; border-radius: 999px; font-weight: 700; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.09em; transition: background-color 0.2s ease, transform 0.2s ease; display: inline-block; }
a.article-category:hover { background: var(--brand-primary-hover); color: white; transform: scale(1.04); }
.article-title { font-size: clamp(1.65rem, 5.4vw, 3.25rem); line-height: 1.1; margin-bottom: var(--space-sm); color: var(--text-primary); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7); }
.article-container { max-width: var(--reading-max) !important; background: transparent; position: relative; z-index: 20; padding: 0; }
.article-content { font-family: var(--font-serif); font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.78; color: var(--text-primary); }
.article-content p { margin-bottom: 1.4em; }
.article-content h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.18; margin-top: 2.2em; margin-bottom: 0.6em; color: var(--text-primary); letter-spacing: -0.02em; }
.article-content h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.25; margin-top: 1.8em; margin-bottom: 0.5em; color: var(--text-primary); }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 2em 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.article-content blockquote { border-left: 3px solid var(--brand-primary); margin: 1.75em 0; padding: 0.5em 0 0.5em 1.6em; font-style: italic; color: rgba(255, 255, 255, 0.92); font-size: 1.1em; line-height: 1.65; }
.content-category-link { color: var(--brand-primary); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease, color 0.2s ease; font-weight: 500; }
.content-category-link:hover { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }
.article-content > p:first-of-type:not(:has(.dropcap))::first-letter,
.article-content .dropcap { font-size: 3.2em; line-height: 0.85; font-weight: 700; float: left; margin: 0.05em 0.12em 0 0; color: var(--brand-primary); font-family: var(--font-serif), serif; }
.article-footer { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.article-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; color: var(--text-muted); font-size: 0.85rem; }
.article-tags > span:first-child { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-primary); margin-right: 0.35rem; }
.app-shell:not(.app-shell-admin) .page-intro-title,
.app-shell:not(.app-shell-admin) .search-title,
.app-shell:not(.app-shell-admin) .article-content,
.app-shell:not(.app-shell-admin) .article-content h2,
.app-shell:not(.app-shell-admin) .search-status strong { color: var(--text-primary); }
.app-shell:not(.app-shell-admin) .page-intro-meta,
.app-shell:not(.app-shell-admin) .search-lede,
.app-shell:not(.app-shell-admin) .search-status { color: var(--text-secondary); }
.app-shell:not(.app-shell-admin) .article-tags { color: var(--text-muted); }
.app-shell:not(.app-shell-admin) .article-tags > span:first-child { color: var(--brand-primary); }
.app-shell:not(.app-shell-admin) .article-content blockquote { color: rgba(255, 255, 255, 0.92); }
.sitefooter { background: transparent; padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.25rem, 2.5vw, 1.75rem); margin-top: clamp(3rem, 8vw, 5rem); position: relative; }
.sitefooter::before { content: ''; position: absolute; top: 0; left: var(--page-gutter); right: var(--page-gutter); height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14) 18%, rgba(255, 255, 255, 0.14) 82%, transparent); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; }
.footer-brand { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.footer-logo { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.92); }
.copyright { font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); margin: 0; letter-spacing: 0.02em; line-height: 1.5; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.footer-nav li { display: flex; align-items: center; }
.footer-nav li:not(:last-child)::after { content: ''; width: 1px; height: 0.85rem; background: rgba(255, 255, 255, 0.18); margin: 0 0.15rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.62); font-size: 0.72rem; font-weight: 600; transition: color 0.2s ease; padding: 0.5rem 0.85rem; display: block; letter-spacing: 0.12em; text-transform: uppercase; background: transparent; }
.footer-nav a:hover { color: var(--brand-primary); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: -100px; left: 0.5rem; padding: 0.75rem 1.25rem; background: var(--brand-primary); color: #fff; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; text-decoration: none; border-radius: var(--radius-md); z-index: 9999; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.skip-link:focus { top: 0.5rem; outline: 2px solid #fff; outline-offset: 2px; color: #fff; }
main:focus { outline: none; }
.alert { padding: 1rem; margin-bottom: 1rem; border-radius: var(--radius-md); border: 1px solid transparent; font-size: 0.9rem; }
.alert-danger { background-color: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.4); color: #fecaca; }
.alert-success { background-color: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.4); color: #a7f3d0; }
.alert-warning { background-color: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.4); color: #fde68a; }
.pill { display: inline-flex; align-items: center; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; white-space: nowrap; letter-spacing: 0.04em; font-family: var(--font-sans), sans-serif; }
.pill-tag { background-color: transparent; color: var(--brand-primary); border: 1px solid rgba(217, 4, 41, 0.22); }
.pill-tag:hover { background-color: rgba(217, 4, 41, 0.1); border-color: var(--brand-primary); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 1rem; margin-bottom: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-small { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-mono { font-family: var(--font-mono), monospace; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.alert-info { background-color: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.4); color: #bfdbfe; }
.form-control-lg { padding: 0.875rem 1rem; font-size: 1.125rem; }
.form-control-sm { padding: 0.375rem 0.625rem; font-size: 0.875rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.spinner-small { display: inline-block; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.75s linear infinite; margin-right: 0.5rem; }
.spinner { width: 2.5rem; height: 2.5rem; border: 3px solid rgba(255, 255, 255, 0.18); border-top-color: var(--brand-primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
.spinner-lg { width: 3.5rem; height: 3.5rem; }
@keyframes spin {
 to { transform: rotate(360deg); }
 }
.loading-overlay { position: fixed; inset: 0; background: rgba(5, 8, 15, 0.92); display: flex; align-items: center; justify-content: center; z-index: 9999; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pagination { display: grid; grid-template-columns: 1fr; gap: 0.75rem; padding: var(--space-lg) 0 0; margin-top: var(--space-xl); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pagination-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; min-height: 3rem; padding: 0.85rem 1.25rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); color: rgba(255, 255, 255, 0.88); font-weight: 600; letter-spacing: 0.01em; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, gap 0.2s ease, transform 0.12s ease; }
.pagination-link:active { transform: scale(0.97); }
.pagination-link:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: white; gap: 0.95rem; }
.pagination-arrow { width: 18px; height: 18px; flex-shrink: 0; }
.pagination-link.next { justify-self: stretch; }
.pagination-link.previous { justify-self: stretch; }
.not-found { width: min(100%, 760px); margin: clamp(3rem, 10vw, 6.5rem) auto; padding: clamp(1.75rem, 5vw, 3rem); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-card); background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)); box-shadow: 0 28px 80px -56px rgba(0, 0, 0, 0.95); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
.not-found-kicker { margin: 0; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-primary); }
.not-found h1 { max-width: 11ch; font-size: clamp(2.55rem, 9vw, 5.15rem); font-weight: 900; color: var(--text-primary); line-height: 0.94; margin: 0; letter-spacing: -0.055em; font-family: var(--font-serif); text-wrap: balance; }
.not-found p { font-size: clamp(1rem, 2vw, 1.14rem); color: var(--text-secondary); line-height: 1.62; margin: 0; max-width: 48ch; }
.not-found-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.45rem; }
.page-intro { display: flex; flex-direction: column; gap: 0.55rem; margin: clamp(1rem, 3vw, 2rem) 0 clamp(1.75rem, 4vw, 2.75rem); padding-top: 0.5rem; max-width: var(--reading-max); }
.page-intro-kicker { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-primary); }
.page-intro-title { margin: 0; font-family: var(--font-serif); font-size: clamp(2rem, 5.4vw, 3rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; color: var(--text-primary); }
.page-intro-meta { margin: 0; color: var(--text-secondary); font-size: 0.95rem; letter-spacing: 0.01em; }
.taxonomy-page-header { align-items: flex-start; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.taxonomy-loading { padding: clamp(2rem, 6vw, 4rem) 0; color: var(--text-muted); text-align: center; }
.taxonomy-empty { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; text-align: center; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem); color: var(--text-muted); }
.taxonomy-empty-icon { width: 48px; height: 48px; color: rgba(255, 255, 255, 0.22); margin-bottom: 0.4rem; }
.taxonomy-empty-title { margin: 0; font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 1.85rem); font-weight: 700; color: rgba(255, 255, 255, 0.85); letter-spacing: -0.02em; }
.taxonomy-empty-hint { margin: 0; max-width: 42ch; font-size: 0.98rem; line-height: 1.55; color: rgba(255, 255, 255, 0.55); }
.taxonomy-empty .btn { margin-top: 0.85rem; }
.search-page { max-width: 640px; margin: 0 auto; padding: clamp(1rem, 4vw, 2rem) 0 0; }
.search-header { margin-bottom: clamp(1.25rem, 3vw, 2rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.search-title { font-size: clamp(2rem, 5.4vw, 2.75rem); font-weight: 800; margin: 0; letter-spacing: -0.035em; color: var(--text-primary); font-family: var(--font-serif); }
.search-lede { margin: 0 0 var(--space-md); color: var(--text-secondary); font-size: 1rem; max-width: 42ch; line-height: 1.55; }
.search-form-large { width: 100%; margin: 0; position: relative; }
.search-input-wrapper { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; max-width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; overflow: hidden; transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.search-input-wrapper:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.05); }
.search-input-wrapper:focus-within { border-color: rgba(217, 4, 41, 0.6); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.18); }
.search-form-large .search-icon { width: 18px; height: 18px; color: rgba(255, 255, 255, 0.62); margin: 0 0.4rem 0 1.25rem; flex-shrink: 0; align-self: center; }
.search-input-large { flex: 1 1 0; min-width: 0; background: transparent; border: none; padding: 0.95rem 0.5rem 0.95rem 0.5rem; font-size: 1.05rem; font-family: inherit; color: var(--text-primary); -webkit-appearance: none; appearance: none; }
.search-input-large::placeholder { color: rgba(255, 255, 255, 0.45); }
.search-input-large:focus { outline: none; box-shadow: none; }
.search-input-large::-webkit-search-cancel-button,
.search-input-large::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-submit { flex: 0 0 auto; background: var(--brand-primary); border: none; margin: 0.3rem; padding: 0.72rem 1.4rem; font-size: 0.9rem; font-weight: 700; color: white; cursor: pointer; border-radius: 999px; white-space: nowrap; letter-spacing: 0.02em; transition: background-color 0.2s ease, transform 0.2s ease; }
.search-submit:hover { background: var(--brand-primary-hover); }
.search-hint { margin-top: var(--space-md); font-size: 0.875rem; color: var(--text-muted); }
.search-hint code { background: rgba(255, 255, 255, 0.06); padding: 0.15rem 0.45rem; border-radius: var(--radius-sm); font-family: var(--font-mono), monospace; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.85); }
.autocomplete-dropdown { position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; background: rgba(10, 14, 22, 0.98); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-card); box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.8); z-index: 100; display: none; max-height: 400px; overflow-y: auto; padding: 0.4rem; }
.autocomplete-dropdown.active { display: block; }
.autocomplete-item { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: 0.7rem 0.9rem; text-decoration: none; color: var(--text-primary); border-radius: var(--radius-md); transition: background-color 0.15s ease; }
.autocomplete-item:hover,
.autocomplete-item.autocomplete-active { background: rgba(255, 255, 255, 0.06); }
.autocomplete-title { font-weight: 500; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.autocomplete-category { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-primary); background: rgba(217, 4, 41, 0.12); padding: 0.2rem 0.55rem; border-radius: 999px; flex-shrink: 0; }
.search-results-header { margin: var(--space-lg) 0 var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.search-status { font-size: 1.05rem; color: var(--text-secondary); margin: 0; }
.search-status strong { color: var(--text-primary); }
.search-suggestions { margin-top: var(--space-lg); padding: var(--space-lg); background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-card); border: 1px solid rgba(255, 255, 255, 0.08); }
.search-suggestions h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: var(--space-md); color: var(--text-primary); }
.search-suggestions ul { list-style: none; padding: 0; margin: 0; }
.search-suggestions li { padding: 0.45rem 0; color: var(--text-secondary); font-size: 0.93rem; line-height: 1.55; }
.search-suggestions li::before { content: "→"; color: var(--brand-primary); margin-right: 0.75rem; font-weight: 700; }
.search-empty { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; text-align: center; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem); color: var(--text-muted); }
.search-empty-icon { width: 48px; height: 48px; color: rgba(255, 255, 255, 0.22); margin-bottom: 0.4rem; }
.search-empty-title { margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 700; color: rgba(255, 255, 255, 0.78); letter-spacing: -0.02em; }
.search-empty-hint { margin: 0; max-width: 36ch; font-size: 0.95rem; line-height: 1.55; color: rgba(255, 255, 255, 0.5); }
.search-results { display: flex; flex-direction: column; gap: var(--space-lg); }
.search-result { display: flex; flex-direction: column; }
.result-image-wrapper { flex-shrink: 0; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.result-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.result-content { flex: 1; display: flex; flex-direction: column; }
.result-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.result-category { background: var(--brand-primary); color: white; padding: 0.125rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.result-category:hover { color: white; background: var(--brand-primary-hover); }
.meta-separator { color: var(--text-muted); }
.result-title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: var(--space-sm); }
.result-title a { color: var(--text-primary); }
.result-title a:hover { color: var(--brand-primary); }
.result-excerpt { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--space-md); flex-grow: 1; }
.result-excerpt-highlighted { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }
.result-excerpt-highlighted mark,
.result-excerpt mark { background: linear-gradient(120deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.25) 100%); color: var(--text-primary); padding: 0.1em 0.25em; border-radius: 2px; font-weight: 500; }
.result-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.result-tag { font-size: 0.75rem; color: var(--brand-primary); background: rgba(217, 4, 41, 0.08); padding: 0.25rem 0.55rem; border-radius: var(--radius-sm); transition: background-color 0.2s ease; }
.result-tag:hover { background: rgba(217, 4, 41, 0.16); color: var(--brand-primary); }
@media (prefers-color-scheme: dark) {
 :root { --bg-body: #0f1115; --bg-card: #181a1f; --bg-surface-muted: rgba(24, 26, 31, 0.82); --text-primary: #f3f4f6; --text-secondary: #9ca3af; --border-light: #2d3139; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
 }
@media (min-width: 768px) {
 .siteheader { padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0 0.45rem; min-height: calc(4.15rem + env(safe-area-inset-top, 0px)); }
 .header-nav ul { background: rgba(255, 255, 255, 0.12); }
 .header-content { gap: var(--space-md); padding-left: calc(44px + clamp(1rem, 2.7vw, 2.5rem)); padding-right: clamp(1rem, 2.7vw, 2.5rem); }
 .brand-heading { font-size: clamp(1.55rem, 2.2vw, 1.85rem); }
 .header-actions { margin-top: 0; }
 .header-search-btn { display: inline-flex; }
 .nav-link { font-size: 0.75rem; padding: 0.7rem 1.1rem; }
 .app-shell:not(.app-shell-admin):has(.header-nav) .site-description { display: block; }
 .app-shell:not(.app-shell-admin):has(.header-nav) .header-nav { display: flex; }
 .app-shell:not(.app-shell-admin):has(.header-nav) .nav-link { font-size: 0.68rem; padding: 0.55rem 0.75rem; letter-spacing: 0.12em; }
 .article-header.has-hero { margin-top: calc(var(--header-offset-tablet) * -1); }
 .article-hero-image { min-height: 28rem; max-height: 40rem; margin-top: 0; }
 .article-header.has-hero .article-header-content { margin-top: -6.5rem; }
 .article-meta { font-size: 0.9rem; }
 .article-content img { border-radius: 8px; }
 .article-content > p:first-of-type:not(:has(.dropcap))::first-letter,
 .article-content .dropcap { font-size: 3.6em; }
 .footer-content { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
 .footer-brand { align-items: flex-start; }
 .comment-form .form-grid { grid-template-columns: 1fr 1fr; }
 .pagination { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .pagination-link.previous { justify-content: flex-start; }
 .pagination-link.next { justify-content: flex-end; }
 }
@media (min-width: 1024px) {
 .siteheader { padding: calc(0.5rem + env(safe-area-inset-top, 0px)) 0 0.5rem; min-height: calc(4.2rem + env(safe-area-inset-top, 0px)); }
 .site-description { font-size: 0.62rem; }
 .article-header.has-hero { margin-top: calc(var(--header-offset-desktop) * -1); }
 .article-hero-image { height: 72svh; min-height: 32rem; max-height: 44rem; margin-top: 0; }
 .article-header.has-hero .article-header-content { margin-top: -7.5rem; }
}
@media (hover: hover) {
 .logo-title:hover { color: rgba(255, 255, 255, 0.86); }
 .btn { transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
 .btn:hover { transform: translateY(-1px); }
 .story-card:hover .story-card-image,
 .home-top-card:hover .home-top-image,
 .search-result:hover .result-image { transform: scale(1.04); }
}


.app-shell-home .home-feature-card {
 display: block;
 position: relative;
 width: 100vw;
 max-width: 100vw;
 margin-left: calc(50% - 50vw);
 margin-right: calc(50% - 50vw);
 background: transparent;
 border: none;
 border-radius: 0;
 box-shadow: none;
 overflow: clip;
}
.app-shell-home .home-feature-media {
 position: relative;
 display: block;
 width: 100%;
 aspect-ratio: 16 / 10;
}
.app-shell-home .home-feature-media::after { display: none; }
.app-shell-home .home-feature-image {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.app-shell-home .home-feature-card:hover .home-feature-image {
 transform: scale(1.035);
}
.app-shell-home .home-feature-body {
 position: static;
 display: grid;
 gap: 0.55rem;
 padding: 0.85rem clamp(0.875rem, 2.7vw, 2.5rem) 0;
 background: transparent;
}
.app-shell-home .home-feature-title {
 margin: 0;
 max-width: 14ch;
 font-family: var(--font-serif);
 font-size: 1.85rem;
 line-height: 1.04;
 letter-spacing: 0;
 color: var(--text-primary);
 text-wrap: balance;
 font-weight: 700;
}
.app-shell-home .home-feature-excerpt {
 max-width: 48ch;
 font-size: clamp(0.95rem, 1.6vw, 1.05rem);
 line-height: 1.55;
 color: rgba(255,255,255,0.92);
 text-shadow: 0 1px 14px rgba(0,0,0,0.55);
}
@media (min-width: 1024px) {
 .home-shell { gap: clamp(1.85rem, 3vw, 2.75rem); }
 .home-feature { gap: clamp(1.15rem, 2vw, 1.6rem); }
 .story-grid { gap: clamp(1rem, 2.4vw, 1.75rem); }
 .story-grid-archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .home-top-strip { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(1rem, 2vw, 1.45rem); align-items: stretch; }
 .home-top-strip:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
 .story-grid-home:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
 .story-grid-home:has(> :nth-child(2):last-child) .story-card--standard { grid-column: auto; }
 .home-top-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 0; }
 .home-top-media { aspect-ratio: 16 / 10; border-radius: 0; min-height: 13rem; align-self: stretch; }
 .home-top-body { padding: 1rem 0 1.5rem; gap: 0.7rem; align-content: start; }
 .home-top-title { font-size: 2.65rem; line-height: 1.02; letter-spacing: 0; max-width: 16ch; -webkit-line-clamp: unset; line-clamp: unset; display: block; overflow: visible; }
 .home-top-excerpt { display: -webkit-box; }
 .home-top-date { font-size: 0.8rem; font-weight: 700; }
 .home-top-card--dispatch { grid-template-columns: minmax(15rem, 0.9fr) minmax(0, 1.1fr); }
 .home-top-card--dispatch .home-top-media { min-height: 100%; aspect-ratio: auto; }
 .home-top-card--dispatch .home-top-body { padding: 0 0 0 1.35rem; align-content: center; }
 .home-top-card--dispatch .home-top-title { font-size: 2.9rem; max-width: 15ch; }
 .home-top-card--briefing { grid-template-columns: minmax(0, 1.08fr) minmax(13rem, 0.92fr); }
 .home-top-card--briefing .home-top-body { order: 1; padding: 0 1.35rem 0 0; align-content: center; }
 .home-top-card--briefing .home-top-media { order: 2; min-height: 100%; aspect-ratio: auto; }
 .home-top-card--briefing .home-top-title { font-size: 2.65rem; max-width: 15ch; }
 .story-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .story-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 0; }
 .story-card-media { aspect-ratio: 16 / 11; border-radius: 0; align-self: stretch; }
 .story-card-content { padding: 1rem 0 1.5rem; gap: 0.7rem; align-content: start; }
 .story-card-title { font-size: 2.35rem; line-height: 1.04; letter-spacing: 0; max-width: 17ch; -webkit-line-clamp: unset; line-clamp: unset; display: block; overflow: visible; }
 .story-card-excerpt { display: -webkit-box; font-size: 1.02rem; }
 .story-card-date { font-size: 0.78rem; font-weight: 700; }
 .story-section-pill { min-height: 1.72rem; padding-inline: 0.66rem; font-size: 0.66rem; }
 .story-card--portrait .story-card-media { aspect-ratio: 4 / 5; }
 .story-card--portrait .story-card-title { font-size: 2.85rem; max-width: 14ch; }
 .story-card--portrait .story-card-excerpt { font-size: 1.04rem; }
 .story-card--standard .story-card-title { font-size: 2.45rem; max-width: 16ch; }
 .story-card--landscape { grid-column: 1 / -1; }
 .story-card--landscape .story-card-media { aspect-ratio: 21 / 9; }
 .story-card--landscape .story-card-title { font-size: 2.95rem; max-width: 18ch; }
 .app-shell-home .home-feature-media { aspect-ratio: 21 / 9; max-height: 78svh; }
 .app-shell-home .home-feature-media::after { display: block; }
 .app-shell-home .home-feature-title { font-size: 4.65rem; max-width: 14ch; text-shadow: 0 2px 28px rgba(0,0,0,0.78), 0 1px 4px rgba(0,0,0,0.58); letter-spacing: 0; line-height: 0.98; }
 .app-shell-home .home-feature-excerpt { max-width: 54ch; }
 .app-shell-home .home-feature-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  gap: 0.85rem;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  padding-inline: max(clamp(0.875rem, 2.7vw, 2.5rem), calc((100% - var(--page-max-home)) / 2 + clamp(0.875rem, 2.7vw, 2.5rem)));
 }
}
@media (max-width: 360px) {
 .search-form-large .search-icon { margin-left: 0.85rem; }
 .search-input-large { padding: 0.85rem 0.4rem 0.85rem 0.55rem; font-size: 0.98rem; }
 .search-submit { padding: 0.6rem 1rem; font-size: 0.85rem; margin: 0.25rem; }
}
.search-result { padding-top: 1.5rem; padding-bottom: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.search-result:first-child { border-top: none; padding-top: 0; }
.search-result .result-content { padding: 1rem 0 0; }
