/* =============================================================================
   Blog — listing + article.

   Deliberately NOT a new visual language. It borrows the landing page's tokens
   (ink navy, Gettwork orange, Liebling display type) so an article reads as the
   same publication, not a bolted-on section. The only new idea is editorial
   restraint: a single 720px measure, generous leading, and one accent colour
   used sparingly, so long-form Hebrew stays comfortable to read.
   ========================================================================== */

:root {
  --ink: #1B2434;
  --ink-soft: #2A3447;
  --paper: #FFFFFF;
  --canvas: #F4F6F8;
  --line: #E8EAEE;
  --muted: #6B7280;
  --dim: #4B5563;
  --accent: #FF6B1A;
  --accent-dark: #E85A0E;
  --accent-soft: #FFF1E6;
  --measure: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

.blog-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Liebling', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.blog-body .container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

.blog-main { padding-top: 96px; }
@media (max-width: 860px) { .blog-main { padding-top: 76px; } }

/* ── listing header ───────────────────────────────────────────────────── */
.blog-intro { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.blog-eyebrow {
  margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.blog-h1 {
  margin: 0 0 16px; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06;
  letter-spacing: -0.02em; font-weight: 800;
}
.blog-lede {
  margin: 0; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--dim);
}

/* ── featured ─────────────────────────────────────────────────────────── */
.blog-featured { padding: 48px 0 8px; }
.featured-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  text-decoration: none; color: inherit;
}
.featured-media {
  overflow: hidden; border-radius: 20px; background: var(--canvas);
  aspect-ratio: 4 / 3;
}
.featured-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.featured-card:hover .featured-media img { transform: scale(1.03); }
.featured-title {
  margin: 14px 0 14px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.14;
  letter-spacing: -0.015em; font-weight: 800;
}
.featured-card:hover .featured-title { color: var(--accent-dark); }
.featured-excerpt { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--dim); }

@media (max-width: 860px) {
  .featured-card { grid-template-columns: 1fr; gap: 20px; }
  .featured-media { aspect-ratio: 16 / 10; border-radius: 16px; }
}

/* ── meta row + chip ──────────────────────────────────────────────────── */
.post-card-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.post-chip {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 12px; font-weight: 700;
}
.post-readtime::before { content: "·"; margin-inline-end: 8px; color: var(--line); }

/* ── grid cards ───────────────────────────────────────────────────────── */
.blog-grid-section { padding: 56px 0 88px; }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 26px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

.post-card { display: block; text-decoration: none; color: inherit; }
.post-card-media {
  overflow: hidden; border-radius: 14px; background: var(--canvas);
  aspect-ratio: 16 / 10; margin-bottom: 14px;
}
.post-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-title {
  margin: 10px 0 8px; font-size: 20px; line-height: 1.3; font-weight: 700;
  letter-spacing: -0.01em;
}
.post-card:hover .post-card-title { color: var(--accent-dark); }
.post-card-excerpt { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--dim); }
.post-card-more { font-size: 14px; font-weight: 700; color: var(--accent-dark); }

/* ── article ──────────────────────────────────────────────────────────── */
.breadcrumb { padding: 20px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin-inline: 8px; }
.breadcrumb-current { color: var(--ink); }

.post-head { padding: 28px 0 24px; }
.post-head .container { max-width: var(--measure); }
.post-head-meta { margin-bottom: 16px; }
.post-title {
  margin: 0 0 18px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 800;
}
.post-standfirst {
  margin: 0 0 18px; font-size: 19px; line-height: 1.65; color: var(--dim);
}
.post-author { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }

.post-hero { max-width: 980px; margin-bottom: 44px; }
.post-hero img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: 20px;
}

/* table of contents — only rendered when an article has enough sections */
.post-toc {
  max-width: var(--measure); margin-bottom: 40px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--canvas);
}
.post-toc-title {
  margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.post-toc ol { margin: 0; padding-inline-start: 20px; }
.post-toc li { margin-bottom: 6px; font-size: 15px; }
.post-toc a { color: var(--ink-soft); text-decoration: none; }
.post-toc a:hover { color: var(--accent-dark); text-decoration: underline; }

.post-body { max-width: var(--measure); padding-bottom: 72px; font-size: 18px; line-height: 1.85; }
.post-body p { margin: 0 0 24px; color: var(--ink-soft); }
.post-body h2 {
  margin: 48px 0 16px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2;
  letter-spacing: -0.015em; font-weight: 800; scroll-margin-top: 100px;
}
.post-body h3 { margin: 34px 0 12px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.post-list { margin: 0 0 24px; padding-inline-start: 22px; }
.post-list li { margin-bottom: 10px; color: var(--ink-soft); }

.post-quote {
  margin: 36px 0; padding: 24px 26px; border-radius: 16px;
  background: var(--canvas); border-inline-start: 4px solid var(--accent);
}
.post-quote blockquote {
  margin: 0 0 10px; font-size: 21px; line-height: 1.55; font-weight: 600; color: var(--ink);
}
.post-quote figcaption { font-size: 14px; color: var(--muted); }

.post-figure { margin: 36px 0; }
.post-figure img { width: 100%; border-radius: 16px; display: block; }
.post-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

.post-cta {
  margin: 44px 0; padding: 30px 28px; border-radius: 18px;
  background: var(--ink); color: #fff;
}
.post-cta h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: #fff; }
.post-cta p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: #C7CCD6; }
.post-cta-btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(255,107,26,.7);
}
.post-cta-btn:hover { background: var(--accent-dark); }

.post-faq { margin: 44px 0 0; }
.faq-item {
  border-top: 1px solid var(--line); padding: 16px 0;
}
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; font-size: 17px; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--dim); }

/* ── related ──────────────────────────────────────────────────────────── */
.post-related { padding: 56px 0 88px; border-top: 1px solid var(--line); background: var(--canvas); }
.related-title { margin: 0 0 28px; font-size: 26px; font-weight: 800; }
.back-to-blog { font-size: 16px; font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.back-to-blog:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .featured-media img, .post-card-media img { transition: none; }
}

/* ── mobile menu (the chrome ships its own markup; these are the states) ── */
.mobile-menu[aria-hidden="true"] { display: none; }
