/* Hallmark · shape: Index-first (home), kept article template · genre: modern-minimal · theme: Almanac (deal: manual, from the 2026-11-10 deals), lightened to a pale sheet on request · redesign: full · brand: the site's blue replaces chart magenta as the signal
 * hero: Ledge (home), split title card (article) · nav: kept (parent header, restyled) · footer: kept (parent footer, restyled) · imagery: product photos from the Amazon API · signature: mono figures and two rule weights, a spec sheet feel
 * axes: light/grotesk-sans/chromatic-blue · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S2 R3 V3 · weakest: S, no product shots of setups in use, the mono figures and ruled rows carry the page */
/* Hallmark · waive 8 · section order comes from the shared child templates and the post content · one structure across the network, the skin changes */

/*
Theme Name: AffiliateCMS Child
Theme URI: https://lat.vn/
Description: Child theme for AffiliateCMS Theme. Smart PC Finds skin (Hallmark Almanac, violet chip).
Author: AffiliateCMS Team
Author URI: https://lat.vn/
Template: affiliateCMS-theme
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affiliatecms-child
*/

/* ==========================================================================
   1. Tokens (the one token block for the site; html:root outranks the
      Customizer's inline :root so the values below win)
   ========================================================================== */
html:root {
  color-scheme: light;

  /* Almanac for PCs: pale sheet, violet-black ink, Chakra Petch heads over IBM Plex Sans, Plex Mono figures, one electric violet */
  --g-dur: 180ms;
  --g-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --g-measure: 68ch;
  --g-radius: 4px;
  --g-pro: oklch(48% 0.11 150);
  --g-con: oklch(52% 0.13 35);
  --g-white: oklch(100% 0 0);
  --g-paper: oklch(98.9% 0.003 285);
  --g-paper-2: oklch(96.3% 0.006 285);
  --g-paper-3: oklch(92.5% 0.009 285);
  --g-ink: oklch(17% 0.02 285);
  --g-ink-2: oklch(26% 0.018 285);
  --g-muted: oklch(44% 0.016 285);
  --g-rule: oklch(88.5% 0.008 285);
  --g-rule-2: oklch(32% 0.018 282);
  --g-accent: oklch(50% 0.19 292);
  --g-accent-hover: oklch(43% 0.18 292);
  --g-accent-ink: oklch(99% 0.003 285);
  --g-accent-soft: oklch(95.5% 0.03 292);
  --g-focus: oklch(50% 0.19 292);
  --g-tint-plum: oklch(50% 0.19 292 / 0.06);
  --g-tint-peach: oklch(86% 0.08 190 / 0.3);
  --g-band: oklch(22% 0.035 285);
  --g-band-ink: oklch(98.5% 0.003 285);
  --g-band-muted: oklch(84% 0.025 285);
  --g-shadow-card: 0 1px 2px oklch(17% 0.02 285 / 0.06), 0 16px 40px -18px oklch(17% 0.02 285 / 0.22);
  --g-shadow-hover: 0 8px 24px -12px oklch(17% 0.02 285 / 0.25);
  --g-font-display: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  --g-font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --g-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --g-pill: 2px;
  --g-r-sm: 2px;
  --g-r-md: 2px;
  --g-r-lg: 2px;
  --g-r-xl: 2px;
  --g-tile-radius: 2px;
  --g-display: clamp(2.25rem, 2.6vw + 1.2rem, 3.5rem);
  --g-section: clamp(1.625rem, 1.2vw + 1.1rem, 2.25rem);
  --g-title: clamp(1.25rem, 0.6vw + 1rem, 1.5rem);
  --g-lead: clamp(1.125rem, 0.35vw + 1rem, 1.3125rem);

  /* Parent theme tokens, pointed at the Garden values */
  --color-primary: var(--g-accent);
  --color-primary-hover: var(--g-accent-hover);
  --color-primary-dark: var(--g-accent-hover);
  --color-primary-light: var(--g-accent-soft);
  --color-accent: var(--g-accent);
  --color-accent-hover: var(--g-accent-hover);
  --color-accent-light: var(--g-accent-soft);
  --color-text: var(--g-ink);
  --color-text-secondary: var(--g-ink-2);
  --color-text-muted: var(--g-muted);
  --color-text-subtle: var(--g-muted);
  --color-bg: var(--g-paper);
  --color-bg-alt: var(--g-paper-2);
  --color-surface: var(--g-paper);
  --color-surface-raised: var(--g-white);
  --color-surface-hover: var(--g-paper-2);
  --color-border: var(--g-rule);
  --color-border-subtle: var(--g-rule);
  --color-border-strong: var(--g-rule-2);
  --font-sans: var(--g-font-body);
  --shadow-xs: none; --shadow-sm: none; --shadow-md: none; --shadow-lg: none;
  --shadow-primary: none; --shadow-accent: none;

  /* AffiliateCMS plugin tokens */
  --acms-font: var(--g-font-body);
  --acms-surface: var(--g-white);
  --acms-bg: var(--g-paper);
  --acms-bg-alt: var(--g-paper-2);
  --acms-text: var(--g-ink);
  --acms-text-secondary: var(--g-ink-2);
  --acms-text-muted: var(--g-muted);
  --acms-border: var(--g-rule);
  --acms-primary: var(--g-accent);
  --acms-primary-hover: var(--g-accent-hover);
  --acms-radius: var(--g-radius);
  --acms-radius-lg: var(--g-radius);
  --acms-shadow-sm: none; --acms-shadow: none; --acms-shadow-md: none;
}

html:root[data-theme="dark"] {
  color-scheme: dark;
  --g-pro: oklch(78% 0.1 150);
  --g-con: oklch(76% 0.11 35);
  --g-paper: oklch(18% 0.015 285);
  --g-paper-2: oklch(22% 0.017 285);
  --g-paper-3: oklch(26% 0.019 285);
  --g-ink: oklch(96% 0.005 285);
  --g-ink-2: oklch(87% 0.01 285);
  --g-muted: oklch(76% 0.015 285);
  --g-rule: oklch(31% 0.016 285);
  --g-rule-2: oklch(55% 0.02 282);
  --g-accent: oklch(78% 0.12 292);
  --g-accent-hover: oklch(85% 0.09 292);
  --g-accent-ink: oklch(18% 0.015 285);
  --g-accent-soft: oklch(27% 0.06 292);
  --g-focus: oklch(78% 0.12 292);
  --g-tint-plum: oklch(78% 0.12 292 / 0.08);
  --g-tint-peach: oklch(78% 0.08 190 / 0.1);
  --g-band: oklch(14% 0.02 285);
  --g-band-ink: oklch(97% 0.004 285);
  --g-band-muted: oklch(82% 0.02 285);
  --g-white: oklch(22% 0.017 285);
  --g-shadow-card: 0 16px 40px -18px oklch(0% 0 0 / 0.6);
  --g-shadow-hover: 0 8px 24px -12px oklch(0% 0 0 / 0.6);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html, body { overflow-x: clip; }
html { scrollbar-color: var(--g-rule-2) var(--g-paper); }
body {
  background: var(--g-paper);
  color: var(--g-ink-2);
  font-family: var(--g-font-body);
  font-variant-numeric: oldstyle-nums;
}
::selection { background: color-mix(in oklab, var(--g-accent) 20%, transparent); }
:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; transition: none; }
table, .num { font-variant-numeric: lining-nums tabular-nums; }

/* ==========================================================================
   3. Header (parent markup, restyled)
   ========================================================================== */
.site-header {
  background: var(--g-paper);
  border-bottom: 1px solid var(--g-rule);
  box-shadow: none;
}
.site-header .header__inner { gap: clamp(16px, 2vw, 32px); }
.site-header .header__logo { flex: 0 0 auto; }
.site-header .header__nav { min-width: 0; flex: 1 1 auto; display: flex; justify-content: center; }
.site-header .header__menu { gap: clamp(4px, 1vw, 20px); }
.site-header .header__menu > li > a {
  color: var(--g-ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}
.site-header .header__menu > li > a:hover { color: var(--g-ink); }
.site-header .header__actions { flex: 0 0 auto; }
.site-header .header__cta {
  background: var(--g-accent);
  border-color: var(--g-accent);
  color: var(--g-accent-ink);
  border-radius: var(--g-pill);
  box-shadow: none;
}
.site-header .header__cta:hover { background: var(--g-accent-hover); border-color: var(--g-accent-hover); transform: none; }
@media (max-width: 1360px) {
  .site-header .header__cta { display: none; }
}
@media (max-width: 1180px) {
  .site-header .header__menu > li > a { font-size: 0.875rem; }
}

/* Logo: the v4 wordmark at 44px (the parent's inline critical CSS caps it at 36px with !important) */
html:root .header__logo { max-width: 300px; }
html:root .header__logo img,
html:root .header__logo .custom-logo,
html:root .site-header .custom-logo-link img { height: 44px !important; max-height: 44px !important; max-width: 300px !important; }
html:root[data-theme="dark"] .custom-logo { content: url("/wp-content/uploads/smartpcfinds-logo-dark.svg"); }
@media (max-width: 480px) {
  html:root .header__logo img,
  html:root .header__logo .custom-logo,
  html:root .site-header .custom-logo-link img { height: 36px !important; max-height: 36px !important; }
}

/* Disclosure strip above the article */
.post-disclosure {
  background: var(--g-paper-2);
  border-bottom: 1px solid var(--g-rule);
  color: var(--g-ink-2);
  font-size: 0.875rem;
}
.post-disclosure__text { color: var(--g-ink-2); }

/* ==========================================================================
   4. Article head (split: product tiles left, title card right)
   ========================================================================== */
.article-head { padding: clamp(24px, 3vw, 40px) 0 clamp(32px, 4vw, 56px); background: var(--g-paper-2); }
.article-head__inner { max-width: 1200px; }
.article-head--split .article-head__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; align-items: center; }
.article-head__media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  min-height: 420px;
  padding: 48px 72px 48px 40px;
  border-radius: var(--g-r-xl);
  background: linear-gradient(135deg, var(--g-tint-peach), var(--g-accent-soft));
}
.article-head__tile { display: block; position: relative; aspect-ratio: 3 / 4; border-radius: var(--g-tile-radius); background: var(--g-white); overflow: hidden; }
.article-head__tile--2 { transform: translateY(-24px); }
.article-head__tile img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.article-head__card {
  position: relative;
  z-index: 1;
  margin-left: -48px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--g-white);
  border-radius: var(--g-r-xl);
  box-shadow: var(--g-shadow-card);
  min-width: 0;
}
.article-head:not(.article-head--split) .article-head__card { margin: 0 auto; max-width: 820px; }
.article-head__crumbs { text-align: left; margin: 0 0 16px; font-size: 0.875rem; color: var(--g-muted); }
.article-head__crumbs .breadcrumb__list { justify-content: flex-start !important; }
.article-head__crumbs a { color: var(--g-ink-2); }
/* the H1 sits right below, so the trail stops at the category */
.article-head__crumbs .last,
.article-head__crumbs .separator:has(+ .last) { display: none; }
.article-head__crumbs .separator { color: var(--g-muted); }
.article-head__title {
  margin: 0;
  font-family: var(--g-font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.8vw + 1.2rem, 3rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--g-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}
.article-head__dek { margin: 16px 0 0; font-size: 1.125rem; line-height: 1.5; color: var(--g-ink-2); text-wrap: pretty; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.article-byline__avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; }
.article-byline__text { min-width: 0; }
.article-byline__author { margin: 0; font-weight: 500; color: var(--g-ink); }
.article-byline__author a { color: var(--g-accent); text-decoration: none; font-weight: 600; }
.article-byline__author a:hover { text-decoration: underline; }
.article-byline__dates { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 2px 0 0; font-size: 0.875rem; color: var(--g-muted); }
.article-head__disclosure { margin: 20px 0 0; padding: 12px 16px; background: var(--g-paper-2); border-radius: var(--g-r-md); font-size: 0.8125rem; line-height: 1.5; color: var(--g-ink-2); }

/* ==========================================================================
   4b. Contents list beside the article (Babylist "In this article")
   ========================================================================== */
.article-layout { max-width: 1200px; }
.article-layout--toc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 64px; align-items: start; }
.article-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 48px 0 32px; }
.article-toc__title { margin: 0 0 12px; font-family: var(--g-font-body); font-size: 1rem; font-weight: 600; color: var(--g-ink); }
.article-toc__list { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--g-rule); }
.article-toc__list a {
  display: block;
  margin-left: -1px;
  padding: 8px 12px 8px 16px;
  border-left: 2px solid transparent;
  color: var(--g-ink-2);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--g-dur) var(--g-ease), border-color var(--g-dur) var(--g-ease), background-color var(--g-dur) var(--g-ease);
}
.article-toc__list a:hover { color: var(--g-ink); background: var(--g-paper-2); }
.article-toc__list a[aria-current="true"] { color: var(--g-accent); border-left-color: var(--g-accent); font-weight: 600; background: var(--g-accent-soft); }
.article-toc__list a:focus-visible { outline: 2px solid var(--g-focus); outline-offset: -2px; }
.article-toc-m { display: none; }

/* ==========================================================================
   5. Article body
   ========================================================================== */
.article .post-article { padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 96px); }
.article .post-article { min-width: 0; }
.article .post-content { max-width: 760px; margin-inline: 0; color: var(--g-ink-2); font-size: 1.125rem; line-height: 1.72; }
.article .post-content > p,
.article .post-content > ul,
.article .post-content > ol { max-width: var(--g-measure); }
.article .post-content h2 {
  margin: 2.6em 0 0.6em;
  font-family: var(--g-font-display);
  font-weight: 600;
  font-size: var(--g-section);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--g-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.article .post-content h3 {
  margin: 1.9em 0 0.5em;
  font-family: var(--g-font-display);
  font-weight: 600;
  font-size: var(--g-title);
  line-height: 1.25;
  color: var(--g-ink);
  text-wrap: balance;
}
.article .post-content a { color: var(--g-ink); text-decoration: underline; text-decoration-color: var(--g-rule-2); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.article .post-content a:hover { text-decoration-color: var(--g-accent); }

/* Table of contents (parent component, replaced by .article-toc) */
.article .toc-expandable, .toc-bubble { display: none; }
.article .toc-expandable { margin: 0 0 40px; }
.article .toc-expandable__card {
  background: var(--g-paper-2);
  border: 0;
  border-radius: var(--g-radius);
  box-shadow: none;
  color: var(--g-ink-2);
}
.article .toc-expandable__header { border-bottom: 1px solid var(--g-rule); }
.article .toc-expandable__icon { background: var(--g-accent); color: var(--g-accent-ink); border-radius: var(--g-radius); }
.article .toc-expandable__title { font-family: var(--g-font-display); font-weight: 600; color: var(--g-ink); }
.article .toc-expandable__meta { color: var(--g-muted); }
.article .post-content .toc-expandable__link { color: var(--g-ink-2); border-radius: var(--g-radius); font-size: 0.9375rem; text-decoration: none; }
.article .toc-expandable__link:hover { background: var(--g-paper-3); color: var(--g-ink); }
.article .toc-expandable__link.is-active { background: var(--g-accent-soft); color: var(--g-ink); }
.article .toc-expandable__number { font-size: 0.8125rem; color: var(--g-muted); opacity: 1; background: transparent; font-variant-numeric: lining-nums tabular-nums; }
.article .toc-expandable__expand { color: var(--g-ink); border-color: var(--g-rule-2); border-radius: var(--g-pill); }
.article .toc-expandable__progress-bar { background: var(--g-accent); }

/* Our picks: a row of product cards that jump to each product */
.guide-picks { margin: 40px 0 48px; }
.article .post-content .guide-picks__title { margin: 0 0 20px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--g-rule); font-size: var(--g-section); }
.guide-picks__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.guide-pick { margin: 0; min-width: 0; }
.article .post-content .guide-pick__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 12px 12px 16px;
  background: var(--g-white);
  border: 1px solid var(--g-rule);
  border-radius: var(--g-r-lg);
  color: var(--g-ink);
  text-decoration: none;
  transition: border-color var(--g-dur) var(--g-ease), box-shadow var(--g-dur) var(--g-ease);
}
.article .post-content .guide-pick__link:hover { border-color: var(--g-rule-2); box-shadow: var(--g-shadow-hover); }
.article .post-content .guide-pick__link:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
.guide-pick__img { position: relative; display: block; aspect-ratio: 1; margin-bottom: 6px; background: var(--g-paper-2); border-radius: var(--g-r-sm); overflow: hidden; }
.guide-pick__img img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.guide-pick__no { font-size: 0.8125rem; font-weight: 600; color: var(--g-accent); font-variant-numeric: lining-nums; }
.guide-pick__name { font-weight: 600; font-size: 0.9375rem; line-height: 1.35; overflow-wrap: break-word; }
.guide-pick__go { margin-top: auto; padding-top: 8px; font-size: 0.875rem; font-weight: 500; color: var(--g-accent); text-decoration: underline; text-decoration-color: var(--g-rule-2); text-underline-offset: 0.18em; }

/* ==========================================================================
   6. Product list (AffiliateCMS plugin markup, regridded with CSS only)
   ========================================================================== */
.article .acms-list { max-width: none !important; display: flex; flex-direction: column; gap: 24px; margin: 8px 0 48px; }
.article .acms-list__item {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  grid-template-areas:
    "img rank"
    "img info"
    "img review"
    "img action"
    "details details";
  grid-template-rows: auto auto 1fr auto auto;
  column-gap: 32px;
  margin: 0;
  padding: 32px;
  background: var(--g-paper-2);
  border: 0;
  border-radius: var(--g-r-md);
  box-shadow: none;
  transition: none;
}
.article .acms-list__item:hover { box-shadow: none; transform: none; }
.article .acms-list__row--main { display: contents; }
.article .acms-list__row { padding: 0; border: 0; background: transparent; }

.article .acms-list__image {
  grid-area: img;
  align-self: start;
  width: 208px;
  height: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--g-white);
  border: 0;
  border-radius: var(--g-r-sm);
}
.article .acms-list__image a { display: grid; place-items: center; width: 100%; height: 100%; }
.article .acms-list__image img { width: 100%; height: 100%; object-fit: contain; }
.article .acms-list__item:hover .acms-list__image img { transform: none; }

.article .acms-list__rank {
  grid-area: rank;
  position: static;
  transform: none;
  width: auto;
  height: auto;
  margin: 0 0 8px;
  display: block;
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: var(--g-accent);
  font-family: var(--g-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: left;
  font-variant-numeric: lining-nums;
  transition: none;
}
.article .acms-list__rank::before { content: "No. "; }
.article .acms-list__item:hover .acms-list__rank { transform: none; }

.article .acms-list__info { grid-area: info; min-width: 0; }
.article .acms-list__badges:empty { display: none; }
/* the plugin sets this size with !important, so the override has to match it */
.article .post-content .acms-list .acms-list__title { display: block; -webkit-line-clamp: unset; overflow: visible; white-space: normal; text-overflow: clip; margin: 0; max-width: none; font-size: clamp(1.375rem, 0.8vw + 1rem, 1.75rem) !important; line-height: 1.2; font-weight: 600; letter-spacing: -0.005em; }
.article .post-content .acms-list__title a { color: var(--g-ink); text-decoration: underline; text-decoration-color: transparent; }
.article .post-content .acms-list__title a:hover { text-decoration-color: var(--g-accent); }
.article .acms-list__meta { margin-top: 6px; }
.article .acms-list__brand { color: var(--g-muted); font-size: 0.9375rem; }
.article .acms-list__brand i { display: none; }
.article .acms-list__brand span::before { content: "by "; }

.article .acms-list__row--review { grid-area: review; padding-top: 16px; color: var(--g-ink-2); font-size: 1.0625rem; line-height: 1.65; }
.article .acms-list__price-action { grid-area: action; margin: 0; padding: 20px 0 0; display: flex; align-items: center; }
.article .acms-list__action { margin: 0; padding: 0; }

/* Pros and cons always open, under the product on a white sheet */
.article .acms-list__row--toggle { display: none; }
.article .acms-list__row--details { grid-area: details; max-height: none; overflow: visible; margin-top: 28px; padding: 24px 28px; background: var(--g-white); border-radius: var(--g-r-sm); }
.article .acms-list__details-grid { gap: 16px; border-top: 0; }
.article .acms-list__detail-section { padding: 0; }
.article .acms-list__pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.article .acms-list__pros,
.article .acms-list__cons { background: transparent; border: 0; padding: 0; }
.article .post-content .acms-list__pros h4,
.article .post-content .acms-list__cons h4 {
  margin: 0 0 6px;
  font-family: var(--g-font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--g-ink);
}
.article .acms-list__pros h4 i,
.article .acms-list__cons h4 i { display: none; }
.article .acms-list__pros ul,
.article .acms-list__cons ul { margin: 0; padding: 0; list-style: none; }
.article .post-content .acms-list__pros li,
.article .post-content .acms-list__cons li { position: relative; margin: 0; padding: 8px 0 8px 28px; border-top: 1px solid var(--g-rule); font-size: 0.9375rem; line-height: 1.5; color: var(--g-ink-2); }
.article .post-content .acms-list__pros li::before,
.article .post-content .acms-list__cons li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
}
.article .post-content .acms-list__pros li::before { content: "+"; color: var(--g-pro); background: color-mix(in oklab, var(--g-pro) 14%, transparent); }
.article .post-content .acms-list__cons li::before { content: "\2212"; color: var(--g-con); background: color-mix(in oklab, var(--g-con) 14%, transparent); }

/* The one primary button: plum pill */
.acms-btn--amazon,
.article .acms-btn--amazon {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g-accent);
  border: 1px solid var(--g-accent);
  border-radius: var(--g-pill);
  color: var(--g-accent-ink);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: none;
  transition: background-color var(--g-dur) var(--g-ease), border-color var(--g-dur) var(--g-ease);
}
.acms-btn--amazon:hover,
.article .acms-btn--amazon:hover { background: var(--g-accent-hover); border-color: var(--g-accent-hover); color: var(--g-accent-ink); transform: none; box-shadow: none; }
.acms-btn--amazon:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 3px; }
.acms-btn--amazon:active { background: var(--g-accent-hover); }
.article .post-content .acms-btn--amazon { color: var(--g-accent-ink); text-decoration: none; }

/* Plugin disclaimer under the list */
.article .acms-disclaimer { color: var(--g-muted); font-size: 0.875rem; background: transparent; border: 0; padding-left: 0; }

/* ==========================================================================
   7. After the article: author, reviews, related
   ========================================================================== */
.post-footer { border-top: 1px solid var(--g-rule); }
.post-footer__author-name { font-family: var(--g-font-display); font-weight: 600; color: var(--g-ink); }
.post-footer__author-bio { color: var(--g-ink-2); }
.related-content__title { font-family: var(--g-font-display); font-weight: 600; color: var(--g-ink); }
.related-content .post-card,
.related-slider .post-card { color: var(--g-ink-2); background: var(--g-white); border: 1px solid var(--g-rule); border-radius: var(--g-radius); box-shadow: none; }
.related-content__link { background: transparent; color: var(--g-ink); border: 1px solid var(--g-rule-2); border-radius: var(--g-pill); }
.related-content__link:hover { background: var(--g-paper-2); color: var(--g-ink); }


/* Review form opener: a quiet outlined pill beside the plum primary */
.comment-form__compact-btn { background: transparent; border: 1px solid var(--g-rule-2); border-radius: var(--g-pill); color: var(--g-ink); opacity: 1; }
.comment-form__compact-btn:hover { background: var(--g-paper-2); border-color: var(--g-ink-2); color: var(--g-ink); }

/* Closed mobile drawer stays out of the layout until it opens */
.mobile-nav:not(.is-open) { display: none; }

/* Related cards: the title is the link, nothing laid over the excerpt */
.related-content .post-card__title a::after,
.related-slider .post-card__title a::after { content: none; }

/* ==========================================================================
   8. Footer (parent markup, restyled)
   ========================================================================== */
.site-footer { background: var(--g-paper-2); border-top: 1px solid var(--g-rule); color: var(--g-ink-2); }
.site-footer .footer__link { color: var(--g-ink-2); }
.site-footer .footer__link:hover { color: var(--g-ink); }

/* ==========================================================================
   9. Small screens (checked at 1080, 760, 480)
   ========================================================================== */
@media (max-width: 760px) {
  .article .acms-list__item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "img rank"
      "img info"
      "review review"
      "action action"
      "details details";
    grid-template-rows: auto 1fr auto auto auto;
    column-gap: 16px;
    padding: 20px;
  }
  .article .acms-list__image { width: 96px; height: auto; padding: 8px; }
  .article .acms-list__row--main,
  .article .acms-list__info { text-align: left; }
  .article .acms-list__badges,
  .article .acms-list__meta { justify-content: flex-start; }
  .article .post-content .acms-list .acms-list__title { font-size: 1.25rem !important; }
  .article .acms-list__price-action .acms-btn--amazon { width: 100%; justify-content: center; }
  .article .acms-list__row--details { padding: 16px 18px; margin-top: 20px; }
  .article .acms-list__pros-cons { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .article-head__title { font-size: clamp(2rem, 8vw, 2.25rem); }
  .article .post-content { font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: reduce) {
  .acms-btn--amazon, .article .acms-btn--amazon { transition: none; }
}

/* ==========================================================================
   10. Shared pieces for the home and category pages
   ========================================================================== */
.home .container,
.topic .container { max-width: 1200px; }
.g-section-title {
  margin: 0 0 24px;
  max-width: 28ch;
  font-family: var(--g-font-display);
  font-weight: 600;
  font-size: var(--g-section);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--g-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}
.g-note { color: var(--g-muted); }
.g-link {
  color: var(--g-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--g-rule-2);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--g-dur) var(--g-ease);
}
.g-link:hover { color: var(--g-ink); text-decoration-color: var(--g-accent); }
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--g-rule-2);
  border-radius: var(--g-pill);
  background: transparent;
  color: var(--g-ink);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--g-dur) var(--g-ease), border-color var(--g-dur) var(--g-ease);
}
.g-btn:hover { background: var(--g-paper-2); border-color: var(--g-ink-2); color: var(--g-ink); }
.g-btn:active { background: var(--g-paper-3); }
.g-btn--primary { background: var(--g-accent); border-color: var(--g-accent); color: var(--g-accent-ink); }
.g-btn--primary:hover { background: var(--g-accent-hover); border-color: var(--g-accent-hover); color: var(--g-accent-ink); }
.g-btn--primary:active { background: var(--g-accent-hover); }
.g-btn:focus-visible,
.g-link:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 3px; }

/* Guide cards: photo on white, title in the display face, meta in the body face */
.guide-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}
.guide-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.guide-card__thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 20px;
  background: var(--g-white);
  border: 1px solid var(--g-rule);
  border-radius: var(--g-radius);
  overflow: hidden;
}
.guide-card__thumb { position: relative; }
.guide-card__thumb img { position: absolute; inset: 20px; width: calc(100% - 2 * 20px); height: calc(100% - 2 * 20px); object-fit: contain; }
.guide-card__title {
  margin: 4px 0 0;
  font-family: var(--g-font-display);
  font-weight: 600;
  font-size: var(--g-title);
  line-height: 1.22;
  color: var(--g-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}
.guide-card__title a { color: var(--g-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.16em; text-decoration-thickness: 1px; transition: text-decoration-color var(--g-dur) var(--g-ease); }
.guide-card__title a:hover { text-decoration-color: var(--g-accent); }
.guide-card__summary { margin: 0; color: var(--g-ink-2); line-height: 1.55; }
.guide-card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 0.875rem; color: var(--g-muted); }

.g-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 40px 0 16px; }
.g-pages__count { color: var(--g-muted); font-size: 0.9375rem; }

/* ==========================================================================
   11. Home
   ========================================================================== */
.home-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--g-rule); }
.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.home-hero__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--g-font-display);
  font-weight: 600;
  font-size: clamp(3rem, 5.4vw + 1rem, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--g-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}
.home-hero__lead { margin: 28px 0 0; max-width: 44ch; font-size: var(--g-lead); line-height: 1.5; color: var(--g-ink-2); text-wrap: pretty; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.home-hero__aside { padding: 0 0 8px 32px; border-left: 1px solid var(--g-rule-2); }
.home-hero__aside-title { margin: 0 0 12px; font-family: var(--g-font-body); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; color: var(--g-ink); }
.home-hero__scenario { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--g-ink-2); }

/* Most viewed: a numbered index on paper-2 */
.home-popular { padding: clamp(64px, 8vw, 120px) 0; background: var(--g-paper-2); }
.home-popular__list { margin: 0; padding: 0; list-style: none; counter-reset: pop; border-bottom: 1px solid var(--g-rule); }
.home-popular__item { counter-increment: pop; border-top: 1px solid var(--g-rule); }
.home-popular__link {
  display: grid;
  grid-template-columns: 56px 96px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  color: var(--g-ink);
  text-decoration: none;
}
.home-popular__link::before {
  content: counter(pop);
  font-family: var(--g-font-display);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--g-accent);
  font-variant-numeric: lining-nums;
}
.home-popular__thumb { display: grid; place-items: center; width: 96px; aspect-ratio: 1; padding: 8px; background: var(--g-white); border-radius: var(--g-radius); overflow: hidden; }
.home-popular__thumb { position: relative; }
.home-popular__thumb img { position: absolute; inset: 8px; width: calc(100% - 2 * 8px); height: calc(100% - 2 * 8px); object-fit: contain; }
.home-popular__copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.home-popular__title { font-family: var(--g-font-display); font-weight: 600; font-size: var(--g-title); line-height: 1.22; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.16em; text-decoration-thickness: 1px; transition: text-decoration-color var(--g-dur) var(--g-ease); overflow-wrap: break-word; }
.home-popular__link:hover .home-popular__title { text-decoration-color: var(--g-accent); }
.home-popular__summary { max-width: 72ch; color: var(--g-ink-2); line-height: 1.55; }

/* Topics: one ruled block per parent category */
.home-topics { padding: clamp(64px, 8vw, 128px) 0; }
.home-topics__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.home-topics__head .g-section-title { margin: 0; }
.home-topics__intro { margin: 0; max-width: 56ch; color: var(--g-ink-2); line-height: 1.6; }
.home-topics__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.topic-block { padding: 32px 0 40px; border-top: 1px solid var(--g-rule-2); min-width: 0; }
.topic-block__title { margin: 0; font-family: var(--g-font-display); font-weight: 600; font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); line-height: 1.1; color: var(--g-ink); }
.topic-block__title a { color: var(--g-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.14em; text-decoration-thickness: 1px; transition: text-decoration-color var(--g-dur) var(--g-ease); }
.topic-block__title a:hover { text-decoration-color: var(--g-accent); }
.topic-block__copy { margin: 12px 0 0; max-width: 52ch; color: var(--g-ink-2); line-height: 1.55; }
.topic-block__subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.topic-block__subs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--g-rule-2);
  border-radius: var(--g-pill);
  color: var(--g-ink);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color var(--g-dur) var(--g-ease);
}
.topic-block__subs a:hover { background: var(--g-paper-2); }
.topic-block__subs a:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
.topic-block__guides { margin: 24px 0 0; padding: 0; list-style: none; }
.topic-block__guides li { border-top: 1px solid var(--g-rule); }
.topic-block__guides a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; color: var(--g-ink); text-decoration: none; }
.topic-block__thumb { display: grid; place-items: center; width: 56px; aspect-ratio: 1; padding: 4px; background: var(--g-white); border: 1px solid var(--g-rule); border-radius: var(--g-radius); overflow: hidden; }
.topic-block__thumb { position: relative; }
.topic-block__thumb img { position: absolute; inset: 4px; width: calc(100% - 2 * 4px); height: calc(100% - 2 * 4px); object-fit: contain; }
.topic-block__guide { font-weight: 500; line-height: 1.4; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.16em; transition: text-decoration-color var(--g-dur) var(--g-ease); overflow-wrap: break-word; min-width: 0; }
.topic-block__guides a:hover .topic-block__guide { text-decoration-color: var(--g-accent); }
.home-topics__all { margin: 24px 0 0; }

.home-latest { padding: clamp(64px, 8vw, 128px) 0; border-top: 1px solid var(--g-rule); }

/* Method: one statement on the moss band */
.home-method { padding: clamp(72px, 9vw, 136px) 0; background: var(--g-band); color: var(--g-band-ink); }
.home-method .home-method__title { color: var(--g-band-ink); }
.home-method .home-method__copy,
.home-method .home-method__copy p { color: var(--g-band-muted); }
.home-method .g-btn { color: var(--g-band-ink); border-color: var(--g-band-muted); }
.home-method .g-btn:hover { background: color-mix(in oklab, var(--g-band-ink) 10%, transparent); border-color: var(--g-band-ink); color: var(--g-band-ink); }
.home-method .g-btn:focus-visible { outline-color: var(--g-band-ink); }
.home-method__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 80px; align-items: start; }
.home-method__title { margin: 0; max-width: 16ch; font-family: var(--g-font-display); font-weight: 600; font-size: clamp(2.25rem, 2.6vw + 1.2rem, 3.5rem); line-height: 1.04; letter-spacing: -0.015em; color: var(--g-ink); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.home-method__copy { display: flex; flex-direction: column; gap: 16px; color: var(--g-ink-2); line-height: 1.65; }
.home-method__copy p { margin: 0; max-width: 56ch; }
.home-method__copy p:last-child { margin-top: 8px; }

/* ==========================================================================
   12. Editorial category page
   ========================================================================== */
.topic-head { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--g-rule); }
.topic-head__crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 20px; padding: 0; list-style: none; font-size: 0.875rem; }
.topic-head__crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--g-muted); }
.topic-head__crumbs a { color: var(--g-ink-2); text-decoration: underline; text-decoration-color: var(--g-rule-2); text-underline-offset: 0.18em; }
.topic-head__crumbs a:hover { text-decoration-color: var(--g-accent); }
.topic-head__title { margin: 0; max-width: 18ch; font-family: var(--g-font-display); font-weight: 600; font-size: clamp(2.75rem, 4vw + 1rem, 5rem); line-height: 1; letter-spacing: -0.02em; color: var(--g-ink); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.topic-head__intro { margin: 24px 0 0; max-width: 62ch; font-size: var(--g-lead); line-height: 1.55; color: var(--g-ink-2); text-wrap: pretty; }

.topic-brief { padding: clamp(56px, 7vw, 104px) 0; }
.topic-brief__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: start; }
.topic-checks { margin: 0; padding: 0; list-style: none; counter-reset: chk; border-bottom: 1px solid var(--g-rule); }
.topic-checks li { counter-increment: chk; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--g-rule); font-size: 1.0625rem; line-height: 1.55; color: var(--g-ink-2); }
.topic-checks li::before { content: counter(chk); font-family: var(--g-font-display); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--g-accent); font-variant-numeric: lining-nums; }
.topic-brief__tradeoff { padding: 32px; background: var(--g-tint-peach); border-radius: var(--g-r-md); }
.topic-brief__tradeoff-title { margin: 0 0 12px; font-family: var(--g-font-display); font-weight: 600; font-size: var(--g-title); line-height: 1.2; color: var(--g-ink); }
.topic-brief__tradeoff p { margin: 0; color: var(--g-ink-2); line-height: 1.65; }

.topic-guides { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--g-rule); }
.topic-guides .navigation.pagination { margin-top: 40px; }

.topic-more { padding: clamp(48px, 6vw, 88px) 0; background: var(--g-paper-2); }
.topic-more ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.topic-more ul a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--g-rule-2); border-radius: var(--g-pill); color: var(--g-ink); text-decoration: none; transition: background-color var(--g-dur) var(--g-ease); }
.topic-more ul a:hover { background: var(--g-paper-3); }
.topic-more ul a:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
.topic-more__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 32px 0 0; padding-bottom: 8px; }
.topic > .topic-more__links { padding-top: 40px; padding-bottom: 64px; }

/* ==========================================================================
   13. Home and category on smaller screens
   ========================================================================== */
@media (max-width: 1080px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-topics__grid { gap: 0 40px; }
}
@media (max-width: 860px) {
  .home-hero__inner,
  .home-topics__head,
  .home-method__inner,
  .topic-brief__inner { grid-template-columns: minmax(0, 1fr); }
  .home-hero__aside { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--g-rule-2); }
  .home-topics__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-popular__link { grid-template-columns: 40px 72px minmax(0, 1fr); gap: 16px; }
  .home-popular__link::before { font-size: 1.75rem; }
  .home-popular__thumb { width: 72px; }
  .home-popular__summary { display: none; }
  .topic-brief__tradeoff { padding: 24px 20px; }
  .topic-checks li { grid-template-columns: 36px minmax(0, 1fr); }
}

/* ==========================================================================
   14. Article: section rhythm, lists, tables, related links, post footer
   ========================================================================== */
.article .post-content > h2 { padding-top: 40px; border-top: 1px solid var(--g-rule); }
.article .post-content > h2:first-child { padding-top: 0; border-top: 0; }
.article .post-content > ul:not([class]),
.article .post-content > ol:not([class]) { padding-left: 1.25em; }
.article .post-content > ul:not([class]) li,
.article .post-content > ol:not([class]) li { margin: 0 0 8px; }
.article .post-content > ul:not([class]) li::marker { color: var(--g-accent); }
.article .post-content strong { color: var(--g-ink); font-weight: 600; }
.article .post-content blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--g-accent); color: var(--g-ink); font-size: var(--g-lead); }
.article .post-content table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: lining-nums tabular-nums; }
.article .post-content th { text-align: left; font-weight: 600; color: var(--g-ink); border-bottom: 1px solid var(--g-rule-2); padding: 10px 12px; }
.article .post-content td { border-bottom: 1px solid var(--g-rule); padding: 10px 12px; vertical-align: top; }
.article .post-content .wp-block-table { overflow-x: auto; margin: 32px 0; }

/* "Explore related guides" (added by the Hue topics plugin) as pills */
.article .post-content section[aria-label="Related buying guides"] { margin-top: 56px; padding: 28px 32px 32px; background: var(--g-paper-2); border-radius: var(--g-r-md); }
.article .post-content section[aria-label="Related buying guides"] h2 { margin: 0 0 16px; padding: 0; border: 0; font-size: var(--g-title); }
.article .post-content section[aria-label="Related buying guides"] ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.article .post-content section[aria-label="Related buying guides"] li { margin: 0; padding: 0; }
.article .post-content section[aria-label="Related buying guides"] li::before { content: none; }
.article .post-content section[aria-label="Related buying guides"] a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--g-rule-2); border-radius: var(--g-pill); background: var(--g-white); color: var(--g-ink); text-decoration: none; transition: border-color var(--g-dur) var(--g-ease); }
.article .post-content section[aria-label="Related buying guides"] a:hover { border-color: var(--g-accent); }

/* Post footer: no empty tag box, a calm author block */
.post-footer__tags-empty,
.post-footer__tags:has(.post-footer__tags-empty) { display: none; }
.post-footer__top-row { border: 0; background: transparent; justify-content: flex-end; }
.post-footer__share-btn { border: 1px solid var(--g-rule-2); border-radius: var(--g-pill); background: transparent; color: var(--g-ink); }
.post-footer__share-btn:hover { background: var(--g-paper-2); }
.post-footer .post-footer__author-label { text-transform: none; letter-spacing: 0; font-size: 0.875rem; font-weight: 500; color: var(--g-muted); }
.post-footer__author-name { font-size: 1.5rem; }
.post-footer__author-bio { max-width: 60ch; margin-inline: auto; line-height: 1.6; }
.post-footer__author-link { color: var(--g-ink); }

/* ==========================================================================
   15. Trust and directory pages
   ========================================================================== */
.page-ed .container { max-width: 1200px; }
.page-ed__head { padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--g-rule); }
.topic-head__crumbs span { color: var(--g-muted); }
.page-ed__title { margin: 0; max-width: 18ch; font-family: var(--g-font-display); font-weight: 600; font-size: clamp(2.75rem, 4vw + 1rem, 4.75rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--g-ink); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.page-ed__updated { margin: 16px 0 0; font-size: 0.875rem; color: var(--g-muted); }
.page-ed__guides { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-ed__prose > .page-ed__guides, .page-ed__prose > .g-pages { max-width: none; }
.page-ed__deck { margin: 20px 0 0; max-width: 60ch; font-size: var(--g-lead); line-height: 1.55; color: var(--g-ink-2); }
.page-ed__body { display: grid; grid-template-columns: minmax(0, 720px) minmax(200px, 1fr); gap: 48px clamp(40px, 7vw, 112px); align-items: start; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(72px, 9vw, 128px); }
.page-ed__prose { min-width: 0; color: var(--g-ink-2); font-size: 1.125rem; line-height: 1.72; }
.page-ed__prose > * { max-width: var(--g-measure); }
.page-ed__prose p { margin: 0 0 1.1em; }
.page-ed__prose h2 { margin: 2em 0 0.5em; padding-top: 32px; border-top: 1px solid var(--g-rule); font-family: var(--g-font-display); font-weight: 600; font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); line-height: 1.15; color: var(--g-ink); text-wrap: balance; }
.page-ed__prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.page-ed__prose h3 { margin: 1.6em 0 0.4em; font-family: var(--g-font-display); font-weight: 600; font-size: var(--g-title); color: var(--g-ink); }
.page-ed__prose a { color: var(--g-ink); text-decoration: underline; text-decoration-color: var(--g-rule-2); text-underline-offset: 0.18em; }
.page-ed__prose a:hover { text-decoration-color: var(--g-accent); }
.page-ed__prose ul, .page-ed__prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.page-ed__prose li { margin-bottom: 6px; }
.page-ed__prose li::marker { color: var(--g-accent); }
.page-ed__aside { position: sticky; top: 112px; padding-left: 28px; border-left: 1px solid var(--g-rule-2); }
.page-ed__aside-title { margin: 0 0 12px; font-family: var(--g-font-body); font-size: 0.9375rem; font-weight: 600; color: var(--g-ink); }
.page-ed__aside ul { margin: 0; padding: 0; list-style: none; }
.page-ed__aside li + li { margin-top: 10px; }
.page-ed__aside a { white-space: nowrap; color: var(--g-ink-2); text-decoration: underline; text-decoration-color: var(--g-rule-2); text-underline-offset: 0.18em; }
.page-ed__aside a:hover { color: var(--g-ink); text-decoration-color: var(--g-accent); }
.page-ed__contact { margin: 0 0 32px; padding: 24px 28px; background: var(--g-tint-peach); border-radius: var(--g-r-md); overflow-wrap: anywhere; }
.page-ed__contact-title { margin: 0 0 6px; font-family: var(--g-font-body); font-size: 0.9375rem; font-weight: 600; color: var(--g-ink); border: 0; padding: 0; }
.page-ed__contact a { font-family: var(--g-font-display); font-weight: 600; font-size: 1.5rem; color: var(--g-ink); }
.page-ed__prose form { display: grid; gap: 16px; max-width: 560px; margin-top: 24px; }
.page-ed__prose label { font-weight: 500; color: var(--g-ink); }
.page-ed__prose input:not([type=hidden]):not([type=checkbox]),
.page-ed__prose textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--g-muted); border-radius: 4px; background: var(--g-white); color: var(--g-ink); font: inherit; }
.page-ed__prose input:focus-visible,
.page-ed__prose textarea:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 1px; }
.page-ed__prose button,
.page-ed__prose input[type=submit] { justify-self: start; min-height: 46px; padding: 0 24px; border: 1px solid var(--g-accent); border-radius: var(--g-pill); background: var(--g-accent); color: var(--g-accent-ink); font-weight: 500; cursor: pointer; transition: background-color var(--g-dur) var(--g-ease); }
.page-ed__prose button:hover,
.page-ed__prose input[type=submit]:hover { background: var(--g-accent-hover); }

/* Categories directory: the [hue_categories] sections as a two-column index */
.page-ed__prose--wide > * { max-width: none; }
.page-ed__prose--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.page-ed__prose--wide > p { grid-column: 1 / -1; max-width: var(--g-measure); }
.page-ed__prose--wide > section { padding: 28px 0 32px; border-top: 1px solid var(--g-rule-2); }
.page-ed__prose--wide > section h2 { margin: 0 0 8px; padding: 0; border: 0; }
.page-ed__prose--wide > section h2 a { text-decoration-color: transparent; }
.page-ed__prose--wide > section h2 a:hover { text-decoration-color: var(--g-accent); }
.page-ed__prose--wide > section ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.page-ed__prose--wide > section li { margin: 0; }
.page-ed__prose--wide > section ul a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid var(--g-rule-2); border-radius: var(--g-pill); text-decoration: none; transition: background-color var(--g-dur) var(--g-ease); }
.page-ed__prose--wide > section ul a:hover { background: var(--g-paper-2); }

@media (max-width: 900px) {
  .page-ed__body { grid-template-columns: minmax(0, 1fr); }
  .page-ed__aside { position: static; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--g-rule-2); }
  .page-ed__prose--wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .article .post-content section[aria-label="Related buying guides"] { padding: 20px; }
}

/* ==========================================================================
   16. Article head and contents list on smaller screens
   ========================================================================== */
@media (max-width: 1080px) {
  .article-layout--toc { grid-template-columns: minmax(0, 1fr); }
  .article-toc { display: none; }
  .article-toc-m { display: block; margin: 32px 0 0; border: 1px solid var(--g-rule); border-radius: var(--g-r-lg); background: var(--g-white); }
  .article-toc-m summary { padding: 14px 18px; font-weight: 600; color: var(--g-ink); cursor: pointer; }
  .article-toc-m summary:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
  .article-toc-m ol { margin: 0; padding: 0 18px 14px 36px; }
  .article-toc-m li { margin: 0 0 8px; }
  .article-toc-m a { color: var(--g-ink-2); }
  .article .post-content { margin-inline: auto; }
}
@media (max-width: 900px) {
  .article-head--split .article-head__inner { grid-template-columns: minmax(0, 1fr); }
  .article-head__media { min-height: 0; padding: 28px 24px 40px; }
  .article-head__card { margin: -24px 12px 0; }
}
@media (max-width: 480px) {
  .article-head__media { gap: 10px; padding: 20px 16px 32px; }
  .article-head__tile--2 { transform: translateY(-12px); }
  .article-head__card { margin: -20px 0 0; padding: 24px 20px; }
  .guide-picks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Guide cards inside page prose, and the Rank Math trail in the article head */
.page-ed__prose ul.guide-grid { padding-left: 0; }
.page-ed__prose .guide-card__title a { text-decoration-color: transparent; }
.page-ed__prose .guide-card__title a:hover { text-decoration-color: var(--g-accent); }
.article-head__crumbs .rank-math-breadcrumb,
.article-head__crumbs .rank-math-breadcrumb p { margin: 0; text-align: left; }
.article-head__crumbs .rank-math-breadcrumb a { color: var(--g-ink-2); text-decoration: underline; text-decoration-color: var(--g-rule-2); text-underline-offset: 0.18em; }
.article-head__crumbs.breadcrumb--rankmath,
.article-head__crumbs.breadcrumb--rankmath .rank-math-breadcrumb,
.article-head__crumbs.breadcrumb--rankmath .rank-math-breadcrumb p { justify-content: flex-start; text-align: left; }

/* ==========================================================================
   18. Compare at a glance (specs table under Our picks)
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.guide-compare { margin: 8px 0 48px; }
.article .post-content .guide-compare h2 { margin: 0 0 16px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--g-rule); font-size: var(--g-section); }
.guide-compare__scroll { overflow-x: auto; border: 1px solid var(--g-rule); border-radius: var(--g-r-lg); background: var(--g-white); -webkit-overflow-scrolling: touch; }
.guide-compare__scroll:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
.article .post-content .guide-compare__table { width: 100%; min-width: 640px; margin: 0; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
.article .post-content .guide-compare__table th,
.article .post-content .guide-compare__table td { padding: 12px 14px; border-bottom: 1px solid var(--g-rule); text-align: left; vertical-align: top; }
.article .post-content .guide-compare__table thead th { background: var(--g-paper-2); color: var(--g-muted); font-family: var(--g-font-body); font-size: 0.8125rem; font-weight: 600; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.article .post-content .guide-compare__table tbody tr:last-child > * { border-bottom: 0; }
.article .post-content .guide-compare__table tbody th { min-width: 200px; font-weight: 600; }
.article .post-content .guide-compare__table tbody th a { color: var(--g-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.16em; }
.article .post-content .guide-compare__table tbody th a:hover { text-decoration-color: var(--g-accent); }
.guide-compare__no { display: inline-block; min-width: 1.5em; color: var(--g-accent); font-weight: 600; }
.guide-compare__na { color: var(--g-muted); font-style: normal; }
.article .post-content .guide-compare__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--g-pill); background: var(--g-accent); color: var(--g-accent-ink); font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--g-dur) var(--g-ease); }
.article .post-content .guide-compare__btn:hover { background: var(--g-accent-hover); color: var(--g-accent-ink); }
.article .post-content .guide-compare__btn:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
.guide-compare__note { margin: 10px 0 0; font-size: 0.8125rem; color: var(--g-muted); }
.article .post-content .guide-compare__table td:nth-child(3), .article .post-content .guide-compare__table td:nth-child(4) { white-space: nowrap; }

/* ==========================================================================
   19. Safety resources box
   ========================================================================== */
.safety-resources { margin: 40px 0 0; padding: 24px 28px; border: 1px solid var(--g-rule); border-left: 3px solid var(--g-accent); border-radius: var(--g-r-md); background: var(--g-white); }
.article .post-content .safety-resources h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: var(--g-title); }
.article .post-content .safety-resources p { margin: 0 0 12px; font-size: 1rem; color: var(--g-ink-2); }
.article .post-content .safety-resources ul { margin: 0; padding-left: 1.2em; }
.article .post-content .safety-resources li { margin: 0 0 8px; font-size: 1rem; line-height: 1.55; }
.article .post-content .safety-resources a { font-weight: 600; }

/* ==========================================================================
   20. "Best for" labels (from the guide's own "Which option fits" section)
   ========================================================================== */
.guide-pick__label,
.article .post-content .acms-fit { display: inline-block; align-self: flex-start; max-width: 100%; margin: 0; padding: 3px 10px; border-radius: var(--g-pill); background: var(--g-accent-soft); color: var(--g-accent-hover); font-family: var(--g-font-body); font-size: 0.8125rem; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
.article .post-content .acms-fit { grid-area: rank; justify-self: start; margin: 26px 0 8px; }
.article .acms-list__item:has(.acms-fit) { grid-template-areas: "img rank" "img info" "img review" "img action" "details details"; }
.article .acms-list__item:has(.acms-fit) .acms-list__rank { align-self: start; }

/* ==========================================================================
   17. Almanac skin: what makes this site its own
   ========================================================================== */
body { font-synthesis: none; font-optical-sizing: auto; }
.home-hero__title, .g-section-title, .topic-block__title, .home-method__title, .topic-head__title, .page-ed__title, .article-head__title, .article .post-content h2, .page-ed__prose h2, .guide-card__title, .home-popular__title, .article .post-content .acms-list .acms-list__title, .topic-brief__tradeoff-title, .post-footer__author-name, .related-content__title { font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.home-hero__title { letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(3rem, 4.6vw + 1rem, 5.75rem); }
.article .post-content, .page-ed__prose { font-size: 1.1875rem; }
/* figures in Plex Mono */
.guide-pick__no, .article .acms-list__rank, .home-popular__link::before, .topic-checks li::before, .article-byline__dates, .guide-card__meta time, .g-pages__count { font-family: var(--g-font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.home-popular__link::before, .topic-checks li::before { font-size: 1.5rem; }
/* two rule weights */
.article .acms-list__item { background: var(--g-white); border: 1px solid var(--g-rule); border-top: 2px solid var(--g-ink); }
.topic-block, .page-ed__prose--wide > section { border-top-width: 2px; border-top-color: var(--g-ink); }
.article-head__media { background: linear-gradient(135deg, var(--g-tint-peach), var(--g-accent-soft)); }
.guide-pick__name, .guide-card__summary, .home-popular__summary { font-family: var(--g-font-body); }
.site-header .header__menu > li > a, .g-btn, .acms-btn--amazon, .article-toc__list a, .topic-block__subs a, .article-byline__author { font-family: var(--g-font-display); }

/* ==========================================================================
   21. Home refresh 2026-11-11: featured guide, trust strip, richer cards,
   open pros/cons. Uses each skin's own tokens.
   ========================================================================== */
.home-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
.home-hero__title { max-width: 14ch; font-size: clamp(2.75rem, 3.4vw + 1.1rem, 5rem); }

.feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--g-white);
  border: 1px solid var(--g-rule);
  border-top: 4px solid var(--g-accent);
  border-radius: var(--g-r-lg, var(--g-radius));
  overflow: hidden;
  box-shadow: 0 18px 40px -24px color-mix(in oklab, var(--g-ink) 45%, transparent);
  transition: transform var(--g-dur) var(--g-ease), box-shadow var(--g-dur) var(--g-ease);
  min-width: 0;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -24px color-mix(in oklab, var(--g-ink) 55%, transparent); }
.feature-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--g-paper-2); }
.feature-card__media img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; mix-blend-mode: multiply; }
.feature-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; }
.feature-card__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-family: var(--g-font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.feature-card__label > span:first-child { padding: 4px 10px; background: var(--g-accent); color: var(--g-accent-ink); border-radius: var(--g-pill, 999px); }
.feature-card__cat { color: var(--g-accent); }
.feature-card__title { margin: 0; font-family: var(--g-font-display); font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); line-height: 1.12; color: var(--g-ink); text-wrap: balance; overflow-wrap: break-word; }
.feature-card__title a { color: inherit; text-decoration: none; }
.feature-card__title a::after { content: ""; position: absolute; inset: 0; }
.feature-card { position: relative; }
.feature-card__title a:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 3px; }
.feature-card__summary { margin: 0; color: var(--g-ink-2); line-height: 1.55; }
.feature-card__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--g-muted); }
.feature-card__meta span + span::before { content: "·"; margin-right: 18px; color: var(--g-rule-2); }

.home-trust { background: var(--g-band); color: var(--g-band-ink); }
.home-trust__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 64px; align-items: center; padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 48px); }
.home-trust__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.home-trust__stats li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.home-trust__stats strong { font-family: var(--g-font-display); font-size: clamp(1.75rem, 1.4vw + 1.1rem, 2.5rem); line-height: 1; color: var(--g-band-ink); white-space: nowrap; }
.home-trust__stats span { font-size: 0.875rem; color: var(--g-band-muted); }
.home-trust__points { display: grid; gap: 12px; margin: 0; padding: 0 0 0 32px; list-style: none; border-left: 1px solid color-mix(in oklab, var(--g-band-ink) 25%, transparent); }
.home-trust__points li { margin: 0; line-height: 1.5; color: var(--g-band-muted); }
.home-trust__points strong { color: var(--g-band-ink); }
.home-trust__points a { color: var(--g-band-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }

.guide-card__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 2px 0 -4px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.guide-card__cat { color: var(--g-accent); }
.guide-card__picks { color: var(--g-muted); }
.guide-card__picks::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--g-accent); vertical-align: middle; }
.guide-card__thumb { transition: border-color var(--g-dur) var(--g-ease), box-shadow var(--g-dur) var(--g-ease); }
.guide-card:hover .guide-card__thumb { border-color: var(--g-accent); box-shadow: 0 12px 28px -18px color-mix(in oklab, var(--g-ink) 50%, transparent); }
.guide-card__thumb img { transition: transform 320ms var(--g-ease); }
.guide-card:hover .guide-card__thumb img { transform: scale(1.04); }

/* Pros & cons visible by default, like the competitor product blocks */
.article .acms-list__row--details { max-height: none; overflow: visible; }
.article .acms-list__row--toggle .acms-list__expand-toggle { display: none; }

@media (max-width: 1080px) {
  .home-trust__inner { grid-template-columns: minmax(0, 1fr); }
  .home-trust__points { padding: 24px 0 0; border-left: 0; border-top: 1px solid color-mix(in oklab, var(--g-band-ink) 25%, transparent); }
}
@media (max-width: 860px) {
  .home-hero__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .home-trust__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .feature-card__body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card, .feature-card:hover, .guide-card__thumb img, .guide-card:hover .guide-card__thumb img { transition: none; transform: none; }
}
