/*
Theme Name: HomeScouty
Theme URI: https://homescouty.com/
Author: Rakibul / HomeScouty
Author URI: https://homescouty.com/
Description: A clean, editorial Amazon affiliate theme for HomeScouty — Home & Kitchen and Smart Home essentials. Warm cream background, white cards, navy and orange branding, large serif headlines, product and review cards, comparison tables, and WooCommerce External/Affiliate product support. No fake products, prices or scores are shown: product sections only display real WordPress / WooCommerce content, with honest empty states when nothing is published yet.
Version: 1.5.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homescouty
Tags: blog, e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, editor-style, wide-blocks
*/

/* ============================================================
   HomeScouty 1.5.3 — cream / white / navy / orange / yellow
   ============================================================ */
:root{
  --hs-cream:#faf6ef;
  --hs-cream-2:#f3ede0;
  --hs-white:#ffffff;
  --hs-ink:#16181d;
  --hs-ink-soft:#3c4048;
  --hs-muted:#6b6f78;
  --hs-navy:#16324f;
  --hs-navy-dark:#0e2237;
  --hs-navy-light:#e8eef4;
  --hs-orange:#f07d1a;
  --hs-orange-dark:#d96a0b;
  --hs-yellow:#f7b500;
  --hs-yellow-dark:#dfa400;
  --hs-orange-light:#fdf0e1;
  --hs-line:#e6dfd2;
  --hs-line-soft:#efe9dc;
  --hs-shadow:0 10px 30px rgba(22,24,29,.07);
  --hs-shadow-sm:0 4px 14px rgba(22,24,29,.06);
  --hs-radius:16px;
  --hs-radius-sm:10px;
  --hs-container:1280px;
  --hs-serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --hs-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--hs-cream);color:var(--hs-ink);
  font-family:var(--hs-sans);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--hs-navy);text-decoration:none}
a:hover{color:var(--hs-orange-dark);text-decoration:underline}
h1,h2,h3,h4{font-family:var(--hs-serif);font-weight:700;line-height:1.15;color:var(--hs-ink);margin:0 0 .5em}
h1{font-size:clamp(2rem,4.5vw,3.4rem)}
h2{font-size:clamp(1.6rem,3vw,2.2rem)}
h3{font-size:1.35rem}
p{margin:0 0 1em}
.container{max-width:var(--hs-container);margin:0 auto;padding-left:24px;padding-right:24px}
.eyebrow{
  display:block;font-family:var(--hs-sans);font-size:.72rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--hs-orange-dark);margin-bottom:10px;
}
.section{padding:56px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px;flex-wrap:wrap}
.section-head h2{margin:0}
.section-head p{margin:6px 0 0;color:var(--hs-muted);max-width:640px}
.section-link{font-size:.85rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hs-navy);white-space:nowrap}
.divider{border:0;border-top:1px solid var(--hs-line);margin:0}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--hs-navy);color:#fff;padding:10px 16px;z-index:200}
.skip-link:focus{left:10px;top:10px;color:#fff}
/* v1.4.1 (F-4): visible keyboard focus everywhere. */
:focus-visible{outline:3px solid var(--hs-orange);outline-offset:2px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--hs-orange);outline-offset:2px}
/* v1.4.1 (F-4): standard visually-hidden text (used by the newsletter
   label in front-page.php; previously the class existed but had no rules,
   so the label rendered as visible text). */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* ---------- Top utility strip ---------- */
.top-strip{background:var(--hs-navy);color:#dfe7ef;font-size:.78rem}
.top-strip .container{display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:36px;flex-wrap:wrap}
.top-strip a{color:#fff}
.top-strip .strip-right{display:flex;gap:18px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--hs-line)}
body.admin-bar .site-header{top:32px}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px}
.site-branding{display:flex;align-items:center;gap:12px;flex-shrink:0}
.site-branding .custom-logo{height:60px;width:auto;max-width:320px;object-fit:contain}
.site-title{font-family:var(--hs-serif);font-size:1.7rem;font-weight:800;line-height:1;margin:0}
.site-title a{color:var(--hs-navy);text-decoration:none}
.site-title a span{color:var(--hs-orange)}
.site-tagline{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--hs-muted);margin-top:4px}
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
/* v1.4.5 (Wirecutter-style header): the search pill lives in the top
   bar, centred between the logo and the actions, on every page. It is
   a plain WordPress search (searchform.php) — no "Ask" label and no AI
   finder claim. The old magnifier toggle + dropdown search panel are
   gone (header.php + theme.js updated to match). */
.header-search-pill{flex:1 1 320px;display:flex;justify-content:center;min-width:0}
/* The pill itself: one rounded container holding the input and the
   round orange submit button. The default search form wraps its input
   in a <label>, which is the flex item — not the input. Without the
   label rules below it cannot shrink and a long input could push the
   row wider than a 360px viewport (v1.4.3 fix, kept here). */
.search-form{
  display:flex;align-items:center;gap:6px;width:100%;max-width:640px;
  margin:0 auto;background:#fff;border:1px solid var(--hs-line);
  border-radius:999px;padding:5px 5px 5px 20px;
}
.search-form:focus-within{border-color:var(--hs-navy);box-shadow:0 0 0 3px rgba(22,50,79,.12)}
.search-form label{flex:1;min-width:0;display:flex}
.search-form label input[type="search"]{
  flex:1;min-width:0;width:100%;border:0;background:transparent;
  padding:10px 4px;font-size:1rem;font-family:var(--hs-sans);color:var(--hs-ink);
}
.search-form label input[type="search"]::placeholder{color:var(--hs-muted)}
.search-form label input[type="search"]:focus{outline:none}
.search-submit{
  flex-shrink:0;width:42px;height:42px;border-radius:50%;border:0;
  background:var(--hs-orange);color:#fff;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;padding:0;
}
.search-submit:hover{background:var(--hs-orange-dark)}
.search-submit svg{width:19px;height:19px;display:block}
/* Category row — Wirecutter-clean in the HomeScouty system: white
   background, navy links, orange hover/current accent. The 10-item
   menu gets its own row, so it fits on one line instead of wrapping
   to two or three. */
.nav-bar{background:#fff;border-top:1px solid var(--hs-line-soft)}
.nav-bar-inner{display:flex;align-items:center;min-height:48px}
.main-nav{flex:1}
.main-nav ul{display:flex;gap:2px;list-style:none;margin:0;padding:0;flex-wrap:nowrap}
.main-nav a{display:flex;align-items:center;min-height:44px;padding:11px 12px;font-size:.88rem;font-weight:600;color:var(--hs-navy);border-radius:8px;text-decoration:none;white-space:nowrap}
.main-nav a:hover{background:var(--hs-orange-light);color:var(--hs-orange-dark);text-decoration:none}
.main-nav .current-menu-item a{background:var(--hs-orange);color:#fff;text-decoration:none}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--hs-navy);color:#fff;border:1px solid var(--hs-navy);
  padding:11px 22px;border-radius:999px;font-size:.9rem;font-weight:700;
  cursor:pointer;text-decoration:none;line-height:1.2;white-space:nowrap;
}
.btn:hover{background:var(--hs-navy-dark);color:#fff;text-decoration:none}
.btn-orange{background:var(--hs-orange);border-color:var(--hs-orange)}
.btn-orange:hover{background:var(--hs-orange-dark);border-color:var(--hs-orange-dark)}
.btn-outline{background:transparent;color:var(--hs-navy)}
.btn-outline:hover{background:var(--hs-navy-light);color:var(--hs-navy)}
.btn-sm{padding:8px 16px;font-size:.82rem}
/* v1.4.5: the hamburger now lives in the white top bar (header.php),
   so it is navy on white. It is hidden above 1200px, where the
   category row shows the full menu (see the 1200px block below). */
.menu-toggle{display:none;background:#fff;border:1px solid var(--hs-navy);color:var(--hs-navy);border-radius:999px;padding:10px 16px;min-height:44px;cursor:pointer;font-weight:700;font-family:var(--hs-sans)}
.menu-toggle:hover{background:var(--hs-navy-light)}

/* ---------- Hero ---------- */
.hero{padding:48px 0 40px}
.hero-grid{display:grid;grid-template-columns:1.05fr 1.35fr;gap:40px;align-items:start}
.hero-copy h1{margin:6px 0 16px}
.hero-copy h1 em{font-style:italic;color:var(--hs-navy)}
.hero-copy .lede{font-size:1.12rem;color:var(--hs-ink-soft);max-width:520px}
.trust-points{list-style:none;margin:26px 0;padding:0;display:grid;gap:12px}
.trust-points li{display:flex;gap:12px;align-items:flex-start;font-size:.98rem}
.trust-points .tick{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--hs-navy-light);
  color:var(--hs-navy);display:inline-flex;align-items:center;justify-content:center;font-weight:800;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.featured-card{
  background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);
  overflow:hidden;box-shadow:var(--hs-shadow);
}
.featured-card .card-media{aspect-ratio:16/9;background:var(--hs-cream-2);overflow:hidden}
.featured-card .card-media img{width:100%;height:100%;object-fit:cover}
.featured-card .card-body{padding:26px 28px 28px}
.badge{
  display:inline-block;background:var(--hs-navy);color:#fff;font-size:.7rem;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;padding:6px 12px;border-radius:999px;margin-bottom:12px;
}
.badge-orange{background:var(--hs-orange)}
.badge-light{background:var(--hs-navy-light);color:var(--hs-navy)}
.card-title{font-family:var(--hs-serif);font-size:1.5rem;line-height:1.25;margin:0 0 10px}
.card-title a{color:var(--hs-ink);text-decoration:none}
.card-title a:hover{color:var(--hs-navy)}
.card-excerpt{color:var(--hs-muted);font-size:.98rem}
.card-meta{font-size:.82rem;color:var(--hs-muted);margin-top:14px}
.score-row{display:flex;align-items:center;gap:14px;margin-top:18px;flex-wrap:wrap}
.score-dial{
  width:58px;height:58px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:var(--hs-navy);color:#fff;line-height:1;flex-shrink:0;
}
.score-dial strong{font-size:1.25rem}
.score-dial span{font-size:.58rem;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.text-link{font-weight:700;font-size:.92rem}
.also-rail{margin-top:22px;background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:20px 22px}
.also-rail h3{font-size:1rem;font-family:var(--hs-sans);letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px}
.also-rail ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.also-rail a{font-weight:600;color:var(--hs-ink)}
.also-rail a:hover{color:var(--hs-navy)}

/* ---------- Trust strip ---------- */
.trust-strip{background:#fff;border-top:1px solid var(--hs-line);border-bottom:1px solid var(--hs-line)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:28px 0}
.trust-item h3{font-family:var(--hs-sans);font-size:.95rem;margin-bottom:6px}
.trust-item p{margin:0;color:var(--hs-muted);font-size:.9rem}

/* ---------- Cards / grids ---------- */
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.card-grid-3{grid-template-columns:repeat(3,1fr)}
.card-grid-2{grid-template-columns:repeat(2,1fr)}
.card{
  background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);
  overflow:hidden;box-shadow:var(--hs-shadow-sm);display:flex;flex-direction:column;
}
.card:hover{box-shadow:var(--hs-shadow)}
.card-media{display:block;aspect-ratio:4/3;background:var(--hs-cream-2);overflow:hidden;position:relative}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-media .badge{position:absolute;top:14px;left:14px;margin:0}
.card-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.card-body .card-title{font-size:1.18rem}
.card-benefit{color:var(--hs-ink-soft);font-size:.94rem;margin:8px 0 0}
.card-price{font-weight:800;font-size:1.05rem;margin-top:14px}
.card-price small{font-weight:500;color:var(--hs-muted);font-size:.8rem}
.card-actions{margin-top:auto;padding-top:16px;display:grid;gap:8px}
.card-actions .btn{width:100%}
.empty-state{
  background:#fff;border:1px dashed var(--hs-line);border-radius:var(--hs-radius);
  padding:36px 28px;text-align:center;color:var(--hs-muted);
}
.empty-state h3{margin-bottom:8px}
.empty-state p{margin-bottom:16px}

/* ---------- Category tiles ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.cat-tile{
  background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);
  padding:0;overflow:hidden;text-align:left;box-shadow:var(--hs-shadow-sm);text-decoration:none;color:var(--hs-ink);
}
.cat-tile .cat-media{aspect-ratio:16/10;background:var(--hs-cream-2);overflow:hidden}
.cat-tile .cat-media img{width:100%;height:100%;object-fit:cover;display:block}
.cat-tile .cat-body{padding:16px 18px 18px}
.cat-tile .cat-body h3{margin-bottom:2px}
.cat-tile:hover{border-color:var(--hs-navy);text-decoration:none;box-shadow:var(--hs-shadow)}
.cat-tile .cat-icon{
  width:52px;height:52px;margin:0 auto 12px;border-radius:14px;background:var(--hs-navy-light);
  color:var(--hs-navy);display:flex;align-items:center;justify-content:center;font-family:var(--hs-serif);font-size:1.4rem;font-weight:800;
}
.cat-tile h3{font-family:var(--hs-sans);font-size:1rem;margin-bottom:4px}
.cat-tile p{margin:0;font-size:.82rem;color:var(--hs-muted)}

/* ---------- Comparison table ---------- */
.compare-wrap{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);overflow-x:auto;box-shadow:var(--hs-shadow-sm)}
table.compare{width:100%;border-collapse:collapse;min-width:640px}
table.compare th,table.compare td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--hs-line-soft);font-size:.94rem;vertical-align:top}
table.compare th{background:var(--hs-navy);color:#fff;font-family:var(--hs-sans);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}
table.compare tr:last-child td{border-bottom:0}
table.compare td:first-child{font-weight:700}

/* ---------- Reviews + trending ---------- */
.reviews-layout{display:grid;grid-template-columns:2fr 1fr;gap:36px;align-items:start}
.trending{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:24px;position:sticky;top:110px}
.trending h3{font-family:var(--hs-sans);font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px}
.trending ol{list-style:none;margin:0;padding:0;display:grid;gap:16px;counter-reset:trend}
.trending li{display:flex;gap:14px;align-items:flex-start}
.trending .num{font-family:var(--hs-serif);font-size:1.6rem;font-weight:800;color:var(--hs-orange);line-height:1;flex-shrink:0}
.trending a{font-weight:600;color:var(--hs-ink);font-size:.95rem;line-height:1.4}
.article-card .card-media{aspect-ratio:16/9}

/* ---------- Disclosure / How we test / Newsletter ---------- */
.disclosure-band{background:var(--hs-navy-light);border-top:1px solid var(--hs-line);border-bottom:1px solid var(--hs-line)}
.disclosure-band .container{max-width:860px;text-align:center}
.how-test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:8px}
.how-step{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:26px;box-shadow:var(--hs-shadow-sm)}
.how-step .step-num{font-family:var(--hs-serif);font-size:2rem;font-weight:800;color:var(--hs-navy)}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px;text-align:center}
.stats-row strong{display:block;font-family:var(--hs-serif);font-size:2rem;color:var(--hs-navy)}
.stats-row span{font-size:.85rem;color:var(--hs-muted)}
.spotlight-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}
.spotlight-small{display:grid;gap:24px}
.spotlight-small .card{flex-direction:row}
.spotlight-small .card-media{width:38%;aspect-ratio:auto;flex-shrink:0}
.deals-band{background:var(--hs-orange-light)}
.deals-band .card{border-color:#f3d9bd}
.newsletter-band{background:#eceae6}
.newsletter-inner{max-width:680px;margin:0 auto;text-align:center}
.newsletter-form{display:flex;gap:10px;max-width:520px;margin:22px auto 0}
.newsletter-form input[type="email"]{flex:1;min-width:0;width:100%;padding:13px 18px;border:1px solid var(--hs-line);border-radius:999px;font-size:1rem}
.newsletter-note{font-size:.82rem;color:var(--hs-muted);margin-top:12px}
/* v1.4.1 (F-7): newsletter submit feedback. */
.newsletter-message{background:#fff;border:1px solid var(--hs-line);border-left:4px solid var(--hs-navy);border-radius:12px;padding:14px 18px;margin:22px auto 0;max-width:520px;font-weight:600}
.newsletter-message.newsletter-success{border-left-color:var(--hs-orange)}
.newsletter-message.newsletter-error{border-left-color:#b3261e}

/* ---------- Footer ---------- */
.site-footer{background:#14161a;color:#c9cdd4;margin-top:0}
.footer-top{padding:56px 0 40px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
/* v1.4.1 (F-4): footer column headings are H2 (was H3), fixing the
   H1 → H3 jump on static pages. */
.site-footer h2,.site-footer .footer-heading,.site-footer .widget-title{color:#fff;font-family:var(--hs-sans);font-size:.85rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:16px}
.site-footer a{color:#c9cdd4}
.site-footer a:hover{color:#fff}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.site-footer ul ul{padding:0}
.site-footer li{font-size:.92rem}
.footer-brand p{font-size:.92rem}
.footer-brand .custom-logo{height:auto;width:220px;max-width:100%;margin-bottom:14px;background:#fff;padding:10px 14px;border-radius:12px}
.footer-brand .site-title a{color:#fff}
.footer-brand .site-title a span{color:var(--hs-orange)}
.footer-widget ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.footer-widget li{font-size:.92rem}
.disclosure-box{border:1px solid #33383f;border-radius:12px;padding:18px 20px;font-size:.85rem;margin-top:36px;background:#1b1e23}
.disclosure-box strong{color:#fff}
.footer-bottom{border-top:1px solid #2a2e35;padding:20px 0;font-size:.82rem}
.footer-bottom .container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* ---------- Content pages ---------- */
.page-wrap{padding:48px 0 64px}
.content-narrow{max-width:760px;margin:0 auto}
.entry-header{margin-bottom:28px}
.entry-header h1{margin:6px 0 10px}
.entry-meta{color:var(--hs-muted);font-size:.88rem}
.entry-content{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:36px 40px;box-shadow:var(--hs-shadow-sm)}
.entry-content img{border-radius:12px}
.post-list{display:grid;gap:24px}
.post-item{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:26px 28px;box-shadow:var(--hs-shadow-sm)}
.post-item h2{font-size:1.5rem;margin-bottom:8px}
.post-item h2 a{color:var(--hs-ink)}
.pagination{margin-top:32px;display:flex;gap:8px;flex-wrap:wrap}
.pagination a,.pagination span{padding:9px 15px;border:1px solid var(--hs-line);border-radius:8px;background:#fff;font-weight:600}
.pagination .current{background:var(--hs-navy);color:#fff;border-color:var(--hs-navy)}
.woocommerce .entry-content,.woocommerce-page .entry-content{padding:0;border:0;box-shadow:none;background:transparent}
.woocommerce ul.products li.product{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:16px;box-shadow:var(--hs-shadow-sm)}
.woocommerce ul.products li.product .button{background:var(--hs-orange);color:#fff;border-radius:999px}
.woocommerce ul.products li.product .button:hover{background:var(--hs-orange-dark)}
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--hs-navy);color:#fff;border-radius:999px}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--hs-navy-dark);color:#fff}
.comment-list{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.comment-body{background:#fff;border:1px solid var(--hs-line);border-radius:12px;padding:18px 20px}

/* ---------- Article design v1.4.1 ---------- */
.reading-progress{position:fixed;top:0;left:0;right:0;height:4px;background:transparent;z-index:1000}
.reading-progress span{display:block;height:100%;width:0;background:var(--hs-orange)}
body.admin-bar .reading-progress{top:32px}
.breadcrumbs{font-size:.82rem;color:var(--hs-muted);margin-bottom:18px}
.breadcrumbs a{color:var(--hs-muted)}
.breadcrumbs span{margin:0 6px}
.breadcrumbs .current{color:var(--hs-ink)}
.article-hero{aspect-ratio:16/9;border-radius:16px;overflow:hidden;margin-bottom:24px}
.buy-box{background:#fff;border:1px solid var(--hs-line);border-top:4px solid var(--hs-orange);border-radius:var(--hs-radius);padding:26px 28px;margin:0 0 28px;box-shadow:var(--hs-shadow-sm)}
.buy-box-label{display:inline-block;font-family:var(--hs-sans);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--hs-orange);margin-bottom:8px}
.buy-box-title{font-size:1.45rem;margin:0 0 10px}
.buy-box-note{font-size:.9rem;color:var(--hs-muted);margin:0 0 18px}
.buy-now-btn{font-size:1.05rem;padding:15px 32px}
.buy-box-read{display:block;margin-top:14px;font-size:.88rem;font-weight:600}
.buy-box-final{margin-top:32px}
.toc{background:var(--hs-cream-2);border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:22px 26px;margin:0 0 28px}
.toc h2{font-family:var(--hs-sans);font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px}
.toc ol{margin:0;padding-left:22px;display:grid;gap:6px}
.toc a{color:var(--hs-navy);font-weight:500}
.toc a:hover{color:var(--hs-orange)}
.entry-content h2{margin-top:2em;padding-bottom:.35em;border-bottom:2px solid var(--hs-line-soft);scroll-margin-top:200px}
.table-wrap{scroll-margin-top:200px}
.entry-content h2.verdict{background:#fff3e6;border:1px solid #ffd9ae;border-left:4px solid var(--hs-orange);border-bottom:1px solid #ffd9ae;border-radius:0 12px 12px 0;padding:14px 18px}
.entry-content h2.faq-heading{background:var(--hs-cream-2);border:1px solid var(--hs-line);border-left:4px solid var(--hs-navy);border-radius:0 12px 12px 0;padding:14px 18px}
.entry-content h3{margin-top:1.6em}
.entry-content blockquote{background:var(--hs-cream-2);border-left:4px solid var(--hs-orange);border-radius:0 12px 12px 0;padding:16px 20px;margin:0 0 1.5em;font-size:.92rem}
.entry-content blockquote p{margin:0}
.entry-content li{margin-bottom:6px}
.entry-content p.buy-link-row{text-align:center;margin:1.4em 0}
.entry-content a.amazon-btn{display:inline-block;background:var(--hs-orange);color:#fff;font-weight:700;font-size:1rem;line-height:1.3;padding:14px 28px;border-radius:999px;text-decoration:none;box-shadow:var(--hs-shadow-sm)}
.entry-content a.amazon-btn:hover{background:var(--hs-orange-dark);color:#fff;text-decoration:none}
.table-wrap{overflow-x:auto;margin:0 0 1.5em;border:1px solid var(--hs-line);border-radius:12px}
.table-wrap table{width:100%;border-collapse:collapse;min-width:560px;margin:0}
.table-wrap th{background:var(--hs-navy);color:#fff;font-family:var(--hs-sans);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;text-align:left;padding:12px 16px}
.table-wrap td{padding:12px 16px;border-bottom:1px solid var(--hs-line-soft);font-size:.92rem;vertical-align:top}
.table-wrap tr:last-child td{border-bottom:0}
.table-wrap tbody tr:nth-child(even) td{background:var(--hs-cream-2)}
.entry-footer{margin-top:28px}
.author-box{display:flex;gap:18px;background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:24px 26px;margin:32px 0;box-shadow:var(--hs-shadow-sm)}
.author-box img.avatar{border-radius:50%;flex-shrink:0;width:72px;height:72px}
.author-box h2{font-family:var(--hs-sans);font-size:1rem;margin:0 0 6px}
.author-box p{margin:0 0 8px;font-size:.9rem;color:var(--hs-muted)}
.author-box p:last-child{margin:0}
.related-posts{margin:36px 0 8px}
.related-posts>h2{font-size:1.4rem;margin-bottom:18px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.related-card{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);overflow:hidden;text-decoration:none;color:var(--hs-ink);box-shadow:var(--hs-shadow-sm);display:block}
.related-card:hover{border-color:var(--hs-navy);text-decoration:none}
.related-card .card-media{aspect-ratio:16/9}
.related-card .card-media img{width:100%;height:100%;object-fit:cover;display:block}
.related-body{display:block;padding:14px 16px}
.related-title{display:block;font-weight:700;font-size:.95rem;line-height:1.35;margin-bottom:6px}
.sticky-buy-bar{position:fixed;left:0;right:0;bottom:0;background:var(--hs-navy);color:#fff;z-index:990;box-shadow:0 -4px 18px rgba(0,0,0,.25)}
/* v1.4.1 (F-12): CSS fallback so the fixed bar never overlaps footer
   content even if JS fails or the bar grows after fonts load. JS still
   sets the exact measured height when it runs. */
body:has(.sticky-buy-bar){padding-bottom:72px}
.sticky-buy-inner{max-width:1280px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:16px}
.sticky-buy-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:.92rem}
.sticky-buy-bar .btn{white-space:nowrap}
.sticky-buy-close{background:transparent;border:0;color:#fff;font-size:1.5rem;line-height:1;min-width:44px;min-height:44px;padding:6px 10px;cursor:pointer;opacity:.8}
.sticky-buy-close:hover{opacity:1}

/* v1.4.1 (F-3): prev/next article navigation + share buttons. */
.post-nav{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:36px 0 8px}
.post-nav span{display:block}
.post-nav a{font-weight:700;color:var(--hs-navy);font-size:.95rem;line-height:1.4}
.post-nav-next{text-align:right}
.share-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:16px 20px;margin:24px 0 8px;box-shadow:var(--hs-shadow-sm)}
.share-label{font-size:.85rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hs-muted);margin-right:6px}
.share-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--hs-navy);border-radius:999px;background:var(--hs-navy);color:#fff;font-size:.88rem;font-weight:700;text-decoration:none;white-space:nowrap}
.share-btn:hover{background:var(--hs-navy-dark);color:#fff;text-decoration:none}
/* v1.4.1 (F-11): post list on hub pages. */
.hub-list{margin-top:28px}

/* ---------- v1.4.3: homepage redesign + author avatars ---------- */
/* Hero (single column). v1.4.5: the search box that used to sit under
   the headline is gone — the header pill is the one search, on every
   page. The .search-form pill rules live in the header block above;
   the old input[type="submit"] rules were removed with it. */
.hero-home{padding:56px 0 44px}
.hero-home-inner{max-width:780px}
.hero-quick{font-size:.9rem;color:var(--hs-muted);margin:22px 0 0}
.hero-quick a{font-weight:600}
.hero-points{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 28px}
.hero-points li{display:flex;gap:10px;align-items:flex-start;font-size:.95rem}
.hero-points .tick{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--hs-navy-light);
  color:var(--hs-navy);display:inline-flex;align-items:center;justify-content:center;font-weight:800;
}
/* "Our pick:" lead-product line on Top Picks cards (name comes from
   the article itself; the line is omitted when the article names none). */
.pick-line{font-size:.92rem;color:var(--hs-ink-soft);margin:10px 0 0}
.pick-line strong{color:var(--hs-navy)}
/* Homepage hub rows use h3 inside .post-item (hub pages keep h2). */
.post-item h3{font-size:1.3rem;margin:0 0 8px}
.post-item h3 a{color:var(--hs-ink)}
/* Trust section: disclosure paragraph + 3-stat row. */
.trust-disclosure{max-width:760px;margin:28px auto 0;text-align:center;color:var(--hs-ink-soft)}
.trust-disclosure a{font-weight:700}
.stats-row.stats-3{grid-template-columns:repeat(3,1fr)}
/* Author avatars (v1.4.3): Media Library image from the author's
   homescouty_avatar_id user meta, or a navy initials circle. The
   helper sets the exact pixel size inline; these rules only set the
   shape. The byline avatar sits inline in the meta line (the global
   img{display:block} would otherwise break the line). */
.hs-author-avatar{border-radius:50%;object-fit:cover;flex-shrink:0}
.hs-avatar-initials{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--hs-navy);color:#fff;border-radius:50%;
  font-weight:800;flex-shrink:0;font-family:var(--hs-sans);line-height:1;
}
.entry-meta .hs-author-avatar,.entry-meta .hs-avatar-initials{display:inline-block;vertical-align:middle;margin-right:2px}
/* Author archive header: avatar beside the name/bio. */
.archive-author{display:flex;gap:20px;align-items:flex-start}
.archive-author h1{margin:6px 0 10px}
.archive-author p{color:var(--hs-muted)}
@media (max-width:760px){
  .stats-row.stats-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
  .stats-row.stats-3{grid-template-columns:1fr}
  /* v1.4.5: the header pill stays a single row at 360px — the input
     shrinks (min-width:0 on the label) and the round submit button
     never goes full-width, so there is no horizontal scroll. */
  .archive-author{flex-direction:column}
}

/* ---------- Responsive ---------- */
/* v1.4.1 (round-2 audit): between 761–1020px the 10-item nowrap nav
   overflowed its container — "Buying Guides" was cut off with a
   horizontal scrollbar. the previous release's overflow-x:auto only papered over it.
   Root cause: 10 items × (~.88rem semibold text + 24px padding) need
   roughly 1150px, but the container is only ~970px at 1020px and
   ~710px at 761px — no padding/font tweak can fit it (shrinking to
   fit at 1020px would still overflow badly at 761px). Real fix (v1.4.1):
   the hamburger menu kicked in at 1020px instead of 760px, so the nav
   was a full-width vertical list on every width where it cannot fit
   on one line. The toggle JS already toggles .open on #primary-menu
   at any width, so no JS change was needed. Above 1020px the navy
   bar was unchanged (v1.4.1).
   v1.4.2 (D7): that left 1021–~1198px uncovered — the 10 items need
   ~1150px of container width (container max-width 1280px, 24px side
   padding), so the container only reaches 1150px at a viewport of
   ~1198px, and 1021–1198px had neither a hamburger nor the old
   overflow-x:auto. The hamburger breakpoint is therefore raised to
   1200px (nav block only — the grid rules in the 1020px block below
   stay where they are). Above 1200px the full nav fits; at or below
   1200px it is a hamburger. */
@media (max-width:1200px){
  .menu-toggle{display:inline-block}
  /* v1.4.5: the toggle lives in the top bar now, so the category row
     is hidden entirely while the menu is closed — otherwise it would
     be an empty white band. theme.js toggles .open on .nav-bar
     together with .open on #primary-menu. */
  .nav-bar{display:none}
  .nav-bar.open{display:block}
  .nav-bar-inner{flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
  .main-nav{display:none;width:100%}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column}
  .main-nav a{padding:10px 4px}
}
@media (max-width:1020px){
  .hero-grid,.reviews-layout,.spotlight-grid{grid-template-columns:1fr}
  .card-grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .how-test-grid{grid-template-columns:1fr}
  .stats-row{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .trending{position:static}
}
@media (max-width:782px){
  body.admin-bar .site-header{top:46px}
}
@media (max-width:760px){
  /* Nav rules now live in the max-width:1200px block above (the
     hamburger starts at 1200px); only the sub-760 layout rules stay
     here. */
  .header-inner{flex-wrap:wrap;gap:14px;padding-top:12px;padding-bottom:12px;min-height:0}
  /* v1.4.5: on narrow screens the pill drops to its own full-width
     row below the logo/actions row (order 3), so nothing overflows
     at 360px. */
  .header-search-pill{order:3;flex:1 1 100%}
  .header-actions .btn{display:none}
  .card-grid,.card-grid-3,.card-grid-2{grid-template-columns:1fr}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .spotlight-small .card{flex-direction:column}
  .spotlight-small .card-media{width:100%}
  .newsletter-form{flex-direction:column}
  .newsletter-form .btn{width:100%}
  .footer-grid{grid-template-columns:1fr}
  .entry-content{padding:24px 20px}
  .section{padding:40px 0}
  .related-grid{grid-template-columns:1fr}
  .author-box{flex-direction:column}
  .buy-box{padding:20px}
  .buy-now-btn{width:100%;text-align:center}
  .sticky-buy-name{font-size:.82rem}
  .toc{padding:18px 20px}
}
/* v1.4.1: 360px audit from the CSS (no browser available). What was
   checked and found sound: sticky bar (single-line ellipsis name +
   measured JS height + 72px CSS fallback), share buttons and post
   nav (flex-wrap), comparison tables (overflow-x:auto wrappers),
   hero/entry grids (1 column below 1020px), footer (1 column below
   760px), h1 clamp (2rem minimum). What would clearly break at
   360px and is fixed here:
   - Category tiles were 2 columns (~147px each incl. 18px padding)
     — cramped to the point of unreadable labels; now 1 column.
   - Trust strip was 2 columns (~150px each); now 1 column.
   - Flex search/newsletter inputs had no min-width:0, so a long
     input could push its row wider than the viewport; fixed above.
   - Container side padding 24px left only ~312px of content; now
     16px below 480px. Entry/post-item padding reduced to match. */
@media (max-width:480px){
  .container{padding-left:16px;padding-right:16px}
  .cat-grid{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:1fr}
  .entry-content{padding:20px 16px}
  .post-item{padding:20px 18px}
  .sticky-buy-inner{gap:10px;padding:10px 12px}
  .top-strip{font-size:.72rem}
  .top-strip .strip-right{gap:12px}
}

/* ============================================================
   v1.4.6 — homepage redesign (Gadget Orchard-inspired in
   structure and warmth, NOT a copy). Only the homepage changes:
   this block styles the new front-page.php sections. The header,
   footer, article and hub styles above are untouched.
   ============================================================ */
/* Hero feature + "Also in this issue" rail. The intro block above
   (headline, lede, quick links, promises) is unchanged. */
.hero-feature{display:grid;grid-template-columns:1.9fr 1fr;gap:28px;margin-top:40px;align-items:start}
.hero-feature .featured-card .card-title{font-size:1.65rem}
.hero-rail-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:2px solid var(--hs-ink);padding-bottom:10px;margin-bottom:18px}
.hero-rail-label{font-family:var(--hs-sans);font-size:.85rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0}
.hero-rail-head span{font-size:.8rem;color:var(--hs-muted);white-space:nowrap}
.hero-rail{display:grid;gap:20px;align-content:start}
.hero-rail-item{display:flex;gap:14px;text-decoration:none;color:var(--hs-ink);align-items:flex-start}
.hero-rail-item:hover{text-decoration:none}
.hero-rail-item:hover .hero-rail-title{color:var(--hs-navy);text-decoration:underline}
.hero-rail-thumb{flex-shrink:0;width:96px;height:96px;border-radius:12px;overflow:hidden;background:var(--hs-cream-2)}
.hero-rail-thumb img{width:100%;height:100%;object-fit:cover}
.hero-rail-body{display:flex;flex-direction:column;min-width:0}
.hero-rail-body .eyebrow{margin-bottom:4px}
.hero-rail-title{font-family:var(--hs-serif);font-weight:700;font-size:1.02rem;line-height:1.3}
.hero-rail-meta{font-size:.8rem;color:var(--hs-muted);margin-top:4px}
/* Trust strip: white cards on the cream page. The old white strip
   with plain text items is replaced by bordered cards, Gadget
   Orchard-style — the strip itself is transparent now. */
.trust-strip{background:transparent;border:0;padding:40px 0 0}
.trust-strip-label{font-family:var(--hs-sans);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--hs-orange-dark);margin:0 0 16px}
.trust-strip .trust-grid{padding-top:0}
.trust-strip .trust-item{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:20px 22px;box-shadow:var(--hs-shadow-sm)}
.trust-strip .trust-item h3{font-size:1rem;margin-bottom:6px}
/* Latest Reviews & Buying Guides: featured card + Trending Now. */
.latest-feature .featured-card .card-title{font-size:1.5rem}
.trend-body{display:flex;flex-direction:column;min-width:0}
.trend-body .eyebrow{margin-bottom:2px}
.money-box{background:#fff;border:1px solid var(--hs-line);border-left:4px solid var(--hs-orange);border-radius:var(--hs-radius);padding:20px 22px;margin-top:24px}
.money-box h3{font-family:var(--hs-sans);font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px}
.money-box p{font-size:.9rem;color:var(--hs-ink-soft);margin:0 0 10px}
.money-box a{font-weight:700;font-size:.9rem}
/* Dark research band: navy background, white text, translucent steps. */
.research-band{background:var(--hs-navy);color:#e8eef4}
.research-band h2{color:#fff}
.research-band .section-link{color:#fff}
.research-band .section-link:hover{color:var(--hs-orange)}
.research-band .how-step{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);box-shadow:none}
.research-band .how-step h3{color:#fff}
.research-band .how-step p{color:#c7d3e0}
.research-band .how-step .step-num{color:var(--hs-orange)}
.research-band .trust-disclosure{color:#c7d3e0}
.research-band .trust-disclosure a{color:#fff}
.research-band .stats-row strong{color:#fff}
.research-band .stats-row span{color:#c7d3e0}
/* Newsletter: white band at the very end of the homepage, before the
   footer (was after the dark research band until v1.4.8). */
.newsletter-band{background:#fff;border-top:1px solid var(--hs-line)}
/* v1.4.6 responsive: hero feature + rail stack at tablet widths;
   the rail stays a vertical list of horizontal items. At 360px the
   rail thumbs shrink so nothing overflows. (.reviews-layout,
   .card-grid-3, .trust-grid and .how-test-grid already stack via
   the rules above.) */
@media (max-width:1020px){
  .hero-feature{grid-template-columns:1fr}
}
@media (max-width:480px){
  .hero-rail-thumb{width:72px;height:72px}
  .hero-feature .featured-card .card-title{font-size:1.35rem}
}

/* ============================================================
   v1.4.7 — bright homepage redesign (reference: "Smarter Home.
   Happier You." hero + yellow CTA, icon category tiles,
   featured product picks) + editorial team and guides/blog
   sections before the footer. Only the homepage changes: this
   block styles the new front-page.php sections. The header,
   footer, article and hub styles above are untouched. The v1.4.6
   hero-feature / hero-rail rules above are now unused (the
   featured-story hero was replaced by the photo hero) and are
   kept only so nothing else breaks.
   ============================================================ */
/* Yellow CTA button (reference-style), navy text for contrast. */
.btn-yellow{background:var(--hs-yellow);border-color:var(--hs-yellow);color:var(--hs-navy)}
.btn-yellow:hover{background:var(--hs-yellow-dark);border-color:var(--hs-yellow-dark);color:var(--hs-navy)}
/* Bright photo hero: text left, living-room photo right. */
.hero-bright{padding:48px 0 40px}
.hero-bright-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hero-bright h1{font-size:clamp(2.4rem,5vw,3.8rem);line-height:1.06;margin:14px 0 18px}
.hero-bright .hero-hl{color:var(--hs-orange)}
.hero-bright .lede{font-size:1.12rem}
.hero-cta-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:26px}
.hero-bright .hero-quick{margin-top:26px}
.hero-bright-photo{position:relative;border-radius:20px;overflow:hidden;box-shadow:var(--hs-shadow)}
.hero-bright-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.hero-photo-badge{
  position:absolute;top:16px;right:16px;display:flex;align-items:center;gap:10px;
  background:#fff;border-radius:14px;padding:10px 16px 10px 12px;box-shadow:var(--hs-shadow);
}
.hero-photo-badge svg{width:34px;height:30px;color:var(--hs-yellow-dark);flex-shrink:0}
.hero-photo-badge span{font-family:var(--hs-serif);font-style:italic;font-weight:700;color:var(--hs-navy);font-size:1.02rem;line-height:1.2}
/* Section-heading icons (star / people / pencil): decoration only,
   never a rating. */
.head-icon{display:inline-flex;vertical-align:-3px;margin-right:8px}
.head-icon svg{width:26px;height:26px}
.head-icon-star{color:var(--hs-yellow-dark)}
.head-icon-people{color:var(--hs-navy)}
.head-icon-pencil{color:var(--hs-orange-dark)}
/* Category icon tiles: white cards, SVG line icon in a tinted
   circle, name + real count. Alternating navy/orange accents. */
.cat-icon-grid{grid-template-columns:repeat(5,1fr)}
.cat-icon-tile{
  background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);
  padding:22px 10px 18px;text-align:center;text-decoration:none;color:var(--hs-ink);
  box-shadow:var(--hs-shadow-sm);display:flex;flex-direction:column;align-items:center;
}
.cat-icon-tile:hover{border-color:var(--hs-navy);text-decoration:none;box-shadow:var(--hs-shadow)}
.cat-icon-tile .cat-icon{
  width:56px;height:56px;margin:0 0 12px;border-radius:50%;background:var(--hs-navy-light);
  color:var(--hs-navy);display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cat-icon-tile:nth-child(even) .cat-icon{background:var(--hs-orange-light);color:var(--hs-orange-dark)}
.cat-icon-tile .cat-icon svg{width:28px;height:28px}
.cat-icon-tile h3{font-family:var(--hs-sans);font-size:.95rem;margin:0 0 2px}
.cat-icon-tile p{margin:0;font-size:.8rem;color:var(--hs-muted)}
/* Featured Product Picks: 5 cards in a row, like the reference. */
.picks-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.pick-card .card-body .card-title{font-size:1.08rem}
.pick-sub{font-size:.9rem;color:var(--hs-muted);margin:8px 0 0}
/* Trust strip: orange top accent on the white cards. */
.trust-strip .trust-item{border-top:3px solid var(--hs-orange)}
/* Newsletter: yellow top accent. Markup and behaviour unchanged. */
.newsletter-band{border-top:3px solid var(--hs-yellow)}
/* Editorial team: light-blue band (reference-style), 10 members. */
.team-band{background:var(--hs-navy-light);border-top:1px solid var(--hs-line);border-bottom:1px solid var(--hs-line)}
.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.team-member{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;
  background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);
  padding:20px 10px 18px;text-decoration:none;color:var(--hs-ink);box-shadow:var(--hs-shadow-sm);
}
.team-member:hover{border-color:var(--hs-navy);text-decoration:none;box-shadow:var(--hs-shadow)}
.team-member strong{font-size:.95rem;line-height:1.3}
.team-member span{font-size:.82rem;color:var(--hs-muted)}
/* Buying guides + latest posts: two columns, guides left, blog
   list in a warm card on the right. */
.guides-blog-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:start}
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.guide-card .card-body .card-title{font-size:1rem}
.blog-col{background:var(--hs-cream-2);border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:24px 24px 8px}
.blog-col .section-head{margin-bottom:20px}
.blog-list{list-style:none;margin:0;padding:0;display:grid;gap:20px}
.blog-list li a{display:flex;gap:14px;text-decoration:none;color:var(--hs-ink);align-items:flex-start}
.blog-list li a:hover .blog-title{color:var(--hs-navy);text-decoration:underline}
.blog-thumb{flex-shrink:0;width:96px;height:72px;border-radius:10px;overflow:hidden;background:var(--hs-cream)}
.blog-thumb img{width:100%;height:100%;object-fit:cover}
.blog-body{display:flex;flex-direction:column;min-width:0}
.blog-title{font-family:var(--hs-serif);font-weight:700;font-size:1rem;line-height:1.3}
.blog-meta{font-size:.8rem;color:var(--hs-muted);margin-top:6px;display:flex;align-items:center;gap:5px}
.clock-icon{display:inline-flex;vertical-align:-2px}
.clock-icon svg{width:14px;height:14px}
.card-meta .clock-icon svg{width:14px;height:14px}
/* v1.4.7 responsive: hero stacks (text above photo), picks go
   5 -> 3 -> 2 -> 1, team 5 -> 3 -> 2, guides/blog stack, guide
   cards stack. At 360px nothing overflows: icon tiles are 2 per
   row, the photo badge shrinks, the CTA wraps. */
@media (max-width:1020px){
  .hero-bright-grid{grid-template-columns:1fr;gap:28px}
  .picks-grid{grid-template-columns:repeat(3,1fr)}
  .team-grid{grid-template-columns:repeat(3,1fr)}
  .guides-blog-grid{grid-template-columns:1fr}
  .cat-icon-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:760px){
  .picks-grid{grid-template-columns:repeat(2,1fr)}
  .guide-grid{grid-template-columns:1fr}
  .cat-icon-grid{grid-template-columns:repeat(2,1fr)}
  .blog-col{padding:20px 16px 4px}
}
@media (max-width:480px){
  .hero-bright{padding:36px 0 32px}
  .hero-bright h1{font-size:2.15rem}
  .picks-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .hero-photo-badge{top:10px;right:10px;padding:8px 12px 8px 10px}
  .hero-photo-badge svg{width:26px;height:23px}
  .hero-photo-badge span{font-size:.88rem}
  .blog-thumb{width:80px;height:60px}
}

/* v1.4.9: Top Picks Compared — warm beige panel with white rows,
   matching the clean table look of the reference screenshot, but
   with no scores, no prices and no buttons: the right column is a
   plain "Read the review →" link. */
.compared-panel{background:var(--hs-cream-2);border-radius:var(--hs-radius);padding:14px;display:grid;gap:12px}
.compared-row{display:grid;grid-template-columns:minmax(220px,1.1fr) 2fr auto;gap:24px;align-items:center;background:var(--hs-white);border-radius:var(--hs-radius-sm);padding:20px 24px}
.compared-cat{display:block;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hs-orange);margin-bottom:4px}
.compared-name{font-size:1.12rem;line-height:1.3;margin:0}
.compared-name a{color:var(--hs-navy);text-decoration:none}
.compared-name a:hover{color:var(--hs-orange)}
.compared-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.compared-spec-label{display:block;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hs-muted)}
.compared-spec-value{display:block;font-size:.95rem;color:var(--hs-ink);margin-top:2px}
.compared-action{white-space:nowrap}
.compared-note{font-size:.85rem;color:var(--hs-muted);margin:14px 4px 0}
/* v1.4.9 responsive: at 760px each compared row stacks into a
   card with the specs listed vertically; nothing overflows at
   360px. */
@media (max-width:760px){
  .compared-row{grid-template-columns:1fr;gap:12px;padding:18px}
  .compared-specs{grid-template-columns:1fr;gap:10px}
  .compared-action{white-space:normal}
}

/* ============================================================
   v1.5.0 — unified page design (All Categories, hub pages,
   Latest Articles, About Us, Contact Us, archives). The
   homepage (front-page.php) is untouched; these rules style
   the shared page hero, hub cards, category directory,
   contact form and the reused newsletter / research / team
   sections on inner pages. No scores, prices or buttons.
   ============================================================ */
/* Bright page hero: white band, orange eyebrow, Playfair H1,
   the page's own first-paragraph lede, and a navy count pill. */
.page-hero{background:#fff;border-bottom:1px solid var(--hs-line);padding:48px 0 40px}
.page-hero h1{margin:6px 0 12px}
.page-hero-lede{font-size:1.12rem;color:var(--hs-ink-soft);max-width:720px;margin:0}
.page-hero-count{display:inline-block;background:var(--hs-navy);color:#fff;font-size:.82rem;font-weight:700;letter-spacing:.04em;padding:7px 16px;border-radius:999px;margin-top:18px}
.page-hero .archive-author-hero{display:flex;gap:20px;align-items:flex-start}
.page-hero .archive-author-hero h1{margin:6px 0 10px}
/* Category directory (All Categories): 2-column white cards
   with icon, name, real count and latest article links. */
.cat-dir-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.cat-dir-card{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:24px 26px;box-shadow:var(--hs-shadow-sm)}
.cat-dir-card:hover{border-color:var(--hs-navy)}
.cat-dir-head{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.cat-dir-head .cat-icon{width:48px;height:48px;border-radius:50%;background:var(--hs-navy-light);color:var(--hs-navy);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cat-dir-card:nth-child(even) .cat-dir-head .cat-icon{background:var(--hs-orange-light);color:var(--hs-orange-dark)}
.cat-dir-head .cat-icon svg{width:24px;height:24px}
.cat-dir-head h3{font-family:var(--hs-sans);font-size:1.05rem;margin:0 0 2px}
.cat-dir-head h3 a{color:var(--hs-ink)}
.cat-dir-head p{margin:0;font-size:.82rem;color:var(--hs-muted)}
.cat-dir-list{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}
.cat-dir-list a{font-weight:600;color:var(--hs-ink);font-size:.94rem;line-height:1.4}
.cat-dir-list a:hover{color:var(--hs-navy)}
/* Contact form: white card, stacked fields. */
.contact-form{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:28px 30px;box-shadow:var(--hs-shadow-sm)}
.form-field{margin-bottom:18px}
.form-field label{display:block;font-weight:700;font-size:.9rem;margin-bottom:6px}
.form-field input[type="text"],.form-field input[type="email"],.form-field textarea{width:100%;padding:13px 16px;border:1px solid var(--hs-line);border-radius:12px;font-size:1rem;font-family:var(--hs-sans);color:var(--hs-ink);background:#fff}
.form-field input:focus,.form-field textarea:focus{border-color:var(--hs-navy);outline:none;box-shadow:0 0 0 3px rgba(22,50,79,.12)}
.form-field textarea{resize:vertical;min-height:140px}
.form-note{font-size:.82rem;color:var(--hs-muted);margin:12px 0 0}
.contact-message{background:#fff;border:1px solid var(--hs-line);border-left:4px solid var(--hs-navy);border-radius:12px;padding:14px 18px;margin:0 0 22px;font-weight:600}
.contact-message.contact-success{border-left-color:var(--hs-orange)}
.contact-message.contact-error{border-left-color:#b3261e}
.contact-more{margin-top:22px;text-align:center;color:var(--hs-muted)}
/* v1.5.0 responsive: directory cards stack at tablet widths;
   hero and form tighten at phone widths; nothing overflows
   at 360px (grids are 1 column, inputs are full-width with
   min-width:0 via the box-sizing rule). */
@media (max-width:1020px){
  .cat-dir-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .page-hero{padding:36px 0 32px}
  .contact-form{padding:22px 20px}
  .page-hero .archive-author-hero{flex-direction:column}
}
@media (max-width:480px){
  .page-hero h1{font-size:2rem}
  .cat-dir-card{padding:20px 18px}
}

/* ============================================================
   v1.5.1 — (1) hide the header top bar on scroll (desktop
   only), (2) gradient, clear, elegant colour refresh,
   (3) Guides hub rule fix (see functions.php). Only styles
   change here: no copy, no section order, no content, no
   prices, scores or buttons anywhere. Gradients are subtle
   and brand-only (navy / orange / yellow / cream) — never
   loud or rainbow.
   ============================================================ */
:root{
  --hs-grad-orange:linear-gradient(135deg,#f69a3e 0%,#f07d1a 55%,#e06a08 100%);
  --hs-grad-orange-hover:linear-gradient(135deg,#ef8a2a 0%,#e06a08 55%,#c85e06 100%);
  --hs-grad-yellow:linear-gradient(135deg,#f9c51f 0%,#f7b500 60%,#eda400 100%);
  --hs-grad-yellow-hover:linear-gradient(135deg,#f2b800 0%,#eda400 60%,#dd9800 100%);
  --hs-grad-navy:linear-gradient(160deg,#1e4266 0%,#16324f 55%,#0e2237 100%);
  --hs-grad-hero:linear-gradient(180deg,#fffdf7 0%,#faf6ef 70%,#f6eedd 100%);
  --hs-grad-peach:linear-gradient(135deg,#fdf3e2 0%,#fbeed3 55%,#f7e2bd 100%);
  --hs-grad-strip:linear-gradient(90deg,#0e2237 0%,#16324f 50%,#1d4066 100%);
  --hs-grad-pagehero:linear-gradient(180deg,#ffffff 0%,#fdfaf3 100%);
}
/* --- 1. Hide the top bar on scroll (desktop >1200px only).
   theme.js toggles .hs-topbar-hidden on <body> when the page
   is scrolled past 160px (back within 100px of the top). At
   or below 1200px the rule never applies: the top bar holds
   the hamburger and must stay sticky there.
   v1.5.5 FIX: v1.5.1 collapsed the bar with a negative
   margin-top equal to its measured height
   (calc(-1 * var(--hs-topbar-h))). That did NOT work: the
   computed margin was -84px, yet the sticky .site-header
   kept its full 134px height and the menu row stayed 84px
   below the viewport top, leaving a blank white band (the
   margin does not reclaim the space through the sticky
   parent). Verified live in headless Chrome 159 at 1920px
   on the article + homepage, scroll 0 / 600 / back to 0.
   The bar now collapses by height instead: max-height 0 +
   min-height 0 + overflow hidden, so the header shrinks to
   the 49px menu row and the menu sits at the very top. The
   opacity fade still runs, and the bar returns in full when
   scrolled back to the top. --hs-topbar-h is no longer read
   by CSS (theme.js still sets it; harmless). --- */
.header-inner{transition:opacity .3s ease,visibility 0s linear 0s,max-height .35s ease}
@media (min-width:1201px){
  .header-inner{max-height:120px}
  body.hs-topbar-hidden .site-header .header-inner{
    max-height:0;min-height:0;overflow:hidden;padding-top:0;padding-bottom:0;
    opacity:0;pointer-events:none;visibility:hidden;
    transition:opacity .3s ease,visibility 0s linear .35s,max-height .35s ease;
  }
}
@media (prefers-reduced-motion:reduce){
  .header-inner{transition:none}
}
/* --- 2. Gradient refresh. --- */
/* Disclosure strip: soft navy gradient instead of flat navy. */
.top-strip{background:var(--hs-grad-strip)}
/* Heroes: soft cream-to-white wash (homepage + inner pages). */
.hero-home,.hero-bright{background:var(--hs-grad-hero)}
.page-hero{background:var(--hs-grad-pagehero)}
/* Dark research band: deep navy gradient. */
.research-band{background:var(--hs-grad-navy)}
/* Newsletter band: warm cream-to-peach gradient. */
.newsletter-band{background:var(--hs-grad-peach)}
/* Primary CTAs: warm orange gradient + soft shadow. */
.btn-orange{background:var(--hs-grad-orange);box-shadow:0 6px 16px rgba(240,125,26,.28)}
.btn-orange:hover{background:var(--hs-grad-orange-hover);border-color:#e06a08;box-shadow:0 8px 20px rgba(240,125,26,.34)}
.btn-yellow{background:var(--hs-grad-yellow);box-shadow:0 6px 16px rgba(247,181,0,.28)}
.btn-yellow:hover{background:var(--hs-grad-yellow-hover);border-color:#eda400;box-shadow:0 8px 20px rgba(247,181,0,.34)}
.search-submit{background:var(--hs-grad-orange);box-shadow:0 4px 12px rgba(240,125,26,.30)}
.search-submit:hover{background:var(--hs-grad-orange-hover)}
.entry-content a.amazon-btn{background:var(--hs-grad-orange);box-shadow:0 6px 16px rgba(240,125,26,.28)}
.entry-content a.amazon-btn:hover{background:var(--hs-grad-orange-hover)}
/* Category tiles + directory cards: subtle gradient top accent
   on hover (a 4px orange-to-yellow bar that fades in). */
.cat-icon-tile,.cat-tile,.cat-dir-card{position:relative;overflow:hidden}
.cat-icon-tile::before,.cat-tile::before,.cat-dir-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--hs-orange),var(--hs-yellow));
  opacity:0;transition:opacity .25s ease;
}
.cat-icon-tile:hover::before,.cat-tile:hover::before,.cat-dir-card:hover::before{opacity:1}

/* v1.5.1 amendment — footer social follow icons (Facebook, Instagram,
   Pinterest, YouTube). Restrained treatment for the dark footer: small
   dark circles with white inline-SVG marks, warm orange gradient on
   hover. Links are "#" placeholders until the owner supplies the real
   profile URLs. */
.site-footer .footer-social{margin-top:20px}
.site-footer .footer-social-label{color:#fff;font-family:var(--hs-sans);font-size:.8rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px}
.site-footer .footer-social ul{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.site-footer .footer-social a{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#23272e;border:1px solid #33383f;color:#fff;line-height:0;transition:background .25s ease,border-color .25s ease,transform .25s ease}
.site-footer .footer-social a:hover,.site-footer .footer-social a:focus-visible{background:var(--hs-grad-orange);border-color:transparent;color:#fff;transform:translateY(-2px)}
.site-footer .footer-social a:focus-visible{outline:2px solid var(--hs-yellow);outline-offset:2px}
.site-footer .footer-social svg{width:18px;height:18px;fill:currentColor}
@media (max-width:360px){.site-footer .footer-social a{width:36px;height:36px}}

/* ============================================================
   v1.5.2 — article sidebar (owner request 20 Nov 01:16 PST):
   article/review pages had empty space on both sides. The
   single-post layout is now two columns — the article plus a
   sticky right sidebar with similar products, more from the
   category, and a compact newsletter box. No copy, no content
   and no existing article element changes: buy box, TOC, author
   box, related posts and the sticky buy bar are untouched.
   ============================================================ */
/* Two-column article layout. Container 1180px: main column
   ~772px (entry text ~692px after the card padding — the same
   comfortable reading width as the old 760px narrow column),
   sidebar 320px. */
.single-article .article-layout{max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start}
.article-main{min-width:0}
/* Sticky sidebar: top offset clears the pinned menu row (~49px
   once the v1.5.1 top bar has hidden) with a 16px gap. The
   admin bar pushes the header down 32px — match it. The sidebar
   sits in normal flow inside the article grid, so it can never
   cover the fixed bottom buy bar. */
.article-sidebar{position:sticky;top:66px;display:grid;gap:28px;align-content:start}
body.admin-bar .article-sidebar{top:98px}
.sidebar-block{background:#fff;border:1px solid var(--hs-line);border-radius:var(--hs-radius);padding:22px;box-shadow:var(--hs-shadow-sm)}
.sidebar-block-title{font-family:var(--hs-sans);font-size:.85rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 16px;color:var(--hs-ink)}
/* Similar products: thumbnail + lead product name + article title.
   When no name is found the article title is the only (bold) line. */
.sidebar-similar-list{display:grid;gap:14px}
.sidebar-similar-item{display:flex;gap:12px;align-items:flex-start;text-decoration:none;color:var(--hs-ink)}
.sidebar-similar-item:hover{text-decoration:none}
.sidebar-similar-item:hover .sidebar-similar-product{color:var(--hs-orange-dark)}
.sidebar-similar-thumb{flex-shrink:0;width:72px;height:72px;border-radius:10px;overflow:hidden;background:var(--hs-cream-2)}
.sidebar-similar-thumb img{width:100%;height:100%;object-fit:cover}
.sidebar-similar-text{min-width:0}
.sidebar-similar-product{display:block;font-weight:700;font-size:.9rem;line-height:1.35}
.sidebar-similar-title{display:block;font-size:.82rem;color:var(--hs-muted);line-height:1.4;margin-top:2px}
/* More from this category: title links with dates. */
.sidebar-more-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sidebar-more-list a{font-weight:600;color:var(--hs-ink);font-size:.92rem;line-height:1.4}
.sidebar-more-list a:hover{color:var(--hs-navy)}
.sidebar-more-date{display:block;font-size:.78rem;color:var(--hs-muted);margin-top:2px}
/* Compact newsletter: same form/handler as the full band, stacked. */
.sidebar-newsletter{background:var(--hs-grad-peach)}
.sidebar-newsletter .eyebrow{margin-bottom:6px}
.sidebar-newsletter p{font-size:.9rem;color:var(--hs-ink-soft);margin:0 0 4px}
.sidebar-newsletter .newsletter-form{flex-direction:column;max-width:none;margin:16px 0 0}
.sidebar-newsletter .newsletter-form input[type="email"]{width:100%}
.sidebar-newsletter .newsletter-form .btn{width:100%}
.sidebar-newsletter .newsletter-note{margin:12px 0 0}
/* v1.5.2 responsive: at or below 1020px the sidebar stacks below
   the article (no side-by-side, no sticky, no horizontal scroll). */
@media (max-width:1020px){
  .single-article .article-layout{grid-template-columns:1fr;gap:32px}
  .article-sidebar{position:static}
}
@media (max-width:480px){
  .sidebar-block{padding:20px 18px}
}

/* ============================================================
   v1.5.3 — (1) Amazon button wording: buy box + sticky bar
   read "BUY WITH AMAZON" (see single.php); in-content button
   links are relabelled "CHECK PRICE ON AMAZON" at render time
   by the content filter (see functions.php). (2) Gradient
   buttons: the buy box / sticky bar already use .btn-orange
   (orange gradient, v1.5.1) and .entry-content a.amazon-btn
   already uses --hs-grad-orange (v1.5.1) — the filter now
   also adds the amazon-btn class to every button-label Amazon
   link (including list-item links), so all three button
   locations render as gradient buttons. This block only adds
   list-item breathing room, a visible keyboard focus ring,
   and a full-width mobile treatment.
   ============================================================ */
/* Buttons inside list items (the article's buy-link list):
   a little vertical breathing room beside the <strong> label. */
.entry-content li a.amazon-btn{margin:4px 0}
/* Visible keyboard focus on the gradient Amazon buttons. */
.btn-orange:focus-visible,.entry-content a.amazon-btn:focus-visible{outline:3px solid var(--hs-navy);outline-offset:2px}
/* Small screens: in-content Amazon buttons go full-width so
   they stay comfortably tappable with no horizontal scroll. */
@media (max-width:480px){
  .entry-content a.amazon-btn{display:block;width:100%;text-align:center;padding:13px 18px;font-size:.95rem}
}

/* ============================================================
   Performance (v1.5.7): skip layout/paint for below-fold
   homepage sections until they approach the viewport.
   CSS-only — no markup or JS change, no visual change. The
   `auto` keyword on contain-intrinsic-size makes the browser
   remember each section's real rendered size after first paint,
   so the pixel estimate only matters before the section has
   ever rendered. Estimates measured at a 412 px viewport via
   CDP on the live v1.5.6 homepage (20 Nov 2026): category
   tiles 994, featured picks 2632, Top Picks Compared 1907,
   latest reviews 1417, spotlights 2006/2006/2023, research
   band 1431, team band 1254, guides-blog 2004, newsletter
   395. NOT applied to the hero or the trust strip (above the
   fold — content-visibility there would delay LCP).
   ============================================================ */
.home section.section:has(.cat-icon-grid){content-visibility:auto;contain-intrinsic-size:auto 994px}
.home #featured-picks{content-visibility:auto;contain-intrinsic-size:auto 2592px}
.home #top-picks-compared{content-visibility:auto;contain-intrinsic-size:auto 1867px}
.home section.section:has(.reviews-layout){content-visibility:auto;contain-intrinsic-size:auto 1377px}
.home .spotlight-section{content-visibility:auto;contain-intrinsic-size:auto 1983px}
.home .research-band{content-visibility:auto;contain-intrinsic-size:auto 1351px}
.home .team-band{content-visibility:auto;contain-intrinsic-size:auto 1172px}
.home .guides-blog{content-visibility:auto;contain-intrinsic-size:auto 1964px}
.home #newsletter{content-visibility:auto;contain-intrinsic-size:auto 312px}

/* ============================================================
   v1.5.8: per-breakpoint contain-intrinsic-size overrides.
   The base values above were measured at a 412 px viewport and
   overstate every wider viewport, so the homepage scrollbar
   thumb moved while sections rendered (desktop overestimate
   ~7,870 px, tablet ~5,084 px). Heights re-measured via CDP
   on the live v1.5.7 homepage, 20 Nov 2026 — see
   perf/desktop-heights-2026-11-20.md (§5 desktop, §6 tablet).
   Base (mobile, below 768 px) values are unchanged.
   ============================================================ */
@media (min-width:768px){
.home section.section:has(.cat-icon-grid){contain-intrinsic-size:auto 805px}
.home #featured-picks{contain-intrinsic-size:auto 1080px}
.home #top-picks-compared{contain-intrinsic-size:auto 1007px}
.home section.section:has(.reviews-layout){contain-intrinsic-size:auto 1303px}
.home .spotlight-section{contain-intrinsic-size:auto 1373px}
.home .research-band{contain-intrinsic-size:auto 982px}
.home .team-band{contain-intrinsic-size:auto 936px}
.home .guides-blog{contain-intrinsic-size:auto 884px}
.home #newsletter{contain-intrinsic-size:auto 212px}
}
@media (min-width:1024px){
.home section.section:has(.cat-icon-grid){contain-intrinsic-size:auto 480px}
.home #featured-picks{contain-intrinsic-size:auto 640px}
.home #top-picks-compared{contain-intrinsic-size:auto 835px}
.home section.section:has(.reviews-layout){contain-intrinsic-size:auto 852px}
.home .spotlight-section{contain-intrinsic-size:auto 741px}
.home .research-band{contain-intrinsic-size:auto 549px}
.home .team-band{contain-intrinsic-size:auto 529px}
.home .guides-blog{contain-intrinsic-size:auto 454px}
.home #newsletter{contain-intrinsic-size:auto 228px}
}
