/* Blog: index (/blog) and posts (/blog/<slug>). Loaded after site.css, same tokens.
   Reading pages: a calm column for the text, Hebrew set larger so the vowel signs
   never clip, and interactive tools that sit in the text like worked examples. */
:root {
  --sand: #fbf5e9;          /* warm paper for word lists and tips */
  --sand-line: #efe3c8;
  --read: 68ch;
}

/* ---------- Shared bits ---------- */
.he { font-family: var(--he); font-weight: 400; unicode-bidi: isolate; }
.tr { font-style: italic; color: var(--soft); }
.crumbs { font: 400 14px var(--head); letter-spacing: .02em; color: var(--soft); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--brand-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .6; }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }
.meta-line .cat { color: var(--brand-dark); font: 500 14px var(--head); letter-spacing: .03em; }

/* ---------- Blog index ---------- */
.bhead { padding-block: 34px 18px; display: grid; gap: 10px; justify-items: center; text-align: center; position: relative; }
.bhead h1 { font: 300 clamp(40px, 8vw, 68px)/1 var(--head); letter-spacing: -.01em; }
.bhead h1 .he { display: block; font-size: .5em; color: var(--brand); margin-top: 10px; letter-spacing: 0; }
.bhead p { color: var(--soft); max-width: 52ch; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 22px; }
.chip { font: 500 15px var(--head); letter-spacing: .02em; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .n { font-weight: 400; opacity: .7; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Post cards */
.cards { display: grid; gap: 18px; margin-top: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(8, 60, 66, .12); }
.card:focus-visible { outline-offset: 4px; border-radius: 22px; }
.card .ph { overflow: hidden; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover img { transform: scale(1.04); }
.card .in { padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start; }
.card h2, .card h3 { font: 400 23px/1.18 var(--head); color: var(--ink); }
.card:hover h2, .card:hover h3 { color: var(--brand-dark); }
.card p { color: var(--soft); font-size: 16px; line-height: 1.55; }
.card[hidden] { display: none; }
/* Every post gets the same card: two wide columns on desktop. */
@media (min-width: 860px) {
  .cards.all { grid-template-columns: 1fr 1fr; gap: 22px; }
  .cards.all .card h2 { font-size: 26px; }
}

/* Learn band (index + post end) */
.learn { margin-top: 34px; border-radius: 26px; background: var(--brand); color: #fff; padding: 28px 22px; display: grid; gap: 22px; }
.learn h2 { font: 300 clamp(28px, 4.6vw, 38px)/1.12 var(--head); }
.learn p { color: #e3f3f2; max-width: 50ch; }
.learn .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.learn .course-mini { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: center; background: rgba(255, 255, 255, .1); border-radius: 18px; padding: 10px; text-decoration: none; }
.learn .course-mini img { border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; width: 100%; display: block; }
.learn .course-mini b { font: 500 17px/1.2 var(--head); display: block; }
.learn .course-mini span { font-size: 14px; color: #cfe9e7; }
.learn .list { display: grid; gap: 10px; }
.learn .stores { margin-top: 6px; }
@media (min-width: 860px) { .learn { grid-template-columns: 1fr 1fr; padding: 40px; align-items: center; } }

/* ---------- Post page ---------- */
.art-head { padding-block: 26px 22px; display: grid; gap: 14px; max-width: 900px; }
.art-head h1 { font: 400 clamp(34px, 6.2vw, 56px)/1.06 var(--head); letter-spacing: -.01em; }
.art-head .dek { font: 300 clamp(19px, 2.6vw, 23px)/1.45 var(--head); color: var(--soft); max-width: 60ch; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.byline .faces { display: flex; }
.byline .faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.byline .faces img + img { margin-left: -12px; }
.byline .who { font: 500 15px var(--head); }
.byline .who small { display: block; font: 400 13px var(--body); color: var(--soft); }
.cover { margin: 0 auto; }
.cover img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 24px; display: block; background: #dde9e8; }
.cover figcaption { font-size: 13px; color: var(--soft); margin-top: 8px; }

.art-grid { display: grid; gap: 28px; padding-top: 28px; }
@media (min-width: 1040px) {
  .art-grid { grid-template-columns: minmax(0, var(--read)) 280px; justify-content: space-between; align-items: start; }
  .art-side { position: sticky; top: 72px; order: 2; }
}

/* Table of contents */
.toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 6px; }
.toc summary { list-style: none; cursor: pointer; font: 500 16px var(--head); padding: 12px 12px; display: flex; justify-content: space-between; align-items: center; border-radius: 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.toc[open] summary svg { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: 0 6px 10px; display: grid; gap: 2px; counter-reset: t; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; text-decoration: none; color: var(--soft); font-size: 15px; line-height: 1.35; transition: background .15s, color .15s; }
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a[aria-current="true"] { background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand-dark); font-weight: 600; }
.side-cta { margin-top: 14px; display: none; }
@media (min-width: 1040px) { .side-cta { display: block; } }

/* Reading column */
.prose { font: 400 18px/1.72 var(--body); color: var(--ink); max-width: var(--read); min-width: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font: 400 clamp(27px, 3.8vw, 34px)/1.15 var(--head); margin-top: 2.1em; scroll-margin-top: 76px; }
.prose h3 { font: 500 21px/1.25 var(--head); margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; }
.prose .he { font-size: 1.14em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose .lede { font-size: 20px; line-height: 1.65; }
.prose figure { margin-inline: 0; }
.prose figure img { border-radius: 18px; display: block; }
.prose figcaption { font-size: 14px; color: var(--soft); margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2em; }

/* Big Hebrew example line: Hebrew, transliteration, meaning */
.say { display: grid; gap: 2px; background: var(--sand); border: 1px solid var(--sand-line); border-radius: 18px; padding: 16px 20px; }
.say .he { font-size: clamp(26px, 4.4vw, 32px); line-height: 1.55; text-align: right; direction: rtl; color: var(--ink); }
.say .tr { font-size: 16px; }
.say .en { font-size: 16px; color: var(--ink); }

/* Word tables: English, transliteration, Hebrew */
.vt { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 17px; }
.vt caption { caption-side: top; text-align: left; font: 500 17px var(--head); padding: 0 0 8px; }
.vt th { font: 500 13px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); text-align: left; padding: 10px 16px; background: var(--bg); }
.vt th.h { text-align: right; }
.vt td { padding: 10px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.vt tr:first-child td { border-top: 0; }
.vt thead + tbody tr:first-child td { border-top: 1px solid var(--line); }
.vt td.he { font-size: 23px; line-height: 1.5; text-align: right; direction: rtl; white-space: nowrap; }
.vt td.tr { font-size: 16px; }
.vt td.n { font: 500 17px var(--head); color: var(--brand-dark); font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; }
.vt tbody tr:hover td { background: #fbfdfd; }
@media (max-width: 520px) {
  .vt { font-size: 16px; }
  .vt td, .vt th { padding: 9px 12px; }
  .vt td.he { font-size: 21px; white-space: normal; }
  .vt.stack thead { display: none; }
  .vt.stack tbody, .vt.stack tr { display: block; }
  .vt.stack tr { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "n en he" "n tr he"; column-gap: 12px; border-top: 1px solid var(--line); padding: 9px 12px; }
  .vt.stack tbody tr:first-child { border-top: 0; }
  .vt.stack td { border: 0 !important; padding: 0; }
  .vt.stack td.n { grid-area: n; align-self: center; font-size: 15px; }
  .vt.stack td.en { grid-area: en; }
  .vt.stack td.tr { grid-area: tr; font-size: 15px; }
  .vt.stack td.he { grid-area: he; align-self: center; }
}

/* Tip / note */
.note { background: color-mix(in srgb, var(--brand) 7%, #fff); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.note svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.note > div > * + * { margin-top: .5em; }
.note b:first-child { font-family: var(--head); font-weight: 500; }

/* Course card inside the text */
.inline-course { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none !important; color: var(--ink) !important; box-shadow: 0 8px 24px rgba(8, 60, 66, .07); transition: transform .2s, box-shadow .2s; }
.inline-course:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(8, 60, 66, .12); }
.inline-course img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.inline-course .in { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: center; }
.inline-course b { font: 500 20px/1.2 var(--head); color: var(--brand-dark); }
.inline-course p { font-size: 15px; color: var(--soft); line-height: 1.5; }
.inline-course .meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }
.inline-course .meta b { font: 600 14px var(--body); color: var(--star); display: inline-flex; gap: 4px; align-items: center; }
.inline-course .go { font: 500 15px var(--head); color: var(--ink); margin-top: 4px; }
.inline-course .go span { background: var(--sun); color: var(--sun-ink); padding: 8px 14px; border-radius: 999px; display: inline-block; }
@media (min-width: 600px) { .inline-course { grid-template-columns: 220px 1fr; } .inline-course img { height: 100%; aspect-ratio: auto; } }
.inline-app { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.inline-app .top { display: flex; gap: 14px; align-items: center; }
.inline-app .top img { width: 64px; height: 64px; border-radius: 22%; flex: none; box-shadow: 0 6px 14px rgba(8, 60, 66, .16); }
.inline-app b { font: 500 20px var(--head); display: block; }
.inline-app .top span { font-size: 15px; color: var(--soft); }
.inline-app p { font-size: 16px; color: var(--soft); }
.prose .stores a { text-decoration: none; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2px 18px; }
.faq summary { cursor: pointer; list-style: none; font: 500 18px/1.35 var(--head); padding: 14px 28px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M4 6l4 4 4-4%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M4 6l4 4 4-4%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding-bottom: 16px; color: var(--ink); font-size: 17px; }

/* ---------- Interactive tools ---------- */
.tool { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 12px 32px rgba(8, 60, 66, .08); display: grid; gap: 16px; }
.prose .tool { margin-top: 1.6em; margin-bottom: .6em; }
.tool > h3 { margin: 0 !important; font: 500 22px var(--head); display: flex; align-items: center; gap: 10px; }
.tool > h3 svg { width: 22px; height: 22px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; flex: none; }
.tool .hint { font-size: 15px; color: var(--soft); margin: -8px 0 0 !important; }
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { font: 500 14px var(--head); border: 0; background: transparent; color: var(--soft); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--brand-dark); box-shadow: 0 2px 6px rgba(8, 60, 66, .12); }
.tool input[type="number"], .tool input[type="time"], .tool input[type="date"], .tool input[type="search"], .tool input[type="text"], .tool textarea {
  font: 400 18px var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 14px; width: 100%; caret-color: var(--brand);
}
.tool input:focus, .tool textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.tool label { font: 500 14px var(--head); color: var(--soft); display: grid; gap: 6px; }
.tool .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.tool .row > * { flex: 1 1 160px; }
.tool .out { background: var(--sand); border: 1px solid var(--sand-line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; min-height: 96px; align-content: center; }
.tool .out .he { font-size: clamp(26px, 5vw, 36px); line-height: 1.5; direction: rtl; text-align: right; }
.tool .out .tr { font-size: 16px; }
.tool .out .alt { border-top: 1px dashed var(--sand-line); margin-top: 8px; padding-top: 8px; }
.tool .out .alt .he { font-size: clamp(22px, 4vw, 28px); }
.tool .out small { color: var(--soft); font-size: 14px; }
.tool .err { color: #9f2d1b; font-size: 15px; }
.btn-soft { background: var(--bg); color: var(--brand-dark); padding: 10px 16px; font-size: 15px; }
.btn-sm { padding: 10px 16px; font-size: 15px; }

/* Hebrew clock */
.hclock { display: grid; gap: 18px; align-items: center; }
@media (min-width: 640px) { .hclock { grid-template-columns: 220px 1fr; } }
.dial { width: 100%; max-width: 240px; aspect-ratio: 1; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.dial .face { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.dial .tick { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.dial .tick.big { stroke: var(--soft); stroke-width: 3; }
.dial .num { font: 400 15px var(--he); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.dial .hand { stroke-linecap: round; transition: transform .45s cubic-bezier(.2, .8, .2, 1); transform-origin: 100px 100px; }
.dial.dragging .hand, .dial.live .hand { transition: none; }
.dial .h { stroke: var(--ink); stroke-width: 6; }
.dial .m { stroke: var(--brand); stroke-width: 4; cursor: grab; }
.dial .s { stroke: var(--coral); stroke-width: 1.6; }
.dial .grab { fill: var(--brand); cursor: grab; }
.dial .hub { fill: var(--ink); }
.clock-ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.clock-ctl input[type="time"] { width: auto; flex: 0 0 auto; font-variant-numeric: tabular-nums; }

/* Number to Hebrew */
.nums .examples { display: flex; flex-wrap: wrap; gap: 8px; }

/* 100 words explorer */
.wordbox .ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wordbox .ctl input[type="search"] { flex: 1 1 220px; width: auto; }
.wordbox .count { font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }
.no-nikkud .nk { display: none; }
.nikkud .pl { display: none; }
.hide-tr .tr { visibility: hidden; }
.quiz { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 8px 0; }
.quiz .q { font: 400 clamp(44px, 10vw, 64px)/1.4 var(--he); direction: rtl; }
.quiz .opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); width: 100%; }
.quiz .opts button { font: 400 17px var(--body); padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s; }
.quiz .opts button:hover:not(:disabled) { border-color: var(--brand); }
.quiz .opts button.ok { background: color-mix(in srgb, var(--brand) 14%, #fff); border-color: var(--brand); }
.quiz .opts button.no { background: color-mix(in srgb, var(--coral) 18%, #fff); border-color: var(--coral); }
.quiz .score { font: 500 15px var(--head); color: var(--soft); font-variant-numeric: tabular-nums; }

/* Vowel fade (no vowel signs) */
.fade .sample { font: 400 clamp(26px, 5vw, 34px)/1.7 var(--he); direction: rtl; text-align: right; background: var(--sand); border: 1px solid var(--sand-line); border-radius: 18px; padding: 16px 20px; }
.fade input[type="range"] { width: 100%; accent-color: var(--brand); }
.fade .scale { display: flex; justify-content: space-between; font-size: 14px; color: var(--soft); }

/* Hebrew keyboard */
.kb { display: grid; gap: 6px; direction: ltr; }
.kb .r { display: flex; gap: 5px; justify-content: center; }
.kb button { flex: 1 1 0; max-width: 58px; min-width: 0; aspect-ratio: 1 / 1.05; border-radius: 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 0 var(--line); cursor: pointer; display: grid; place-items: center; position: relative; padding: 0; color: var(--ink); transition: transform .06s, background .12s; }
.kb button:active, .kb button.hit { transform: translateY(2px); box-shadow: 0 0 0 var(--line); background: color-mix(in srgb, var(--brand) 12%, #fff); }
.kb button .he { font-size: clamp(16px, 3.6vw, 22px); line-height: 1; }
.kb button small { position: absolute; top: 3px; left: 5px; font: 400 10px var(--body); color: var(--soft); text-transform: uppercase; }
.kb .nk button { aspect-ratio: auto; height: 44px; max-width: 64px; }
.kb .nk button .he { font-size: 26px; }
.kb .wide { max-width: 200px; flex: 4 1 0; aspect-ratio: auto; height: 44px; font: 500 14px var(--head); }
.kb .act { max-width: 90px; flex: 1.6 1 0; aspect-ratio: auto; height: 44px; font: 500 14px var(--head); color: var(--brand-dark); }
.typed { font: 400 26px/1.6 var(--he); direction: rtl; text-align: right; min-height: 3.4em; resize: vertical; }

/* Hebrew date + converter */
.hdate .big { font: 400 clamp(30px, 6vw, 42px)/1.4 var(--he); direction: rtl; text-align: right; }

/* Zodiac */
.zgrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr)); }
.z { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; row-gap: 2px; background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.z .zi { width: 46px; height: 46px; padding: 6px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand-dark); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: background .2s, color .2s; }
.z .zi .f { fill: currentColor; stroke: none; }
.z b, .z > span:last-child { grid-column: 1 / -1; }
.z b { margin-top: 6px; }
.z .he { font-size: 26px; line-height: 1.45; text-align: right; direction: rtl; }
.z b { font: 500 16px var(--head); }
.z span { font-size: 14px; color: var(--soft); }
.z.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); transform: translateY(-2px); }
.z.on .zi { background: var(--brand); color: #fff; }
@media (max-width: 520px) {
  .zgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .z { padding: 10px 12px; column-gap: 8px; }
  .z .zi { width: 38px; height: 38px; padding: 5px; }
  .z .he { font-size: 22px; }
}

/* Cognates (Hebrew / Arabic) */
.cog { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.cog div { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: #fff; display: grid; gap: 2px; }
.cog .pair { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; direction: rtl; }
.cog .he { font-size: 25px; }
.cog .ar { font-family: "Noto Naskh Arabic", "Geeza Pro", "Arial", sans-serif; font-size: 25px; color: var(--brand-dark); }
.cog b { font: 500 16px var(--head); }
.cog span { font-size: 14px; color: var(--soft); }

/* Final letters */
.finals { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
.finals button { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 12px; cursor: pointer; display: grid; gap: 4px; justify-items: center; color: var(--ink); transition: border-color .15s, background .15s; }
.finals button:hover { border-color: var(--brand); }
.finals button[aria-pressed="true"] { background: var(--sand); border-color: var(--sand-line); }
.finals .he { font-size: 44px; line-height: 1.2; }
.finals .w { font-size: 20px; }
.finals small { font-size: 13px; color: var(--soft); }

/* Verb builder */
.verb .grid { display: grid; gap: 8px; }

/* Bible vs modern */
.pairs { display: grid; gap: 10px; }
.pairs .p { display: grid; gap: 10px; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: #fff; }
.pairs .p > div { display: grid; gap: 2px; }
.pairs .he { font-size: 25px; line-height: 1.6; direction: rtl; text-align: right; }
.pairs small { font: 500 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
@media (min-width: 640px) { .pairs .p { grid-template-columns: 1fr 1fr; } }

/* Author box */
.author { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; margin-top: 36px; max-width: var(--read); }
.author .faces { display: flex; }
.author .faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.author .faces img + img { margin-left: -18px; }
.author b { font: 500 18px var(--head); display: block; }
.author p { font-size: 15px; color: var(--soft); }

.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; font: 500 15px var(--head); color: var(--soft); }
.share button, .share a { font: 500 14px var(--head); display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.share button:hover, .share a:hover { border-color: var(--brand); }
.share svg { width: 16px; height: 16px; fill: currentColor; }

.related { margin-top: 44px; }
.related > h2 { font: 300 clamp(28px, 4.6vw, 36px) var(--head); margin-bottom: 4px; }

/* Wide tables and tools never push the page sideways on phones. */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 420px) { .tool { padding: 16px; border-radius: 20px; } .prose { font-size: 17px; } }

/* Course card in the narrow sidebar: always stacked. */
.side-cta .inline-course { grid-template-columns: 1fr; }
.side-cta .inline-course img { height: auto; aspect-ratio: 16/9; }
.side-cta .inline-course p { display: none; }
.tool .out > div { display: grid; gap: 2px; }
.tool .out > div > small:first-child { margin-bottom: 2px; }
.hclock .out .he { font-size: clamp(24px, 3.2vw, 31px); }
.hclock .out .alt .he { font-size: clamp(20px, 2.6vw, 25px); }
.vt caption { line-height: 1.5; padding-top: 2px; }
@media (max-width: 520px) {
  .vt.stack tr { grid-template-columns: auto 1fr; grid-template-areas: "n he" "n en" "n tr"; row-gap: 1px; }
  .vt.stack td.he { text-align: right; white-space: normal; }
  .vt.stack td.en, .vt.stack td.tr { text-align: left; }
}
.learn h2 + p { margin-top: 12px; }
.learn .acts { margin-top: 20px; }
.ar-in { font-family: "Noto Naskh Arabic", "Geeza Pro", "Arial", sans-serif; font-size: 1.12em; unicode-bidi: isolate; }
.words tr.grp th { background: var(--sand); color: var(--ink); font: 500 15px var(--head); letter-spacing: .02em; text-transform: none; padding: 10px 16px; border-top: 1px solid var(--line); }
.words tbody:first-of-type tr.grp th { border-top: 0; }
@media (max-width: 520px) { .vt.stack.words tr.grp { display: block; padding: 0; } .vt.stack.words tr.grp th { display: block; } }
.verb .seg { justify-content: flex-start; }
.acts-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acts-row label { display: flex !important; flex-direction: row; gap: 8px; align-items: center; font: 400 15px var(--body) !important; color: var(--soft); }
.kb .nk { flex-wrap: wrap; }
.kb .nk button { flex: 0 0 auto; width: calc((100% - 6 * 5px) / 7); max-width: 52px; }
@media (max-width: 520px) {
  .kb { gap: 5px; }
  .kb .r { gap: 3px; }
  .kb button { border-radius: 7px; aspect-ratio: 1 / 1.25; }
  .kb button small { display: none; }
  .kb button .he { font-size: 19px; }
}
[hidden] { display: none !important; }
@media (max-width: 520px) {
  .vt.stack.words tr:not(.grp) { grid-template-columns: auto 1fr auto; grid-template-areas: "n en he" "n tr he"; }
  .vt.stack.words td.he { text-align: right; }
}
/* Contrast: text on the teal panels stays at 4.5:1 or better. */
.learn { background: var(--brand-dark); }
.learn .course-mini span { color: #e3f3f2; }

/* Audit fixes (2026-11-21) */
.prose .tool > h2 { margin: 0; font: 500 22px var(--head); display: flex; align-items: center; gap: 10px; }
.tool > h2 svg { width: 22px; height: 22px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; flex: none; }
.tool { scroll-margin-top: 72px; }
.tool .out { border: 0; }
.wordbox .vt { border: 0; border-radius: 0; border-top: 1px solid var(--line); }
.tool ::placeholder { color: var(--soft); opacity: 1; }
.prose p, .card p, .bhead p, .art-head .dek, .learn p, .foot p { text-wrap: pretty; }
.fade .sample { border: 0; }
.prose .zgrid { margin-top: 14px; }
.prose .pairs, .prose .cog { margin-top: 12px; }

/* ---------- Tools page (/tools) ---------- */
.tl-grid { display: grid; gap: 20px; align-items: start; margin-top: 6px; }
.tl-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tl-list a { display: grid; gap: 2px; padding: 11px 16px; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background .15s, color .15s; }
.tl-list a:hover { background: var(--sand); }
.tl-list a[aria-current="true"] { background: var(--brand-dark); color: #fff; }
.tl-list b { font: 500 18px/1.3 var(--head); }
.tl-list span { font-size: 15px; line-height: 1.45; color: var(--soft); }
.tl-list a[aria-current="true"] span { color: #e3f3f2; }
.tl-list .he { font: 400 19px/1.5 var(--he); color: var(--brand-dark); text-align: right; min-height: 1.5em; margin-top: 2px; }
.tl-list a[aria-current="true"] .he { color: #fff; }
.tpanel { display: grid; gap: 12px; scroll-margin-top: 64px; }
.tpanel + .tpanel { margin-top: 28px; }
.tpanel .tool > h2 { margin: 0; font: 500 24px/1.25 var(--head); display: flex; align-items: center; gap: 10px; }
.tpanel .zgrid { margin-top: 4px; }
.tl-more { color: var(--soft); font-size: 16px; padding-inline: 4px; text-wrap: pretty; }
.tl-more a { color: var(--brand-dark); font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .tl-list ol { grid-template-columns: 1fr 1fr; gap: 6px; }
  .tl-list a { padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; align-content: start; }
  .tl-list a[aria-current="true"] { border-color: var(--brand-dark); }
  .tl-list b { font-size: 16px; }
  .tl-list span { font-size: 13.5px; }
  .tl-list .he { display: none; }
}
@media (min-width: 900px) {
  .tl-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
  .tl-list { position: sticky; top: 70px; }
}

/* ---------- Two calendars, one year (hebrew-calendar post, /tools#calendar-timeline) ---------- */
.hcal { --ease: cubic-bezier(.16, 1, .3, 1); container-type: inline-size; display: grid; gap: 16px; min-width: 0; }
.hc-stage { display: grid; gap: 16px; min-width: 0; }
.hc-top { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
.hc-year { display: flex; align-items: center; gap: 4px; }
.hc-step { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--brand-dark); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s; }
.hc-step:hover:not(:disabled) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.hc-step:disabled { opacity: .35; cursor: default; }
.hc-step svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hc-yr { display: grid; justify-items: center; min-width: 148px; padding: 0 8px; }
.hc-yr b { font: 400 42px/1.05 var(--head); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hc-yr > span { font: 400 14px/1.4 var(--head); color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-yr .he { font-size: 15px; color: var(--brand-dark); }
.hc-act { display: flex; gap: 8px; flex-wrap: wrap; }
.hc-act svg { width: 13px; height: 13px; fill: currentColor; flex: none; }
.hc-act [data-play] { min-width: 158px; }

/* The day you are on, in both calendars */
.hc-read { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); grid-template-areas: "greg moon heb"; gap: 6px 16px; align-items: center; background: var(--sand); border-radius: 18px; padding: 14px 18px; min-height: 108px; }
.hc-greg { grid-area: greg; display: grid; gap: 2px; }
.hc-greg b { font: 400 clamp(17px, 3.2cqi, 20px)/1.3 var(--head); text-wrap: balance; }
.hc-greg small { font-size: 13.5px; color: var(--soft); }
.hc-moon { grid-area: moon; display: grid; justify-items: center; gap: 4px; text-align: center; }
.hc-moon svg { width: 46px; height: 46px; overflow: visible; }
.hc-moon .dark { fill: #dfe8e8; }
.hc-moon .lit { fill: #ffd76a; }
.hc-moon .rim { fill: none; stroke: #b9a46a; stroke-width: 1.2; }
.hc-moon small { font-size: 12.5px; line-height: 1.3; color: var(--soft); max-width: 13ch; }
.hc-heb { grid-area: heb; display: grid; gap: 0; text-align: right; }
.hc-heb > .he { font-size: clamp(20px, 3.7cqi, 26px); line-height: 1.5; direction: rtl; text-wrap: balance; }
.hc-heb .tr { font-size: 14.5px; }
.hc-now { justify-self: end; margin-top: 4px; display: inline-flex; gap: 6px; align-items: baseline; font: 500 14px var(--head); color: #8a3322; background: color-mix(in srgb, var(--coral) 16%, #fff); border-radius: 999px; padding: 2px 12px; }
.hc-now .he { font-size: 16px; }

/* The timeline. Lanes share one axis: --a is where an item starts and --b how long it is, in % of the year. */
.hc-track { --vert: 0; position: relative; display: grid; grid-template-rows: 22px 42px 20px 68px 46px 30px; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.hc-track .lane { position: relative; min-width: 0; }
.hc-zones { position: absolute; inset: 22px 0 30px; border-radius: 14px; overflow: hidden; }
.hc-zones > *, .hc-track .lane > * { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: calc(var(--b) * 1%); transition: left .9s var(--ease), width .9s var(--ease), top .9s var(--ease), height .9s var(--ease), opacity .45s; }
.hc-zones .wi { background: color-mix(in srgb, var(--brand) 9%, transparent); }
.hc-zones .sp { background: color-mix(in srgb, #4aa36c 13%, transparent); }
.hc-zones .su { background: color-mix(in srgb, var(--sun) 20%, transparent); }
.hc-zones .au { background: color-mix(in srgb, var(--coral) 12%, transparent); }
.hc-track .in { opacity: 0; }
.hc-track .out { opacity: 0; }
.hc-sl span { display: block; padding-left: 6px; font: 500 12.5px/22px var(--head); color: var(--soft); white-space: nowrap; }
.hc-g .c, .hc-h .c { position: absolute; inset: 3px 1px; border-radius: 10px; display: grid; place-content: center; text-align: center; overflow: hidden; }
.hc-g .c { background: rgba(255, 255, 255, .62); border: 1px solid rgba(214, 232, 231, .9); font: 500 13px var(--head); color: var(--ink); }
.hc-h .c { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); gap: 1px; padding: 0 1px; transition: border-color .2s, background .2s, box-shadow .2s; }
.hc-h .c .he { font-size: clamp(13px, 2.6cqi, 17px); line-height: 1.3; white-space: nowrap; }
.hc-h .c .tr { font: 400 clamp(9.5px, 1.8cqi, 12px)/1.2 var(--head); color: var(--soft); white-space: nowrap; }
.hc-h [data-w="s"] .tr, .hc-h [data-w="xs"] .c > * { display: none; }
.hc-h .leap .c { background: color-mix(in srgb, var(--coral) 16%, #fff); border-color: color-mix(in srgb, var(--coral) 55%, #fff); }
.hc-h .on .c { border-color: var(--brand); box-shadow: 0 4px 14px rgba(8, 60, 66, .14), inset 0 0 0 1px var(--brand); }
.hc-m > *, .hc-p > * { width: 0; }
.hc-m svg { position: absolute; left: -6px; top: 4px; width: 12px; height: 12px; fill: none; stroke: #9c8a55; stroke-width: 1.4; }
.hc-m .full svg { fill: #ffd76a; stroke: #b9a46a; }
.hc-p i { position: absolute; left: -5px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-dark); box-shadow: 0 0 0 2px #fff; transition: transform .25s var(--ease), background .2s; }
.hc-p .on i { background: var(--coral); transform: scale(1.4); }
.hc-p .lab { position: absolute; top: 20px; left: 0; transform: translateX(-50%); white-space: nowrap; font: 500 13px/1.6 var(--head); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; box-shadow: 0 4px 12px rgba(8, 60, 66, .12); opacity: 0; pointer-events: none; transition: opacity .2s; }
.hc-p .lab .he { font-size: 14px; color: var(--brand-dark); }
.hc-p [data-edge="l"] .lab { transform: translateX(-12px); }
.hc-p [data-edge="r"] .lab { transform: translateX(calc(-100% + 12px)); }
.hc-p .on .lab { opacity: 1; }
.hc-y .c { position: absolute; inset: 0 1px; display: grid; place-items: center; }
.hc-y .c::before { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--brand) 45%, #fff); }
.hc-y .c > span { position: relative; top: 4px; font: 400 12.5px var(--head); color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc-y .c .he { font-size: 13px; color: var(--brand-dark); }
.hc-y [data-w="s"] .c > span { font-size: 0; }
.hc-y [data-w="s"] .c .he { font-size: 12px; }

/* The day marker */
.hc-cur { --c: 0; position: absolute; top: 0; bottom: 0; left: calc(var(--c) * 1%); width: 0; z-index: 3; outline: none; transition: left .5s var(--ease), top .5s var(--ease); }
.hc-track.drag .hc-cur { transition: none; }
.hc-cur::before { content: ""; position: absolute; top: 12px; bottom: 26px; left: -1px; width: 2px; border-radius: 2px; background: var(--ink); }
.hc-cur .knob { position: absolute; top: 0; left: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 3px 10px rgba(8, 60, 66, .3); cursor: grab; touch-action: none; transition: box-shadow .2s; }
.hc-track.drag .knob { cursor: grabbing; }
.hc-cur:focus-visible .knob { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 40%, transparent), 0 3px 10px rgba(8, 60, 66, .3); }

.hc-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--soft); }
.hc-key > span { display: inline-flex; align-items: center; gap: 6px; }
.hc-key .sw { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.hc-key .leap { background: color-mix(in srgb, var(--coral) 16%, #fff); border: 1px solid color-mix(in srgb, var(--coral) 55%, #fff); }
.hc-key .sp { background: color-mix(in srgb, #4aa36c 22%, #fff); }
.hc-key .su { background: color-mix(in srgb, var(--sun) 35%, #fff); }
.hc-key .au { background: color-mix(in srgb, var(--coral) 22%, #fff); }
.hc-key .wi { background: color-mix(in srgb, var(--brand) 16%, #fff); }
.hc-key .mn svg { display: block; width: 13px; height: 13px; fill: none; stroke: #9c8a55; stroke-width: 1.4; }
.hc-key .mn.full svg { fill: #ffd76a; stroke: #b9a46a; }
.hc-key .vonly { display: none; }
.prose .hc-note, .hc-note { margin: 0 !important; font-size: 16px; line-height: 1.6; text-wrap: pretty; min-height: 3.2em; }
.hc-note b { font-weight: 600; }
.hc-feasts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.hc-feasts button { font: inherit; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px 10px; display: grid; gap: 1px; align-content: start; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.hc-feasts button:hover { border-color: var(--brand); }
.hc-feasts button[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, #fff); }
.hc-feasts .he { font-size: 19px; line-height: 1.45; text-align: right; }
.hc-feasts b { font: 500 15px/1.3 var(--head); }
.hc-feasts .d { font-size: 13.5px; color: var(--soft); font-variant-numeric: tabular-nums; }
.hc-feasts .dl { font-size: 12.5px; line-height: 1.35; color: var(--brand-dark); }
.hc-feasts .dl.up { color: #a63a25; }

/* Narrow: the year runs down the page, months stacked, so Hebrew names keep their size. */
@container (max-width: 559px) {
  .hc-read { position: sticky; top: 54px; z-index: 5; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "heb moon" "greg moon"; gap: 2px 12px; padding: 10px 14px; min-height: 0; }
  .hc-heb > .he { font-size: 19px; line-height: 1.45; }
  .hc-heb .tr { font-size: 13px; }
  .hc-now { margin-top: 2px; font-size: 13px; padding: 0 10px; }
  .hc-heb, .hc-greg { text-align: left; }
  .hc-heb > .he { text-align: right; }
  .hc-greg b { font-size: 14.5px; font-weight: 500; }
  .hc-greg small { display: none; }
  .hc-moon svg { width: 32px; height: 32px; }
  .hc-moon small { font-size: 11.5px; max-width: 10ch; }
  .hc-now { justify-self: start; }
  .hc-yr { min-width: 0; }
  .hc-yr b { font-size: 36px; }
  .hc-top { justify-content: center; }
  .hc-track { --vert: 1; grid-template-rows: none; grid-template-columns: 46px 20px minmax(0, 1fr) 22px 22px; height: 760px; cursor: default; }
  .hc-sl { display: none; }
  .hc-zones { inset: 0 22px 0 0; }
  .hc-zones > *, .hc-track .lane > * { left: 0; right: 0; width: auto; top: calc(var(--a) * 1%); height: calc(var(--b) * 1%); bottom: auto; }
  .hc-m > *, .hc-p > * { height: 0; }
  .hc-g .c, .hc-h .c { inset: 1px 3px; }
  .hc-g .c { place-content: start center; padding-top: 6px; font-size: 12.5px; }
  .hc-h .c { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 0 10px; }
  .hc-h .c .he { font-size: 17px; }
  .hc-h .c .tr { font-size: 12.5px; }
  .hc-h [data-w="s"] .tr { display: block; }
  .hc-h [data-w="s"] .c .he { font-size: 14px; }
  .hc-m svg { left: 4px; top: -6px; }
  .hc-p i { left: 6px; top: -5px; }
  .hc-p .lab { display: none; }
  .hc-y .c { inset: 1px 0; }
  .hc-y .c::before { left: 50%; right: auto; top: 3px; bottom: 3px; width: 2px; height: auto; margin-left: -1px; }
  .hc-y .c > span { top: 0; writing-mode: vertical-rl; background: var(--tile); padding: 6px 0; font-size: 12px; }
  .hc-y .c .he { display: none; }
  .hc-y [data-w="s"] .c > span { font-size: 0; }
  .hc-cur { left: 0; right: 0; width: auto; top: calc(var(--c) * 1%); bottom: auto; height: 0; }
  .hc-cur::before { top: -1px; left: 0; right: 22px; bottom: auto; width: auto; height: 2px; }
  .hc-cur .knob { top: -14px; left: auto; right: -4px; width: 28px; height: 28px; }
  .hc-key .vonly { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-zones > *, .hc-track .lane > *, .hc-cur { transition: none; }
}

/* Your name in Hebrew (lazy-loaded tool) */
.tool .examples { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-box { display: grid; gap: 14px; }
.nm-inwrap { position: relative; display: block; }
.nm-inwrap input.is-loading { padding-inline-end: 42px; }
.nm-loader { position: absolute; inset-inline-end: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: nm-spin .75s linear infinite; pointer-events: none; }
@keyframes nm-spin { to { transform: rotate(360deg); } }
.nm-skel { display: grid; gap: 8px; padding-block: 4px; }
.nm-skel span { display: block; height: 18px; width: 62%; border-radius: 8px; background: var(--sand-line); animation: nm-pulse 1.2s ease-in-out infinite; }
.nm-skel span:first-child { height: 32px; width: 42%; justify-self: end; }
@keyframes nm-pulse { 50% { opacity: .5; } }
.nm-wait { color: var(--soft); font-size: 14px; }
.nm-empty { color: var(--ink); font-size: 16px; line-height: 1.55; }
.nm-split { display: grid; gap: 14px; align-items: start; }
.nm-col { display: grid; gap: 5px; min-width: 0; }
.nm-col + .nm-col { border-top: 1px dashed var(--sand-line); padding-top: 14px; }
@media (min-width: 640px) {
  .nm-split:not(.single) { grid-template-columns: 1fr 1fr; gap: 22px; }
  .nm-split:not(.single) .nm-col + .nm-col { border-top: 0; padding-top: 0; border-left: 1px dashed var(--sand-line); padding-left: 22px; }
}
.nm-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nm-tag { font: 500 13px var(--head); letter-spacing: .05em; text-transform: uppercase; color: var(--brand-dark); }
.nm-copy { background: var(--tile); padding: 7px 14px; min-height: 36px; font-size: 14px; border: 1px solid var(--sand-line); }
.nm-copy:hover { border-color: var(--brand); }
.tool .out .nm-big { font-size: clamp(28px, 4.8vw, 38px); line-height: 1.45; direction: rtl; text-align: right; color: var(--ink); word-break: break-word; }
.nm-meta { font-size: 16px; line-height: 1.45; color: var(--ink); }
.nm-same { font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.tool .out .nm-same .he { font-size: 21px; line-height: 1.35; display: inline; }
.nm-why { font-size: 14px; line-height: 1.5; color: var(--soft); display: block; margin-top: 2px; }
.nm-alts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.nm-alts-lbl { font-size: 13.5px; color: var(--soft); margin-right: 2px; }
.nm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; min-height: 36px; border-radius: 999px; border: 1px solid var(--sand-line); background: var(--tile); color: var(--ink); font: 400 14px var(--body); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.nm-chip:hover { border-color: var(--brand); }
.nm-chip[aria-pressed="true"] { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--brand-ink); }
.tool .out .nm-chip .he { font-size: 18px; line-height: 1.2; }
.name-tool .seg button { min-height: 36px; }
.nm-bar { justify-content: space-between; }
