/*
 * ProShard design system (2026-11 redesign).
 * Editorial shopping magazine: deep navy brand color, logo orange for actions,
 * clean white pages with cool gray sections. Geist for everything.
 * Loaded by every page, including the generated buying guides (whose inline article CSS
 * is restyled at the bottom of this file), so components are namespaced:
 * .sh header, .sf footer, .hm home, .page content pages, .rv reviews, .book printables.
 * Shape rule: images and cards 14px radius; buttons, chips and badges are full pills.
 */
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-600-normal.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0b1f33;          /* brand navy: headings, header band, footer */
  --ink-2: #13324f;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #13202e;
  --muted: #4a5a6b;
  --faint: #677689;
  --border: #e2e8f0;
  --soft: #f3f6fa;         /* cool gray section background */
  --tint: #fff4ec;         /* light orange tint for highlights */
  --accent: #c2410c;       /* buttons and links (4.8:1 on white) */
  --accent-ink: #9a3412;
  --brand: #d14b02;        /* logo orange, decorative only */
  --on-accent: #ffffff;
  --good: #0f766e;
  --bad: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 51, .06), 0 8px 24px rgba(11, 31, 51, .06);
  --shadow-lg: 0 2px 4px rgba(11, 31, 51, .06), 0 18px 40px rgba(11, 31, 51, .10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef5;
    --ink-2: #c9d6e3;
    --bg: #0a1520;
    --surface: #0f1d2b;
    --text: #e6edf4;
    --muted: #a7b5c4;
    --faint: #8696a8;
    --border: #1f3346;
    --soft: #112233;
    --tint: #2a1a10;
    --accent: #fb923c;
    --accent-ink: #fdba74;
    --brand: #fb923c;
    --on-accent: #1a0d05;
    --good: #5eead4;
    --bad: #fca5a5;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 40px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

/* ---------- Header ---------- */
.sh-promo { background: var(--ink); color: #f1f5f9; font-size: 14px; text-align: center; padding: 9px 16px; }
.sh-promo a { color: #ffffff; font-weight: 600; text-decoration: none; }
.sh-promo a span { color: #fdba74; }
.sh-promo a:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { .sh-promo { background: #06101a; } }
.sh { background: var(--bg); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.sh-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sh-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; flex-shrink: 0; }
.sh-mark { width: 34px; height: 34px; display: block; flex-shrink: 0; }
.sh-nav { display: flex; gap: 4px; }
.sh-nav a { position: relative; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 24px 12px; transition: color .2s; white-space: nowrap; }
.sh-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 14px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.sh-nav a:hover { color: var(--ink); }
.sh-nav a:hover::after, .sh-nav a[aria-current="page"]::after { transform: scaleX(1); }
.sh-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .sh-in { flex-direction: column; align-items: stretch; gap: 0; padding: 0; min-height: 0; }
  .sh-logo { padding: 14px 16px 6px; }
  .sh-nav { overflow-x: auto; scrollbar-width: none; padding: 0 6px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .sh-nav::-webkit-scrollbar { display: none; }
  .sh-nav a { padding: 12px 10px 14px; font-size: 15px; }
  .sh-nav a::after { bottom: 6px; left: 10px; right: 10px; }
}

/* ---------- Footer ---------- */
.sf { margin-top: 88px; padding: 0; border-top: 0; background: var(--ink); color: #c3cfdc; font-size: 15px; }
@media (prefers-color-scheme: dark) { .sf { background: #06101a; } }
.sf-in { max-width: 1200px; margin: 0 auto; padding: 56px 20px 32px; display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sf-in { grid-template-columns: 2fr 1fr 1fr; } }
.sf h2 { font-size: 15px; font-weight: 600; color: #ffffff; margin: 0 0 14px; letter-spacing: .01em; }
.sf-in > div:first-child h2 { font-size: 22px; letter-spacing: -0.02em; }
.sf p { margin: 0 0 10px; line-height: 1.65; max-width: 46ch; color: #c3cfdc; }
.sf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sf a { color: #c3cfdc; text-decoration: none; }
.sf a:hover { color: #ffffff; text-decoration: underline; }
.sf-legal { max-width: 1200px; margin: 0 auto; padding: 20px 20px 36px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #9fb0c2; }

/* ---------- Shared buttons and labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 999px; transition: background-color .2s, transform .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(194, 65, 12, .22); }
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* ---------- Home ---------- */
.hm-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hm section { margin-bottom: 80px; }
.hm h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.15; }
.hm .meta { font-size: 14px; color: var(--faint); }
.hm .pic { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.hm .pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.hm a:hover .pic img { transform: scale(1.035); }
.hm-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.hm-head .kicker { display: block; margin-bottom: 8px; }
.hm-more { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent); white-space: nowrap; }
.hm-more:hover { text-decoration: underline; }

/* Hero: lead story plus trending list */
.hm-hero { display: grid; gap: 32px; padding-top: 40px; }
@media (min-width: 1000px) { .hm-hero { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 44px; padding-top: 48px; } }
.hm-lead { display: grid; gap: 22px; text-decoration: none; color: inherit; }
.hm-lead .pic { aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.hm-lead h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; color: var(--ink); margin: 10px 0 14px; max-width: 22ch; transition: color .2s; }
.hm-lead:hover h1 { color: var(--accent); }
.hm-lead p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 16px; max-width: 60ch; }
.hm-trend { background: var(--soft); border-radius: var(--radius); padding: 26px 24px; align-self: start; }
.hm-trend h2 { font-size: 20px; margin-bottom: 8px; }
.hm-trend ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.hm-trend li a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.hm-trend li:last-child a { border-bottom: 0; padding-bottom: 4px; }
.hm-trend .n { font-size: 26px; font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -0.03em; }
.hm-trend strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--ink); margin-top: 4px; transition: color .2s; }
.hm-trend a:hover strong { color: var(--accent); }
.hm-trend .kicker { font-size: 11.5px; }

.hm-note { margin: 40px 0 64px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
.hm-note a { font-weight: 600; }

/* Category tiles */
.hm-cats-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .hm-cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .hm-cats-grid { grid-template-columns: repeat(6, 1fr); } }
.hm-cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; background: var(--soft); }
.hm-cat .pic { position: absolute; inset: 0; border-radius: 0; }
.hm-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 51, 0) 40%, rgba(11, 31, 51, .82) 100%); }
.hm-cat span.lbl { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; color: #ffffff; font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; }
.hm-cat span.lbl small { display: block; font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, .82); margin-top: 4px; }

/* Guide cards */
.hm-grid3, .hm-grid4 { display: grid; gap: 28px 24px; }
@media (min-width: 700px) { .hm-grid3, .hm-grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hm-grid3 { grid-template-columns: repeat(3, 1fr); } .hm-grid4 { grid-template-columns: repeat(4, 1fr); } }
.gc { display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
.gc .pic { aspect-ratio: 3 / 2; }
.gc .kicker { margin-top: 6px; }
.gc h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); margin: 0; transition: color .2s; }
.gc:hover h3 { color: var(--accent); }
.gc p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Navy gift band */
.hm-band { background: var(--ink); color: #e6edf4; padding: 64px 0; }
@media (prefers-color-scheme: dark) { .hm-band { background: #0d2033; } }
.hm-band h2 { color: #ffffff; }
.hm-band .kicker { color: #fdba74; }
.hm-band .hm-more { color: #fdba74; }
.hm-band .gc h3 { color: #ffffff; }
.hm-band .gc:hover h3 { color: #fdba74; }
.hm-band .gc p { color: #c3cfdc; }
.hm-band .gc .kicker { color: #fdba74; }
.hm-band .pic { background: #13324f; }

/* Trust section */
.hm-trust { background: var(--soft); border-radius: 22px; padding: 44px 28px; }
@media (min-width: 900px) { .hm-trust { padding: 56px 56px; } }
.hm-trust-grid { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 900px) { .hm-trust-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.hm-trust h3 { font-size: 18px; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.hm-trust h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--brand); margin-bottom: 14px; }
.hm-trust p { margin: 0; color: var(--muted); line-height: 1.65; }
.hm .book-grid { margin-top: 0; }

/* Chips (printables hub filters, topic links) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; transition: border-color .2s, color .2s, background-color .2s; }
.chips a:hover { border-color: var(--accent); color: var(--accent); background: var(--tint); }

/* ---------- Simple content pages (about, disclosure, privacy) ---------- */
.page { max-width: 720px; margin: 0 auto; padding: 48px 20px 16px; font-size: 17px; line-height: 1.7; }
.page h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 18px; }
.page h2 { font-size: 22px; letter-spacing: -0.01em; font-weight: 600; margin: 36px 0 8px; }
.page p, .page li { color: var(--text); }
.page .lede { font-size: 19px; color: var(--muted); }
.page .updated { color: var(--faint); font-size: 14px; }
.page figure { margin: 28px 0; }
.page figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* ---------- Printables (books) ---------- */
.book { max-width: 760px; }
.book .crumbs, .books-hub .crumbs { font-size: 14px; color: var(--faint); margin-bottom: 14px; }
.book .crumbs a { color: var(--muted); }
.book ul { padding-left: 22px; }
.book li { margin-bottom: 6px; }
.buy { display: grid; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 28px 0 8px; }
@media (min-width: 680px) { .buy { grid-template-columns: 260px 1fr; } }
.buy img { width: 100%; height: auto; border-radius: 10px; display: block; }
.buy p { margin: 0 0 10px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.buy .buy-name { color: var(--text); font-weight: 600; font-size: 18px; line-height: 1.35; }
.buy .buy-price { color: var(--text); font-weight: 600; font-size: 22px; margin: 4px 0 14px; }
.buy .buy-price span { color: var(--faint); font-weight: 400; font-size: 14px; }
.book details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.book summary { cursor: pointer; font-weight: 600; }
.book details p { color: var(--muted); margin: 8px 0 0; }
.cta-end { margin: 40px 0 8px; padding: 24px; border-radius: var(--radius); background: var(--soft); display: grid; gap: 14px; justify-items: start; }
.cta-end p { margin: 0; }
.book-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 8px 0 20px; }
.book-grid.small { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.book-card { text-decoration: none; color: inherit; display: grid; gap: 8px; align-content: start; }
.book-card .pic { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.book-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.book-card:hover .pic img { transform: scale(1.03); }
.book-card-title { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--text); transition: color .2s; }
.book-card:hover .book-card-title { color: var(--accent); }
.book-card-price { font-size: 14px; color: var(--muted); }
.books-hub { max-width: 1160px; }
.books-hub .lede { max-width: 62ch; }
.books-hub .chips { margin: 8px 0 32px; }
.books-hub section { margin-bottom: 40px; scroll-margin-top: 90px; }
.note-small { font-size: 14px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .home a:hover .pic img, .home .pic:hover img { transform: none; }
}

/* Ads (Adsterra): labeled, centered, space reserved to avoid layout shift */
.ad { margin: 36px auto; text-align: center; overflow: hidden; max-width: 100%; }
.ad::before { content: "Advertisement"; display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ad iframe { max-width: 100%; border: 0; }
.ad-lb { min-height: 113px; }
.ad-box { min-height: 273px; }
.ad-native { min-height: 120px; }
@media (max-width: 799px) { .ad-lb { min-height: 73px; } }

/* Desktop sidebar ad: sticky 160x600 beside the 820px guide column */
main.wrap { position: relative; }
.ad-rail { display: none; }
@media (min-width: 1240px) {
  .ad-rail { display: block; position: absolute; top: 24px; bottom: 64px; left: calc(100% + 24px); width: 160px; }
  .ad-rail .ad { position: sticky; top: 88px; margin: 0; min-height: 619px; }
}

/* Product reviews (/reviews/): verdict box, spec table, pros and cons */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rv { max-width: 760px; }
.rv .crumbs, .rv-hub .crumbs { font-size: 14px; color: var(--faint); margin-bottom: 14px; }
.rv .crumbs a, .rv-hub .crumbs a { color: var(--muted); }
.rv-kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.rv-note { font-size: 14px; line-height: 1.55; color: var(--muted); background: var(--soft); border-radius: var(--radius); padding: 12px 16px; }
.rv-verdict { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.rv-verdict h2 { margin-top: 0; }
.rv-verdict h3 { font-size: 15px; margin: 0 0 6px; }
.rv-fit { display: grid; gap: 16px; margin: 14px 0 20px; }
@media (min-width: 640px) { .rv-fit { grid-template-columns: 1fr 1fr; } }
.rv-fit ul, .rv-pc ul { margin: 0; padding-left: 20px; }
.rv-fit li, .rv-pc li { margin-bottom: 6px; font-size: 16px; }
.rv-specs { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.rv-specs th, .rv-specs td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.rv-specs tr:last-child th, .rv-specs tr:last-child td { border-bottom: 0; }
.rv-specs th { width: 38%; font-weight: 600; color: var(--text); background: var(--soft); }
.rv-pc { display: grid; gap: 18px; margin: 28px 0; }
@media (min-width: 640px) { .rv-pc { grid-template-columns: 1fr 1fr; } }
.rv-pc section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.rv-pc h2 { font-size: 18px; margin: 0 0 10px; }
.rv details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.rv summary { cursor: pointer; font-weight: 600; }
.rv details p { color: var(--muted); margin: 8px 0 0; }
.rv-related { padding-left: 20px; }
.rv-hub { max-width: 1100px; }
.rv-grid { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 720px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } }
.rv-card { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--text); }
.rv-card .pic img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; transition: transform .3s; }
.rv-card:hover .pic img { transform: scale(1.02); }
.rv-card .rv-kicker { margin: 6px 0 0; }
.rv-card-title { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.rv-card-text { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Cookie notice (Consent Mode v2) */
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(24, 24, 27, .16); padding: 16px 18px; display: grid; gap: 12px; font-size: 14px; line-height: 1.5; }
.ck[hidden] { display: none; }
.ck p { margin: 0; color: var(--muted); }
.ck a { color: var(--accent); }
.ck-btns { display: flex; gap: 10px; justify-content: flex-end; }
.ck button { font: inherit; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 9px 18px; cursor: pointer; border: 1px solid var(--border); }
.ck-no { background: var(--surface); color: var(--text); }
.ck-yes { background: var(--accent); color: var(--on-accent); border-color: var(--accent) !important; }
.ck button:active { transform: translateY(1px); }
.ad iframe { display: block; margin: 0 auto; }

/* ---------- Buying guide skin (restyles the generated article markup) ---------- */
main.wrap { max-width: 820px; padding: 28px 20px 24px; font-size: 18px; line-height: 1.72; }
main.wrap .crumbs { font-size: 14px; color: var(--faint); }
main.wrap .crumbs a { color: var(--muted); text-decoration: none; }
main.wrap .crumbs a:hover { color: var(--accent); }
main.wrap h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; color: var(--ink); margin: 14px 0 14px; }
main.wrap h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; color: var(--ink); margin: 56px 0 14px; scroll-margin-top: 90px; }
main.wrap h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; color: var(--ink); }
main.wrap h4 { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
main.wrap p, main.wrap li { color: var(--text); }
main.wrap > article > p:first-of-type { font-size: 19px; }
main.wrap .meta { color: var(--faint); font-size: 14px; }
main.wrap .disclosure { background: var(--tint); border: 0; border-radius: 10px; color: var(--muted); font-size: 14px; padding: 12px 16px; }
main.wrap figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
main.wrap .toc { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
main.wrap .toc strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
main.wrap .toc ol { margin: 10px 0 0; padding-left: 22px; font-size: 16px; line-height: 1.5; }
@media (min-width: 700px) { main.wrap .toc ol { columns: 2; column-gap: 36px; } }
main.wrap .toc li { margin: 0 0 8px; break-inside: avoid; }
main.wrap .toc a { color: var(--text); text-decoration: none; }
main.wrap .toc a:hover { color: var(--accent); text-decoration: underline; }

/* Quick picks table */
main.wrap table { font-size: 15px; border: 1px solid var(--border); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--shadow); margin: 20px 0 8px; }
main.wrap thead th { background: var(--ink); color: #ffffff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px; }
@media (prefers-color-scheme: dark) { main.wrap thead th { background: #13324f; } }
main.wrap tbody td { padding: 14px; border-bottom: 1px solid var(--border); }
main.wrap tbody tr:nth-child(even) td { background: var(--soft); }
main.wrap tbody tr:last-child td { border-bottom: 0; }
main.wrap tbody td a[href^="#"] { color: var(--ink); font-weight: 600; text-decoration: none; }
main.wrap tbody td a[href^="#"]:hover { color: var(--accent); }
main.wrap tbody td small { color: var(--accent); font-weight: 600; font-size: 13px; }
main.wrap tbody td a[rel~="sponsored"] { display: inline-block; white-space: nowrap; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; text-decoration: none; }
main.wrap tbody td a[rel~="sponsored"]:hover { background: var(--accent-ink); }
@media (max-width: 600px) { main.wrap thead th:nth-child(2), main.wrap tbody td:nth-child(2) { display: none; } }

/* Product cards */
main.wrap .card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; margin: 28px 0; box-shadow: var(--shadow); scroll-margin-top: 90px; }
main.wrap .card:hover { box-shadow: var(--shadow-lg); }
main.wrap .card .badge { background: var(--tint); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { main.wrap .card .badge { color: var(--accent); } }
main.wrap .card h3 { font-size: 24px; margin: 2px 0 6px; }
main.wrap .card .best-for { font-size: 15px; color: var(--muted); font-weight: 500; }
main.wrap .card > div > p:not(.best-for) { font-size: 17px; }
main.wrap .pc { gap: 14px; margin: 18px 0 6px; }
main.wrap .pc > div { border-radius: 12px; padding: 16px 18px; background: var(--soft); }
main.wrap .pc h4 { margin: 0 0 8px; font-size: 13px; }
main.wrap .pc > div:first-child h4 { color: var(--good); }
main.wrap .pc > div:last-child h4 { color: var(--bad); }
main.wrap .pc ul { padding-left: 18px; font-size: 15px; line-height: 1.55; }
main.wrap .pc li { margin-bottom: 4px; }
main.wrap .pc > div:first-child li::marker { color: var(--good); }
main.wrap .pc > div:last-child li::marker { color: var(--bad); }
main.wrap .btn { display: inline-flex; margin-top: 14px; border-radius: 999px; padding: 13px 26px; font-size: 15px; }
@media (max-width: 600px) { main.wrap .card { padding: 22px 18px; } main.wrap .card .btn { display: flex; width: 100%; } }

/* FAQ */
main.wrap details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin: 10px 0; }
main.wrap details[open] { box-shadow: var(--shadow); }
main.wrap summary { font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
main.wrap summary::-webkit-details-marker { display: none; }
main.wrap summary::after { content: "+"; font-weight: 500; font-size: 22px; line-height: 1; color: var(--accent); }
main.wrap details[open] summary::after { content: "\2212"; }
main.wrap details p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

/* Related links, Pinterest cover and article footer */
main.wrap .grid { gap: 14px; }
main.wrap .tile { background: var(--surface); border-radius: 12px; font-weight: 600; color: var(--ink); }
main.wrap .tile:hover { border-color: var(--accent); color: var(--accent); }
main.wrap .cover { box-shadow: var(--shadow); }
main.wrap > footer { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Phone refinements ---------- */
.no-ads .ad, .no-ads .ad-rail { display: none !important; }
@media (max-width: 860px) {
  .sh { position: relative; }
  .sh-logo { font-size: 20px; }
  .sh-mark { width: 30px; height: 30px; }
}
@media (max-width: 640px) {
  .sh-promo { font-size: 13px; padding: 8px 14px; }
  .hm section { margin-bottom: 56px; }
  .hm-hero { padding-top: 20px; gap: 24px; }
  .hm-lead { gap: 14px; }
  .hm-lead p { font-size: 16px; }
  .hm-trend { padding: 20px 18px; }
  .hm-note { margin: 28px 0 44px; }
  .hm-head { margin-bottom: 20px; }
  .hm-cats-grid { gap: 12px; }
  .hm-cat { aspect-ratio: 1 / 1; }
  .hm-cat span.lbl { left: 12px; right: 12px; bottom: 10px; font-size: 15px; }
  .hm-cat span.lbl small { font-size: 12px; }
  .hm-band { padding: 44px 0; }
  .hm-grid3, .hm-grid4 { gap: 32px; }
  .gc h3 { font-size: 18px; }
  .hm-trust { padding: 32px 20px; border-radius: 18px; }
  .page { padding-top: 28px; font-size: 16.5px; }
  main.wrap { padding: 18px 16px 16px; font-size: 17px; }
  main.wrap h1 { font-size: 30px; }
  main.wrap h2 { font-size: 24px; margin-top: 44px; }
  main.wrap .card h3 { font-size: 20px; }
  main.wrap .toc { padding: 16px 18px; }
  main.wrap .toc ol { font-size: 15px; }
  .ad { margin: 28px auto; }
}

/* ---------- Recipes (/recipes/) ---------- */
.rc { max-width: 780px; }
.rc .crumbs, .rc-hub .crumbs { font-size: 14px; color: var(--faint); margin-bottom: 14px; }
.rc .crumbs a, .rc-hub .crumbs a { color: var(--muted); text-decoration: none; }
.rc h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; color: var(--ink); margin: 8px 0 14px; }
.rc h2 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 44px 0 12px; scroll-margin-top: 20px; }
.rc h3 { font-size: 17px; color: var(--ink); margin: 0 0 4px; }
.rc .lede { font-size: 19px; color: var(--muted); }
.rc ul { padding-left: 22px; }
.rc li { margin-bottom: 6px; }
.rc figure img { box-shadow: var(--shadow); }
.rc-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 0; }
.rc-meta span { display: grid; gap: 2px; background: var(--soft); border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--ink); min-width: 92px; }
.rc-meta small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.rc-meta.small span { background: var(--surface); border: 1px solid var(--border); }
.rc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 8px; }
.rc-print { font: inherit; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; }
.rc-print:hover { border-color: var(--accent); color: var(--accent); }
.rc-card { background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--brand); border-radius: 18px; padding: 8px 28px 24px; margin: 36px 0; box-shadow: var(--shadow); }
.rc-card > h2:first-child { margin-top: 22px; font-size: clamp(22px, 3vw, 30px); }
.rc-card h2 { font-size: 22px; margin-top: 30px; }
.rc-card h3 { margin-top: 16px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.rc-ing { list-style: none; padding: 0 !important; margin: 8px 0; }
.rc-ing li { border-bottom: 1px dashed var(--border); margin: 0; }
.rc-ing label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; font-size: 16.5px; line-height: 1.45; }
.rc-ing input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.rc-ing input:checked + span { text-decoration: line-through; color: var(--faint); }
.rc-steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 8px 0; }
.rc-steps li { position: relative; padding: 4px 0 18px 52px; margin: 0; }
.rc-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #ffffff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .rc-steps li::before { background: var(--accent); color: var(--on-accent); } }
.rc-steps li p { margin: 4px 0 0; font-size: 16.5px; line-height: 1.65; }
.rc details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.rc summary { font-weight: 600; color: var(--ink); cursor: pointer; }
.rc details p { color: var(--muted); margin: 8px 0 0; }
.rc-grid { display: grid; gap: 26px 22px; }
@media (min-width: 700px) { .rc-grid { grid-template-columns: repeat(3, 1fr); } }
.rc-grid .gc .pic, .hm-recipes .gc .pic { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); aspect-ratio: 3 / 2; }
.rc-grid .gc .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-grid .gc .meta, .hm-recipes .gc .meta { font-size: 14px; color: var(--faint); }
.rc-hub { max-width: 1200px; }
.rc-hub section { margin: 48px 0 8px; scroll-margin-top: 20px; }
.rc-hub .hm-head { margin-bottom: 8px; }
.rc-hub .hm-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.025em; }
.rc-blurb { color: var(--muted); margin: 0 0 22px; }
@media (max-width: 640px) {
  .rc-card { padding: 4px 18px 18px; }
  .rc-meta span { min-width: 0; padding: 8px 12px; font-size: 14px; }
  .rc-steps li { padding-left: 46px; }
}
@media print {
  .sh-promo, .sh, .sf, .ck, .ad, .ad-rail, .rc-actions, .rc figure, .rc-grid, #more, .crumbs { display: none !important; }
  body { background: #ffffff; color: #000000; }
  .rc-card { box-shadow: none; border: 1px solid #cccccc; }
  .rc-steps li::before { background: #000000; color: #ffffff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.page p.kicker, .rc p.kicker { color: var(--accent); margin: 0 0 6px; }

/* ---------- Blog (/blog/) ---------- */
.bl { max-width: 780px; }
.bl .crumbs { font-size: 14px; color: var(--faint); margin-bottom: 14px; }
.bl .crumbs a { color: var(--muted); text-decoration: none; }
.bl h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; color: var(--ink); margin: 8px 0 14px; }
.bl h2 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 44px 0 12px; scroll-margin-top: 20px; }
.bl h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 18px 0 8px; }
.bl .lede { font-size: 19px; color: var(--muted); }
.bl-byline { font-size: 14px; color: var(--faint); margin: 0 0 8px; }
.bl ul { padding-left: 22px; }
.bl li { margin-bottom: 8px; }
.bl figure img { box-shadow: var(--shadow); }
.bl-answer { background: var(--soft); border: 1px solid var(--border); border-left: 5px solid var(--brand); border-radius: 16px; padding: 6px 24px 14px; margin: 28px 0; }
.bl-answer h2 { margin-top: 18px; font-size: 22px; }
.bl-answer > p { font-size: 17.5px; color: var(--text); }
.bl-toc { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin: 28px 0; }
.bl-toc strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.bl-toc ol { margin: 10px 0 0; padding-left: 22px; font-size: 15.5px; line-height: 1.5; }
.bl-toc li { margin-bottom: 6px; }
.bl-toc a { color: var(--text); text-decoration: none; }
.bl-toc a:hover { color: var(--accent); text-decoration: underline; }
.bl-tip { background: var(--tint); border-radius: 12px; padding: 14px 18px; font-size: 16px; }
.bl-tip strong { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { .bl-tip strong { color: var(--accent); } }
.bl details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.bl summary { font-weight: 600; color: var(--ink); cursor: pointer; }
.bl details p { color: var(--muted); margin: 8px 0 0; }
.bl-sources { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 4px; }
.bl-sources h2 { font-size: 20px; }
.bl-sources li { font-size: 15.5px; }
.bl-note { font-size: 14px; color: var(--faint); }
@media (max-width: 640px) { .bl-answer { padding: 4px 18px 10px; } }
@media print { .bl figure, .bl-toc, .rc-grid { display: none !important; } }

/* ---------- Free printables ---------- */
.fb-card .book-card-price { color: var(--accent); font-weight: 600; }
.page .fb-strip { margin: 28px 0 44px; padding: 24px; border-radius: var(--radius); background: var(--soft); }
.page .fb-strip .hm-in { padding: 0; }
.page .fb-strip .hm-head { margin-bottom: 18px; }
.page .fb-strip h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); }
.hm .fb-strip .book-grid, .page .fb-strip .book-grid { margin-bottom: 0; }
.fb-list { display: grid; gap: 28px; margin: 32px 0 48px; }
.fb-item { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.fb-pic { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.fb-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.fb-pic:hover img { transform: scale(1.03); }
.fb-item h2 { margin: 6px 0 10px; font-size: clamp(21px, 2.4vw, 26px); }
.fb-item p { margin: 0 0 12px; }
.fb-item ul { margin: 0 0 18px; padding-left: 20px; }
.fb-item li { margin: 4px 0; }
.page p.fb-up { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 720px) {
  .fb-item { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .fb-pic { max-width: 320px; }
  .page .fb-strip { padding: 18px 16px; }
}
.fb-strip .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .fb-strip .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fb-strip .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .fb-strip .book-card-title { font-size: 14px; } }
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.fb-guide { font-weight: 600; color: var(--accent); text-decoration: none; }
.fb-guide:hover { text-decoration: underline; }
.fb-dl { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; margin: 28px 0; padding: 22px; border: 2px solid var(--accent); border-radius: 16px; background: var(--tint); }
.fb-dl-pic { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--soft); }
.fb-dl-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page .fb-dl p.kicker { margin: 0 0 4px; }
.page p.fb-dl-t { margin: 0 0 8px; font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.fb-dl ul { margin: 0 0 16px; padding-left: 20px; font-size: 16px; }
.fb-dl li { margin: 3px 0; }
.page p.fb-dl-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.fb-dl-end { margin: 40px 0; padding: 24px; border-radius: 16px; background: var(--soft); border: 1px solid var(--border); }
.fb-dl-end h2 { margin-top: 0; }
.fb-dl-end figure { margin: 0 0 16px; }
.fb-dl-end figure img { width: 100%; height: auto; border-radius: 12px; display: block; }
@media (max-width: 640px) {
  .fb-dl { grid-template-columns: 1fr; padding: 18px; }
  .fb-dl-pic { max-width: 240px; }
  .fb-dl-end { padding: 18px 16px; }
}
.bl-shop { margin: 40px 0; padding: 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.bl-shop h2 { margin-top: 0; }
.bl-shop .book-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 0; }
@media (max-width: 640px) { .bl-shop { padding: 18px 16px; } .bl-shop .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* ---------- Paperbacks on Amazon ---------- */
.pb-offer { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin: 28px 0; padding: 22px; border: 1px solid var(--border); border-left: 5px solid var(--ink); border-radius: 16px; background: var(--soft); }
.pb-offer img { width: 100%; height: auto; border-radius: 12px; display: block; background: var(--surface); }
.page .pb-offer p.kicker { margin: 0 0 4px; }
.page p.pb-name { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.pb-offer ul, .book .buy ul { margin: 0 0 16px; padding-left: 20px; font-size: 16px; }
.pb-offer li, .book .buy li { margin: 3px 0; }
.page p.pb-note { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.page p.pb-end { margin: 12px 0 0; font-size: 15px; }
.page .pb-strip { margin: 40px 0 24px; }
.pb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 8px; }
.pb-gallery figure { margin: 0; }
.pb-gallery img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; display: block; }
.pb-gallery figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@media (max-width: 640px) {
  .pb-offer { grid-template-columns: 1fr; padding: 18px; }
  .pb-offer img { max-width: 260px; }
  .pb-gallery { grid-template-columns: 1fr 1fr; }
}

/* ---------- News ---------- */
.nw-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 28px 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.nw-lead .pic { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; }
.nw-lead .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nw-lead:hover .pic img { transform: scale(1.02); }
.nw-lead-txt { display: grid; gap: 12px; }
.nw-lead-h { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.nw-lead:hover .nw-lead-h { color: var(--accent); }
.nw-lead-p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.page h2.nw-more { margin: 0 0 18px; }
@media (max-width: 760px) {
  .nw-lead { grid-template-columns: 1fr; gap: 16px; }
  .nw-lead-h { font-size: 23px; }
}

/* ---------- Sidebar ads on both sides of every article (wide desktop only) ---------- */
main.page.bl, main.page.rc, main.page.rv, main.page.book { position: relative; }
@media (min-width: 1240px) {
  .ad-rail { display: block; position: absolute; top: 24px; bottom: 64px; width: 160px; }
  .ad-rail-right { left: calc(100% + 24px); right: auto; }
  .ad-rail-left { right: calc(100% + 24px); left: auto; }
  .ad-rail .ad { position: sticky; top: 88px; margin: 0; min-height: 619px; }
}

/* Country editions: active chip */
.chips a[aria-current="page"] { border-color: var(--accent); color: var(--accent); background: var(--tint); font-weight: 600; }
