:root {
  --red: #b51222;
  --red-dark: #8d0b18;
  --red-soft: #fff0f1;
  --ink: #17191e;
  --ink-soft: #444751;
  --muted: #777c86;
  --paper: #ffffff;
  --surface: #f6f6f7;
  --surface-2: #eeeeF0;
  --line: #e6e7e9;
  --shadow: 0 18px 54px rgba(20, 24, 35, .08);
  --radius: 18px;
  --font: 'Cairo', Tahoma, Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --red: #ed4554;
  --red-dark: #ff6672;
  --red-soft: #351e23;
  --ink: #f1f1f3;
  --ink-soft: #d0d1d5;
  --muted: #9c9eaa;
  --paper: #17181d;
  --surface: #202127;
  --surface-2: #2b2d34;
  --line: #34363f;
  --shadow: 0 18px 54px rgba(0, 0, 0, .22);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 135px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.8; transition: background-color .2s, color .2s; }
body, input, button, select, textarea { font-family: var(--font); }
button, input, textarea, select { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(181, 18, 34, .34); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.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; }
#site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 5px 24px rgba(16, 20, 30, .035); }
.site-topline { min-height: 37px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .02em; }
.topline-left, .topline-right { display: flex; align-items: center; gap: 14px; }
.topline-muted { color: #b7bac2; }
.demo-top-tag { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.demo-top-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #f05a68; box-shadow: 0 0 0 4px rgba(240, 90, 104, .15); }
.top-social { display: inline-flex; align-items: center; gap: 8px; color: #dbdce0; }
.site-masthead { max-width: 1240px; margin: 0 auto; padding: 20px 24px 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 900; font-size: 31px; line-height: 1; border-radius: 5px 16px 5px 5px; position: relative; overflow: hidden; }
.brand-mark::after { content: ''; position: absolute; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; left: -17px; bottom: -19px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.4; }
.brand-name { font-size: 27px; font-weight: 900; letter-spacing: -.06em; }
.brand-name span { color: var(--red); }
.brand-tagline { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.masthead-center { text-align: center; flex: 1; }
.masthead-kicker { display: block; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.masthead-headline { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.masthead-sub { display: block; color: var(--muted); font-size: 11px; }
.masthead-actions { min-width: 210px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.icon-button { display: inline-grid; place-items: center; width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); transition: .18s ease; }
.icon-button:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.icon-button svg { width: 18px; height: 18px; }
.date-chip { display: flex; flex-direction: column; text-align: left; padding-inline-start: 8px; line-height: 1.45; }
.date-chip small { font-size: 9px; color: var(--muted); }
.date-chip strong { font-size: 11px; font-weight: 800; white-space: nowrap; }
.primary-nav { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; min-height: 49px; }
.nav-links { display: flex; align-items: stretch; gap: 27px; }
.nav-link { display: inline-flex; align-items: center; position: relative; color: var(--ink-soft); font-size: 12px; font-weight: 800; white-space: nowrap; transition: color .15s; }
.nav-link::after { content: ''; position: absolute; right: 0; bottom: -1px; width: 0; height: 3px; background: var(--red); transition: width .2s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--red); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.nav-mini-link { color: var(--muted); font-size: 11px; font-weight: 700; }
.nav-mini-link:hover { color: var(--red); }
.mobile-menu-button { display: none; }
.search-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: min(15vh, 115px) 18px 24px; background: rgba(10, 12, 16, .66); backdrop-filter: blur(5px); overflow-y: auto; }
.search-overlay.is-open { display: flex; }
.search-dialog { width: min(750px, 100%); padding: 28px; background: var(--paper); border-radius: 22px; box-shadow: 0 30px 110px rgba(0,0,0,.25); animation: rise-in .18s ease-out; }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.search-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.search-dialog-head h2 { margin: 0; font-size: 21px; }
.search-dialog-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.search-dialog-form { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 7px 8px 7px 7px; }
.search-dialog-form .search-svg { width: 22px; height: 22px; margin-inline: 7px; flex: 0 0 auto; color: var(--muted); }
.search-dialog-form input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; padding: 7px 0; }
.search-dialog-form input:focus-visible { outline: 0; }
.search-dialog-form button { flex: 0 0 auto; }
.quick-search-results { margin-top: 18px; display: grid; gap: 8px; }
.quick-result { display: flex; align-items: center; gap: 13px; padding: 10px; border-radius: 11px; transition: background .15s; }
.quick-result:hover { background: var(--surface); }
.quick-result img { width: 66px; height: 56px; flex: 0 0 auto; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.quick-result-copy { min-width: 0; }
.quick-result-copy strong { display: block; font-size: 12px; line-height: 1.65; }
.quick-result-copy small { color: var(--muted); font-size: 10px; }
.search-dialog-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--line); margin-top: 14px; color: var(--muted); font-size: 11px; }
.search-dialog-foot a { color: var(--red); font-weight: 800; }
.site-main { width: min(1192px, calc(100% - 48px)); margin: 0 auto; }
.home-main { padding-top: 22px; }
.inner-main { padding-top: 25px; padding-bottom: 80px; }
.demo-notice { display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%; padding: 6px 12px; margin-bottom: 24px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.demo-notice strong { color: var(--red); font-size: 10px; }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.eyebrow { display: block; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.page-intro h1 { margin: 2px 0 0; font-size: clamp(27px, 3vw, 42px); line-height: 1.4; font-weight: 900; letter-spacing: -.055em; }
.page-intro h1 span, .search-page-heading h1 span, .prose-hero h1 span { color: var(--red); }
.page-intro p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.intro-date { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-right: 2px solid var(--red); background: var(--surface); border-radius: 9px 0 0 9px; }
.intro-date-icon { font-size: 24px; color: var(--red); }
.intro-date span:last-child { display: flex; flex-direction: column; line-height: 1.5; }
.intro-date small { color: var(--muted); font-size: 9px; }
.intro-date strong { font-size: 11px; font-weight: 800; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .9fr); gap: 27px; align-items: stretch; }
.hero-story { min-height: 430px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; background: var(--surface-2); border-radius: var(--radius); isolation: isolate; }
.hero-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,11,16,.02) 5%, rgba(9,11,16,.08) 36%, rgba(9,11,16,.9) 100%); z-index: -0; }
.hero-story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s ease; }
.hero-story:hover .hero-story-image { transform: scale(1.025); }
.hero-story-content { position: relative; z-index: 1; padding: clamp(22px, 4vw, 43px); color: #fff; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 10px; color: var(--muted); }
.hero-story .story-meta { color: rgba(255,255,255,.74); }
.category-pill { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 4px; background: var(--red-soft); color: var(--red); font-size: 10px; font-weight: 900; }
.hero-story .category-pill { background: var(--red); color: #fff; }
.breaking-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; }
.breaking-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero-story h2 { max-width: 650px; margin: 12px 0 9px; font-size: clamp(24px, 3.2vw, 39px); line-height: 1.55; font-weight: 900; letter-spacing: -.04em; }
.hero-story p { max-width: 600px; margin: 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 2; }
.hero-story-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,.22); }
.byline { display: flex; align-items: center; gap: 8px; font-size: 10px; color: rgba(255,255,255,.78); }
.byline-avatar { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-weight: 800; }
.read-link { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 900; }
.read-link span { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--red); color: #fff; transition: transform .18s; }
.read-link:hover span { transform: translateX(-3px); }
.hero-side { display: flex; flex-direction: column; min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 24px; line-height: 1.45; font-weight: 900; letter-spacing: -.045em; }
.section-heading .eyebrow { margin-bottom: 1px; }
.compact-heading { margin-bottom: 13px; }
.compact-heading h2 { font-size: 21px; }
.heading-mark { width: 33px; height: 5px; background: var(--red); border-radius: 10px; align-self: center; }
.featured-stack { display: grid; gap: 0; border-top: 1px solid var(--line); }
.featured-item { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); min-height: 104px; }
.featured-copy { min-width: 0; }
.featured-copy h3 { margin: 7px 0 7px; font-size: 13px; line-height: 1.8; font-weight: 800; letter-spacing: -.025em; }
.featured-copy h3 a:hover { color: var(--red); }
.featured-copy .story-meta { gap: 7px; font-size: 9px; }
.featured-item img { width: 104px; height: 82px; object-fit: cover; border-radius: 9px; background: var(--surface-2); }
.breaking-strip { display: flex; align-items: stretch; min-height: 50px; margin: 27px 0 35px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; overflow: hidden; }
.breaking-label { display: flex; align-items: center; gap: 9px; padding: 0 18px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; white-space: nowrap; }
.breaking-pulse { width: 7px; height: 7px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.18); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
.breaking-content { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; padding: 0 18px; }
.ticker-track { display: flex; align-items: center; gap: 45px; white-space: nowrap; animation: ticker-scroll 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track a { font-size: 11px; font-weight: 700; }
.ticker-track a::before { content: '•'; color: var(--red); margin-left: 10px; }
@keyframes ticker-scroll { from { transform: translateX(36%); } to { transform: translateX(-100%); } }
.ticker-more { display: inline-flex; align-items: center; gap: 10px; border-right: 1px solid var(--line); padding: 0 14px; color: var(--red); font-size: 10px; font-weight: 900; white-space: nowrap; }
.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.main-column { min-width: 0; }
.sidebar-column { min-width: 0; display: grid; gap: 20px; }
.content-section { margin-bottom: 55px; }
.text-link { color: var(--red); font-size: 11px; font-weight: 900; white-space: nowrap; }
.text-link span { display: inline-block; margin-right: 5px; transition: transform .18s; }
.text-link:hover span { transform: translateX(-3px); }
.latest-list { border-top: 1px solid var(--line); }
.latest-item { display: grid; grid-template-columns: 146px minmax(0, 1fr); gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); align-items: center; }
.latest-item img { width: 146px; height: 111px; object-fit: cover; background: var(--surface-2); border-radius: 10px; }
.latest-copy { min-width: 0; }
.latest-copy h3 { font-size: 16px; line-height: 1.8; margin: 7px 0 6px; font-weight: 900; letter-spacing: -.035em; }
.latest-copy h3 a:hover { color: var(--red); }
.latest-copy p { font-size: 11px; line-height: 1.9; margin: 0 0 9px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.latest-copy .story-meta { gap: 10px; font-size: 10px; }
.button { min-height: 43px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 8px; border: 1px solid transparent; font-size: 11px; font-weight: 900; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.button span { font-size: 16px; line-height: 1; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.load-more { margin-top: 22px; width: 100%; }
.sidebar-box { padding: 22px 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.small-heading { margin-bottom: 14px; }
.small-heading h2 { font-size: 18px; }
.small-heading .eyebrow { font-size: 9px; }
.tiny-red-line { width: 25px; height: 4px; background: var(--red); }
.popular-list { list-style: none; padding: 0; margin: 0; counter-reset: popular; }
.popular-list li { counter-increment: popular; display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); }
.popular-list li::before { content: counter(popular, decimal-leading-zero); color: var(--red); font-size: 16px; font-weight: 900; line-height: 1.6; letter-spacing: -.04em; }
.popular-list a { font-size: 11px; line-height: 1.8; font-weight: 800; }
.popular-list a:hover { color: var(--red); }
.popular-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; }
.quote-box { position: relative; overflow: hidden; padding: 25px 22px; border-radius: 13px; color: #fff; background: var(--ink); }
.quote-box::after { content: ''; position: absolute; width: 130px; height: 130px; left: -50px; bottom: -65px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 17px rgba(255,255,255,.025), 0 0 0 34px rgba(255,255,255,.02); }
.quote-symbol { font-family: Georgia, serif; font-size: 58px; line-height: .7; color: var(--red); }
.quote-box p { margin: 12px 0 17px; font-size: 16px; font-weight: 800; line-height: 1.95; position: relative; z-index: 1; }
.quote-byline { color: #a4a6ad; font-size: 9px; position: relative; z-index: 1; }
.newsletter-box { padding: 25px 21px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.newsletter-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; color: var(--red); background: var(--red-soft); border-radius: 10px; font-size: 19px; }
.newsletter-box h2 { margin: 12px 0 5px; font-size: 19px; font-weight: 900; }
.newsletter-box p { color: var(--muted); font-size: 11px; line-height: 1.9; margin: 0 0 14px; }
.newsletter-form { display: flex; gap: 6px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.newsletter-form input { flex: 1; min-width: 0; width: 40%; padding: 8px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.newsletter-form input:focus-visible { outline: 0; }
.newsletter-form button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 6px; padding: 9px 11px; color: #fff; background: var(--red); font-size: 10px; font-weight: 900; }
.newsletter-form button span { font-size: 14px; }
.newsletter-box > small { color: var(--muted); font-size: 9px; }
.form-message { min-height: 0; margin: 8px 0 0 !important; color: var(--red) !important; font-size: 10px !important; }
.category-sections { display: grid; gap: 43px; }
.category-block { border-top: 2px solid var(--ink); padding-top: 16px; }
.category-block .section-heading h2 { font-size: 22px; }
.category-block-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.news-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.news-card-media { display: block; position: relative; overflow: hidden; background: var(--surface-2); aspect-ratio: 1.52 / 1; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card-media .category-pill { position: absolute; right: 12px; top: 12px; box-shadow: 0 3px 12px rgba(0,0,0,.1); }
.news-card-body { padding: 14px 14px 16px; }
.news-card-body h3 { margin: 7px 0 9px; font-size: 13px; line-height: 1.8; font-weight: 900; }
.news-card-body h3 a:hover { color: var(--red); }
.news-card-body p { margin: 0 0 12px; color: var(--muted); font-size: 10px; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .story-meta { font-size: 9px; gap: 8px; }
.news-card .card-read-more { display: inline-flex; align-items: center; gap: 7px; color: var(--red); margin-top: 12px; font-size: 10px; font-weight: 900; }
.news-card .card-read-more span { font-size: 14px; }
.site-footer { margin-top: 45px; background: #111217; color: #fff; }
.footer-top { max-width: 1192px; width: calc(100% - 48px); margin: 0 auto; display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 45px; padding: 54px 0 43px; }
.footer-brand .brand { margin-bottom: 19px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tagline { color: #858791; }
.footer-brand p { max-width: 310px; color: #a7a8b0; font-size: 11px; line-height: 2.1; margin: 0 0 17px; }
.footer-demo-note { display: inline-flex; align-items: center; gap: 7px; color: #c4c5cb; font-size: 9px; padding: 6px 9px; border: 1px solid #363840; border-radius: 5px; }
.footer-title { margin: 4px 0 19px; font-size: 12px; font-weight: 900; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; right: 0; bottom: 0; width: 24px; height: 3px; background: var(--red); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #a7a8b0; font-size: 10px; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.footer-socials { display: flex; gap: 8px; margin-top: 19px; }
.footer-socials a { width: 31px; height: 31px; display: grid; place-items: center; color: #d6d7dc; border: 1px solid #383a42; border-radius: 50%; font-size: 10px; font-weight: 800; }
.footer-socials a:hover { border-color: var(--red); background: var(--red); color: #fff; }
.footer-contact-note { color: #a7a8b0; font-size: 10px; line-height: 2; }
.footer-bottom { border-top: 1px solid #2c2d34; }
.footer-bottom-inner { width: calc(100% - 48px); max-width: 1192px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; color: #878993; font-size: 9px; }
.footer-bottom-links { display: flex; gap: 17px; }
.footer-bottom-links a:hover { color: #fff; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 10px; margin: 0 0 26px; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span:last-child { color: var(--ink-soft); }
.category-hero { min-height: 220px; padding: 35px 42px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--surface); border-radius: 18px; overflow: hidden; position: relative; margin-bottom: 29px; }
.category-hero::before { content: ''; position: absolute; width: 280px; height: 280px; left: 22%; top: -176px; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 26px color-mix(in srgb, var(--line) 35%, transparent), 0 0 0 52px color-mix(in srgb, var(--line) 20%, transparent); }
.category-hero h1 { margin: 2px 0 4px; font-size: clamp(29px, 4vw, 45px); font-weight: 900; letter-spacing: -.05em; }
.category-hero p { color: var(--muted); font-size: 12px; margin: 0; }
.category-hero-stamp { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; justify-content: center; flex: 0 0 125px; height: 125px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: 0 10px 35px rgba(0,0,0,.04); }
.category-hero-stamp span { color: var(--red); font-size: 52px; line-height: 1.05; font-weight: 900; }
.category-hero-stamp small { color: var(--muted); font-size: 8px; }
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 19px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.listing-toolbar > div { color: var(--muted); font-size: 11px; }
.listing-toolbar > div strong { font-size: 19px; color: var(--red); margin-left: 5px; }
.listing-toolbar label, .search-filters label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; }
select, input, textarea { color: var(--ink); }
.listing-toolbar select, .search-filters select { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; min-width: 110px; padding: 8px 10px; font-size: 10px; color: var(--ink); }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 27px; align-items: start; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; align-content: start; }
.listing-sidebar { position: sticky; top: 160px; }
.quick-links { display: grid; gap: 6px; }
.quick-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; font-size: 11px; font-weight: 800; border-radius: 7px; background: var(--surface); }
.quick-links a span { font-size: 14px; color: var(--red); }
.quick-links a:hover { color: var(--red); }
.compact-newsletter { padding: 19px; }
.listing-footer { display: flex; justify-content: center; margin-top: 35px; }
.listing-footer .button { min-width: 230px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 65px 24px; border: 1px dashed var(--line); border-radius: 15px; background: var(--surface); grid-column: 1 / -1; }
.empty-state-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: 28px; }
.empty-state h2, .empty-state h1 { margin: 13px 0 5px; font-size: 19px; }
.empty-state p { margin: 0 0 17px; max-width: 420px; color: var(--muted); font-size: 11px; }
.article-main { padding-bottom: 85px; }
.article-breadcrumbs { margin-bottom: 22px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 34px; align-items: start; }
.article-content { min-width: 0; }
.article-header { max-width: 880px; }
.article-header h1 { margin: 14px 0 15px; font-size: clamp(27px, 4vw, 45px); line-height: 1.55; letter-spacing: -.045em; font-weight: 900; }
.article-summary { margin: 0 0 21px; font-size: 15px; line-height: 2; color: var(--muted); }
.article-author-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-author { display: flex; align-items: center; gap: 10px; }
.article-author-avatar { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 16px; font-weight: 900; }
.article-author-text { display: flex; flex-direction: column; line-height: 1.5; }
.article-author-text strong { font-size: 11px; }
.article-author-text small { color: var(--muted); font-size: 9px; }
.article-reading-tools { display: flex; align-items: center; gap: 6px; }
.article-reading-tools span { color: var(--muted); font-size: 9px; margin-left: 5px; }
.reading-button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--paper); font-weight: 800; }
.reading-button:hover { color: var(--red); border-color: var(--red); }
.article-cover { margin: 23px 0 10px; overflow: hidden; border-radius: 15px; background: var(--surface-2); }
.article-cover img { width: 100%; max-height: 560px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover figcaption { padding: 8px 12px; color: var(--muted); font-size: 9px; background: var(--surface); }
.article-copy { max-width: 760px; margin: 28px auto 0; font-size: 16px; line-height: 2.2; }
.article-copy p { margin: 0 0 22px; }
.article-copy h2 { position: relative; margin: 36px 0 12px; padding-right: 15px; font-size: 23px; line-height: 1.6; font-weight: 900; }
.article-copy h2::before { content: ''; position: absolute; right: 0; top: .5em; width: 4px; height: 1.1em; border-radius: 4px; background: var(--red); }
.article-source-note { margin: 30px 0; padding: 13px 15px; color: var(--muted); background: var(--surface); border-right: 3px solid var(--red); font-size: 10px; line-height: 1.8; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-share strong { margin-left: 5px; font-size: 11px; }
.share-button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.share-button:hover { border-color: var(--red); color: var(--red); }
.share-button.whatsapp:hover { border-color: #27a16b; color: #27a16b; }
.article-related { margin-top: 39px; }
.article-related .section-heading h2 { font-size: 21px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.article-side-box { padding: 20px; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 18px; }
.article-side-box .section-heading h2 { font-size: 17px; }
.article-side-list { display: grid; gap: 15px; }
.article-side-item { display: grid; grid-template-columns: 77px minmax(0, 1fr); gap: 10px; align-items: start; }
.article-side-item img { width: 77px; height: 67px; object-fit: cover; border-radius: 7px; }
.article-side-item strong { font-size: 10px; line-height: 1.7; display: block; }
.article-side-item strong:hover { color: var(--red); }
.article-side-item small { display: block; font-size: 9px; color: var(--muted); margin-top: 3px; }
.search-page-main { min-height: 600px; }
.search-page-heading { margin-bottom: 24px; }
.search-page-heading h1 { font-size: clamp(30px, 4vw, 43px); margin: 2px 0 3px; line-height: 1.45; font-weight: 900; letter-spacing: -.05em; }
.search-page-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.full-search-form { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 13px; padding: 9px; }
.search-form-icon { color: var(--red); font-size: 29px; margin-inline: 9px; }
.full-search-form input { flex: 1; min-width: 0; padding: 9px 0; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 13px; }
.full-search-form input:focus-visible { outline: 0; }
.search-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding: 16px 0 23px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.clear-filters { margin-right: auto; border: 0; padding: 6px 0; color: var(--red); background: transparent; font-size: 10px; font-weight: 800; }
.search-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.search-results-heading h2 { margin: 0; font-size: 20px; font-weight: 900; }
.search-results-heading span { font-size: 11px; color: var(--muted); }
.search-results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose-page { padding-bottom: 90px; }
.prose-hero { padding: 28px 0 33px; border-bottom: 1px solid var(--line); }
.prose-hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.45; margin: 3px 0 9px; font-weight: 900; letter-spacing: -.05em; }
.prose-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.prose-content { width: min(790px, 100%); margin: 32px auto 0; }
.prose-content h2 { font-size: 21px; margin: 31px 0 8px; font-weight: 900; }
.prose-content p { color: var(--ink-soft); font-size: 13px; line-height: 2.2; margin: 0 0 17px; }
.prose-content .button { margin-top: 8px; }
.contact-layout { margin-top: 30px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.contact-aside { padding: 28px; border-radius: 15px; background: var(--ink); color: #fff; }
.contact-mark { width: 52px; height: 52px; display: grid; place-items: center; background: var(--red); border-radius: 6px 15px 6px 6px; font-size: 32px; font-weight: 900; }
.contact-aside h2 { font-size: 22px; margin: 18px 0 5px; }
.contact-aside p { color: #b3b5bc; font-size: 11px; line-height: 2.1; margin: 0; }
.contact-note { padding-top: 20px; margin-top: 22px; border-top: 1px solid #353740; display: grid; gap: 5px; }
.contact-note strong { color: #fff; font-size: 11px; }
.contact-note span { color: #b3b5bc; font-size: 10px; line-height: 1.9; }
.contact-form { padding: 27px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; }
.form-row { display: grid; gap: 7px; margin-bottom: 17px; }
.form-row label { font-size: 11px; font-weight: 800; }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; color: var(--ink); background: var(--paper); font-size: 11px; resize: vertical; }
.form-row small { color: var(--muted); font-size: 9px; }
.form-disclaimer { display: block; margin-top: 12px; color: var(--muted); font-size: 9px; }
.contact-form .button { min-width: 180px; }
.skeleton-block { min-height: 260px; }
@media (max-width: 1080px) {
  .masthead-center { display: none; }
  .site-masthead { padding-block: 15px; }
  .hero-layout { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .9fr); gap: 21px; }
  .hero-story { min-height: 405px; }
  .content-with-sidebar { grid-template-columns: minmax(0, 1fr) 258px; gap: 24px; }
  .listing-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 20px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { gap: 28px; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 90px; }
  #site-header { position: sticky; }
  .site-topline { padding: 0 18px; min-height: 32px; }
  .top-social { display: none; }
  .site-masthead { padding: 12px 18px; gap: 12px; }
  .brand { gap: 9px; min-width: auto; }
  .brand-mark { width: 40px; height: 40px; font-size: 26px; }
  .brand-name { font-size: 23px; }
  .brand-tagline { font-size: 8px; }
  .masthead-actions { min-width: auto; gap: 7px; }
  .date-chip { display: none; }
  .icon-button { width: 37px; height: 37px; }
  .mobile-menu-button { display: inline-grid; }
  .nav-inner { display: block; padding: 0 18px; min-height: 0; }
  .nav-links { display: none; position: absolute; top: 100%; right: 0; left: 0; z-index: 20; padding: 12px 18px 18px; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-link::after { right: auto; left: 0; height: 2px; }
  .nav-link:last-child { border-bottom: 0; }
  .nav-tools { min-height: 39px; justify-content: space-between; }
  .primary-nav { border-bottom: 1px solid var(--line); }
  .site-main { width: min(100% - 32px, 720px); }
  .home-main { padding-top: 18px; }
  .inner-main { padding-top: 20px; }
  .demo-notice { margin-bottom: 18px; font-size: 9px; }
  .page-intro { align-items: flex-start; margin-bottom: 19px; }
  .page-intro h1 { font-size: 31px; }
  .intro-date { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-story { min-height: 390px; }
  .hero-side { display: block; }
  .featured-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 19px; }
  .featured-item { grid-template-columns: minmax(0, 1fr) 90px; gap: 10px; }
  .featured-item img { width: 90px; height: 76px; }
  .breaking-strip { margin: 21px 0 29px; min-height: 45px; }
  .breaking-label { padding: 0 12px; font-size: 10px; }
  .content-with-sidebar { grid-template-columns: 1fr; gap: 35px; }
  .sidebar-column { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .popular-box { grid-row: span 2; }
  .quote-box { min-height: 180px; }
  .newsletter-box { min-height: 210px; }
  .footer-top { width: calc(100% - 36px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding: 42px 0 34px; }
  .footer-bottom-inner { width: calc(100% - 36px); }
  .category-hero { min-height: 190px; padding: 26px; }
  .category-hero-stamp { flex-basis: 100px; height: 100px; }
  .category-hero-stamp span { font-size: 42px; }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .article-side-box { margin-bottom: 0; }
  .article-related .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { display: grid; grid-template-columns: 54px 1fr; column-gap: 15px; align-items: center; }
  .contact-aside h2 { margin: 0; }
  .contact-aside p, .contact-note { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .site-topline { padding: 0 13px; font-size: 9px; }
  .topline-left { gap: 8px; }
  .topline-right { gap: 8px; }
  .site-masthead { padding: 10px 13px; }
  .brand-mark { width: 37px; height: 37px; font-size: 24px; }
  .brand-name { font-size: 21px; }
  .brand-tagline { letter-spacing: 0; }
  .icon-button { width: 34px; height: 34px; }
  .nav-inner { padding: 0 13px; }
  .site-main { width: calc(100% - 26px); }
  .demo-notice { padding: 5px 8px; gap: 6px; font-size: 8px; margin-bottom: 17px; }
  .demo-notice strong { font-size: 8px; }
  .page-intro h1 { font-size: 29px; }
  .page-intro p { font-size: 11px; }
  .hero-story { min-height: 445px; border-radius: 13px; }
  .hero-story-content { padding: 22px 18px; }
  .hero-story h2 { font-size: 25px; line-height: 1.6; }
  .hero-story p { font-size: 11px; }
  .hero-story-foot { margin-top: 15px; padding-top: 15px; }
  .featured-stack { grid-template-columns: 1fr; }
  .featured-item { grid-template-columns: minmax(0, 1fr) 92px; min-height: 0; padding: 12px 0; }
  .featured-item img { width: 92px; height: 75px; }
  .featured-copy h3 { font-size: 12px; }
  .section-heading h2 { font-size: 21px; }
  .content-section { margin-bottom: 42px; }
  .latest-item { grid-template-columns: 105px minmax(0, 1fr); gap: 12px; padding: 15px 0; align-items: start; }
  .latest-item img { width: 105px; height: 94px; border-radius: 7px; }
  .latest-copy h3 { font-size: 12px; line-height: 1.75; margin: 5px 0; }
  .latest-copy p { display: none; }
  .latest-copy .story-meta { flex-wrap: wrap; gap: 5px 7px; font-size: 8px; }
  .category-block-grid { grid-template-columns: 1fr; gap: 13px; }
  .category-block .news-card { display: grid; grid-template-columns: 125px minmax(0, 1fr); border-radius: 9px; }
  .category-block .news-card-media { aspect-ratio: auto; height: 100%; min-height: 133px; }
  .category-block .news-card-media .category-pill { right: 6px; top: 6px; padding: 3px 5px; font-size: 8px; }
  .category-block .news-card-body { padding: 9px 11px; }
  .category-block .news-card-body h3 { font-size: 11px; line-height: 1.7; margin: 2px 0 4px; }
  .category-block .news-card-body p { display: none; }
  .category-block .news-card .story-meta { font-size: 8px; }
  .category-block .news-card .card-read-more { margin-top: 5px; font-size: 9px; }
  .sidebar-column { grid-template-columns: 1fr; }
  .popular-box { grid-row: auto; }
  .quote-box { min-height: 0; }
  .newsletter-box { min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 27px 16px; padding: 35px 0 27px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; gap: 9px; padding: 14px 0; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px; }
  .search-dialog { padding: 18px; border-radius: 15px; }
  .search-dialog-head h2 { font-size: 18px; }
  .search-dialog-form { gap: 5px; }
  .search-dialog-form button { padding: 9px 10px; }
  .quick-result img { width: 55px; height: 48px; }
  .quick-result-copy strong { font-size: 11px; }
  .category-hero { padding: 24px 19px; min-height: 160px; }
  .category-hero h1 { font-size: 30px; }
  .category-hero p { font-size: 10px; max-width: 235px; }
  .category-hero-stamp { flex-basis: 68px; width: 68px; height: 68px; }
  .category-hero-stamp span { font-size: 30px; }
  .category-hero-stamp small { font-size: 6px; }
  .listing-toolbar { align-items: flex-start; }
  .listing-toolbar label { flex-direction: column; align-items: flex-start; gap: 4px; }
  .listing-grid, .search-results-grid { grid-template-columns: 1fr; gap: 13px; }
  .listing-grid .news-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); }
  .listing-grid .news-card-media { aspect-ratio: auto; height: 100%; min-height: 145px; }
  .listing-grid .news-card-media .category-pill { right: 6px; top: 6px; padding: 3px 5px; font-size: 8px; }
  .listing-grid .news-card-body { padding: 10px 11px; }
  .listing-grid .news-card-body h3 { font-size: 11px; line-height: 1.8; margin: 3px 0 5px; }
  .listing-grid .news-card-body p { display: none; }
  .listing-grid .news-card .story-meta { gap: 6px; font-size: 8px; }
  .listing-grid .news-card .card-read-more { margin-top: 7px; font-size: 9px; }
  .listing-sidebar { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 27px; line-height: 1.65; }
  .article-summary { font-size: 12px; }
  .article-author-row { align-items: flex-start; flex-direction: column; }
  .article-reading-tools { align-self: flex-end; }
  .article-cover { margin-top: 17px; border-radius: 9px; }
  .article-copy { font-size: 14px; line-height: 2.2; margin-top: 22px; }
  .article-copy h2 { font-size: 20px; margin-top: 29px; }
  .article-share { gap: 7px; }
  .article-share strong { flex-basis: 100%; }
  .share-button { font-size: 9px; padding: 6px 8px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .related-grid, .article-related .related-grid { grid-template-columns: 1fr; }
  .article-related .news-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .article-related .news-card-media { aspect-ratio: auto; min-height: 125px; }
  .article-related .news-card-body p { display: none; }
  .prose-hero { padding-top: 20px; }
  .prose-hero h1 { font-size: 32px; }
  .prose-hero p { font-size: 12px; }
  .prose-content h2 { font-size: 19px; }
  .prose-content p { font-size: 12px; }
  .contact-form { padding: 18px; }
  .contact-aside { padding: 20px; }
  .full-search-form { gap: 5px; }
  .search-form-icon { margin-inline: 3px; }
  .full-search-form .button { padding: 9px 11px; }
  .search-filters { gap: 12px; }
  .search-filters label { flex: 1; flex-direction: column; align-items: stretch; gap: 5px; }
  .search-filters select { width: 100%; }
  .clear-filters { flex: 0 0 auto; margin-right: 0; }
  .search-results-heading h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 2 January identity refinements */
.site-topline { display: none !important; }
.site-masthead { min-height: 112px; padding-top: 10px; padding-bottom: 10px; gap: 20px; }
.brand { flex: 0 0 132px; width: 132px; min-width: 132px; justify-content: center; gap: 0; }
.brand-logo { display: block; width: 132px; height: 100px; object-fit: contain; background: #fff; border-radius: 6px; }
.masthead-headline { font-size: clamp(18px, 2vw, 23px); }
.masthead-sub { margin-top: 3px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-demo-note { display: inline-block; color: #e6b4ba; font-size: 11px; }
.latest-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.latest-card-grid .news-card { height: 100%; }
.latest-card-grid .news-card-media { aspect-ratio: 16 / 10; }
.latest-card-grid .news-card-body { padding: 13px 13px 15px; }
.latest-card-grid .news-card-body h3 { font-size: 12px; line-height: 1.8; }
.latest-card-grid .news-card-body p { display: none; }
.latest-card-grid .news-card .story-meta:last-of-type { margin-top: 5px; }
.latest-card-grid .card-read-more { display: none; }

/* Password-gated local testing panel. A real deployment must authenticate on the server. */
body.admin-open { overflow: hidden; }
.admin-toolbar { position: relative; z-index: 90; width: 100%; padding: 10px 18px; background: #fff5f6; border-block: 1px solid rgba(108,23,38,.16); box-shadow: 0 4px 14px rgba(23,12,16,.05); }
.admin-toolbar-inner { width: min(1280px, 100%); margin: 0 auto; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-toolbar-label { margin-inline-end: 8px; color: #6c1726; font-size: 12px; white-space: nowrap; }
.admin-toolbar-label span { color: #2f8f57; font-size: 10px; margin-inline-end: 4px; }
.admin-toolbar-button { border: 1px solid rgba(108,23,38,.2); border-radius: 8px; background: #fff; color: #42101a; padding: 9px 13px; font-size: 11px; font-weight: 900; cursor: pointer; }
.admin-toolbar-button:hover { border-color: #6c1726; transform: translateY(-1px); }
.admin-toolbar-button.primary { background: #8d1025; border-color: #8d1025; color: #fff; }
.admin-toolbar-button.logout { color: #a51d30; }
.admin-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(5, 7, 12, .72); backdrop-filter: blur(7px); overflow-y: auto; }
.admin-overlay.is-open { display: flex; }
.admin-dialog { width: min(720px, 100%); max-height: min(92vh, 950px); overflow-y: auto; padding: 26px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 28px 110px rgba(0,0,0,.32); }
.admin-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 17px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-dialog-head h2 { margin: 2px 0 0; font-size: 25px; font-weight: 900; }
.admin-menu { display: grid; gap: 12px; }
.admin-action { display: grid; grid-template-columns: 48px minmax(0,1fr) 20px; align-items: center; gap: 13px; text-align: right; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); transition: border-color .15s, transform .15s; }
.admin-action:hover { border-color: var(--red); transform: translateY(-1px); }
.admin-action-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: #fff; background: var(--red); font-size: 20px; font-weight: 900; }
.admin-action strong, .admin-action small { display: block; }
.admin-action strong { font-size: 14px; }
.admin-action small { color: var(--muted); font-size: 11px; }
.admin-action-arrow { color: var(--red); font-size: 20px; }
.admin-local-note { margin: 16px 0 0; padding: 12px 14px; background: var(--red-soft); border-radius: 9px; color: var(--muted); font-size: 10px; line-height: 1.9; }
.admin-panel-view h3 { margin: 0 0 16px; font-size: 19px; }
.admin-back { margin: 0 0 14px; padding: 0; border: 0; color: var(--red); background: transparent; font-size: 11px; font-weight: 900; }
.admin-publish-form { display: grid; gap: 14px; }
.admin-publish-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.admin-publish-form input, .admin-publish-form textarea, .admin-publish-form select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 12px; }
.admin-publish-form textarea { min-height: 140px; resize: vertical; line-height: 1.9; }
.admin-publish-form input[type=file] { padding: 8px; }
.admin-publish-form label small { font-size: 10px; color: var(--muted); font-weight: 400; }
.admin-image-preview { max-width: 100%; width: min(100%, 420px); max-height: 230px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.admin-stat-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.admin-stat-card span { color: var(--muted); font-size: 11px; }
.admin-stat-card strong { font-size: 27px; line-height: 1.3; font-weight: 900; color: var(--red); }
.admin-top-story { margin-top: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; }
.admin-top-story .eyebrow { margin-bottom: 9px; }
.admin-top-story a { display: flex; gap: 13px; align-items: center; }
.admin-top-story img { width: 102px; height: 75px; object-fit: cover; flex: 0 0 auto; border-radius: 8px; }
.admin-top-story strong, .admin-top-story small { display: block; }
.admin-top-story strong { font-size: 12px; line-height: 1.8; }
.admin-top-story small { margin-top: 4px; color: var(--red); font-size: 11px; font-weight: 900; }
.admin-publish-form button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 820px) {
  .site-masthead { min-height: 84px; padding: 8px 18px; gap: 10px; }
  .brand { flex-basis: 85px; width: 85px; min-width: 85px; }
  .brand-logo { width: 85px; height: 70px; }
  .masthead-center { text-align: right; }
  .masthead-kicker { font-size: 8px; }
  .masthead-headline { font-size: 14px; line-height: 1.5; }
  .masthead-sub { font-size: 9px; line-height: 1.5; }
  .masthead-actions { flex: 0 0 auto; }
  .latest-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
  .admin-dialog { padding: 20px; }
}
@media (max-width: 560px) {
  .site-masthead { padding: 8px 12px; gap: 7px; }
  .brand { flex-basis: 61px; width: 61px; min-width: 61px; }
  .brand-logo { width: 61px; height: 58px; }
  .masthead-center { min-width: 0; }
  .masthead-headline { font-size: 11px; }
  .masthead-sub { font-size: 7px; max-width: 145px; }
  .masthead-kicker { font-size: 7px; letter-spacing: 0; }
  .masthead-actions { gap: 4px; }
  .icon-button { width: 32px; height: 32px; }
  .latest-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .latest-card-grid .news-card-body { padding: 9px; }
  .latest-card-grid .news-card-body h3 { font-size: 10px; line-height: 1.65; }
  .latest-card-grid .news-card .story-meta { font-size: 8px; gap: 5px; }
  .latest-card-grid .news-card-media .category-pill { right: 6px; top: 6px; padding: 3px 5px; font-size: 8px; }
  .admin-toolbar { padding: 9px 8px; }
  .admin-toolbar-inner { gap: 6px; }
  .admin-toolbar-label { flex-basis: 100%; margin: 0; text-align: center; }
  .admin-toolbar-button { padding: 8px 10px; font-size: 10px; }
  .admin-overlay { padding: 8px; align-items: flex-start; }
  .admin-dialog { margin: auto 0; padding: 15px; border-radius: 13px; max-height: 96vh; }
  .admin-dialog-head h2 { font-size: 21px; }
  .admin-action { grid-template-columns: 40px minmax(0,1fr) 16px; padding: 11px; gap: 10px; }
  .admin-action-num { width: 38px; height: 38px; font-size: 17px; }
  .admin-action strong { font-size: 12px; }
  .admin-action small { font-size: 9px; }
  .admin-stat-grid { gap: 8px; }
  .admin-stat-card { padding: 12px; }
  .admin-stat-card strong { font-size: 23px; }
  .admin-top-story a { align-items: flex-start; }
  .admin-top-story img { width: 78px; height: 65px; }
}

/* VPS-backed publishing and source-status details. */
.admin-source-list { display: grid; gap: 10px; margin: 18px 0; }
.admin-source-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.admin-source-row strong { font-size: 12px; }
.admin-source-row small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; line-height: 1.8; }
.source-status { align-self: start; padding: 2px 8px; border-radius: 20px; background: var(--surface-2); font-size: 9px; }
.status-ok { color: #18794e; background: #e7f7ee; }
.status-warning, .status-blocked { color: #925c0b; background: #fff4d9; }
.status-error { color: #a31b2b; background: #ffe8eb; }
.admin-dialog .article-source-note a { color: var(--red); font-weight: 800; }
.article-copy { overflow-wrap: anywhere; }
.brand-logo { cursor: pointer; }
@media (max-width: 820px) { .nav-links.is-open { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; } }


/* WhatsApp channel, per-story admin controls, image placeholder and homepage carousel. */
.whatsapp-channel-link {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%;
  margin: 0 0 8px; padding: 0 0 4px; color: #137b48; border-bottom: 1px solid #25d366;
  font-size: 10px; line-height: 1.5; font-weight: 900; text-decoration: none;
}
.whatsapp-channel-link:hover { color: #0b5d35; border-bottom-width: 2px; }
.whatsapp-channel-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; color: #fff; background: #25d366; border-radius: 50%; }
.whatsapp-channel-icon svg { display: block; width: 13px; height: 13px; }
.card-channel { font-size: 9px; margin-bottom: 5px; }
.featured-channel { font-size: 8px; margin-bottom: 4px; }
.article-channel { margin-bottom: 14px; font-size: 11px; }
.public-pin-badge { display: inline-flex; align-items: center; color: #7d1424; background: #f9e8ec; border: 1px solid #edc4cd; border-radius: 999px; padding: 2px 7px; font-size: 9px; font-weight: 900; }
.news-admin-controls {
  position: relative; z-index: 12; display: flex; align-items: center; justify-content: flex-start; gap: 7px;
  flex-wrap: wrap; padding: 9px; color: #2c1720; background: #fff5f6; border: 1px solid rgba(141,16,37,.22);
  border-radius: 9px; margin: 0 0 9px; direction: rtl; font-size: 10px;
}
.news-card > .news-admin-controls { margin: 9px 9px 0; }
.featured-item > .news-admin-controls { grid-column: 1 / -1; width: 100%; margin: 0 0 8px; }
.news-admin-controls button, .news-admin-pin-duration select {
  min-height: 30px; border: 1px solid rgba(108,23,38,.24); border-radius: 6px; padding: 5px 8px;
  background: #fff; color: #42101a; font: inherit; font-weight: 800;
}
.news-admin-controls button { cursor: pointer; }
.news-admin-controls button:disabled { opacity: .6; cursor: wait; }
.news-admin-controls .news-admin-delete { background: #a5192e; border-color: #a5192e; color: #fff; }
.news-admin-controls .news-admin-pin { background: #6c1726; color: #fff; }
.news-admin-controls .news-admin-unpin { color: #6c1726; }
.news-admin-pin-duration { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 800; }
.news-admin-pin-duration select { max-width: 95px; }
.admin-pin-state { color: #5f6a3f; flex-basis: 100%; font-size: 9px; }

/* A 4.5-second image-led latest-news carousel in the homepage's large story panel. */
.hero-story { display: block; min-height: 430px; }
.hero-story::after { z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8,10,14,.04) 10%, rgba(8,10,14,.08) 34%, rgba(8,10,14,.86) 100%); }
.hero-carousel, .hero-carousel-slides { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-carousel { z-index: 2; overflow: hidden; border-radius: inherit; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease; z-index: 0; }
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.hero-slide-media { position: absolute; inset: 0; display: block; z-index: 0; }
.hero-slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff url('/assets/images/2-yan-logo-square.png') center / contain no-repeat; transition: transform .6s ease; }
.hero-slide.is-active:hover .hero-slide-image { transform: scale(1.025); }
.hero-slide-caption { position: absolute; inset: auto 0 0; z-index: 3; padding: clamp(20px, 3.5vw, 38px); color: #fff; background: linear-gradient(180deg, transparent 0%, rgba(7,8,12,.4) 20%, rgba(7,8,12,.72) 100%); }
.hero-slide-caption .whatsapp-channel-link { color: #fff; border-bottom-color: #25d366; }
.hero-slide-caption .whatsapp-channel-link:hover { color: #eafff1; }
.hero-slide-caption .story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: rgba(255,255,255,.82); font-size: 10px; }
.hero-slide-caption .category-pill { background: var(--red); color: #fff; }
.hero-slide-caption h2 { max-width: 760px; margin: 10px 0 8px; font-size: clamp(22px, 3vw, 36px); line-height: 1.5; font-weight: 900; letter-spacing: -.03em; }
.hero-slide-caption h2 a { text-decoration: none; }
.hero-slide-caption h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-slide-caption p { max-width: 680px; margin: 0; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 13px; margin-top: 14px; color: rgba(255,255,255,.78); font-size: 10px; }
.hero-carousel-nav { position: absolute; top: 45%; z-index: 11; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: rgba(16,16,20,.45); font-size: 27px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.hero-carousel-nav:hover { background: var(--red); transform: scale(1.05); }
.hero-carousel-prev { right: 14px; }
.hero-carousel-next { left: 14px; }
.hero-carousel-dots { position: absolute; z-index: 11; top: 14px; right: 50%; transform: translateX(50%); display: flex; gap: 6px; max-width: calc(100% - 120px); overflow: hidden; padding: 6px 9px; border-radius: 999px; background: rgba(14,14,18,.36); }
.hero-carousel-dot { width: 7px; height: 7px; flex: 0 0 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .2s, background .2s; }
.hero-carousel-dot.is-active { width: 23px; background: #fff; }
.hero-pinned-label { border-radius: 999px; background: rgba(255,255,255,.16); padding: 2px 7px; color: #fff; font-size: 9px; }
.hero-slide > .news-admin-controls { position: absolute; top: 55px; right: 12px; left: 12px; margin: 0; width: auto; background: rgba(255,245,246,.96); }

/* Use the attached square site logo behind news images while their real file loads. */
.news-card-media, .news-card-media img, .featured-item img, .quick-result img, .article-cover, .article-cover img,
.article-side-item img, .admin-top-story img, .hero-slide-image {
  background-color: #fff;
  background-image: url('/assets/images/2-yan-logo-square.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (max-width: 560px) {
  .hero-story { min-height: 430px; }
  .hero-slide-caption { padding: 18px 15px 20px; }
  .hero-slide-caption h2 { font-size: 22px; line-height: 1.55; }
  .hero-slide-caption p { font-size: 10px; }
  .hero-slide-foot { padding-top: 10px; margin-top: 10px; }
  .hero-carousel-nav { width: 31px; height: 31px; top: 42%; }
  .news-admin-controls { gap: 5px; padding: 7px; font-size: 9px; }
  .news-admin-controls button, .news-admin-pin-duration select { padding: 5px 6px; }
  .news-admin-pin-duration { flex-wrap: wrap; }
  .card-channel { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide-image, .hero-carousel-nav { transition: none !important; }
}

@media (max-width: 560px) { .category-block .news-card > .news-admin-controls { grid-column: 1 / -1; } }

.article-source-credit { margin: 20px 0 8px; color: var(--muted); font-size: 9px; line-height: 1.6; text-align: left; }
.article-source-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.article-source-credit a:hover { color: var(--red); }
