/* Read-mode pages: answer pages, blog index + posts, guides/best indexes, about and legal.
   Builds on site.css (.wrap--read, .page-head, .answer, .facts, .tool, .toc, .faq, .prose, .related, .rail).
   Only what is unique to reading lives here, plus a restyle of the legacy markup inside post bodies. */

/* ── Layout: one reading column; long pages get a sticky TOC column on wide screens ── */
.read { padding-bottom: 8px; }
.read > * + * { margin-top: 20px; }
.read-head { display: grid; gap: 12px; padding-top: 20px; }
.read-head h1 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); line-height: 1.12; }
.read-head__sub { display: block; margin-top: 8px; font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 500; line-height: 1.4; color: var(--soft); letter-spacing: 0; }
.read-head .lede { color: var(--soft); font-size: 1.08rem; max-width: 62ch; }
.read-block { padding-top: 16px; }
.read-block > h2 { font-size: clamp(1.3rem, 2.8vw, 1.6rem); margin-bottom: 14px; }
.read-block > p { color: var(--soft); margin-top: -6px; margin-bottom: 14px; }

@media (min-width: 1100px) {
    .read--toc { max-width: calc(720px + 56px + 248px + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 1fr) 248px; column-gap: 56px; row-gap: 0; align-items: start; }
    .read--toc > * { grid-column: 1; }
    .read--toc > * + * { margin-top: 20px; }
    .read--toc > .read-toc { grid-column: 2; grid-row: 1 / span 40; margin-top: 20px; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; }
}

/* Blocks after the reading column (deals, related, categories) use the full store width. */
.read-after { display: grid; gap: 8px; padding-top: 12px; }
.read-after > .section { padding-block: 18px; min-width: 0; }
.read-after .section + .section { padding-top: 18px; border-top: 1px solid var(--rule); }
.read-after .chips { flex-wrap: wrap; overflow: visible; }

/* ── Answer box ── */
.answer { gap: 10px; }
.answer p { max-width: 52ch; }
.answer p strong { color: #fff; }
.answer a { color: #fff; }
.answer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 2px; }
.answer .story-entry { box-shadow: none; }
.answer .story-entry:hover { border-color: var(--fg); }
@media (prefers-color-scheme: dark) { .answer { border: 1px solid var(--rule); background: var(--panel); } }

/* ── Customs facts + calculator (taxes page only) ── */
.read-tool { display: grid; gap: 12px; }
.read-tool .fact small { line-height: 1.35; }
.tool__hint { color: var(--soft); font-size: .88rem; font-weight: 400; }
.tool__src { color: var(--soft); font-size: .85rem; }
.tool__src a { color: inherit; }
.tool__src a:hover { color: var(--fg); }

/* ── Byline ── */
.byline a { color: var(--fg); font-weight: 600; text-decoration: none; display: inline-block; padding-block: 4px; }
.byline a:hover { text-decoration: underline; }
.byline { column-gap: 10px; }
.byline__dot { color: var(--soft); margin-inline-end: 10px; }

/* ── Hero image (blog posts) ── */
.read-hero { margin-inline: 0; margin-block-end: 0; border-radius: var(--r-panel); overflow: hidden; background: var(--stage); aspect-ratio: 16 / 9; }
.read-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ── Table of contents: collapsible on phones, open in the side column on wide screens ── */
.read-toc { padding: 0; }
.read-toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 16px; font-weight: 700; border-radius: var(--r-card); }
.read-toc summary::-webkit-details-marker { display: none; }
.read-toc summary small { color: var(--soft); font-weight: 500; font-size: .85rem; margin-inline-start: auto; }
.read-toc summary .i { color: var(--soft); transition: transform var(--d-s) var(--e-out); }
.read-toc[open] summary .i { transform: rotate(180deg); }
.read-toc ol { padding: 0 16px 14px; padding-inline-start: 2.1em; gap: 2px; font-size: .95rem; line-height: 1.4; }
.read-toc li::marker { color: var(--soft); font-variant-numeric: tabular-nums; }
.read-toc a { display: block; padding: 5px 0; color: var(--soft); transition: color var(--d-s); }
.read-toc a:hover, .read-toc a[aria-current="true"] { color: var(--fg); }
.read-toc a[aria-current="true"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .3em; }

/* ── Next question, Israel answers ── */
.related a span { min-width: 0; }
.related small { display: block; color: var(--soft); font-weight: 400; font-size: .85rem; margin-top: 2px; }

/* ── Post cards: a row on phones, a card from 640px ── */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.post-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 10px; transition: border-color var(--d-s), box-shadow var(--d-s) var(--e-out); }
.post-card:hover { border-color: color-mix(in srgb, var(--fg) 40%, var(--rule)); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--stage); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: grid; gap: 4px; min-width: 0; }
.post-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card h3 a:focus-visible { outline: none; }
.post-card:has(h3 a:focus-visible) { outline: 2.5px solid var(--red); outline-offset: 2px; }
.post-card p { color: var(--soft); font-size: .9rem; line-height: 1.5; display: none; }
.post-card__meta { color: var(--soft); font-size: .8rem; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) {
    .post-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
    .post-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .post-card { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; }
    .post-card__media { border-radius: 0; }
    .post-card__body { padding: 12px 14px 14px; gap: 6px; }
    .post-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ── Blog index ── */
.blog-filters { position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); padding-block: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.post-feature { position: relative; display: grid; gap: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-panel); overflow: hidden; transition: box-shadow var(--d-s) var(--e-out); }
.post-feature:hover { box-shadow: var(--shadow); }
.post-feature__media { aspect-ratio: 4 / 3; background: var(--stage); }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { display: grid; gap: 10px; align-content: start; padding: 18px 20px 20px; }
.post-feature h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.2; }
.post-feature h2 a { text-decoration: none; }
.post-feature h2 a::after { content: ""; position: absolute; inset: 0; }
.post-feature h2 a:focus-visible { outline: none; }
.post-feature:has(h2 a:focus-visible) { outline: 2.5px solid var(--red); outline-offset: 2px; }
.post-feature p { color: var(--soft); max-width: 60ch; }
.post-feature .btn { justify-self: start; position: relative; z-index: 1; pointer-events: none; }
@media (min-width: 900px) {
    /* The text sets the card's height; the image fills its column instead of forcing a 4:3 block. */
    .post-feature { grid-template-columns: 1.15fr 1fr; }
    .post-feature__media { position: relative; aspect-ratio: auto; min-height: 280px; }
    .post-feature__media img { position: absolute; inset: 0; }
    .post-feature__body { padding: 28px 32px; align-content: center; }
}
.post-more { display: flex; justify-content: center; padding-top: 20px; }
.js .post-grid [data-extra] { display: none; }
.js .post-grid.is-all [data-extra] { display: grid; }
.post-grid [hidden] { display: none !important; }
.blog-empty { padding: 28px 0 8px; color: var(--soft); text-align: center; }

/* ── Guides / best indexes: rows, not icon cards ── */
.read--index { max-width: calc(1040px + 2 * var(--gutter)); }
.read--index .read-intro { max-width: 720px; }
.index-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .index-list .index-row { height: 100%; align-content: start; } }
.index-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 16px 18px; text-decoration: none; transition: border-color var(--d-s); }
.index-row:hover { border-color: var(--fg); }
.index-row__title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.index-row p { grid-column: 1; color: var(--soft); font-size: .95rem; line-height: 1.5; }
.index-row .i { grid-column: 2; grid-row: 1 / span 3; color: var(--soft); align-self: center; }
.index-row__meta { grid-column: 1; color: var(--soft); font-size: .82rem; font-variant-numeric: tabular-nums; }
.read-intro { padding-top: 28px; }
.read-intro h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin-top: 0; }

/* ── Legal/about meta line ── */
.page-meta { color: var(--soft); font-size: .9rem; }

/* ═══ .prose: legacy body markup from posts.json / landing-pages.json ═══════════
   The body HTML is content and is not edited; these rules map its old classes onto the system. */
.prose { overflow-wrap: break-word; }
.prose :is(td, th) { overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* Comfortable measure: paragraphs and list items stop near 75 Hebrew characters even in the wide column. */
.prose :is(p, li, blockquote, dd), .read-intro p { max-inline-size: 50ch; }
.prose :is(td, th) p, .prose .answer p { max-inline-size: none; }
.prose :where(section, div, article, figure) > * + * { margin-top: .9em; }
.prose :where(section, div, article) { min-width: 0; }
.prose h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.3em; }
.prose h5 { font-size: 1rem; font-weight: 700; }
.prose :where(h2, h3, h4) + * { margin-top: .6em; }
.prose strong { font-weight: 700; }
.prose code { font-size: .9em; background: var(--stage); border-radius: 6px; padding: .1em .4em; direction: ltr; unicode-bidi: isolate; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2em; }
.prose figure { margin: 0; }
.prose img { height: auto; }
.prose .text-center, .prose .text-center img { text-align: center; margin-inline: auto; }
.prose .highlight { background: color-mix(in srgb, var(--yel) 40%, transparent); border-radius: 3px; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (prefers-color-scheme: dark) { .prose .highlight { background: color-mix(in srgb, var(--yel) 22%, transparent); } }
.prose input[type="checkbox"] { accent-color: var(--red-press); width: 18px; height: 18px; vertical-align: -3px; margin-inline-end: 6px; }
.prose label { display: inline-flex; align-items: center; min-height: 32px; }
.prose li > p { margin-top: .3em; }
/* Old inline paint (light hex backgrounds, side borders) would break dark mode; neutralise it. */
.prose [style*="background"] { background: var(--stage) !important; border: 0 !important; border-radius: var(--r-card); padding: 14px 16px !important; }
.prose [style*="color"] { color: inherit !important; }

/* Lead paragraph and intro */
.prose .article-intro { display: grid; gap: .9em; }
.prose .lead, .prose .article-intro > p:first-child { font-size: 1.16rem; line-height: 1.7; color: var(--fg); }

/* "בקצרה" summary section */
.prose #summary { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 18px 20px; margin-top: 1.6em; }
.prose #summary > h2 { margin-top: 0; font-size: clamp(1.2rem, 2.6vw, 1.45rem); }

/* Callouts: tips, warnings, verdicts. One quiet surface, no side stripes. */
.prose :is(.tip, .tip-box, .warning-box, .israel-tip, .security-tip, .insight, .highlight-box, .bonus-tip, .cultural-note, .price-reminder, .deals-alert, .customs-info, .savings-box, .savings-highlight, .verdict-box, .verdict, .final-verdict, .safety-warning, .troubleshooting-tip, .calendar-tip, .warning, .urgent, .price-alert, .highlight-row, .comparison-highlight, .practical-example, .example-calculation, .combo-example, .message-example, .code-example, .product-highlight-box, .guarantee-text, .purchase-recommendation) {
    background: var(--stage); border: 0; border-radius: var(--r-card); padding: 14px 16px; font-size: 1rem; line-height: 1.65;
    max-inline-size: calc(50ch + 32px); /* text sits directly in the box, so cap the box like a paragraph */
}
.prose :is(.tip, .tip-box, .warning-box, .verdict-box) > :first-child { margin-top: 0; }

/* Cards inside articles: product picks, steps, strategies */
.prose :is(.product-recommendation, .product-card, .product-item, .strategy-card, .audience-card, .who-card, .mistake, .filter-item, .score-item, .rating-item, .payment-option, .timeline-item, .trend-item, .hack-item, .tip-item, .diy-item, .app-item, .contact-item, .shipping-method, .sale-event, .budget-level, .scenario, .use-case, .step, .faq-item, .checklist-item, .feature-category, .test-category, .coupon-type, .deal-type, .customs-tier, .family-size, .feature-detail, .safety-point, .design-aspect, .category-safety, .measurement, .seller-metrics, .pros-section, .cons-section, .pros-box, .cons-box, .pros, .cons, .process-step) {
    background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 14px 16px; min-width: 0;
}
.prose :is(.product-recommendation, .product-card, .strategy-card, .who-card, .faq-item, .process-step) > :is(h3, h4):first-child { margin-top: 0; }
.prose .product-recommendation { padding: 16px 18px; }
.prose .product-details { background: var(--bg); border-radius: 10px; padding: 10px 14px; display: grid; gap: 2px; font-size: .95rem; }
.prose .product-details > * + * { margin-top: 0; }
.prose .faq-item h3 { font-size: 1.05rem; }

/* Grids of cards */
.prose :is(.row, .ae-cards, .products-grid, .top-products-grid, .mistakes-grid, .coupon-types-grid, .pros-cons-grid, .who-grid, .audience-grid, .tips-grid, .hacks-grid, .apps-grid, .contacts-grid, .coupons-grid, .compatibility-grid, .smart-uses-grid, .shipping-tips-grid, .filter-tips, .comparison-overview, .score-breakdown, .rating-breakdown, .payment-methods, .category-products) {
    display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
.prose :is(.row, .ae-cards, [class$="-grid"], .filter-tips, .comparison-overview, .score-breakdown, .rating-breakdown, .payment-methods, .category-products) > * { margin-top: 0; }
.prose :is(.container, [class*="col-"]) { width: auto; max-width: none; padding: 0; }
.prose .mb-4 { margin-bottom: 0; }

/* Product image wells */
.prose .product-image, .prose .product-review-image { width: 100%; max-height: 260px; object-fit: contain; background: var(--stage); border-radius: 10px; }

/* ae-card: compact product card used in newer posts */
.prose .ae-card { display: grid; grid-template-rows: auto 1fr; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; }
.prose .ae-card__media { aspect-ratio: 1; background: var(--stage); }
.prose .ae-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.prose .ae-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.prose .ae-card__body > * + * { margin-top: 0; }
.prose .ae-card__title { margin: 0; font-size: 1rem; line-height: 1.35; }
.prose .ae-card__price { color: var(--price); font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.prose .ae-card__meta { color: var(--soft); font-size: .85rem; }
.prose .ae-card__verdict { font-size: .92rem; line-height: 1.5; }
.prose .ae-card__verdict--buy { color: var(--ok); font-weight: 600; }
.prose .ae-card__cta { margin-top: auto; }

/* Prices written into posts */
.prose :is(.current-price, .current-price-big) { color: var(--price); font-weight: 800; font-variant-numeric: tabular-nums; }
.prose :is(.old-price, .old-price-big) { color: var(--soft); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.prose .price-info, .prose .price-display { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.prose .price-info > *, .prose .price-display > * { margin-top: 0; }
.prose :is(.product-badge, .coupon-badge, .discount-badge, .discount, .product-category, .result-badge) { display: inline-flex; align-items: center; border-radius: var(--r-pill); padding: 2px 10px; font-size: .8rem; font-weight: 600; background: var(--stage); color: var(--fg); width: fit-content; }

/* Links that act as buttons in older posts: one consistent secondary pill (DESIGN.md), 44px tall.
   The page's own primary actions (deal cards, buy buttons) stay the only filled red buttons. */
.prose :is(.cta-button, .btn, .btn-primary, .affiliate-link, .affiliate-button, .btn-buy, .btn-review, .ae-card__cta, .landing-cta, .hero-cta-button, .copy-button),
.prose :is(.cta-section, .final-cta-section, .cta-box, .affiliate-cta, .final-cta, .smart-home-cta, .purchase-section, .affiliate-deal-section, .cta-buttons, .cta-buttons-final, .product-actions, .purchase-buttons, .who-cta-buttons) > a:not([class]) {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill);
    background: transparent; border: 1.5px solid var(--fg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.3; text-align: center; text-decoration: none;
    transition: background var(--d-s), transform var(--d-xs) var(--e-out); max-width: 100%;
}
.prose :is(.cta-button, .btn, .btn-primary, .affiliate-link, .affiliate-button, .btn-buy, .btn-review, .ae-card__cta, .landing-cta, .hero-cta-button, .copy-button):hover,
.prose :is(.cta-section, .final-cta-section, .cta-box, .affiliate-cta, .final-cta, .smart-home-cta, .purchase-section, .affiliate-deal-section, .cta-buttons, .cta-buttons-final, .product-actions, .purchase-buttons, .who-cta-buttons) > a:not([class]):hover { background: var(--stage); color: var(--fg); }
.prose :is(.cta-button, .btn, .btn-primary, .affiliate-link, .affiliate-button, .btn-buy, .btn-review, .ae-card__cta, .landing-cta, .hero-cta-button, .copy-button):active { transform: scale(.97); }
.prose .ae-card__cta { min-height: 44px; padding: 9px 12px; font-size: .92rem; }
/* Stand-alone "read more" links get a full touch target; links inside sentences are unchanged. */
.prose :is(.landing-link, .internal-link) { display: inline-flex; align-items: center; min-height: 44px; }
.prose :is(.cta-buttons, .cta-buttons-final, .product-actions, .purchase-buttons, .who-cta-buttons) { display: flex; flex-wrap: wrap; gap: 10px; }
.prose :is(.cta-buttons, .cta-buttons-final, .product-actions, .purchase-buttons, .who-cta-buttons) > * { margin-top: 0; }
.prose :is(.cta-section, .final-cta-section, .cta-box, .affiliate-cta, .final-cta, .smart-home-cta, .purchase-section, .affiliate-deal-section) { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 18px 20px; }
.prose :is(.cta-section, .final-cta-section, .cta-box, .affiliate-cta, .final-cta) > :is(h2, h3):first-child { margin-top: 0; }

/* Coupons inside posts */
.prose .coupon-card { display: grid; gap: 8px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 16px; }
.prose .coupon-card > * + * { margin-top: 0; }
.prose .coupon-description { font-weight: 700; font-size: 1.05rem; }
.prose .coupon-code-text { display: inline-block; border: 1.5px dashed var(--fg); border-radius: 11px; padding: 6px 12px; font-weight: 800; letter-spacing: .04em; direction: ltr; }
.prose .coupon-details { color: var(--soft); font-size: .9rem; }
.prose .copy-button { justify-self: start; min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.prose .copy-button.is-copied { background: var(--fg); border-color: var(--fg); color: var(--panel); }

/* Tables keep their own horizontal scroll; the page never scrolls sideways. */
.prose .table-responsive { overflow-x: auto; }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--panel); overscroll-behavior-x: contain; }
.prose .table-scroll:focus-visible { outline-offset: 2px; }
.prose table { display: table; width: 100%; font-variant-numeric: tabular-nums; }
.prose :not(.table-scroll) > table { display: block; overflow-x: auto; }
.prose table :is(th, td) { min-width: 7.5em; }
.prose table :is(th, td):first-child { min-width: 9em; }
.prose tr:last-child td { border-bottom: 0; }
.prose td a { overflow-wrap: normal; }
@media (pointer: coarse) { .prose td a { display: inline-block; padding-block: 8px; margin-block: -4px; } }

/* Landing-page legacy blocks */
.prose .landing-section > h2:first-child { margin-top: 1.8em; }
.prose > .landing-section:first-child > h2:first-child, .prose > section:first-child > h2:first-child { margin-top: 0; }
.prose .landing-link { font-weight: 600; }
.prose .process-timeline { display: grid; gap: 10px; }
.prose .process-timeline > * { margin-top: 0; }
.prose .process-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.prose .process-step__number { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-variant-numeric: tabular-nums; grid-row: span 2; }
@media (prefers-color-scheme: dark) { .prose .process-step__number { background: var(--fg); color: var(--bg); } }
.prose .process-step__content > * + * { margin-top: .4em; }
.prose .process-step__time { color: var(--soft); font-size: .88rem; }
.prose .who-card h3 { margin-top: 0; }
.prose .who-summary { background: var(--stage); border-radius: var(--r-card); padding: 14px 16px; }

/* ── Round-1 additions ── */
@media (min-width: 1024px) { .read-after .post-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.post-card__type { display: none; }
@media (min-width: 640px) { .post-card__type { display: inline; } }
.blog-count { color: var(--soft); font-size: .92rem; margin: -6px 0 12px; }
.blog-count:empty { display: none; }
.js .post-grid:not(.is-filtered) [data-dup] { display: none; }
@media (max-width: 899px) {
    /* The end edge fades so a cut-off chip reads as "more to scroll". */
    .blog-filters .chips { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px); mask-image: linear-gradient(to right, transparent 0, #000 40px); padding-inline-end: 32px; }
}

/* Blog post summary ("בקצרה") under the byline */
.answer__title { font-size: 1rem; font-weight: 700; color: #fff; }
.answer--summary p { font-size: 1.05rem; }

/* All products in the post */
.post-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.post-product { display: grid; grid-template-rows: auto 1fr; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; }
.post-product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--stage); }
.post-product__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.post-product h3 { font-size: .95rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-product__price { font-variant-numeric: tabular-nums; }
.post-product__price bdi { color: var(--price); font-weight: 800; font-size: 1.1rem; }
.post-product__price small { color: var(--soft); font-size: .78rem; }
.post-product__go { margin-top: auto; border-radius: var(--r-pill); min-height: 44px; }

/* Who-is-it-for cards: fewer, wider columns; timeline numbers sit tight against their step */
.prose .who-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.prose .process-step > * + * { margin-top: 0; }

/* A grid list that holds a heading or a table is really a section: let it flow as one column. */
.prose :is(.row, .products-grid, .top-products-grid, .mistakes-grid, .coupon-types-grid, .pros-cons-grid, .tips-grid, .hacks-grid, .apps-grid, .contacts-grid, .coupons-grid, .compatibility-grid, .smart-uses-grid, .shipping-tips-grid, .filter-tips, .comparison-overview, .score-breakdown, .rating-breakdown, .payment-methods, .category-products):has(> :is(h2, h3, h4, p, table, .table-scroll, ul, ol)) { display: block; }
.prose :is(.row, .comparison-overview, .filter-tips, .score-breakdown, .rating-breakdown, .payment-methods, .category-products, [class$="-grid"]):has(> :is(h2, h3, h4, p, table, .table-scroll, ul, ol)) > * + * { margin-top: .9em; }

/* Contact: one WhatsApp support button (no personal mailbox on the site) */
.prose .contact-wa .btn { color: var(--fg); padding-block: 10px; text-decoration: none; font-weight: 700; }
.about-stamp { margin-bottom: 4px; }
.about-stamp .stamp { white-space: normal; align-items: flex-start; }
/* Inline links keep their line box but get a taller hit area. */
.prose a { padding-block: .3em; }

/* Touch targets for stand-alone links on phones */
@media (max-width: 899px) {
    .crumbs a { display: inline-block; padding-block: 10px; }
    .tool__src a { display: inline-block; padding-block: 10px; }
}

/* ── Round-1 addendum: legacy hooks from deleted blog.css ── */
/* A post has one primary action at most, so old ".primary" CTAs are the secondary pill and ".secondary" ones a quiet link pill. */
.prose .cta-button.secondary { border-color: transparent; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; }
.prose .cta-button.secondary:hover { background: var(--stage); }
.prose .cta-section > a.internal-link, .prose .cta-section > a:not([class]) { display: flex; width: fit-content; min-height: 44px; align-items: center; }
.prose .link-list { list-style: none; padding-inline-start: 0; display: grid; gap: 2px; }
.prose .link-list li + li { margin-top: 0; }
.prose .link-list a, .prose .landing-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
.prose :is(.faq-container, .timeline-guide, .sets-comparison) { display: grid; gap: 10px; }
.prose :is(.faq-container, .timeline-guide, .sets-comparison) > * { margin-top: 0; }
@media (min-width: 640px) { .prose .sets-comparison { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); } }
.prose :is(.set-option, .faq-answer) { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 14px 16px; }
.prose .price-range { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: var(--r-pill); background: var(--stage); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.prose .shipping-methods-table { margin: 0; padding: 0; }
.prose .blessing { font-weight: 600; }

/* Wide tables: an inner shadow on the side that still has columns to scroll to (classes set by read-after.ejs). */
.prose .table-scroll { transition: box-shadow var(--d-s) var(--e-out); }
.prose .table-scroll.more-end { box-shadow: inset 18px 0 14px -14px color-mix(in srgb, var(--fg) 30%, transparent); }
.prose .table-scroll.more-start { box-shadow: inset -18px 0 14px -14px color-mix(in srgb, var(--fg) 30%, transparent); }
.prose .table-scroll.more-start.more-end { box-shadow: inset 18px 0 14px -14px color-mix(in srgb, var(--fg) 30%, transparent), inset -18px 0 14px -14px color-mix(in srgb, var(--fg) 30%, transparent); }
.prose .table-scroll td { background: transparent; }

/* TOC links: 40px rows, 44px on touch screens */
.read-toc a { min-height: 40px; display: flex; align-items: center; padding-block: 6px; }
@media (pointer: coarse) { .read-toc a { min-height: 44px; } }

/* ── Round 2 ── */
/* Headings re-levelled by reading.ts keep the size they were written at. */
.prose :is(h3, h4).is-h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.3em; }
.prose h4.is-h5 { font-size: 1rem; font-weight: 700; }
/* A table inside a card is part of that card: no second border or panel. */
.prose :is(#summary, .tip, .tip-box, .warning-box, .highlight-box, .verdict-box, .savings-box, .example-calculation, .comparison-box, .product-recommendation, .product-card, .faq-item, .who-card, .cta-section, .final-cta-section, .cta-box) .table-scroll { border: 0; border-radius: 0; background: transparent; }
/* Timeline step: the number lines up with the step title, not ~22px above it. */
.prose .process-step { align-items: start; }
.prose .process-step__number { align-self: start; margin-top: 0; grid-row: span 1; }
.prose .process-step__content > :first-child { margin-top: 6px; }
/* Wrappers that hold their own cards or a table are sections, not cards. */
.prose .customs-info:has(.customs-tier), .prose .seller-metrics:has(.table-scroll, table) { background: transparent; border: 0; padding: 0; }
.prose .customs-info:has(.customs-tier) { display: grid; gap: 10px; }
.prose .customs-info:has(.customs-tier) > * { margin-top: 0; }
/* Quick checklists: chips in a wrapping row instead of inline boxes that overlap. */
.prose .checklist-items { display: flex; flex-wrap: wrap; gap: 8px; }
.prose .checklist-items > * { margin-top: 0; }
.prose span.checklist-item { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--stage); border: 0; font-size: .95rem; }
