/* The blog (src/utils/blogPage.js). Light, like the one-video page. */
:root {
  --bg: #ffffff;
  --ink: #0b0f14;
  --muted: #5b6573;
  --line: #e6e9ee;
  --soft: #f5f7f9;
  --lime: #c6f432;
  --lime-ink: #0b0f14;
  --max: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 Inter, Heebo, system-ui, sans-serif;
}
html[lang="he"] body { font-family: Heebo, Inter, system-ui, sans-serif; }
a { color: inherit; }

.top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); z-index: 2;
}
.logo { height: 26px; display: block; }
.blog-name { font-weight: 600; text-decoration: none; color: var(--muted); font-size: 15px; }
.spacer { flex: 1; }
.lang { font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 32px 16px 48px; }
.intro h1, .post h1 { font-weight: 900; font-size: clamp(28px, 6vw, 42px); line-height: 1.15; margin: 8px 0 12px; letter-spacing: -.01em; }
.sub, .lead { color: var(--muted); font-size: 19px; margin: 0 0 24px; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card a { display: block; text-decoration: none; padding: 20px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s; }
.card a:hover { border-color: var(--ink); }
.card .thumb { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 10px; margin: 0 0 14px; background: var(--soft); }
.card time { color: var(--muted); font-size: 14px; }
.card h2 { font-size: 22px; line-height: 1.3; margin: 4px 0 6px; font-weight: 800; }
.card p { margin: 0 0 8px; color: var(--muted); }
.more { font-weight: 600; }
html[dir="rtl"] .more { unicode-bidi: plaintext; }
.empty { color: var(--muted); }

.back { color: var(--muted); text-decoration: none; font-size: 15px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.body h2 { font-size: 26px; line-height: 1.3; font-weight: 800; margin: 36px 0 10px; }
.body h3 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; }
.body p, .body ul, .body ol { margin: 0 0 18px; }
.body li { margin: 0 0 6px; }
.body blockquote { margin: 0 0 18px; padding: 4px 16px; border-inline-start: 4px solid var(--lime); background: var(--soft); border-radius: 8px; }
.body a { text-decoration-thickness: 2px; text-decoration-color: var(--lime); text-underline-offset: 3px; }

.cta { margin-top: 40px; padding: 24px; border-radius: 18px; background: var(--ink); color: #fff; }
.cta h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; line-height: 1.25; }
.cta p { margin: 0 0 18px; color: #c9d1db; }
.btn { display: inline-block; background: var(--lime); color: var(--lime-ink); font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 999px; }

.foot { text-align: center; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot a { text-decoration: none; }

/* "In short" — the direct answer at the top of a post. */
.short { margin: 0 0 28px; padding: 16px 18px; border-radius: 14px; background: var(--soft); border-inline-start: 5px solid var(--lime); }
.short > strong { display: block; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.short p { margin: 0; font-size: 18px; }

/* Comparison tables scroll sideways on a phone instead of widening the page. */
.table-wrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.body table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; line-height: 1.45; }
.body th, .body td { padding: 10px 12px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.body th { background: var(--soft); font-weight: 800; white-space: nowrap; }
.body tr:last-child td { border-bottom: 0; }
.body td:first-child { font-weight: 700; white-space: nowrap; }

.body figure { margin: 8px 0 26px; }
.body figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; }
.body figure img[height="640"] { max-height: 560px; width: auto; }
.body figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }
