/* חדשות 360 — theme "hadshot360". Light magazine, burgundy accents, RTL. */

@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Assistant";
  src: url("../fonts/assistant-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #faf9f6;
  --surface: #fff;
  --ink: #202124;
  --muted: #62605f;
  --brand: #821d32;
  --brand-dark: #481723;
  --accent: #c43b44;
  --brand-tint: #f4ebed;
  --line: #dedad4;
  --quiet: #f0ede8;
  --font-heading: "Heebo", "Arial Hebrew", Arial, sans-serif;
  --font-body: "Assistant", "Arial Hebrew", Arial, sans-serif;
  --container: 1280px;
  --gutter: 24px;
  --section-gap: 56px;
  --radius: 4px;
  --radius-control: 6px;
  --t-h1: 3.25rem;      /* 52 */
  --t-page: 3rem;       /* 48 */
  --t-section: 2rem;    /* 32 */
  --t-card: 1.5rem;     /* 24 */
  --t-excerpt: 1.3125rem; /* 21 */
  --t-body: 1.3125rem;  /* 21 */
  --t-meta: .9375rem;   /* 15 */
  --header-h: 0px;
}
@media (max-width: 767px) {
  :root {
    --t-h1: 2.125rem; --t-page: 2.125rem; --t-section: 1.625rem; --t-card: 1.375rem;
    --t-excerpt: 1.1875rem; --t-body: 1.1875rem; --t-meta: .875rem; --section-gap: 40px;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { direction: rtl; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  border-top: 5px solid var(--brand);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: var(--radius-control);
  font-family: var(--font-heading); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--ink); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
@media (max-width: 767px) { .container { width: calc(100% - 32px); } }

.icon { width: 24px; height: 24px; flex: none; vertical-align: middle; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; margin-top: -2px; }

/* ---------- buttons, chips, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: var(--radius-control);
  border: 2px solid var(--brand); background: var(--brand); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--lg { min-height: 52px; padding-inline: 40px; font-size: 1.1875rem; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand-tint); }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--light:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--brand); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"]::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px;
  border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); background: var(--surface);
  font-family: var(--font-heading); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.chip:hover { background: var(--brand-tint); }

.kicker {
  color: var(--brand); font-family: var(--font-heading); font-weight: 700; font-size: var(--t-meta);
  text-decoration: none; position: relative; z-index: 1;
}
.kicker:hover { text-decoration: underline; }
.kicker-chip {
  display: inline-block; margin-bottom: 12px; color: var(--brand);
  font-family: var(--font-heading); font-weight: 700; font-size: .9375rem;
}
.kicker-chip--solid { background: var(--brand); color: #fff; padding: 4px 12px; border-radius: var(--radius); }
.sponsored-label {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius);
  background: var(--quiet); color: var(--ink); border: 1px solid var(--line);
  font-family: var(--font-heading); font-size: .8125rem; font-weight: 600; position: relative; z-index: 1;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; }
.field__req, .field__opt { font-weight: 400; color: var(--muted); font-size: .875rem; }
.field__input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9b4ad;
  border-radius: var(--radius-control); background: var(--surface); font-size: 1.0625rem;
}
.field__input:focus-visible { outline: 3px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field__input[aria-invalid="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.field__textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.field__error { color: #a3252f; font-weight: 600; font-size: .9375rem; }
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select-wrap__icon { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

/* ---------- header ---------- */
.utility { border-bottom: 1px solid var(--line); font-size: .875rem; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility__tagline { font-family: var(--font-heading); font-weight: 600; }
.utility__date { color: var(--muted); margin-inline-start: auto; }
.utility__tagline + .utility__date { margin-inline-start: 0; }

.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: inline-block; flex: none; }
.brand__logo { width: 240px; height: auto; }
.masthead__tools { display: flex; align-items: center; gap: 8px; }
.tool-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 16px;
  border-inline-start: 2px solid var(--brand); justify-content: center;
  font-family: var(--font-heading); font-weight: 600; text-decoration: none;
}
.tool-link:hover { color: var(--brand); }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface);
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.site-nav { border-top: 1px solid var(--line); background: var(--surface); }
.site-nav__list { list-style: none; display: flex; justify-content: space-between; gap: 8px; }
.site-nav__list a {
  display: flex; align-items: center; min-height: 54px; padding: 0 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; text-decoration: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.site-nav__list a:hover { color: var(--brand); }
.site-nav__list a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 800; }

.topics { border-top: 1px solid var(--line); background: var(--surface); }
.topics__inner { display: flex; align-items: center; gap: 16px; min-height: 52px; overflow-x: auto; scrollbar-width: thin; }
.topics__label {
  flex: none; background: var(--brand); color: #fff; padding: 4px 12px; border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; font-size: .9375rem;
}
.topics__list { list-style: none; display: flex; gap: 0; }
.topics__list li { flex: none; }
.topics__list li + li { border-inline-start: 2px solid var(--brand); }
.topics__list a { display: flex; align-items: center; min-height: 44px; padding: 0 20px; text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.topics__list a:hover { color: var(--brand); text-decoration: underline; }

@media (max-width: 767px) {
  .masthead__inner { padding-block: 12px; }
  .brand__logo { width: 168px; }
  .tool-link { border: 0; padding: 0; width: 48px; }
  .tool-link__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; box-shadow: 0 12px 24px rgba(32, 33, 36, .12); border-bottom: 1px solid var(--line); }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; padding-block: 8px; }
  .site-nav__list li + li { border-top: 1px solid var(--line); }
  .site-nav__list a { min-height: 52px; border-bottom: 0; border-inline-start: 4px solid transparent; padding-inline: 12px; }
  .site-nav__list a[aria-current] { border-inline-start-color: var(--brand); background: var(--brand-tint); }
  .utility__tagline { display: none; }
  .utility__date { margin-inline-start: 0; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .site-nav__list { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; gap: 16px; }
  .site-nav__list a { margin-bottom: 0; }
  .site-nav__list a { white-space: nowrap; }
}

/* ---------- shared blocks ---------- */
.block { margin-top: var(--section-gap); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.section-title { font-size: var(--t-section); font-weight: 800; line-height: 1.25; }
.section-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--brand); font-family: var(--font-heading); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }

.breadcrumbs { padding-top: 20px; font-size: .9375rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); margin-inline: 8px; }
.breadcrumbs a { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.page-header { padding: 8px 0 24px; border-bottom: 2px solid var(--brand); margin-bottom: 32px; }
.page-title { font-size: var(--t-page); font-weight: 800; line-height: 1.2; }
.page-title--marked::after { content: ""; display: block; width: 72px; height: 5px; background: var(--brand); margin-top: 12px; }
.page-intro { margin-top: 12px; font-size: var(--t-excerpt); color: var(--muted); max-width: 52ch; }
.page-updated { margin-top: 10px; color: var(--muted); font-size: var(--t-meta); }
.results-count { color: var(--muted); font-size: var(--t-meta); min-height: 1.4em; margin-top: 8px; }

.empty-state { padding: 40px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.empty-state__title { font-size: 1.625rem; font-weight: 700; }
.empty-state p { color: var(--muted); max-width: 60ch; }

/* stretched link: whole card clickable through its title link, no nested links */
.card, .row, .lead-story, .most-read__item, .topic-card { position: relative; }
.stretched { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.stretched:hover { color: var(--brand); }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 3px solid var(--brand); outline-offset: 4px; }
.meta a { position: relative; z-index: 1; }

/* media */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--quiet); }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--empty { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--quiet), var(--brand-tint)); }
.media--empty span { font-family: var(--font-heading); font-weight: 800; color: var(--brand); font-size: 1.25rem; padding: 8px; text-align: center; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--muted); font-size: var(--t-meta); margin-top: 12px; }
.meta__sep { display: inline-block; width: 1px; height: 14px; background: var(--line); margin-inline: 10px; }
.meta__cat { color: var(--brand); font-weight: 700; text-decoration: none; }
.meta__author { text-decoration: none; font-weight: 600; color: var(--ink); }
.meta a:hover { text-decoration: underline; }

/* card */
.card { display: flex; flex-direction: column; gap: 14px; }
.card__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.card__title { font-size: var(--t-card); font-weight: 700; line-height: 1.3; }
.card__excerpt { margin-top: 8px; color: #3f3e3d; font-size: 1.0625rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--side .card__title { font-size: 1.375rem; }
.card--side .card__excerpt { -webkit-line-clamp: 2; }

.card-grid { display: grid; gap: 40px var(--gutter); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--2 .card__title { font-size: 1.625rem; }
@media (max-width: 1199px) { .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; gap: 32px; } }

/* row */
.row-list > .row { padding-block: 24px; border-bottom: 1px solid var(--line); }
.row-list > .row:first-child { padding-top: 0; }
.row { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 24px; align-items: start; }
.row--media-end { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); }
.row--media-end .media { order: 2; }
.row__title { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.row__excerpt { margin-top: 8px; color: #3f3e3d; font-size: 1.0625rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row--featured { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.row--featured .row__title { font-size: 2rem; font-weight: 800; line-height: 1.2; }
.row--featured .row__excerpt { font-size: 1.1875rem; -webkit-line-clamp: 3; }
@media (max-width: 767px) {
  .row, .row--media-end { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .row--media-end .media { order: 0; }
  .row__title { font-size: 1.125rem; }
  .row__excerpt { display: none; }
  .row .meta { font-size: .8125rem; margin-top: 6px; }
  .row .card__kicker { margin-bottom: 2px; }
  .row--featured { grid-template-columns: 1fr; }
  .row--featured .row__title { font-size: 1.5rem; }
  .row--featured .row__excerpt { display: -webkit-box; }
}

/* lead story + side */
.home-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-top: 32px; }
.lead-story { grid-column: span 8; display: flex; flex-direction: column; gap: 20px; }
.lead-story__title { font-size: var(--t-h1); font-weight: 800; line-height: 1.14; }
.lead-story__excerpt { margin-top: 14px; font-size: var(--t-excerpt); line-height: 1.55; color: #3f3e3d; max-width: 62ch; }
.home-top__side { grid-column: span 4; display: flex; flex-direction: column; gap: 32px; padding-inline-start: var(--gutter); border-inline-start: 1px solid var(--line); }
.home-top--category { margin-top: 0; }
.home-top--category .lead-story__title { font-size: 2.5rem; }
@media (max-width: 1199px) {
  .lead-story, .home-top__side { grid-column: 1 / -1; }
  .home-top__side { flex-direction: row; padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .home-top__side > * { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 767px) {
  .home-top { margin-top: 16px; }
  .home-top__side { flex-direction: column; }
  .home-top--category .lead-story__title { font-size: 1.875rem; }
}

/* warm band */
.band {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center;
  margin-top: var(--section-gap); background: var(--quiet); border-radius: var(--radius); padding: 40px;
}
.band__text { grid-column: span 6; display: flex; flex-direction: column; gap: 16px; }
.band__media { grid-column: span 6; }
.band__title { font-size: 3rem; font-weight: 800; line-height: 1.1; }
.band__title a { color: var(--brand); text-decoration: none; }
.band__title a:hover { text-decoration: underline; }
.band__desc { font-size: var(--t-excerpt); color: #3f3e3d; }
.band__links { list-style: none; border-top: 1px solid var(--line); }
.band__links li { border-bottom: 1px solid var(--line); }
.band__links a { display: flex; gap: 12px; align-items: center; min-height: 52px; padding-block: 10px; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; }
.band__links a .icon { color: var(--brand); }
.band__links a:hover { color: var(--brand); }
@media (max-width: 1199px) { .band__text, .band__media { grid-column: 1 / -1; } .band__media { order: -1; } .band__title { font-size: 2.25rem; } }
@media (max-width: 767px) { .band { padding: 20px 16px; margin-inline: -16px; border-radius: 0; } .band__title { font-size: 2rem; } }

/* split 8/4 */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.split__main { grid-column: span 8; }
.split__aside { grid-column: span 4; padding-inline-start: var(--gutter); border-inline-start: 1px solid var(--line); }
.split__main:only-child { grid-column: 1 / -1; }
@media (max-width: 1199px) { .split__main, .split__aside { grid-column: 1 / -1; padding-inline-start: 0; border-inline-start: 0; } }

/* most read */
.most-read__title { font-size: var(--t-section); font-weight: 800; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.most-read__list { list-style: none; }
.most-read__item { display: flex; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.most-read__item:last-child { border-bottom: 0; }
.most-read__rank { flex: none; font-family: var(--font-heading); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--brand); min-width: 2.2ch; }
.most-read__heading { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; }
.most-read__excerpt { margin-top: 6px; font-size: .9375rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.quiet-band { margin-top: var(--section-gap); background: var(--quiet); border-radius: var(--radius); padding: 32px 40px; }
.most-read--band { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.most-read--band .most-read__title { color: var(--brand); border: 0; font-size: 2.25rem; line-height: 1.15; padding-inline-end: 24px; border-inline-end: 2px solid var(--brand); padding-bottom: 0; }
.most-read--band .most-read__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.most-read--band .most-read__item { border: 0; padding: 0; flex-direction: column; gap: 6px; }
.most-read--band .most-read__item + .most-read__item { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
@media (max-width: 1199px) {
  .most-read--band { grid-template-columns: 1fr; gap: 16px; }
  .most-read--band .most-read__title { border: 0; padding: 0; font-size: 1.75rem; }
}
@media (max-width: 767px) {
  .quiet-band { padding: 24px 16px; margin-inline: -16px; border-radius: 0; }
  .most-read--band .most-read__list { grid-template-columns: 1fr; gap: 0; }
  .most-read--band .most-read__item { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .most-read--band .most-read__item + .most-read__item { border-inline-start: 0; padding-inline-start: 0; }
}

/* pagination */
.pagination { margin-top: 40px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pagination a, .pagination .is-disabled {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px;
  border-radius: var(--radius-control); text-decoration: none; font-family: var(--font-heading); font-weight: 700;
}
.pagination a:hover { background: var(--brand-tint); color: var(--brand); }
.pagination a.is-current { background: var(--brand); color: #fff; }
.pagination .is-disabled { color: #a9a5a0; }
.pagination__step a { color: var(--brand); }
.pagination__gap { min-width: 24px; text-align: center; color: var(--muted); }

/* sidebar layouts */
.layout-sidebar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-top: 24px; }
.layout-sidebar__main { grid-column: span 8; }
.layout-sidebar__aside { grid-column: 10 / span 3; }
@media (max-width: 1199px) { .layout-sidebar__main, .layout-sidebar__aside { grid-column: 1 / -1; } .layout-sidebar__aside { margin-top: 24px; } }
.layout-reading { max-width: 860px; }

.topic-nav { background: var(--quiet); border-radius: var(--radius); padding: 24px; position: sticky; top: 16px; }
.topic-nav__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.topic-nav ul { list-style: none; }
.topic-nav li + li { border-top: 1px solid var(--line); }
.topic-nav a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; text-decoration: none; font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; }
.topic-nav a:hover { color: var(--brand); }

/* filter bar */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-bar__cats { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.filter-bar__cats ul { list-style: none; display: flex; gap: 8px; padding: 4px 2px; }
.filter-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-control);
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; white-space: nowrap;
  font-family: var(--font-heading); font-weight: 600;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.sort-form { display: flex; align-items: center; gap: 10px; flex: none; }
.sort-form label { font-family: var(--font-heading); font-weight: 600; color: var(--muted); }
.sort-form select { min-width: 180px; }
.js .sort-form__submit { display: none; }
@media (max-width: 767px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar__cats { margin-inline: -16px; padding-inline: 16px; }
  .sort-form select { min-width: 0; }
  .sort-form .select-wrap { flex: 1; }
}

/* search */
.search-form { max-width: 860px; }
.search-form__label { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; margin-bottom: 10px; }
.search-form__row { display: flex; gap: 12px; }
.search-form__field { position: relative; flex: 1; min-width: 0; }
.search-form__icon { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-form__input { min-height: 60px; font-size: 1.25rem; padding-inline: 52px 52px; border-width: 2px; border-color: var(--ink); }
.search-form__input::-webkit-search-cancel-button { display: none; }
.search-form__clear {
  position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius-control); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.search-form__clear:hover { background: var(--quiet); color: var(--ink); }
.search-form__submit { min-height: 60px; padding-inline: 36px; font-size: 1.1875rem; }
.search-form--compact { margin-top: 8px; }
.search-status { margin-top: 20px; font-size: 1.0625rem; color: var(--ink); }
.search-status .kicker-chip { margin: 0 0 0 8px; }
.chip-nav { margin-block: 24px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.chip-nav__title { font-size: 1.0625rem; font-weight: 700; }
.chip-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) {
  .search-form__row { flex-direction: column; }
  .search-form__input, .search-form__submit { min-height: 52px; }
}

/* ---------- article ---------- */
.preview-bar { background: #fff3cd; color: #4a3b00; border-bottom: 2px solid #c9a227; padding-block: 10px; position: sticky; top: 0; z-index: 30; }
.article__header { max-width: none; padding-top: 16px; }
.article__title { font-size: var(--t-h1); font-weight: 800; line-height: 1.14; margin-top: 4px; }
.article__lead { margin-top: 16px; font-size: 1.5rem; line-height: 1.5; color: var(--muted); }
.article__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 24px; padding-block: 12px; border-block: 1px solid var(--line); }
.byline { display: flex; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: var(--t-meta); gap: 4px 0; }
.byline__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-inline-end: 10px; }
.byline__author { color: var(--ink); font-weight: 700; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.byline__author:hover { color: var(--brand); text-decoration: underline; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share__label { font-family: var(--font-heading); font-weight: 700; font-size: .9375rem; margin-inline-end: 6px; }
.share__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface);
  font-family: var(--font-heading); font-weight: 600; font-size: .875rem; text-decoration: none;
}
.share__btn:hover { border-color: var(--brand); color: var(--brand); }
.share__btn.is-done { border-color: #2e7d4f; color: #1f5e39; }
.share__status { font-size: .875rem; color: var(--muted); }

.article__hero { margin: 32px 0 0; }
.article__hero .media { border-radius: var(--radius); }
.article__hero figcaption, .article-prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(280px, 320px); justify-content: space-between; gap: 72px; margin-top: 40px; }
.article-layout__aside { display: flex; flex-direction: column; gap: 40px; border-inline-start: 1px solid var(--line); padding-inline-start: 32px; }
.article-layout__aside .most-read__title { font-size: 1.625rem; }
@media (max-width: 1199px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-layout__main { max-width: 760px; }
  .article-layout__aside { border: 0; padding: 0; }
  .article-layout__aside .toc--aside { display: none; }
}
@media (min-width: 1200px) { .toc--details { display: none; } }

.toc--aside { position: sticky; top: 24px; }
.toc__title { font-size: 1.25rem; font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.toc__list { list-style: none; }
.toc__item { border-bottom: 1px solid var(--line); }
.toc__item a { display: block; padding: 10px 12px; min-height: 44px; text-decoration: none; border-inline-start: 3px solid transparent; font-size: 1.0625rem; line-height: 1.4; }
.toc__item--h3 a { padding-inline-start: 28px; font-size: .9375rem; color: var(--muted); }
.toc__item a:hover { color: var(--brand); }
.toc__item a[aria-current] { color: var(--brand); border-inline-start-color: var(--brand); font-weight: 700; }
.toc--details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 24px; }
.toc--details summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px; cursor: pointer;
  font-family: var(--font-heading); font-weight: 700; list-style: none;
}
.toc--details summary::-webkit-details-marker { display: none; }
.toc--details[open] summary .icon { transform: rotate(180deg); }
.toc--details .toc__list { padding: 0 8px 8px; }

/* prose — also styles imported WordPress HTML */
.article-prose { max-width: 740px; font-size: var(--t-body); line-height: 1.8; overflow-wrap: break-word; }
.article-prose > * + * { margin-top: 1.1em; }
.article-prose p, .article-prose li { text-wrap: pretty; }
.article-prose strong, .article-prose b { font-weight: 700; }
.article-prose p > strong:only-child { font-weight: 600; }
.article-prose a { color: var(--brand); text-decoration: underline; }
.article-prose a:hover { color: var(--brand-dark); }
.article-prose h2 { font-size: 2rem; font-weight: 800; line-height: 1.25; color: var(--brand); margin-top: 1.6em; scroll-margin-top: 24px; }
.article-prose h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin-top: 1.4em; scroll-margin-top: 24px; }
.article-prose h4 { font-size: 1.25rem; font-weight: 700; margin-top: 1.2em; }
.article-prose h2 strong, .article-prose h3 strong { font-weight: inherit; }
.article-prose ul, .article-prose ol { padding-inline-start: 1.4em; }
.article-prose li + li { margin-top: .4em; }
.article-prose li > ul, .article-prose li > ol { margin-top: .4em; }
.article-prose li::marker { color: var(--brand); }
.article-prose li br:last-child { display: none; }
.article-prose figure { margin-inline: 0; }
.article-prose img { border-radius: var(--radius); height: auto; }
.article-prose figure img { width: 100%; }
.article-prose .aligncenter { margin-inline: auto; text-align: center; }
.article-prose .alignleft { float: left; margin: .3em 1.2em 1em 0; max-width: 45%; }
.article-prose .alignright { float: right; margin: .3em 0 1em 1.2em; max-width: 45%; }
.article-prose::after { content: ""; display: table; clear: both; }
.article-prose blockquote, .article-prose .wp-block-quote, .article-prose .wp-block-pullquote {
  margin-inline: 0; padding: 4px 24px; border-inline-start: 5px solid var(--brand);
  font-family: var(--font-heading); font-size: 1.625rem; font-weight: 700; line-height: 1.4; font-style: italic;
}
.article-prose blockquote p + p { margin-top: .5em; }
.article-prose blockquote cite { display: block; margin-top: 10px; font-size: 1rem; font-style: normal; font-weight: 400; color: var(--muted); }
.article-prose hr, .article-prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.article-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.article-prose figure.wp-block-table { overflow-x: auto; }
.article-prose figure.wp-block-table table { display: table; }
.article-prose th, .article-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.article-prose th, .article-prose thead td { background: var(--quiet); font-family: var(--font-heading); font-weight: 700; }
.article-prose tbody tr:nth-child(even) { background: rgba(240, 237, 232, .5); }
.article-prose iframe, .article-prose video, .article-prose embed, .article-prose object { max-width: 100%; border: 0; }
.article-prose iframe[src*="youtube"], .article-prose iframe[src*="vimeo"], .article-prose .wp-block-embed iframe, .article-prose video {
  width: 100%; height: auto; aspect-ratio: 16 / 9;
}
.article-prose .wp-block-embed__wrapper { position: relative; }
.article-prose pre { overflow-x: auto; background: var(--quiet); padding: 16px; border-radius: var(--radius); font-size: .9375rem; direction: ltr; text-align: left; }
.article-prose code { font-size: .9em; background: var(--quiet); padding: 1px 5px; border-radius: 3px; }
.article-prose .wp-block-button__link, .article-prose .wp-element-button {
  display: inline-flex; min-height: 48px; align-items: center; padding: 10px 24px; background: var(--brand); color: #fff; border-radius: var(--radius-control); text-decoration: none; font-family: var(--font-heading); font-weight: 700;
}
.article-prose .has-text-align-center { text-align: center; }
.article-prose .has-text-align-left { text-align: left; }
.article-prose .wp-block-gallery, .article-prose .blocks-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.article-prose .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 767px) {
  .article-prose { line-height: 1.75; }
  .article-prose h2 { font-size: 1.625rem; }
  .article-prose h3 { font-size: 1.3125rem; }
  .article-prose blockquote { font-size: 1.3125rem; padding-inline: 16px; }
  .article-prose .alignleft, .article-prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
  .article__lead { font-size: 1.25rem; }
  .article__bar { flex-direction: column; align-items: flex-start; }
}

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.tags__title { font-size: 1.125rem; font-weight: 800; }
.tags__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.article__footer-share { margin-top: 32px; padding-block: 16px; border-block: 1px solid var(--line); }
.author-box { display: flex; gap: 20px; align-items: center; margin-top: 32px; padding: 24px; background: var(--quiet); border-radius: var(--radius); }
.author-box__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__avatar--mark { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--brand); color: #fff; font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; }
.author-box__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.375rem; }

/* ---------- info pages ---------- */
.info-layout { display: grid; grid-template-columns: minmax(0, 740px) 280px; justify-content: space-between; gap: 56px; }
.info-layout--single { grid-template-columns: minmax(0, 740px); }
.info-layout__aside { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.info-prose h2 { color: var(--ink); padding-top: 1.1em; border-top: 1px solid var(--line); }
.info-prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 1199px) { .info-layout { grid-template-columns: minmax(0, 1fr); } .info-layout__aside { display: none; } .info-layout__main { max-width: 740px; } }
.related-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: var(--section-gap); padding: 20px 28px; background: var(--quiet); border-radius: var(--radius); }
.related-pages__title { font-size: 1.125rem; font-weight: 800; }
.related-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0; }
.related-pages li + li { border-inline-start: 1px solid var(--line); }
.related-pages a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; color: var(--brand); font-weight: 600; text-decoration: none; }
.related-pages a:hover { text-decoration: underline; }

/* ---------- about ---------- */
.about-hero { padding: 24px 0 32px; border-bottom: 2px solid var(--brand); }
.about-hero__title { font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); font-weight: 900; line-height: 1.05; max-width: 14ch; }
.about-hero .page-intro { font-size: 1.375rem; color: var(--ink); max-width: 46ch; margin-top: 20px; }
.about-content { margin-top: 40px; }
.topic-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gutter); }
.topic-card { padding: 4px 24px 8px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.topic-card__title { font-size: 1.75rem; font-weight: 800; }
.topic-card__title::after { content: ""; display: block; width: 48px; height: 3px; background: var(--brand); margin-top: 12px; }
.topic-card p { color: #3f3e3d; }
.topic-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-family: var(--font-heading); font-weight: 700; }
.principles { margin-top: var(--section-gap); background: var(--quiet); border-radius: var(--radius); padding: 32px 40px; }
.principles__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.principle + .principle { border-inline-start: 1px solid var(--brand); padding-inline-start: var(--gutter); }
.principle__num { display: block; color: var(--brand); font-family: var(--font-heading); font-weight: 800; font-size: 1.75rem; }
.principle__title { font-size: 1.75rem; font-weight: 800; margin-bottom: 6px; }
@media (max-width: 767px) {
  .principles { padding: 24px 16px; margin-inline: -16px; border-radius: 0; }
  .principles__list { grid-template-columns: 1fr; }
  .principle + .principle { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 16px; }
}
.cta-band { margin-top: var(--section-gap); background: var(--brand); color: #fff; padding-block: 40px; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta-band__title { color: #fff; font-size: 2.5rem; font-weight: 800; }
@media (max-width: 767px) { .cta-band__title { font-size: 1.75rem; } }
.cta-band + .newsletter, .cta-band + .site-footer { margin-top: 0; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.contact-layout__form { grid-column: span 7; }
.contact-layout__aside { grid-column: 9 / span 4; padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
@media (max-width: 1199px) { .contact-layout__form { grid-column: span 8; } .contact-layout__aside { grid-column: span 4; padding-inline-start: 20px; } }
@media (max-width: 899px) { .contact-layout__form, .contact-layout__aside { grid-column: 1 / -1; } .contact-layout__aside { padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gutter); }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }
.contact-form__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.contact-form__privacy { font-size: .9375rem; color: var(--muted); max-width: 40ch; }
.contact-form__privacy a { color: var(--ink); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-control); margin-bottom: 20px; }
.notice ul { margin: 8px 0 0; padding-inline-start: 1.2em; }
.notice a { color: inherit; }
.notice--success { background: #e7f4ec; border: 1px solid #8cc5a1; color: #174b2c; }
.notice--error { background: #fbecee; border: 1px solid #e3a3aa; color: #7a1a24; }
.form-status:focus, .notice:focus { outline: none; }
.quote-mark { display: block; font-family: var(--font-heading); font-weight: 900; font-size: 6rem; line-height: .8; color: var(--brand); height: 56px; }
.contact-aside__title { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.contact-topics { list-style: none; margin-top: 20px; }
.contact-topics li + li { border-top: 1px solid var(--line); }
.contact-topics__btn {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0; border: 0; background: none; text-align: start;
  color: var(--brand); font-family: var(--font-heading); font-weight: 700; font-size: 1.1875rem;
}
.contact-topics__btn:hover { text-decoration: underline; }
.contact-email { margin-top: 20px; display: flex; align-items: center; gap: 8px; }
.contact-email a { color: var(--brand); font-weight: 600; }
.tip-band { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 48px; padding: 20px 28px; background: var(--quiet); border-radius: var(--radius); }
.tip-band__title { color: var(--brand); font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; padding-inline-end: 24px; border-inline-end: 2px solid var(--brand); }
@media (max-width: 767px) { .tip-band__title { border: 0; padding: 0; } }

/* 404 */
.notfound .page-intro { max-width: 60ch; }
.notfound__home { margin-top: 12px; }

/* ---------- newsletter + footer ---------- */
.newsletter { margin-top: var(--section-gap); background: var(--brand); color: #fff; padding-block: 36px; }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: center; }
.newsletter__title { color: #fff; font-size: 2rem; font-weight: 800; }
.newsletter__text p { opacity: .9; margin-top: 6px; }
.newsletter__row { display: flex; gap: 12px; }
.newsletter__row .field__input { flex: 1; border-color: #fff; }
.newsletter__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .9375rem; }
.newsletter__consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: #fff; flex: none; }
.newsletter :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
@media (max-width: 767px) { .newsletter__inner { grid-template-columns: 1fr; } .newsletter__row { flex-direction: column; } }

.site-footer { margin-top: var(--section-gap); background: var(--brand-dark); color: #fff; padding-block: 48px 24px; }
.newsletter + .site-footer, .cta-band + .site-footer { margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer__brand img { width: 200px; height: auto; }
.site-footer__tagline { margin-top: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; }
.site-footer__desc { margin-top: 8px; opacity: .85; max-width: 40ch; font-size: 1rem; }
.site-footer__col { border-inline-start: 1px solid rgba(255, 255, 255, .25); padding-inline-start: 32px; }
.site-footer__title { color: #fff; font-size: 1.125rem; font-weight: 800; margin-bottom: 8px; }
.site-footer__col ul { list-style: none; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 36px; color: #fff; opacity: .9; text-decoration: none; }
.site-footer__col a:hover { opacity: 1; text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .9375rem; }
.site-footer__bottom a { color: #fff; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer__bottom p { display: flex; align-items: center; }
.site-footer__note { opacity: .85; }
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col { padding-inline-start: 0; border: 0; }
  .site-footer__col a { min-height: 44px; }
}

@media print {
  .utility, .site-nav, .topics, .masthead__tools, .share, .article-layout__aside, .related, .newsletter, .site-footer, .toc { display: none !important; }
  body { border: 0; background: #fff; }
}

/* =====================================================================
   Browsing polish (v1.1) — refinements inside the approved direction.
   ===================================================================== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --shadow-soft: 0 1px 2px rgba(32, 33, 36, .05), 0 8px 24px rgba(32, 33, 36, .06); }

/* ---------- consistent focus ---------- */
.btn:focus-visible, .chip:focus-visible, .filter-btn:focus-visible, .share__btn:focus-visible,
.pagination a:focus-visible, .menu-toggle:focus-visible, .tool-link:focus-visible, .to-top:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 3px; border-radius: var(--radius-control);
}
.site-nav__list a:focus-visible { outline-offset: -3px; }
::selection { background: var(--brand-tint); color: var(--brand-dark); }

/* ---------- section heading: short burgundy segment on the hairline ---------- */
.section-head { position: relative; }
.section-head::after {
  content: ""; position: absolute; bottom: -1px; inset-inline-start: 0;
  width: 56px; height: 3px; background: var(--brand);
}
.most-read__title { position: relative; }
.most-read--list .most-read__title::after {
  content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; width: 40px; height: 3px; background: var(--brand);
}

/* ---------- cards: calm hover (image zoom + title tint/underline) ---------- */
.media img { transition: transform .6s var(--ease), opacity .3s; }
.card:hover .media img, .row:hover .media img, .lead-story:hover .media img, .band__media:hover .media img,
.card:focus-within .media img, .row:focus-within .media img, .lead-story:focus-within .media img { transform: scale(1.035); }
.card:hover .card__title a, .row:hover .row__title a, .lead-story:hover .lead-story__title a,
.most-read__item:hover .most-read__heading a { color: var(--brand); }
.lead-story__title a { transition: color .2s; }
.card__title a, .row__title a, .most-read__heading a {
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat;
  background-position: 100% 100%; transition: color .2s, background-size .35s var(--ease); padding-bottom: 1px;
}
.card:hover .card__title a, .row:hover .row__title a, .most-read__item:hover .most-read__heading a { background-size: 100% 1px; }
.card__excerpt, .row__excerpt { max-width: 62ch; }

/* image loading surface + empty-image placeholder with the section name */
.media { background: linear-gradient(110deg, var(--quiet) 8%, #f6f3ef 18%, var(--quiet) 33%); background-size: 200% 100%; }
.media:has(img) { animation: shimmer 1.6s linear infinite; }
.media--empty {
  animation: none; flex-direction: column; gap: 10px;
  background:
    radial-gradient(circle at 85% 20%, rgba(130, 29, 50, .07) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--quiet), var(--brand-tint));
}
.media--empty::before { content: ""; width: 32px; height: 3px; background: var(--brand); opacity: .6; }
.media--empty span { font-size: clamp(1rem, .8rem + .8vw, 1.375rem); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- entrance motion (JS adds .reveal only to below-the-fold items) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .card-grid > .reveal:nth-child(2) { transition-delay: .07s; }
  .card-grid > .reveal:nth-child(3) { transition-delay: .14s; }
  .site-nav.is-open { animation: navIn .22s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .card:hover .media img, .row:hover .media img, .lead-story:hover .media img { transform: none; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- article header rhythm ---------- */
.article__title { max-width: none; text-wrap: balance; }
.article__lead { max-width: none; color: #4a4847; text-wrap: pretty; }
.article__hero figcaption, .article-prose figcaption { display: flex; gap: 10px; align-items: baseline; margin-top: 10px; line-height: 1.5; }
.article__hero figcaption::before, .article-prose figcaption::before {
  content: ""; flex: none; width: 18px; height: 2px; background: var(--brand); transform: translateY(-4px);
}
.article__hero figcaption .credit { color: #77736f; }

/* reading progress */
.read-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: right center; will-change: transform; }
html:not(.js) .read-progress { display: none; }

/* sticky sidebar */
.article-layout__sticky { display: flex; flex-direction: column; gap: 40px; }
.article-layout__sticky .toc--aside { position: static; }
@media (min-width: 1200px) and (min-height: 640px) {
  .article-layout__sticky {
    position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 8px; padding-inline-end: 4px;
  }
}

/* ---------- prose: reading comfort ---------- */
.article-prose { color: #26272a; }
.article-prose--first > p:first-of-type { font-size: 1.1em; line-height: 1.72; color: var(--ink); font-weight: 500; }
.article-prose h2 { position: relative; padding-top: .55em; }
.article-prose h2::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 3px; background: var(--brand); opacity: .4; }
.article-prose h2 + *, .article-prose h3 + * { margin-top: .6em; }
.article-prose a { text-decoration-color: rgba(130, 29, 50, .4); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.article-prose a:hover { text-decoration-color: currentColor; }

/* blockquote: no faux-italic Hebrew; burgundy rule, tint and a quiet quote mark */
.article-prose blockquote, .article-prose .wp-block-quote {
  position: relative; margin: 1.6em 0; padding: 20px 24px; padding-inline-end: 64px; font-style: normal;
  border-inline-start: 4px solid var(--brand); border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(to left, var(--brand-tint), rgba(244, 235, 237, .2));
  font-family: var(--font-heading); font-size: 1.4375rem; font-weight: 600; line-height: 1.5; color: var(--ink);
}
.article-prose blockquote::before {
  content: "\201D"; position: absolute; top: 6px; inset-inline-end: 18px; font-family: var(--font-heading);
  font-size: 4.5rem; font-weight: 900; line-height: 1; color: var(--brand); opacity: .2; pointer-events: none;
}
.article-prose blockquote cite, .article-prose blockquote footer { display: block; margin-top: 12px; font-size: 1rem; font-style: normal; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
/* pull-quote: centred, framed by burgundy rules */
.article-prose .wp-block-pullquote, .article-prose blockquote.is-style-large {
  margin: 2em 0; padding: 28px 8px; border: 0; border-block: 3px solid var(--brand); background: none; border-radius: 0;
  text-align: center; font-size: 1.75rem; font-weight: 800; line-height: 1.4; color: var(--brand-dark);
}
.article-prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: inherit; }
.article-prose .wp-block-pullquote blockquote::before, .article-prose blockquote.is-style-large::before { display: none; }

.article-prose figure { margin-block: 1.8em; }

/* tables */
.article-prose table {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-variant-numeric: tabular-nums; border-collapse: separate; border-spacing: 0;
}
.article-prose th, .article-prose td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; }
.article-prose th + th, .article-prose td + td, .article-prose th + td, .article-prose td + th { border-inline-start: 1px solid var(--line); }
.article-prose thead th, .article-prose thead td { background: var(--quiet); border-bottom: 2px solid var(--brand); font-size: .9375rem; }
.article-prose tbody tr:last-child > * { border-bottom: 0; }
.article-prose tbody tr:nth-child(even) { background: #fbfaf8; }
.article-prose tbody tr:hover { background: var(--brand-tint); }
.article-prose table caption { caption-side: bottom; padding-top: 8px; font-size: .875rem; color: var(--muted); text-align: start; }

/* separators: hairline with a small burgundy diamond */
.article-prose hr, .article-prose .wp-block-separator {
  border: 0; height: 12px; margin-block: 2.4em; text-align: center; overflow: visible;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
}
.article-prose hr::after, .article-prose .wp-block-separator::after {
  content: ""; display: inline-block; width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--paper); border: 2px solid var(--brand); vertical-align: top; margin-top: 0;
}

/* tags / share / author rhythm */
.tags { padding-top: 24px; border-top: 1px solid var(--line); }
.chip { transition: background .2s, color .2s; }
.chip:hover { background: var(--brand); color: #fff; }
.author-box { border-inline-start: 4px solid var(--brand); }

/* ---------- lead box (not editorial: separated, labelled, recipient shown) ---------- */
.lead-box {
  position: relative; margin-block: 48px; scroll-margin-top: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.lead-box::before {
  content: ""; position: absolute; top: -1px; inset-inline: -1px; height: 5px;
  background: linear-gradient(to left, var(--brand), var(--brand-dark)); border-radius: var(--radius) var(--radius) 0 0;
}
.lead-box__inner { padding: 36px 36px 32px; }
.lead-box__eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; margin-bottom: 14px;
  background: var(--brand-tint); color: var(--brand); border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: .8125rem;
}
.lead-box__eyebrow .icon { margin: 0; }
.lead-box__title { font-size: 1.875rem; font-weight: 800; line-height: 1.2; }
.lead-box__title:focus { outline: none; }
.lead-box__text { margin-top: 10px; font-size: 1.125rem; color: #3f3e3d; max-width: 56ch; line-height: 1.55; }
.lead-box__purpose { margin-top: 6px; font-size: .9375rem; color: var(--muted); max-width: 60ch; }
.lead-box__head { padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.lead-box.is-sent .lead-box__head { border-bottom: 0; margin-bottom: 0; padding-bottom: 16px; }

.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.lead-form .field__label { font-size: 1rem; }
.lead-form .field__input { background: var(--paper); transition: border-color .15s, background .15s; }
.lead-form .field__input:hover { border-color: #8f8a84; }
.lead-form .field__input:focus { background: var(--surface); }
.lead-form .field__input::placeholder { color: #9a9691; }
.field__input--ltr { direction: ltr; text-align: left; }
.lead-form__textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.lead-form .field__error { display: flex; align-items: center; gap: 6px; }
.lead-form .field__error .icon { margin: 0; }
.lead-form__alert { margin-bottom: 20px; align-items: center; }
.lead-form__alert .icon { margin: 0; }

.lead-form__consent {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px;
  background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-control);
  font-size: .9375rem; line-height: 1.5; color: #3f3e3d;
}
.lead-form__consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.lead-form__consent label { cursor: pointer; }

.lead-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.lead-form__submit { min-width: 220px; }
.lead-form__submit .lead-form__arrow { transition: transform .2s var(--ease); }
.lead-form__submit:hover .lead-form__arrow { transform: translateX(-3px); }
.lead-form__submit[aria-busy="true"] .lead-form__arrow { display: none; }
.lead-form__submit:disabled { cursor: progress; }
.lead-form__disclosure { flex: 1 1 220px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.lead-form__disclosure strong { color: var(--ink); font-weight: 700; }
.lead-form__disclosure a { color: var(--brand); font-weight: 600; white-space: nowrap; }
.lead-form.is-busy .field__input { opacity: .7; }

.lead-box__success {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px;
  background: #eef7f1; border: 1px solid #a9d3b8; border-radius: var(--radius-control); color: #174b2c;
}
.lead-box__success:focus { outline: 3px solid #2e7d4f; outline-offset: 2px; }
.lead-box__success-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; margin-bottom: 2px; }
.lead-box__success-note { margin-top: 6px; font-size: .9375rem; color: #2f5f40; }
.lead-box__check {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: #2e7d4f; color: #fff;
}
@media (prefers-reduced-motion: no-preference) { .lead-box__success:not([hidden]) { animation: popIn .35s var(--ease); } }

@media (max-width: 767px) {
  .lead-box { margin-inline: -16px; border-radius: 0; border-inline: 0; box-shadow: none; }
  .lead-box::before { border-radius: 0; inset-inline: 0; }
  .lead-box__inner { padding: 28px 16px 24px; }
  .lead-box__title { font-size: 1.5rem; }
  .lead-box__text { font-size: 1.0625rem; }
  .lead-form__grid { grid-template-columns: 1fr; gap: 16px; }
  .lead-form__actions { flex-direction: column; align-items: stretch; }
  .lead-form__submit { width: 100%; }
}

/* mobile sticky CTA (JS reveals it) */
.lead-sticky { display: none; }
@media (max-width: 767px) {
  .lead-sticky:not([hidden]) {
    display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(32, 33, 36, .08);
  }
  .lead-sticky__btn {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
    padding-inline-start: 4px; text-decoration: none; color: var(--ink);
  }
  .lead-sticky__text { min-width: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lead-sticky__cta {
    flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
    background: var(--brand); color: #fff; border-radius: var(--radius-control);
    font-family: var(--font-heading); font-weight: 700; font-size: .9375rem;
  }
  .has-lead-sticky .site-footer { padding-bottom: 96px; }
  .has-lead-sticky .to-top { bottom: 88px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .lead-sticky:not([hidden]) { animation: slideUp .3s var(--ease); }
}

/* back to top */
.to-top {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 45;
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--surface); color: var(--brand); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); text-decoration: none;
  transition: background .2s, color .2s, transform .2s var(--ease), bottom .25s var(--ease);
}
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) { .to-top:not([hidden]) { animation: popIn .25s var(--ease); } }

/* ---------- mobile (≤767): compact sticky masthead, roomier menu ---------- */
@media (max-width: 767px) {
  html { scroll-padding-top: 84px; }
  .masthead { position: sticky; top: 0; z-index: 40; }
  .masthead__inner { padding-block: 10px; }
  .js .site-nav { max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav__list a { font-size: 1.125rem; justify-content: space-between; }
  .site-nav__list a::after {
    content: ""; width: 8px; height: 8px; border-inline-start: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); opacity: .35; margin-inline-end: 4px;
  }
  .menu-toggle[aria-expanded="true"] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }
  .breadcrumbs { padding-top: 8px; font-size: .875rem; }
  .page-header { margin-bottom: 24px; padding-bottom: 20px; }
  .card { gap: 12px; }
  .card-grid--3, .card-grid--2 { gap: 28px; }
  .section-head { margin-bottom: 20px; }
  .article-layout { margin-top: 28px; }
  .article-prose blockquote, .article-prose .wp-block-quote { font-size: 1.25rem; padding: 16px 18px; padding-inline-end: 48px; }
  .article-prose blockquote::before { font-size: 3.5rem; inset-inline-end: 12px; }
  .article-prose .wp-block-pullquote { font-size: 1.375rem; }
  .to-top { bottom: 16px; inset-inline-end: 16px; width: 44px; height: 44px; }
}

@media print {
  .read-progress, .lead-box, .lead-sticky, .to-top { display: none !important; }
}

/* ==========================================================================
   Reader features (consent, accessibility menu, FAQ, author E-E-A-T, pillar guides)
   Shared structure: /assets/reader/reader.css — this section gives it the bordeaux magazine look.
   ========================================================================== */
:root {
  --rd-bg: var(--surface); --rd-fg: var(--ink); --rd-muted: var(--muted); --rd-line: var(--line); --rd-soft: var(--quiet);
  --rd-accent: var(--brand); --rd-accent-hover: var(--brand-dark); --rd-on-accent: #fff;
  --rd-radius: var(--radius); --rd-radius-btn: var(--radius-control);
  --rd-font: var(--font-body); --rd-head-font: var(--font-heading); --rd-head-weight: 800;
}
body .rd-consent { border-top: 4px solid var(--brand); }
body .rd-consent__title::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-inline-end: 8px; background: var(--accent); vertical-align: middle; }
body .rd-fab--a11y { border-color: #fff; }
@media (max-width: 1023px) { body.has-lead-sticky .rd-dock { bottom: 88px; } }

/* FAQ — editorial accordion with a bordeaux rule */
body .faq-block { border-top: 3px solid var(--brand); margin-block: 40px; }
body .faq-item { border-bottom: 1px solid var(--line); }
body .faq-item > .faq-q { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 0; }
body .faq-q__btn:hover { color: var(--brand); }
body .faq-q__icon { color: var(--brand); border-color: var(--line); background: var(--surface); }
body .faq-q__btn[aria-expanded="true"] .faq-q__icon { background: var(--brand); border-color: var(--brand); color: #fff; }
body .faq-item > .faq-a { color: var(--ink); }

/* Author box: job title + bio + expertise + profiles */
body .author-box { align-items: flex-start; }
body .author-box .rd-author-meta { margin-bottom: 10px; }
body .author-box .rd-author-meta__job { color: var(--brand); font-family: var(--font-heading); font-size: .9375rem; }
body .author-box .rd-author-meta__bio { color: var(--ink); }
body .rd-chips li { background: var(--brand-tint); border-color: transparent; color: var(--brand-dark); font-weight: 600; border-radius: 3px; }
body .listing-header .rd-author-meta { max-width: 68ch; }

/* "חלק מהמדריך" + pillar page */
body .rd-guide-link { background: var(--brand-tint); border: 0; border-inline-start: 4px solid var(--brand); border-radius: 0; margin-block: 0 28px; }
body .rd-guide-link__kicker { color: var(--brand); text-transform: none; }
body .rd-guide-link__title { font-family: var(--font-heading); font-weight: 800; }
body .rd-pillar { border-top: 1px solid var(--line); padding-top: 24px; }
body .rd-pillar__badge { border-radius: 2px; background: var(--brand); font-family: var(--font-heading); }
body .rd-pillar__intro { font-size: var(--t-excerpt); color: var(--ink); }
body .rd-pillar__subs-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.375rem; }
body .rd-pillar__start, body .rd-pillar__subs { padding: 20px 24px; background: var(--quiet); border-radius: var(--radius); }
body .rd-steps li::before { background: var(--brand); color: #fff; border-radius: 2px; }
body .rd-subtopics a { border-radius: var(--radius); border-inline-start: 3px solid var(--brand); }

/* Newsletter states */
body .newsletter__done { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #fff; align-self: center; }
body .newsletter__msg { margin: 10px 0 0; font-weight: 700; color: #fff; background: rgb(0 0 0 / .25); padding: 6px 10px; border-radius: 3px; }
body .newsletter .rd-nl-status { color: #fff; }
