/* ══════════════════════════════════════════════════════════════════════
   NewsHub — main.css
   Sections: tokens · base · buttons · header · shared bits ·
   home · archive/category · single · pages (contact, denonco) ·
   search/404 · footer · responsive
   ══════════════════════════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --red:        #E10E1A;
  --red-dark:   #B80A14;
  --red-soft:   #FDECEC;
  --ink:        #111111;
  --ink-2:      #191919;
  --ink-3:      #2A2A2A;
  --text:       #1D1D1F;
  --muted:      #6B6B6B;
  --muted-2:    #8C8C8C;
  --line:       #E6E6E6;
  --soft:       #F4F4F5;
  --white:      #FFFFFF;

  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1800px; /* header, top block, content rows and footer all share this width */
  --gutter:    52px;
  --radius:    6px;
  --header-h:  72px;
  --ease:      .2s ease;
}

/* ─── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
body.nh-lock { overflow: hidden; }
/* Flex column keeps the footer at the bottom of short pages. */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.admin-bar .site { min-height: calc(100vh - 32px); }
.site > main { flex: 1 0 auto; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 40px 56px; }
.icon { flex: none; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 4px;
  font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--sm { min-height: 36px; padding: 0 18px; font-size: 13px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; color: var(--text); transition: background var(--ease), color var(--ease);
}
.icon-btn:hover { background: var(--soft); color: var(--red); }

/* ─── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header__search { margin-left: auto; }
.site-header__menu { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: -14px; } /* 14px from the search icon */

.logo { display: inline-flex; align-items: baseline; font-family: var(--sans); font-weight: 800; font-size: 26px; letter-spacing: -.03em; line-height: 1; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__b { color: var(--red); }
.logo--light, .logo--light:hover { color: var(--white); }
.logo--image img { max-height: 44px; width: auto; }
.site-footer .logo--image img { max-height: 48px; width: auto; }

/* item spacing grows ~2px per 100px of screen past 1200px: 12px there, 22px at 1700px+ */
.nav { --nav-pad: clamp(12px, calc(12px + (100vw - 1200px) * .02), 22px); min-width: 0; margin-left: clamp(8px, 2.2vw, 40px); }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 6px;
  height: var(--header-h); padding: 0 var(--nav-pad);
  font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap;
}
.nav__link img { width: 18px; height: auto; }
.nav__list > .nav__item > .nav__link::after {
  content: ""; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: -1px; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform var(--ease);
}
.nav__list > .nav__item.is-active > .nav__link { color: var(--red); }
.nav__list > .nav__item.is-active > .nav__link::after,
.nav__list > .nav__item > .nav__link:hover::after { transform: scaleX(1); }
.nav__item--parent > .nav__link::before {
  content: ""; order: 2; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.nav .nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.nav .nav__item:hover > .nav__sub,
.nav .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav__sub .nav__link { height: auto; padding: 9px 12px; border-radius: 4px; }
.nav .nav__sub .nav__link::after { content: none; }
.nav .nav__sub .nav__link:hover { background: var(--soft); }

.lang { position: relative; flex: none; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 6px;
  border-radius: 4px; color: var(--muted); transition: background var(--ease);
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: var(--soft); }
.lang__btn .icon { transition: transform var(--ease); }
.lang__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.lang__flag { display: block; width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; display: flex; flex-direction: column; gap: 2px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.lang__item { display: grid; place-items: center; width: 40px; height: 32px; border-radius: 4px; }
.lang__item:hover, .lang__item:focus-visible { background: var(--soft); }
.lang__item.is-current { background: var(--red-soft); }

/* Search: a panel that fades/slides down from under the header (absolute, so the
   page below doesn't jump). Closed = invisible + `inert` (set in header.php / main.js). */
.search-bar {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 32px -20px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s linear .28s;
}
.search-bar.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.search-bar__form { display: flex; align-items: center; gap: 12px; padding-block: 14px; color: var(--muted); }
.search-bar__form input {
  flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent;
  font-size: 18px; color: var(--text);
}

/* ─── Phone sidebar (☰) ─────────────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); animation: nh-fade .2s ease; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 86vw);
  display: flex; flex-direction: column; gap: 22px; padding: 12px 20px 28px;
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: -12px 0 40px rgba(0,0,0,.18); animation: nh-slide .25s ease;
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.drawer__top .icon-btn { margin-right: -8px; }
.drawer__nav .nav__list { display: block; padding: 0; } /* not the header strip's side padding */
.drawer__nav .nav__item { border-bottom: 1px solid var(--line); }
.drawer__nav .nav__link { display: flex; align-items: center; min-height: 52px; padding: 0; font-size: 17px; font-weight: 600; color: var(--text); }
.drawer__nav .nav__link::before, .drawer__nav .nav__link::after { content: none; }
.drawer__nav .nav__item.is-active > .nav__link { color: var(--red); }
.drawer__nav .nav__item--parent { display: grid; grid-template-columns: 1fr auto; }
.drawer__nav .nav__sub { grid-column: 1 / -1; display: none; padding: 0 0 8px 14px; }
.drawer__nav .nav__sub .nav__item { border: 0; }
.drawer__nav .nav__sub .nav__link { min-height: 42px; font-size: 15.5px; font-weight: 500; color: var(--muted); }
.drawer__nav .is-open > .nav__sub { display: block; }
.drawer__toggle { width: 48px; display: grid; place-items: center; color: var(--muted); transition: transform var(--ease); }
.drawer__nav .is-open > .drawer__toggle { transform: rotate(180deg); }
.drawer__langs { display: flex; }
.drawer__lang-list { display: flex; gap: 8px; }
.drawer__lang { display: grid; place-items: center; width: 52px; height: 40px; border: 1px solid var(--line); border-radius: 6px; }
.drawer__lang img { width: 24px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.drawer__lang.is-current { border-color: var(--red); background: var(--red-soft); }
.drawer__subscribe { width: 100%; min-height: 48px; }
.social--dark .social__link { width: 42px; height: 42px; background: var(--soft); color: var(--ink); }
.social--dark .social__link:hover { background: var(--red); color: var(--white); }
@keyframes nh-fade  { from { opacity: 0; } }
@keyframes nh-slide { from { transform: translateX(40px); opacity: 0; } }
@media (min-width: 1201px) { .drawer { display: none !important; } }

/* ─── Shared bits ────────────────────────────────────────────────────── */
.kicker {
  display: inline-block; margin-bottom: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
.kicker:hover { color: var(--red-dark); }
.time { display: block; font-size: 12px; color: var(--muted-2); }
.badge {
  display: inline-block; padding: 5px 9px; border-radius: 2px;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
a.badge:hover { color: var(--white); background: var(--red-dark); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); }
.meta--light { color: rgba(255,255,255,.82); }
.meta--light a:hover { color: var(--white); text-decoration: underline; }
.meta__dot { opacity: .6; }
.img-ph { display: block; width: 100%; height: 100%; min-height: 60px; background: linear-gradient(135deg, #2b2b2b, #151515); }
.empty { padding: 28px 0; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; font-size: 14px; color: var(--red); }
.link-more:hover { color: var(--red-dark); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.section-title { font-family: var(--serif); font-weight: 600; font-size: 28px; font-weight: 700; padding-bottom: 14px; }

.tabs { display: flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.latest, .section-head { min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab, .tabs a.tabs__tab {
  position: relative; flex: none; padding: 10px 10px 14px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab.is-active { color: var(--text); font-weight: 600; }
.tabs__tab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--red); }
.tabs__more { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 6px 4px; border-radius: 50%; color: var(--muted); }
.tabs__more:hover { background: var(--soft); color: var(--red); }

.grid { display: grid; gap: 32px 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Card */
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 14px; overflow: hidden; border-radius: 4px; background: var(--soft); }
.card__media img, .card__media .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.65); color: var(--white); }
.card__title { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.card__excerpt { margin-bottom: 8px; font-size: 14px; color: var(--muted); }

/* Row (thumb + text) */
.row { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; align-items: start; }
.row__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--soft); }
.row__thumb img, .row__thumb .img-ph { width: 100%; height: 100%; object-fit: cover; }
.row__title { font-family: var(--serif); font-weight: 600; font-size: 15.5px; line-height: 1.32; margin-bottom: 6px; }
.row .kicker { margin-bottom: 4px; }
.row--dark .row__thumb { border: 1px solid rgba(255,255,255,.12); }
.row--dark .row__title { color: var(--white); }
.row--dark .row__title a:hover { color: #ff6b73; }
.row--dark .time { color: #9a9a9a; }

/* Numbered boxes */
.rank { padding: 24px; background: var(--soft); border-radius: var(--radius); }
.rank__title { font-family: var(--serif); font-weight: 600; font-size: 21px; margin-bottom: 14px; }
.rank__item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid #e3e3e5; }
.rank__item:first-child { border-top: 0; }
.rank__num { font-weight: 700; line-height: 1.3; }
.rank--picks .rank__num { color: var(--red); font-size: 22px; font-weight: 800; line-height: 1; }
.rank--ranked .rank__num { font-size: 19px; color: var(--ink); font-family: var(--serif); font-weight: 600; }
.rank__link { display: block; font-size: 14px; font-weight: 500; line-height: 1.4; margin-bottom: 3px; }

/* Notices */
.notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }
.notice--ok { background: #EAF7EE; color: #17602D; }
.notice--error { background: var(--red-soft); color: var(--red-dark); }
.notice .icon { margin-top: 1px; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 4px; font-size: 14px; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--red); }
.pagination .prev .icon { transform: rotate(180deg); }
/* the category template has no bottom padding under its last block, so the pager sat flush on the footer */
.archive--category .pagination { margin-top: 0; margin-bottom: 60px; } /* the grid block above already ends with 64px of padding */
.pagination .dots { border: 0; }

/* Simple title band (tag/author/generic pages) */
.band { background: var(--ink); color: var(--white); padding-block: 56px 48px; }
.band__title { font-family: var(--serif); font-weight: 600; font-size: 44px; }
.band__text { max-width: 720px; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 16px; }

/* ─── Home ───────────────────────────────────────────────────────────── */
/* Top block: the photo fills the left part up to the side column; the side
   column sits on a heavily darkened, blurred copy of the same photo. Slides
   are stacked and cross-fade (main.js advances them every 3 s).
   --edge lines the text up with the page container on wide screens. */
.home-hero { position: relative; background: var(--ink); overflow: hidden; }
.home-hero__grid {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  --side-w: 440px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--side-w);
  /* fixed row height: the rotation must never make the block grow or shrink */
  grid-template-rows: clamp(560px, 34vw, 780px);
}
@supports (width: 1cqw) {
  /* cqw = the hero's own width, so the scrollbar doesn't shift the text off the logo line */
  .home-hero { container-type: inline-size; }
  .home-hero__grid { --edge: max(var(--gutter), calc((100cqw - var(--container)) / 2 + var(--gutter))); }
}
.hero-slides { grid-column: 1; grid-row: 1; position: relative; min-height: 0; overflow: hidden; }
.hero-card {
  position: absolute; inset: 0; display: flex; align-items: flex-end; color: var(--white);
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s;
}
.hero-card.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .7s ease; }
.hero-card__media { position: absolute; inset: 0; overflow: hidden; background: #0a0a0a; }
/* top-weighted crop: faces and headlines in news photos sit in the upper part */
.hero-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.1) 75%),
              linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 55%);
}
.hero-card__body { position: relative; z-index: 1; width: 100%; max-width: calc(760px + var(--edge)); padding: 56px 48px 72px var(--edge); }
.hero-card__title { margin: 16px 0 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-card__title a:hover { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-card__dek { max-width: 600px; margin-bottom: 16px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.9); }
.read-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 700; font-size: 15px; color: var(--white); }
.read-more:hover { color: var(--white); }
.read-more__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); transition: transform var(--ease), background var(--ease); }
.read-more:hover .read-more__icon { background: var(--red-dark); transform: translateX(3px); }

.hero-dots { position: absolute; left: var(--edge); bottom: 28px; z-index: 2; display: flex; gap: 8px; }
.hero-dots__btn { position: relative; display: block; width: 32px; height: 16px; }
.hero-dots__btn span { position: absolute; left: 0; right: 0; top: 7px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; transition: background var(--ease); }
.hero-dots__btn:hover span { background: rgba(255,255,255,.6); }
.hero-dots__btn span::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--red); }
.hero-dots__btn.is-active { width: 52px; }
.hero-dots__btn.is-active span::after { width: 100%; animation: nh-fill var(--nh-interval, 3s) linear both; }
.home-hero.is-paused .hero-dots__btn.is-active span::after { animation-play-state: paused; }
@keyframes nh-fill { from { width: 0; } to { width: 100%; } }

.hero-side {
  min-height: 0;
  grid-column: 2; grid-row: 1; position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  padding: 22px 44px; background: #0a0a0a; /* same inset left and right, and air above/below the stories */
}
.hero-side__bg { position: absolute; inset: -48px; z-index: -2; }
.hero-side__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(30px) saturate(115%); opacity: 0; transition: opacity .7s ease;
}
.hero-side__bg img.is-active { opacity: 1; }
.hero-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6,6,6,.8); }
/* the four stories share the column height equally, so there's no empty band above/below */
.hero-side__list { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* four equal slots (flex-basis 0), so a 3-line title never takes room from the others */
.hero-side__item { flex: 1 1 0; min-height: 0; display: flex; align-items: center; }
.hero-side .row { width: 100%; align-items: center; grid-template-columns: clamp(104px, 6.8vw, 136px) minmax(0, 1fr); gap: 16px; padding: 4px 0; } /* the equal slots do the spacing */
.hero-side .row__title {
  font-size: clamp(15.5px, 1vw, 18px); line-height: 1.1; padding-bottom: .12em; /* room for descenders under the clamp */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-side .kicker { font-size: 12px; }
.hero-side .time { font-size: 12.5px; }
.hero-side .row__thumb { border: 1px solid rgba(255,255,255,.18); border-radius: 6px; }
.hero-side__item.is-in { animation: nh-rise .5s ease both; }
@keyframes nh-rise { from { opacity: 0; transform: translateY(8px); } }

.home-latest { padding-block: 32px 30px; }
.home-latest__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.home-latest__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.home-latest .section-head { margin-bottom: 28px; }

/* Category block under Latest News: 1 large article + a list of 3 */
.section-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--red); }
.section-link:hover { color: var(--red-dark); }
.home-cat { padding-block: 8px 40px; }
.home-cat .section-head { margin-bottom: 20px; }
/* compact: a wide, short image (21:9) and a list whose rows share the image+text height */
.home-cat__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.home-cat .feature__media { aspect-ratio: 5 / 2; margin-bottom: 12px; }
.home-cat .feature__title { font-size: clamp(19px, 1.4vw, 23px); margin-bottom: 6px; }
.home-cat__list { display: flex; flex-direction: column; }
.home-cat__list .row { flex: 1 1 0; align-items: center; grid-template-columns: max(120px, calc((min(100vw, 1800px) - 610px) / 4)) minmax(0, 1fr); gap: 18px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.home-cat__list .row__thumb { aspect-ratio: 2 / 1; } /* same size and shape as the Latest News photos */
.home-cat__list .row:first-child { padding-top: 0; }
.home-cat__list .row:last-child { padding-bottom: 0; border-bottom: 0; }
.home-cat__list .row__title { font-size: clamp(16px, 1.1vw, 19px); line-height: 1.3; }
.home-latest .section-title { padding-bottom: 6px; }
.home-latest .tabs__tab { padding-bottom: 10px; font-size: 15px; color: var(--text); }
.home-latest .tabs__tab:hover { color: var(--red); }
.home-latest .tabs__tab.is-active { font-weight: 700; }
.home-latest .tabs__tab.is-active::after { left: 6px; right: 6px; bottom: 0; height: 4px; border-radius: 2px; }
.home-latest .card__media { aspect-ratio: 2 / 1; margin-bottom: 10px; }
.home-latest .card .kicker { margin-bottom: 4px; }
.home-latest .card__title { font-size: 16px; margin-bottom: 4px; }

/* Editor's Picks: no dividers, tighter */
.rank--picks { padding: 18px 20px; }
.rank--picks .rank__title { font-size: 21px; margin-bottom: 16px; }
.rank--picks .rank__item { grid-template-columns: 44px minmax(0, 1fr); align-items: center; padding: 7px 0; border-top: 0; }
.rank--picks .rank__link { font-size: 14px; line-height: 1.35; margin-bottom: 0; }

/* ─── Category ───────────────────────────────────────────────────────── */
.cat-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  min-height: 280px; display: flex; align-items: center;
}
.cat-hero__img { position: absolute; inset: 0 0 0 30%; }
.cat-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 25%, rgba(17,17,17,.85) 45%, rgba(17,17,17,.35) 75%, rgba(17,17,17,.2) 100%);
}
.cat-hero .container { position: relative; z-index: 1; padding-block: 56px; }
.cat-hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.cat-hero__text { max-width: 620px; margin-top: 14px; font-size: 17px; color: rgba(255,255,255,.82); }

.cat-tabs { border-bottom: 1px solid var(--line); background: var(--white); }
.cat-tabs .tabs { padding-top: 6px; }

.cat-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-block: 36px 8px; }
.feature__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--soft); margin-bottom: 18px; }
.feature__media img, .feature__media .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__media .badge { position: absolute; left: 16px; bottom: 16px; }
.feature__title { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.18; margin-bottom: 10px; }
.feature__excerpt { margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.cat-top__list { display: flex; flex-direction: column; gap: 22px; }
.cat-top__list .row { grid-template-columns: 132px minmax(0, 1fr); }
.cat-more { padding-block: 40px 64px; }
.cat-more .section-head { margin-top: 8px; }

/* ─── Single ─────────────────────────────────────────────────────────── */
.post-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); min-height: 540px; display: flex; }
.post-hero__media { position: absolute; inset: 0; }
.post-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.35) 100%);
}
.post-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 26px 40px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: rgba(255,255,255,.8); }
.crumbs li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumbs li + li::before { content: "›"; opacity: .7; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { max-width: 48ch; }
.crumbs [aria-current] span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* long titles end in … */
.post-hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.post-hero__text { max-width: 860px; }
.post-hero__title { margin: 16px 0 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.12; }
.post-hero__dek { max-width: 720px; margin-bottom: 18px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.88); }

.share { display: flex; gap: 10px; flex: none; }
.share__btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--ink); transition: background var(--ease), color var(--ease), transform var(--ease);
}
.share__btn:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.share__btn.is-done { background: #1f9d4c; color: var(--white); }

.post-body { display: grid; grid-template-columns: 260px minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-block: 44px 72px; }
.post-body.no-toc { grid-template-columns: minmax(0, 1fr) 360px; }
/* no Related column → don't leave an empty one */
.post-body.no-related { grid-template-columns: 260px minmax(0, 1fr); }
.post-body.no-toc.no-related { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc__title, .related__title { font-family: var(--serif); font-weight: 600; font-size: 19px; margin-bottom: 14px; }
.toc__list { counter-reset: toc; border-left: 1px solid var(--line); }
.toc__item a {
  display: grid; grid-template-columns: 22px 1fr; gap: 6px; margin-left: -1px; padding: 8px 0 8px 12px;
  border-left: 2px solid transparent; font-size: 13.5px; color: var(--muted);
}
.toc__item a::before { counter-increment: toc; content: counter(toc); font-weight: 600; }
.toc__item--3 a { padding-left: 26px; }
.toc__item a:hover, .toc__item a.is-active { color: var(--text); }
.toc__item a.is-active { border-left-color: var(--red); font-weight: 600; }
.toc__item a.is-active::before { color: var(--red); }

.post-content { min-width: 0; width: 100%; max-width: 1000px; justify-self: start; } /* starts on the title's left edge (or right after the TOC) */
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: 28px; overflow: hidden; border-radius: var(--radius); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags a { padding: 6px 12px; border-radius: 99px; background: var(--soft); font-size: 13px; font-weight: 500; }
.post-tags a:hover { background: var(--red); color: var(--white); }
.related { position: sticky; top: calc(var(--header-h) + 24px); }
.related .row { padding: 14px 0; border-top: 1px solid var(--line); grid-template-columns: 104px minmax(0, 1fr); }
.related .row:first-of-type { border-top: 0; padding-top: 0; }

/* Article typography */
.entry { font-size: 17px; line-height: 1.78; color: #2a2a2d; overflow-wrap: break-word; }
.entry--narrow { max-width: 800px; }
.entry > * + * { margin-top: 1.15em; }
.entry h2, .entry h3, .entry h4 { font-family: var(--serif); font-weight: 600; color: var(--text); margin-top: 1.8em; }
.entry h2 { font-size: 28px; }
.entry h3 { font-size: 22px; }
.entry a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .4em; }
.entry blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red);
  font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.5; color: var(--text);
}
.entry img, .entry figure { border-radius: 4px; }
.entry figure { margin-inline: 0; }
.entry figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.entry iframe { width: 100%; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { padding: 10px; border: 1px solid var(--line); text-align: left; }

/* ─── Contact / Denonco pages ────────────────────────────────────────── */
.page-hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; opacity: .35; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; z-index: 1; padding-block: 56px 52px; }
.page-hero__inner { padding-left: 24px; border-left: 4px solid var(--red); }
.eyebrow { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.page-hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; }
.page-hero__text { max-width: 680px; margin-top: 14px; font-size: 16.5px; color: rgba(255,255,255,.82); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; padding-block: 44px 72px; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.form-card__title, .info-card__title { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #DADADA; border-radius: 4px; background: var(--white);
  font-size: 15px; transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,14,26,.12); }
.field input[type="file"] { padding: 10px; min-height: 0; font-size: 14px; }
.field__hint { font-size: 12.5px; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.form-actions { grid-column: 1 / -1; margin-top: 4px; }
.form-actions .btn { min-height: 50px; padding-inline: 28px; font-size: 15px; }

.info-card { padding: 28px; border-radius: 8px; background: var(--soft); }
.info-list { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-item__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--red-soft); color: var(--red); }
.info-item__label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.info-item__value { font-size: 14px; color: var(--muted); white-space: pre-line; }
.info-item__value a:hover { color: var(--red); }
.info-card__follow { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e2e2e4; }
.info-card__follow h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 14px; }
.info-card ul.plain { list-style: disc; padding-left: 1.2em; color: var(--muted); font-size: 14px; }
.info-card ul.plain li + li { margin-top: 6px; }
.info-card + .info-card { margin-top: 20px; }
.info-card p { color: var(--muted); font-size: 14px; }

/* ─── Search / 404 ───────────────────────────────────────────────────── */
.search-list { display: flex; flex-direction: column; gap: 26px; max-width: 900px; }
.search-list .row { grid-template-columns: 200px minmax(0, 1fr); gap: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.search-list .row__title { font-size: 21px; }
.search-list .card__excerpt { margin-top: 4px; }
.big-search { display: flex; max-width: 620px; margin-top: 22px; }
.big-search input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 0; border-radius: 4px 0 0 4px; font-size: 16px; color: var(--text); }
.big-search button { border-radius: 0 4px 4px 0; min-height: 50px; }
.error-404 { padding-block: 96px; text-align: center; }
.error-404__code { font-family: var(--serif); font-weight: 600; font-size: 120px; font-weight: 800; line-height: 1; color: var(--red); }
.error-404 h1 { margin: 16px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 32px; }
.error-404 p { color: var(--muted); margin-bottom: 26px; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #B5B5B5; font-size: 13px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.6fr; gap: 28px; padding-block: 24px 16px; }
.site-footer .logo { font-size: 22px; }
.site-footer__tagline { max-width: 300px; margin: 8px 0 12px; line-height: 1.45; }
.site-footer__title { margin-bottom: 8px; font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--white); }
.site-footer__links { line-height: 1.35; }
.site-footer__links li + li { margin-top: 3px; }
.site-footer__links a:hover, .site-footer__legal a:hover { color: var(--white); }
.site-footer__text { margin-bottom: 8px; }
.newsletter { display: flex; }
.newsletter input {
  flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #333; border-right: 0; border-radius: 4px 0 0 4px;
  background: #1D1D1D; color: var(--white); outline: 0;
}
.newsletter input::placeholder { color: #8a8a8a; }
.newsletter input:focus { border-color: var(--red); }
.newsletter__btn { display: grid; place-items: center; width: 42px; height: 38px; border-radius: 0 4px 4px 0; background: var(--red); color: var(--white); }
.newsletter__btn:hover { background: var(--red-dark); }
.site-footer .notice { font-size: 13px; }
.site-footer__bottom { border-top: 1px solid #262626; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 8px; font-size: 12.5px; }
.site-footer__legal-list { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.social { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .social { gap: 8px; }
.site-footer .social__link { width: 30px; height: 30px; }
.site-footer .social__link svg { width: 15px; height: 15px; }
.social__link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #222; color: var(--white); transition: background var(--ease), transform var(--ease); }
.social__link:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.social--brand .social__link { width: 44px; height: 44px; color: var(--white); }
.social--brand .social__link--facebook { background: #1877F2; }
.social--brand .social__link--x { background: #000; }
.social--brand .social__link--instagram { background: radial-gradient(circle at 30% 110%, #FDC468 0%, #F77737 25%, #E1306C 55%, #C13584 75%, #833AB4 100%); }
.social--brand .social__link--youtube { background: #FF0000; }
.social--brand .social__link--tiktok { background: #111; }
.social--brand .social__link--linkedin { background: #0A66C2; }
.social--brand .social__link:hover { filter: brightness(1.15); }

/* ─── Wide screens (> 1800px) ───────────────────────────────────────── */
.home-hero, .cat-hero, .post-hero, .page-hero, .band, .site-footer { width: 100%; max-width: var(--container); margin-inline: auto; }
/* width:100% matters for the footer: it's a flex item of .site, and auto margins would otherwise shrink it to its content */
.cat-tabs .container { max-width: var(--container); }
@media (min-width: 1801px) {
  .home-hero, .cat-hero, .post-hero, .page-hero, .band { margin-top: 20px; border-radius: 16px; }
  .site-footer { margin-top: 24px; border-radius: 16px 16px 0 0; overflow: hidden; }
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .nav__link { font-size: 14.5px; }
  .post-body { grid-template-columns: 200px minmax(0, 1fr) 290px; gap: 36px; }
}

/* Tablet & phone (≤1200px): the header stays one row (logo · search · ☰) and
   the menu, languages and Subscribe move into the sidebar drawer — the same
   pattern as phones. A wrapped/scrolling second row under the logo (the old
   behaviour here) felt cramped and wasn't obviously tappable as a menu. */
@media (max-width: 1200px) {
  .site-header .nav, .site-header .lang, .site-header__actions { display: none; }
  .site-header__search { order: 4; margin-left: auto; width: 44px; height: 44px; }
  .site-header__menu { order: 5; display: inline-grid; width: 44px; height: 44px; margin-right: -10px; }
}

/* The same two-row header at any width when the menu is too long for one row
   (main.js adds .is-compact after measuring) — so an extra menu item added in
   the admin never makes the menu run into the flag. Stays sticky on desktop. */
.site-header.is-compact { background: var(--white) linear-gradient(var(--line), var(--line)) no-repeat 0 var(--header-h) / 100% 1px; }
.site-header.is-compact .site-header__bar { flex-wrap: wrap; height: auto; column-gap: 12px; row-gap: 0; }
.site-header.is-compact .site-header__bar > .logo,
.site-header.is-compact .site-header__actions { height: var(--header-h); display: flex; align-items: center; }
.site-header.is-compact .lang { order: 1; }
.site-header.is-compact .site-header__actions { order: 2; margin-left: auto; }
.site-header.is-compact .nav { order: 3; flex: 1 0 calc(100% - 46px); margin-left: calc(-1 * var(--gutter)); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.site-header.is-compact .nav::-webkit-scrollbar { display: none; }
.site-header.is-compact .nav__list { padding-inline: calc(var(--gutter) - 8px); }
.site-header.is-compact .nav__link { height: 46px; }
.site-header.is-compact .nav .nav__sub,
.site-header.is-compact .nav__item--parent > .nav__link::before { display: none; }
.site-header.is-compact .site-header__search { order: 4; margin-left: 0; width: 46px; height: 46px; }

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(420px, 62vw, 560px) auto; min-height: 0; }
  .hero-side .row__title { min-height: calc(3 * 1.1em + .12em); } /* same height for 1-, 2- and 3-line titles */
  .hero-card__body { max-width: 760px; padding: 40px var(--gutter) 64px; }
  .hero-dots { bottom: 22px; }
  .hero-side { grid-column: 1; grid-row: 2; padding: 8px var(--gutter) 20px; }
  .hero-side__item { display: block; }
  .hero-side__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .home-latest__grid { grid-template-columns: minmax(0, 1fr); }
  .home-cat__grid { gap: 28px; }
  .home-cat .feature__media { aspect-ratio: 3 / 2; } /* narrower columns → a taller image so it doesn't shrink to a strip */
  .home-latest__aside { position: static; }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cat-top__aside { grid-column: 1 / -1; }
  .post-body, .post-body.no-toc, .post-body.no-related { grid-template-columns: minmax(0, 1fr); }
  .toc, .related { position: static; }
  .toc { padding: 20px; background: var(--soft); border-radius: var(--radius); }
  .post-content { max-width: none; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand, .site-footer__col--news { grid-column: span 3; }
  .site-footer__col--news { max-width: 520px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .site { min-height: calc(100vh - 46px); }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 64px; }
  .logo { font-size: 23px; }
  .site-header__bar { column-gap: 12px; }
  .home-hero__grid { grid-template-rows: 440px auto; }
  .hero-card__dek { display: none; }
  .hero-side__list { grid-template-columns: minmax(0, 1fr); }
  .section-title { font-size: 24px; }
  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .card__title { font-size: 15.5px; }
  .cat-top { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .home-cat { padding-bottom: 36px; }
  .home-cat__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-cat .feature__media { aspect-ratio: 2 / 1; }
  .home-cat__list .row { flex: none; }
  .home-cat__list .row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .home-cat__list .row__title { font-size: 15.5px; }
  .cat-top__list .row { grid-template-columns: 112px minmax(0, 1fr); }
  .feature__title { font-size: 24px; }
  .post-hero { min-height: 0; }
  .post-hero__inner { gap: 28px; padding-block: 20px 28px; }
  .post-hero__bottom { flex-direction: column; align-items: flex-start; }
  .share { gap: 8px; }
  .share__btn { width: 34px; height: 34px; }
  .share__btn svg { width: 15px; height: 15px; }
  .crumbs [aria-current] { display: none; }
  .crumbs li:nth-last-child(2)::after { content: none; }
  .entry { font-size: 16.5px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .search-list .row { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .search-list .row__title { font-size: 17px; }
  .search-list .card__excerpt { display: none; }
  .band { padding-block: 40px 34px; }
  .band__title { font-size: 34px; }
  /* Minimal footer: logo + tagline + socials up top, the three link groups as
     tidy titled columns (headings kept — the earlier one-row-of-links version
     dropped them, but with 3 equal columns nothing wraps), then the email
     field and a small copyright line. */
  .site-footer { font-size: 14px; }
  .site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 22px 16px; padding-block: 26px 18px; }
  .site-footer__brand { grid-column: 1 / -1; margin-bottom: 4px; }
  .site-footer .logo { font-size: 22px; }
  .site-footer__tagline { max-width: none; margin: 8px 0 14px; }
  .site-footer .social { gap: 8px; }
  .site-footer .social__link { width: 34px; height: 34px; }
  .site-footer .social__link svg { width: 15px; height: 15px; }
  .site-footer__title { font-size: 13px; margin-bottom: 6px; }
  .site-footer__links li + li { margin-top: 0; }
  .site-footer__links a { display: inline-block; padding: 5px 0; color: #C9C9C9; }
  .site-footer__col--news { grid-column: 1 / -1; margin-top: 4px; }
  .site-footer__col--news .site-footer__title { margin-bottom: 8px; font-size: 14px; }
  .newsletter input { height: 44px; font-size: 16px; }
  .newsletter__btn { width: 48px; height: 44px; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 12px 16px; font-size: 12px; color: #8C8C8C; }
  .site-footer__legal-list { gap: 0 16px; }
  .site-footer__legal a { display: inline-block; padding: 5px 0; }
}

@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

@media (max-width: 420px) {
  .grid--4, .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.page-figure { margin: 0 0 32px; }
