/* House Cat Living Field Guide 2.0 — pine green + tabby orange, Newsreader + Figtree. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --paper: #fbfaf6;
  --paper-2: #f2f0e8;
  --white: #ffffff;
  --ink: #1f2420;
  --ink-2: #47504a;
  --ink-3: #68716a;
  --pine: #1f4d3f;
  --pine-deep: #163a30;
  --pine-tint: #e3ede7;
  --orange: #f28c38;
  --orange-deep: #e0761f;
  --butter: #f8e9b0;
  --butter-soft: #fcf5d9;
  --butter-line: #ecdfa9;
  --rule: #d8dad1;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-weight: 500;
  --head-track: -0.012em;
  --wrap: 1160px;
  --gutter: 28px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--pine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
button, input { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Small labels: used only above article titles */
.label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--pine); text-decoration: none; }
.meta { font-size: 0.86rem; color: var(--ink-3); }
.meta span { white-space: nowrap; }
.meta span:not(:last-child)::after { content: "·"; margin: 0 0.5em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.72em 1.25em; border-radius: var(--r); border: 0; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn-buy { background: var(--orange); color: var(--ink); }
.btn-buy:hover { background: var(--orange-deep); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-deep); }
.arrow::after { content: "→"; margin-left: 0.35em; display: inline-block; transition: transform 0.15s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); transition: transform 0.25s; }
.site-head.is-hidden { transform: translateY(-100%); }
.head-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo, .head-search, .menu-btn { flex: none; }
.logo img { height: 50px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
.nav > ul > li { position: relative; }
.nav-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; border-radius: var(--r); font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--pine-tint); color: var(--pine-deep); }
.nav-link svg { width: 10px; height: 10px; transition: transform 0.15s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.panel { display: none; position: absolute; top: calc(100% + 13px); left: -14px; width: 520px; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--pine); border-radius: 0 0 var(--r) var(--r); padding: 22px 24px; box-shadow: 0 18px 40px -22px rgba(22, 58, 48, 0.45); }
.panel.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.panel.right { left: auto; right: -14px; }
.panel a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.panel a strong { display: block; font-family: var(--serif); font-weight: var(--head-weight); font-size: 1.14rem; }
.panel a span { display: block; font-size: 0.86rem; color: var(--ink-3); }
.panel a:hover strong { color: var(--pine); text-decoration: underline; text-decoration-color: var(--orange); }
.panel .panel-all { grid-column: 1 / -1; border: 0; font-weight: 650; color: var(--pine); font-size: 0.95rem; padding-bottom: 0; }
.head-search { position: relative; }
.head-search input { width: 190px; height: 42px; padding: 0 12px 0 38px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); font-size: 0.95rem; }
.head-search input::placeholder { color: var(--ink-3); }
.head-search svg { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.menu-btn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: none; border-radius: var(--r); font-weight: 650; cursor: pointer; margin-left: auto; }
.menu-btn i { display: block; width: 18px; height: 2px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }

/* Phone drawer */
.drawer { display: none; position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; padding: 16px var(--gutter) 40px; }
.drawer.is-open { display: block; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-close { height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: none; border-radius: var(--r); font-weight: 650; }
.drawer .head-search input { width: 100%; height: 50px; font-size: 1rem; }
.drawer .head-search svg { top: 16px; }
.drawer-nav { margin-top: 18px; border-top: 2px solid var(--ink); }
.drawer-nav > a, .drawer-nav summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-family: var(--serif); font-size: 1.45rem; font-weight: var(--head-weight); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--pine); }
.drawer-nav details[open] summary::after { content: "–"; }
.drawer-nav details a { display: flex; align-items: center; min-height: 46px; padding-left: 14px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.drawer-sit { margin-top: 26px; }
.drawer-sit p { font-size: 0.86rem; color: var(--ink-3); margin-bottom: 8px; }
.drawer-sit div { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-sit a { padding: 10px 14px; background: var(--pine-tint); border-radius: var(--r); color: var(--pine-deep); text-decoration: none; font-weight: 600; font-size: 0.95rem; }

/* A long custom menu that does not fit switches to the Menu button (class set by site.js) */
.nav-collapsed .nav, .nav-collapsed .site-head .head-search { display: none; }
.nav-collapsed .menu-btn { display: inline-flex; }

/* ---------- Section scaffolding ---------- */
.sec { padding: 56px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 30px; }
.sec-head h2 { font-size: 1.9rem; }
.sec-head a { font-weight: 650; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }

/* ---------- Home: lead ---------- */
.lead { padding: 54px 0 24px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; align-items: center; }
.lead h1 { font-size: clamp(2.5rem, 5.3vw, 4.5rem); line-height: 1; letter-spacing: -0.022em; }
.lead h1 em { font-style: italic; color: var(--pine); display: block; }
.lead-intro { font-size: 1.22rem; line-height: 1.5; color: var(--ink-2); max-width: 34em; margin: 22px 0 28px; }
.ask { display: flex; gap: 8px; max-width: 540px; }
.ask input { flex: 1; min-width: 0; height: 54px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--white); font-size: 1.05rem; }
.ask .btn { height: 54px; }
.ask-links { margin-top: 16px; font-size: 0.98rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ask-links a { color: var(--ink); }
.lead-photo { position: relative; margin: 0; }
.lead-photo img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: 28% 50%; border-radius: var(--r); }
.lead-photo figcaption { font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--ink-3); margin-top: 10px; }

/* ---------- Home: situations ---------- */
.sits { display: grid; grid-template-columns: repeat(5, 1fr); }
.sit { display: block; padding: 4px 22px 6px; text-decoration: none; color: var(--ink); border-left: 1px solid var(--rule); }
.sit:first-child { border-left: 0; padding-left: 0; }
.sit img { width: 100%; max-width: 168px; margin: 0 0 10px -6px; transition: transform 0.2s; }
.sit:hover img { transform: translateY(-4px) rotate(-1.5deg); }
.sit h3 { font-size: 1.32rem; margin-bottom: 6px; }
.sit:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.sit p { font-size: 0.94rem; line-height: 1.45; color: var(--ink-2); margin: 0; }

/* ---------- Home: latest ---------- */
.latest { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; }
.story-lead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); margin-bottom: 18px; }
.story-lead h3 { font-size: 2.3rem; margin: 8px 0 12px; }
.story-lead h3 a, .story h3 a, .row h2 a { color: var(--ink); text-decoration: none; }
.story-lead h3 a:hover, .story h3 a:hover, .row h2 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.story-lead p { font-size: 1.08rem; color: var(--ink-2); max-width: 36em; margin-bottom: 10px; }
.stories { border-top: 1px solid var(--rule); }
.story { display: grid; grid-template-columns: 1fr 112px; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.story img { width: 112px; height: 86px; object-fit: cover; border-radius: 4px; }
.story h3 { font-size: 1.28rem; margin: 5px 0 6px; text-wrap: pretty; }

/* ---------- Home: picks band ---------- */
.band-pine { background: var(--pine-deep); color: #e9efe9; padding: 64px 0; margin: 20px 0; }
.picks-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.band-pine h2 { font-size: 2.7rem; color: #fff; margin-bottom: 16px; }
.band-pine p { color: #c9d6cf; max-width: 26em; }
.band-pine .btn { margin-top: 10px; }
.picklist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.picklist a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); color: #fff; text-decoration: none; }
.picklist strong { font-family: var(--serif); font-weight: var(--head-weight); font-size: 1.38rem; display: block; line-height: 1.15; }
.picklist span { font-size: 0.88rem; color: #b9c9c1; }
.picklist i { font-style: normal; color: var(--orange); transition: transform 0.15s; }
.picklist a:hover strong { color: var(--butter); }
.picklist a:hover i { transform: translateX(4px); }

/* ---------- Home: topic index ---------- */
.index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.index h3 { font-size: 1.5rem; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.index h3 small { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.index li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 0.98rem; line-height: 1.35; }
.index li a:hover { color: var(--pine); text-decoration: underline; text-decoration-color: var(--orange); }
.index .all { display: inline-block; margin-top: 12px; font-weight: 650; font-size: 0.92rem; text-decoration: none; }

/* ---------- Checklist band ---------- */
.band-butter { background: var(--butter-soft); border-top: 1px solid var(--butter-line); border-bottom: 1px solid var(--butter-line); padding: 44px 0; }
.check-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.check-grid h2 { font-size: 2rem; margin-bottom: 10px; }
.check-grid p { color: var(--ink-2); margin: 0; }
.check-alt { font-size: 0.88rem; color: var(--ink-3); margin-top: 10px !important; }

/* ---------- Footer ---------- */
.site-foot { padding: 52px 0 36px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; border-top: 2px solid var(--ink); padding-top: 28px; }
.foot-grid img { height: 54px; width: auto; margin-bottom: 14px; }
.foot-grid p { color: var(--ink-2); max-width: 24em; }
.foot-grid h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.foot-grid li a { display: inline-block; padding: 5px 0; color: var(--ink); text-decoration: none; }
.foot-grid li a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.foot-note { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 0.86rem; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-note p { margin: 0; max-width: 60em; }

/* ---------- Article (roundup) ---------- */
.crumbs { font-size: 0.86rem; color: var(--ink-3); padding: 22px 0 0; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--pine); text-decoration: underline; }
.crumbs span { margin: 0 0.45em; }
.art-head { padding: 26px 0 30px; max-width: 880px; }
.art-head h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.03; letter-spacing: -0.02em; margin: 10px 0 16px; }
.dek { font-family: var(--serif); font-size: 1.42rem; line-height: 1.35; color: var(--ink-2); margin-bottom: 18px; max-width: 30em; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.92rem; color: var(--ink-2); }
.byline span { white-space: nowrap; }
.byline span:not(:last-child)::after { content: "·"; margin: 0 0.55em; color: var(--ink-3); }
.byline strong { font-weight: 650; color: var(--ink); }
.disclose { font-size: 0.88rem; color: var(--ink-3); margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); max-width: 46em; }
.art-grid { display: grid; grid-template-columns: 220px minmax(0, 740px); gap: 64px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 100px; font-size: 0.92rem; }
.toc h2 { font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.toc a { display: block; padding: 9px 0 9px 12px; border-left: 3px solid transparent; border-bottom: 1px solid var(--rule); color: var(--ink-2); text-decoration: none; line-height: 1.3; }
.toc a:hover { color: var(--pine); }
.toc a.is-current { border-left-color: var(--orange); color: var(--ink); font-weight: 650; }
.toc ul ul a { padding-left: 26px; font-size: 0.86rem; }
.toc-mobile { display: none; }
.hero-img { margin: 0 0 34px; }
.hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.prose h2 { font-size: 2.05rem; margin: 54px 0 16px; padding-top: 16px; border-top: 2px solid var(--ink); }
.prose > ul li { position: relative; padding-left: 1.3em; margin-bottom: 0.5em; }
.prose > ul li::before { content: ""; position: absolute; left: 0.1em; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--pine); }

/* Next step + related */
.next { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; background: var(--pine-tint); border-radius: var(--r); padding: 20px 26px; margin: 54px 0 0; }
.prose .next h2, .next h2 { font-size: 1.7rem; margin: 4px 0 8px; border: 0; padding: 0; }
.next h2 a { color: var(--ink); text-decoration: none; }
.next h2 a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.next p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.author { display: grid; grid-template-columns: 64px 1fr; gap: 18px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--ink-2); }
.author strong { color: var(--ink); display: block; font-size: 1.02rem; }
.author p { margin: 2px 0 0; }

/* ---------- Category ---------- */
.cat-head { padding: 22px 0 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: end; }
.cat-head h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.95; letter-spacing: -0.025em; }
.cat-head .desc { font-family: var(--serif); font-size: 1.42rem; line-height: 1.35; color: var(--ink-2); margin: 14px 0 0; }
.pinned { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; background: var(--butter-soft); border: 1px solid var(--butter-line); border-radius: var(--r); padding: 18px 22px; }
.pinned h2 { font-size: 1.6rem; margin: 3px 0 6px; }
.pinned h2 a { color: var(--ink); text-decoration: none; }
.pinned h2 a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.pinned p { margin: 0; font-size: 0.96rem; color: var(--ink-2); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding: 16px 0 6px; }
.filters button { height: 44px; padding: 0 16px; border: 1px solid var(--rule); background: var(--white); border-radius: 22px; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.filters button span { color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.filters button:hover { border-color: var(--pine); }
.filters button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.filters button[aria-pressed="true"] span { color: #c9d6cf; }
.rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; padding-bottom: 46px; }
.row { display: grid; grid-template-columns: 168px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.row[hidden] { display: none; }
.row h2 { font-size: 1.38rem; margin: 5px 0 7px; }
.row p { font-size: 0.94rem; line-height: 1.45; color: var(--ink-2); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.also { padding: 8px 0 56px; font-size: 1rem; color: var(--ink-2); }
.also a { margin-right: 14px; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .head-search input { width: 150px; }
  .nav-link { padding: 10px 10px; }
  .art-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav, .site-head .head-search { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row { height: 66px; }
  .logo img { height: 44px; }
  .lead { padding-top: 30px; }
  .lead-grid { grid-template-columns: 1fr; gap: 28px; }
  .lead-photo img { aspect-ratio: 16 / 10; }
  .sec { padding: 40px 0; }
  .sits { grid-template-columns: 1fr; }
  .sit { display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; align-items: center; border-left: 0; border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .sit:first-child { padding-left: 0; }
  .sit img { grid-row: 1 / 3; margin: 0; max-width: 96px; }
  .sit h3 { align-self: end; margin-bottom: 2px; }
  .sit p { align-self: start; }
  .latest, .picks-grid { grid-template-columns: 1fr; gap: 28px; }
  .band-pine { padding: 44px 0; }
  .band-pine h2 { font-size: 2.2rem; }
  .index { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .check-grid { grid-template-columns: 110px 1fr; gap: 20px; }
  .check-grid > div:last-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .art-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .toc-mobile { display: block; margin: 0 0 26px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--white); }
  .toc-mobile summary { cursor: pointer; padding: 13px 16px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: "+"; color: var(--pine); font-size: 1.3rem; line-height: 1; }
  .toc-mobile[open] summary::after { content: "–"; }
  .toc-mobile a { display: block; padding: 11px 16px; border-top: 1px solid var(--rule); color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
  .cat-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .rows { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .lead-intro { font-size: 1.1rem; }
  .ask { flex-direction: column; }
  .ask input { flex: none; width: 100%; }
  .story-lead h3 { font-size: 1.8rem; }
  .story { grid-template-columns: 1fr 92px; gap: 14px; }
  .story img { width: 92px; height: 72px; }
  .picklist { grid-template-columns: 1fr; }
  .index { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .dek { font-size: 1.22rem; }
  .prose h2 { font-size: 1.7rem; margin-top: 42px; }
  .next { grid-template-columns: 84px 1fr; padding: 16px; gap: 14px; }
  .prose .next h2 { font-size: 1.35rem; }
  .row { grid-template-columns: 112px 1fr; gap: 14px; padding: 18px 0; }
  .row h2 { font-size: 1.18rem; }
  .row p { display: none; }
  .pinned { grid-template-columns: 76px 1fr; padding: 14px 16px; gap: 14px; }
  .pinned h2 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =====================================================================
   Theme-only additions (everything above matches the approved mockups)
   ===================================================================== */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 0; } }
.logo a { display: block; }
.logo-text { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--pine); text-decoration: none; }
.drawer-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--pine); }
.nav li:focus-within > .panel { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.nav li.is-dismissed:focus-within > .panel { display: none; }
.sec-tight { padding-top: 20px; }
.foot-grid .custom-logo-link { display: inline-block; }
.foot-grid .custom-logo { height: 54px; width: auto; margin-bottom: 14px; }

/* Article column */
.art-grid.no-toc { grid-template-columns: minmax(0, 740px); }
.prose-col { min-width: 0; }
.prose { counter-reset: pick; overflow-wrap: break-word; }
.prose > * { max-width: 68ch; }
.prose > .wp-block-group, .prose > figure, .prose > .wp-block-columns, .prose > .wp-block-image, .prose > .tablewrap, .prose > table, .prose > .alignwide, .prose > form, .prose > section, .prose > div { max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.5rem; margin: 34px 0 10px; }
.prose h4 { font-size: 1.2rem; margin: 26px 0 8px; }
.prose ul, .prose ol { list-style: revert; margin: 0 0 1.2em; padding-left: 1.3em; }
.prose > ul li::before { content: none; }
.prose > ul li { padding-left: 0; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--pine); font-weight: 650; }
.prose a { text-decoration-color: var(--pine); }
.prose img { border-radius: var(--r); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ink-3); margin-top: 8px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--pine); font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.prose blockquote cite { display: block; font-family: var(--sans); font-size: 0.88rem; font-style: normal; color: var(--ink-3); margin-top: 8px; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin: 36px 0; }
.prose h2 + hr, .prose hr + h2 { margin-top: 0; }
.prose hr:has(+ h2) { display: none; }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.page-links { font-weight: 650; }

/* Tables inside articles: scroll in their own frame on a phone */
.prose figure.wp-block-table { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); }
.prose figure.wp-block-table table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; font-size: 0.96rem; }
.prose figure.wp-block-table th { border: 0; text-align: left; font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; padding: 12px 16px; border-bottom: 2px solid var(--ink); background: var(--white); }
.prose figure.wp-block-table td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose figure.wp-block-table tr:last-child td { border-bottom: 0; }
.prose figure.wp-block-table td:first-child { font-weight: 650; position: sticky; left: 0; background: var(--white); }
.prose figure.wp-block-table tbody tr:nth-child(even) td { background: var(--paper); }

/* ---------- Article patterns ---------- */
.hcl-kicker { font-family: var(--sans); font-size: 0.76rem !important; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px !important; }
.hcl-short, .hcl-takeaways, .hcl-vet { padding: 20px 24px; margin: 0 0 34px; border-radius: 0 var(--r) var(--r) 0; }
.hcl-short > :last-child, .hcl-takeaways > :last-child, .hcl-vet > :last-child { margin-bottom: 0; }
.hcl-short { background: var(--butter-soft); border-left: 4px solid var(--orange); font-size: 1.06rem; }
.hcl-takeaways { background: var(--paper-2); border-left: 4px solid var(--ink); }
.hcl-vet { background: var(--pine-tint); border-left: 4px solid var(--pine); }

.prose figure.hcl-quick { border: 0; border-radius: 0; background: none; margin: 6px 0 10px; overflow: visible; }
.prose figure.hcl-quick table { min-width: 0; font-size: 0.98rem; }
.prose figure.hcl-quick th { padding: 0 12px 10px 0; background: none; border: 0; border-bottom: 2px solid var(--ink); }
.prose figure.hcl-quick th:last-child { font-size: 0; }
.prose figure.hcl-quick td { border: 0; border-bottom: 1px solid var(--rule); padding: 14px 12px 14px 0; vertical-align: middle; background: none !important; position: static; font-weight: 400; }
.prose figure.hcl-quick tr:last-child td { border-bottom: 1px solid var(--rule); }
.prose figure.hcl-quick td:first-child { font-weight: 650; font-size: 0.9rem; width: 24%; }
.prose figure.hcl-quick td:nth-child(2) a { font-family: var(--serif); font-weight: var(--head-weight); font-size: 1.16rem; color: var(--ink); text-decoration: none; }
.prose figure.hcl-quick td:nth-child(2) a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.prose figure.hcl-quick td:nth-child(3) { color: var(--ink-3); font-size: 0.88rem; }
.prose figure.hcl-quick td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.prose figure.hcl-quick td:last-child a { display: inline-block; padding: 0.55em 0.9em; border-radius: var(--r); background: var(--orange); color: var(--ink); font-weight: 650; font-size: 0.9rem; text-decoration: none; }
.prose figure.hcl-quick td:last-child a:hover { background: var(--orange-deep); }

/* Product pick card */
.hcl-pick { counter-increment: pick; position: relative; margin: 34px 0 0; padding: 26px 0 30px; border-top: 1px solid var(--ink); scroll-margin-top: 90px; }
.prose h2 + .hcl-pick { border-top: 0; margin-top: 0; padding-top: 4px; }
.hcl-pick::before { content: counter(pick); position: absolute; left: 0; top: 26px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 3.6rem; line-height: 0.82; color: var(--pine); }
.prose h2 + .hcl-pick::before { top: 4px; }
.hcl-pick > .hcl-award { width: fit-content; background: var(--butter); padding: 3px 9px; border-radius: 3px; font-weight: 650; font-size: 0.86rem; margin: 0 0 8px 70px !important; }
.hcl-pick > h3 { font-size: 1.85rem; margin: 0 0 18px 70px !important; }
.hcl-pick .hcl-verdict { font-size: 1.06rem; margin: 0 0 14px; max-width: 68ch; }
.prose ul.hcl-specs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; margin: 0 0 4px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hcl-specs li { padding: 10px 22px 10px 0; margin: 0 22px 0 0; border-right: 1px solid var(--rule); font-weight: 650; }
.hcl-specs li:last-child { border-right: 0; margin-right: 0; }
.hcl-specs li strong { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.prose .hcl-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 22px 0 16px; }
.hcl-proscons h4 { font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.prose ul.hcl-pros, .prose ul.hcl-cons { list-style: none; padding: 0; margin: 0; }
.hcl-pros li, .hcl-cons li { position: relative; padding: 0 0 0 1.5em; margin-bottom: 7px; font-size: 0.97rem; line-height: 1.42; }
.hcl-pros li::before, .hcl-cons li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.hcl-pros li::before { content: "+"; color: var(--pine); }
.hcl-cons li::before { content: "–"; color: #a5522a; }
.hcl-pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--paper-2); border-radius: var(--r); padding: 14px 18px; }
.hcl-pick-foot p { margin: 0; font-size: 0.98rem; max-width: 30em; }
.hcl-pick-foot .wp-block-buttons { margin: 0; }
.prose .hcl-buy .wp-block-button__link, .prose .wp-block-button__link { display: inline-flex; padding: 0.72em 1.25em; border-radius: var(--r); background: var(--orange); color: var(--ink); font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; }
.prose .wp-block-button__link:hover { background: var(--orange-deep); }
.hcl-buy::after { content: "Paid link"; display: block; font-size: 0.76rem; color: var(--ink-3); text-align: right; margin-top: 4px; }

/* Related, author photo */
.related { margin-top: 44px; }
.related h2 { font-size: 1.5rem; padding-top: 14px; border-top: 2px solid var(--ink); margin-bottom: 6px; }
.related .stories { border-top: 0; }
.author-img { width: 64px; height: 64px; border-radius: 50%; }

/* Pages */
.page-plain { max-width: 780px; padding-bottom: 56px; }
.page-plain .art-head h1, .prose.has-own-title > h1:first-child, .prose.has-own-title > .wp-block-heading:first-child { font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; margin: 22px 0 22px; }
.page-own { padding: 18px 0 56px; }
.page-own .prose > * { max-width: none; }

/* Lists of articles: blog, search, pagination */
.cat-head-plain { grid-template-columns: 1fr; }
.filters-empty { padding: 0; }
.row-img img { width: 168px; height: 118px; object-fit: cover; border-radius: 4px; }
.pagination, .comments-pagination { padding: 10px 0 56px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--pine); border-color: var(--pine); color: #fff; }
a.page-numbers:hover { border-color: var(--pine); }
.empty { padding: 30px 0 60px; color: var(--ink-2); }
.search-head { padding: 22px 0 28px; }
.search-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 20px; }
.search-head .meta { margin: 14px 0 0; }
.nothing { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; padding: 30px 0 46px; }
.nothing h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 14px; }
.nothing h2 { font-size: 2rem; margin-bottom: 10px; }
.nothing p { color: var(--ink-2); max-width: 34em; }
.nothing-404 { grid-template-columns: 300px 1fr; padding-top: 50px; }
.nothing + .sec-head, .nothing + .sits { margin-top: 10px; }
main > .wrap > .sits { padding-bottom: 60px; }

/* Newsletter form (Brevo) */
.sib_signup_form p { margin: 0 0 12px; }
.sib_signup_form input[type="email"], .sib_signup_form input[type="text"] { display: block; width: 100%; height: 50px; margin-top: 4px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font: inherit; }
.sib_signup_form input[type="submit"] { height: 50px; padding: 0 1.25em; border: 0; border-radius: var(--r); background: var(--pine); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.sib_signup_form input[type="submit"]:hover { background: var(--pine-deep); }
.sib-form-note, .prose .sib_signup_form .sib-form-note { font-size: 0.86rem; color: var(--ink-2) !important; }
.prose .sib_signup_form { background: var(--butter-soft); border: 1px solid var(--butter-line); border-radius: var(--r); padding: 22px 24px; margin: 36px 0; max-width: 560px; }
/* In the band: email and button on one line; the form's own intro and name fields are not shown */
.check-form { display: block; }
.check-form .sib_signup_box_inside_1 { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.check-form .sib_signup_box_inside_1 > p { margin: 0; }
.check-form .sib_signup_box_inside_1 > p:not([class]):first-of-type, .check-form .sib-FIRSTNAME-area, .check-form .sib-LASTNAME-area, .check-form .sib-form-note, .check-form .sib_msg_disp:empty { display: none; }
.check-form .sib-email-area { flex: 1; min-width: 200px; font-size: 0; }
.check-form .sib-email-area input { font-size: 1rem; margin: 0; height: 52px; }
.check-form .sib_signup_form input[type="submit"] { height: 52px; }
.check-form .sib_msg_disp { flex-basis: 100%; font-size: 0.92rem; }

/* Comments */
.comments { margin-top: 48px; padding-top: 16px; border-top: 2px solid var(--ink); }
.comments h2, .comment-reply-title { font-size: 1.5rem; margin-bottom: 16px; display: block; font-family: var(--serif); font-weight: var(--head-weight); }
.comment-list, .comment-list ol { list-style: none; padding: 0; }
.comment-list ol { padding-left: 28px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 0.82rem; margin: 2px 0 8px; }
.comment-metadata a { color: var(--ink-3); text-decoration: none; }
.comment-form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font: inherit; }
.comment-form .submit { height: 50px; padding: 0 1.25em; border: 0; border-radius: var(--r); background: var(--pine); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }

/* ---------- Content written for the 2026 theme: kept working ---------- */
.hcl-note, .vet-disclaimer, .prose .affiliate-disclosure, .hcl-page-updated { background: var(--pine-tint); border-left: 4px solid var(--pine); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; margin: 0 0 24px; font-size: 0.95rem; }
.hcl-note > :last-child, .vet-disclaimer > :last-child { margin-bottom: 0; }
.hcl-page-updated { background: none; border: 0; padding: 0; color: var(--ink-3); font-size: 0.88rem; }
/* The theme prints one disclosure line under the byline, so the older in-article box is not repeated. */
.single.is-affiliate .prose .affiliate-disclosure { display: none; }
.related-guides { background: var(--paper-2); border-radius: var(--r); padding: 18px 22px; margin: 32px 0; }
.related-guides > :last-child { margin-bottom: 0; }
.prose .hcl-toc { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 20px; margin: 0 0 28px; }
.hcl-team-member { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--rule); }
.hcl-team-member figure { margin: 0; }
.hcl-team-member figure p:empty { display: none; }
.hcl-team-photo { width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.hcl-team-member figcaption { font-size: 0.82rem; }
.hcl-team-copy h2 { border: 0; padding: 0; margin: 0 0 6px; font-size: 1.8rem; }

@media (max-width: 900px) {
  .art-grid.no-toc { grid-template-columns: minmax(0, 1fr); }
  .check-grid > .check-form { grid-column: 1 / -1; }
  .nothing, .nothing-404 { grid-template-columns: 1fr; gap: 12px; }
  .nothing img { max-width: 220px; }
}
@media (max-width: 640px) {
  .row-img img { width: 112px; height: 86px; }
  .prose h3 { font-size: 1.3rem; }
  .prose figure.hcl-quick thead { display: none; }
  .prose figure.hcl-quick tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; }
  .prose figure.hcl-quick td { display: block; padding: 0; border: 0 !important; width: auto !important; }
  .prose figure.hcl-quick td:nth-child(1), .prose figure.hcl-quick td:nth-child(2), .prose figure.hcl-quick td:nth-child(3) { grid-column: 1; }
  .prose figure.hcl-quick td:last-child { grid-column: 2; grid-row: 1 / 4; }
  .hcl-pick::before { font-size: 2.8rem; }
  .hcl-pick > .hcl-award, .hcl-pick > h3 { margin-left: 52px !important; }
  .hcl-pick > h3 { font-size: 1.5rem; }
  .hcl-specs li { padding-right: 14px; margin-right: 14px; }
  .prose .hcl-proscons { grid-template-columns: 1fr; gap: 16px; }
  .hcl-pick-foot { flex-direction: column; align-items: stretch; }
  .hcl-pick-foot .wp-block-button, .hcl-pick-foot .wp-block-button__link { width: 100%; justify-content: center; text-align: center; }
  .hcl-buy::after { text-align: center; }
  .hcl-team-member { grid-template-columns: 1fr; gap: 14px; }
}

/* "Read the full write-up" inside a pick card, and any details block in an article */
.prose .wp-block-details summary { cursor: pointer; font-weight: 650; color: var(--pine); font-size: 0.95rem; }
.prose .wp-block-details > :not(summary) { margin-top: 12px; max-width: 68ch; }
.hcl-pick .wp-block-details { margin-top: 14px; }

/* Touch screens: links and buttons that stand alone get a 44px tap target. */
@media (pointer: coarse) {
  .crumbs { padding-top: 6px; }
  .crumbs a, a.label, .ask-links a, .sec-head a, .index .all, .foot-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
  .ask-links { gap: 0 18px; align-items: center; }
  .btn, .prose .wp-block-button__link, .prose figure.hcl-quick td a { min-height: 44px; align-items: center; }
}

/* Newsletter form: the Brevo plugin injects its own beige/green styling (shadow, rounded corners, brown text, green focus ring).
   These rules bring it onto the theme palette and the same width as the other boxes in an article. */
.sib_signup_form { box-shadow: none !important; }
.prose .sib_signup_form { max-width: none; margin: 36px 0; padding: 26px 28px; background: var(--butter-soft); border: 1px solid var(--butter-line); border-radius: var(--r); }
.sib_signup_form p, .sib_signup_form p:first-child, .sib-email-area, .sib-FIRSTNAME-area, .sib-LASTNAME-area { color: var(--ink) !important; }
.sib_signup_form .sib-email-area, .sib_signup_form .sib-FIRSTNAME-area, .sib_signup_form .sib-LASTNAME-area { font-size: 0.92rem; font-weight: 600; letter-spacing: 0; }
.prose .sib_signup_box_inside_1 > p:first-of-type strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: var(--head-weight); line-height: 1.15; letter-spacing: var(--head-track); margin-bottom: 4px; }
.sib_signup_form input[type="email"], .sib_signup_form input[type="text"] { color: var(--ink) !important; border-color: var(--ink); border-radius: var(--r); box-shadow: none; }
.sib_signup_form input::placeholder { color: var(--ink-3) !important; opacity: 1; }
.sib_signup_form input:focus, .sib_signup_form input:focus-visible { outline: 3px solid var(--orange) !important; outline-offset: 2px; box-shadow: none !important; border-color: var(--ink) !important; background: #fff !important; }
.sib_signup_form .sib_msg_disp:empty { display: none; }

/* Pillar guides: spot illustration beside the title, like the category pages. */
.art-head-ill { display: grid; grid-template-columns: 1fr 200px; gap: 28px; align-items: center; }
.art-head-ill > img { width: 200px; height: auto; justify-self: end; }
@media (max-width: 640px) {
  .art-head-ill { grid-template-columns: 1fr; gap: 8px; }
  .art-head-ill > img { width: 150px; justify-self: start; }
}

/* Meet the Team: each profile reads as a card in the same family as the other boxes. */
.hcl-team-member { gap: 32px; padding: 36px 0; }
.hcl-team-photo { box-shadow: 0 1px 0 var(--rule); }
.hcl-team-copy > p:first-of-type { font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--pine); margin-bottom: 14px; }
.hcl-team-copy h3 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin: 22px 0 4px; }
.hcl-team-copy blockquote { margin: 22px 0 0; padding: 16px 20px; background: var(--butter-soft); border-left: 4px solid var(--orange); border-radius: 0 var(--r) var(--r) 0; font-family: var(--serif); font-size: 1.2rem; }
.hcl-team-copy blockquote p { margin: 0; }
.prose .sib_signup_box_inside_1 > p:first-of-type br { display: none; }
.hcl-team-copy h3 + p { margin-top: 0; }
