/*
Theme Name: NookPrep GeneratePress Preview
Template: generatepress
Text Domain: nookprep-generatepress-preview
Description: GeneratePress child-theme preview for NookPrep Phase 2 desktop design.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

:root{
  --np-green:#3a5947;
  --np-green-deep:#2f4a3a;
  --np-ink:#111815;
  --np-muted:#69736d;
  --np-line:#cfd5d1;
  --np-sage:#eef2ed;
  --np-cream:#fbf6ef;
  --np-white:#fff;
  --np-max:1040px;
  --np-width:82vw;
  --np-serif:Georgia,"Times New Roman",serif;
  --np-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.nookprep-design-preview{margin:0;background:#fff;color:var(--np-ink);font-family:var(--np-sans);font-size:16px;line-height:1.45}
body.nookprep-design-preview a{color:inherit}
.np-wrap{width:min(var(--np-max),var(--np-width));margin:0 auto}

/* Remove obsolete Phase 2 preview-only footer label from all viewports. */
.np-design-note{display:none!important}

/* Approved compact green header + Kitchen mega category */
.np-site-header{position:relative;z-index:1000;background:var(--np-green);color:#fff}
.np-header-inner{height:50px;display:flex;align-items:center;gap:30px}
.np-brand{display:inline-flex;align-items:center;gap:8px;font:700 24px/1 var(--np-serif);text-decoration:none;letter-spacing:-.45px;margin-right:auto;color:#fff}
.np-brand-icon{display:block;width:34px;height:34px;object-fit:contain;flex:0 0 34px;border-radius:7px}
.np-nav{position:relative;height:50px;display:flex;align-items:center;gap:28px;font-size:11px;font-weight:600}
.np-nav>a,.np-nav-kitchen-link{height:50px;display:flex;align-items:center;text-decoration:none;color:#fff;opacity:.98;white-space:nowrap}
.np-nav>a:hover,.np-nav-kitchen-link:hover{color:#eef3ef}
.np-nav-kitchen{position:static;height:50px;display:flex;align-items:center}
.np-nav-caret{margin-left:4px;font-size:10px;line-height:1;transform:translateY(-1px)}

.np-mega{
  position:absolute;
  top:50px;
  left:0;
  right:0;
  width:auto;
  max-width:none;
  padding:17px 20px 19px;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transform:translateY(-7px);
  transform-origin:top left;
  background:#fff;
  color:var(--np-ink);
  border:1px solid #dce2de;
  border-top:2px solid var(--np-green);
  border-radius:0 0 8px 8px;
  box-shadow:0 14px 34px rgba(26,39,31,.13);
  transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s linear .22s;
  z-index:2000;
}
.np-nav-kitchen:hover .np-mega,
.np-nav-kitchen:focus-within .np-mega{
  visibility:visible;
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
  transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s linear 0s;
}
.np-mega-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}
.np-mega-item{display:block;padding:0 0 8px;text-decoration:none;color:var(--np-ink)!important;border-bottom:1px solid #edf0ed}
.np-mega-item:nth-last-child(-n+2){border-bottom:0}
.np-mega-item strong{display:block;margin-bottom:4px;color:#23352b;font:700 13px/1.15 var(--np-serif)}
.np-mega-item span{display:block;color:#748079;font:400 9px/1.35 var(--np-sans)}
.np-mega-item:hover strong{color:var(--np-green)}
.np-mega-item:hover span{color:#536258}

.np-search{width:230px;height:30px;border:0;background:#f7f8f7;border-radius:999px;display:flex;align-items:center;padding:0 13px;color:#5f685f;flex-shrink:0}
.np-header-search input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#65706a!important;font:400 10px/1 var(--np-sans)!important;padding:0!important}
.np-header-search input::placeholder{color:#7a827d;opacity:1}

/* Hero: reference structure = full-width split, text aligned to body, image full-bleed right */
.np-main{background:#fff}
.np-home .np-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  min-height:218px;
  align-items:stretch;
  padding:0;
}
.np-home .np-hero>div:first-child{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-left:calc((100vw - min(var(--np-max),var(--np-width)))/2 + 16px);
  padding-right:34px;
}
.np-eyebrow{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#7b847e;font-weight:700;margin-bottom:5px}
.np-home .np-hero h1{font:700 44px/.93 var(--np-serif);letter-spacing:-1.55px;margin:0 0 11px;max-width:410px}
.np-home .np-hero p{max-width:390px;color:var(--np-muted);font-size:14px;line-height:1.38;margin:0 0 14px}
.np-hero-search{width:100%;max-width:410px;height:34px;border:1px solid var(--np-line);border-radius:999px;display:flex;align-items:center;padding:0 16px;color:#8a918d;background:#fff;font-size:11px}
.np-hero-search:before{content:"⌕";font-size:11px;margin-right:9px;color:#767f79}
.np-hero-art{
  height:218px;
  border:0;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg,#fdfdfc 0 56%,#ede2d5 56% 59%,#f8f5ef 59% 100%),
    linear-gradient(90deg,#fbfaf7 0,#f1eee8 100%);
}
.np-hero-art:before{content:"";position:absolute;left:48%;top:58px;width:45px;height:92px;border-radius:8px 8px 5px 5px;background:#ece3d4;border:1px solid #d6cab9;box-shadow:-72px 6px 0 0 #ded6c7,68px -8px 0 -10px #d1a052,150px 8px 0 -12px #b48551,-96px -12px 0 -22px #7f9f70,15px 13px 0 -3px #f7f2ea}
.np-hero-art:after{content:"";position:absolute;left:41%;top:37px;width:8px;height:94px;border-radius:4px;background:#433f39;box-shadow:12px 0 0 #5b554c,24px 6px 0 #35413b,36px 0 0 #8b6b47,78px 29px 0 7px #c38b37,-74px 34px 0 18px #f4efe7}

/* Hero separator: exact body width */
.np-rule{display:block;width:100%;height:0;border:0;border-top:1px solid var(--np-line);margin:0}

/* Standard category sections */
.np-section{padding:18px 0 2px}
.np-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.np-section-title{font:700 20px/1 var(--np-serif);letter-spacing:.015em;text-transform:uppercase;margin:0}
.np-view-all{font-size:10px;color:var(--np-green);text-decoration:none;white-space:nowrap}
.np-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.np-card{border:1px solid #e0e4e1;border-radius:3px;background:#fff;overflow:hidden}
.np-home .np-card-media{aspect-ratio:3/1;position:relative;background:linear-gradient(180deg,#fcfbf9 0 62%,#eadac7 62% 66%,#f7f3eb 66% 100%),linear-gradient(90deg,#f7f3ed,#f6f3ed)}
.np-home .np-card-media:before{content:"";position:absolute;left:35%;bottom:13%;width:44px;height:54%;border-radius:7px 7px 2px 2px;background:#232b29;box-shadow:0 8px 18px rgba(0,0,0,.08)}
.np-home .np-card-media:after{content:"";position:absolute;right:11%;bottom:15%;width:17px;height:44%;border-radius:0 0 6px 6px;background:#98b089;box-shadow:0 -8px 0 -2px #7ea26b,0 -13px 0 -7px #98b089}
.np-home .np-card-media.tone-2:before{width:65px;height:38%;left:33%;bottom:17%;border-radius:4px;background:#474d46;border:4px solid #252f2c}
.np-home .np-card-media.tone-3:before{width:49px;height:52%;left:36%;bottom:13%;border-radius:26px 26px 10px 10px;background:#403d38;border:2px solid #6e7067}
.np-home .np-card-copy{padding:9px 11px 11px}
.np-home .np-card-label{font-size:8px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#68736b;margin-bottom:4px}
.np-home .np-card h3{font:700 16px/1.08 var(--np-serif);margin:0 0 5px;letter-spacing:-.2px}
.np-home .np-card p{font-size:11px;color:var(--np-muted);line-height:1.32;margin:0}

/* Editorial relief strip */
.np-relief{margin:12px 0 8px;background:var(--np-sage);border:1px solid #e1e6e2;border-radius:7px;height:48px;display:grid;grid-template-columns:100px 1px 1.3fr 1px 1.25fr 24px;align-items:center;padding:0 22px;gap:16px}
.np-relief-leaf{font:700 22px/1 var(--np-serif);color:var(--np-green);text-align:center}
.np-relief-line{height:24px;background:#cfd7d1}
.np-relief strong{font:700 20px/1.1 var(--np-serif);color:var(--np-green)}
.np-relief span{font-size:11px;color:#65706a;line-height:1.25}
.np-relief-arrow{font-size:18px;color:var(--np-green);text-align:right}

/* Best Picks */
.np-best{padding:8px 0 4px}
.np-best-head{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--np-line);padding-top:15px;margin-bottom:9px}
.np-best-title-wrap{display:flex;align-items:baseline;gap:14px}
.np-best-title-wrap small{color:var(--np-muted);font-size:11px}
.np-best-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}
.np-best-feature{display:grid;grid-template-columns:1.02fr .98fr;background:var(--np-cream);border:1px solid #e6dfd7;border-radius:5px;overflow:hidden;min-height:195px}
.np-best-feature-media{position:relative;background:linear-gradient(180deg,#fff 0 63%,#eedbc6 63% 67%,#f6f0e5 67% 100%),linear-gradient(90deg,#f4eee5,#fbf9f5)}
.np-best-feature-media:before{content:"";position:absolute;left:14%;bottom:13%;width:55%;height:47%;background:#2d2d2a;border-radius:48% 48% 12px 12px;box-shadow:0 -7px 0 -5px #555149,0 12px 18px rgba(0,0,0,.06)}
.np-best-feature-media:after{content:"";position:absolute;left:10%;bottom:5%;width:18px;height:18px;border-radius:50%;background:#c86b39;box-shadow:18px 4px 0 #cf8a41,37px 1px 0 #6d8b49,57px 5px 0 #cf8a41}
.np-best-feature-copy{padding:20px 20px 16px}
.np-pill{display:inline-block;font-size:8px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--np-green);border:1px solid #cfd6cf;border-radius:999px;padding:4px 8px;margin-bottom:10px;background:#fff}
.np-best-feature h3{font:700 23px/1.06 var(--np-serif);margin:0 0 9px;letter-spacing:-.3px}
.np-best-feature p{font-size:12px;color:var(--np-muted);line-height:1.35;margin:0 0 14px}
.np-button{display:inline-block;background:var(--np-green);color:#fff!important;text-decoration:none;border-radius:5px;padding:8px 13px;font-size:10px;font-weight:700}
.np-best-stack{display:grid;gap:10px}
.np-best-mini{display:grid;grid-template-columns:48% 52%;background:var(--np-cream);border:1px solid #e6dfd7;border-radius:5px;overflow:hidden;min-height:92px}
.np-best-mini-media{position:relative;background:linear-gradient(180deg,#fff 0 62%,#edd7bf 62% 66%,#f8f2ea 66% 100%),linear-gradient(90deg,#f6f0e6,#fbf9f5)}
.np-best-mini-media:before{content:"";position:absolute;left:18%;bottom:25%;width:58%;height:12%;background:#693b1c;border-radius:6px;box-shadow:10px -8px 0 #2b2d2a}
.np-best-mini-copy{padding:11px 12px}
.np-best-mini h4{font:700 13px/1.1 var(--np-serif);margin:3px 0 5px}
.np-best-mini p{font-size:9px;color:var(--np-muted);line-height:1.3;margin:0}
.np-best-mini .np-card-label{font-size:7px;letter-spacing:.13em;color:#6b746d}

/* Footer */
.np-footer{margin-top:14px;border-top:1px solid var(--np-line);background:#fff}
.np-trust{display:grid;grid-template-columns:repeat(4,1fr);padding:11px 0;border-bottom:1px solid var(--np-line)}
.np-trust-item{padding:0 14px;border-right:1px solid #e5e8e5}
.np-trust-item:first-child{padding-left:0}
.np-trust-item:last-child{border-right:0;padding-right:0}
.np-trust-item strong{display:block;font:700 11px/1.2 var(--np-serif);color:var(--np-green);margin-bottom:2px}
.np-trust-item span{font-size:8px;line-height:1.25;color:var(--np-muted)}
.np-footer-bottom{min-height:52px;display:flex;align-items:center;gap:20px}
.np-footer-brand{font:700 18px/1 var(--np-serif);color:var(--np-green);margin-right:auto}
.np-footer-links{display:flex;gap:11px;font-size:8px;color:#5f6862;flex-wrap:wrap;justify-content:flex-end}
.np-footer-links a{text-decoration:none}
.np-design-note{font-size:8px;color:#8a928d;text-align:center;padding:4px 0 0}

/* Category Hub */
.np-category-page .np-category-intro{padding:22px 0 14px}
.np-breadcrumb{font-size:10px;color:#7c847f;margin-bottom:15px}
.np-category-page h1{font:700 37px/1 var(--np-serif);letter-spacing:-.8px;margin:0 0 7px}
.np-category-page p{font-size:13px;color:var(--np-muted);margin:0}
.np-filters{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--np-line);border-bottom:1px solid var(--np-line)}
.np-filter{padding:7px 11px;border:1px solid var(--np-line);border-radius:999px;font-size:10px;text-decoration:none;background:#fff}
.np-filter.is-active{background:var(--np-green);color:#fff;border-color:var(--np-green)}
.np-archive-head{display:flex;align-items:center;justify-content:space-between;padding:17px 0 12px}
.np-archive-head h2{font:700 20px/1 var(--np-serif);margin:0;text-transform:uppercase}
.np-sort{font-size:10px;border:1px solid var(--np-line);border-radius:6px;padding:7px 11px;color:#69726d;background:#fff}
.np-category-page .np-grid{gap:15px}
.np-category-page .np-card-media{aspect-ratio:2.35/1;position:relative;background:linear-gradient(180deg,#fcfbf9 0 64%,#ecdfcf 64% 68%,#f6f2ea 68% 100%),linear-gradient(90deg,#f8f4ed,#f5f2ec)}
.np-category-page .np-card-media:before{content:"";position:absolute;left:50%;bottom:15%;transform:translateX(-50%);width:28%;height:54%;border-radius:8px 8px 4px 4px;background:#2b3330;box-shadow:0 12px 20px rgba(0,0,0,.08)}
.np-category-page .np-card-media:after{content:"";position:absolute;right:12%;bottom:17%;width:17px;height:26%;border-radius:0 0 6px 6px;background:#99ae89;box-shadow:0 -7px 0 -2px #7ca06a,0 -11px 0 -6px #99ae89}
.np-category-page .np-card-media.tone-2:before{width:34%;height:42%;border-radius:4px;background:#50544f;border:5px solid #252e2b}
.np-category-page .np-card-media.tone-3:before{width:28%;height:55%;border-radius:36px 36px 10px 10px;background:#413f39;border:2px solid #6d7066}
.np-category-page .np-card-copy{padding:11px 12px 13px}
.np-category-page .np-card-label{font-size:8px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#6b746e;margin-bottom:5px}
.np-category-page .np-card h3{font:700 15px/1.12 var(--np-serif);margin:0 0 5px}
.np-category-page .np-card p{font-size:10px;line-height:1.35;color:var(--np-muted);margin:0}
.np-pagination{display:flex;justify-content:center;align-items:center;gap:8px;padding:20px 0 11px}
.np-page{min-width:30px;height:30px;padding:0 10px;border:1px solid var(--np-line);border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:10px;background:#fff}
.np-page.is-active{background:var(--np-green);color:#fff;border-color:var(--np-green)}

/* =========================================================
   Canonical Card Component — Homepage = every category page
   GeneratePress draft only. Desktop-first; mobile intentionally deferred.
   ========================================================= */
@media(min-width:901px){
  .np-home .np-grid,
  .np-category-page .np-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-auto-rows:1fr;
    gap:16px;
    align-items:stretch;
  }

  .np-home .np-card,
  .np-category-page .np-card{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    min-width:0;
    border:1px solid #e0e4e1;
    border-radius:3px;
    background:#fff;
    overflow:hidden;
    box-shadow:none;
  }

  .np-home .np-card-media,
  .np-category-page .np-card-media{
    width:100%;
    aspect-ratio:3/2;
    position:relative;
    overflow:hidden;
    flex:0 0 auto;
  }

  .np-home .np-card-copy,
  .np-category-page .np-card-copy{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:96px;
    padding:9px 11px 11px;
  }

  .np-home .np-card-label,
  .np-category-page .np-card-label{
    margin:0 0 4px;
    color:#68736b;
    font:700 8px/1.1 var(--np-sans);
    letter-spacing:.14em;
    text-transform:uppercase;
  }

  .np-home .np-card h3,
  .np-category-page .np-card h3{
    min-height:35px;
    margin:0 0 5px;
    color:var(--np-ink);
    font:700 16px/1.08 var(--np-serif);
    letter-spacing:-.2px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .np-home .np-card p,
  .np-category-page .np-card p{
    margin:0;
    color:var(--np-muted);
    font:400 11px/1.32 var(--np-sans);
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .np-category-page .np-card-media:before,
  .np-category-page .np-card-media:after{
    position:absolute;
  }
}

@media(max-width:900px){
  /* Responsive redesign intentionally deferred. */
  .np-wrap{width:calc(100% - 24px)}
  .np-nav{display:none}
  .np-search{width:132px}
  .np-home .np-hero{width:100%;margin-left:0;grid-template-columns:1fr}
  .np-home .np-hero>div:first-child{padding:24px 0}
  .np-grid,.np-best-layout,.np-trust{grid-template-columns:1fr 1fr}
}

/* =========================================================
   NOOKPREP MAIN DESIGN LOCK — ACTIVE
   Owner lock date: 2026-10-08
   Homepage MAIN visual design + homepage photos are frozen.
   Do not alter .np2-home / .np2-hero / .np2-section / .np2-best
   visual rules until the owner explicitly releases this lock.
   Bug fixes are allowed only when they preserve the approved look.
   ========================================================= */

/* =========================================================
   GeneratePress Migration Sync — current approved Main
   Canonical desktop rendering copied from the Astra live design.
   ========================================================= */
.np2-home{width:100%;background:#fff;color:#111815}
.np2-shell{width:min(1040px,82vw);max-width:1040px;margin:0 auto}
.np2-home a{text-decoration:none;color:inherit}
.np2-home img{display:block;max-width:100%}

.np2-hero{background:#fff}
.np2-hero-grid{position:relative;display:block;height:300px;min-height:300px;overflow:hidden;background:#fff}
.np2-hero-media{position:absolute;inset:0;z-index:1;width:100%;height:300px;overflow:hidden;background:#fff}
.np2-hero-media img{width:100%;height:300px;min-height:300px;object-fit:cover;object-position:center center}
.np2-hero-grid:after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.96) 22%,rgba(255,255,255,.84) 37%,rgba(255,255,255,.46) 49%,rgba(255,255,255,.10) 58%,rgba(255,255,255,0) 68%)
}
.np2-hero-copy{position:relative;z-index:3;width:50%;max-width:50%;height:300px;min-height:300px;padding:28px 24px 24px 16px;display:flex;flex-direction:column;justify-content:center;background:transparent}
.np2-kicker{margin:0 0 7px;color:#77827b;font:800 9px/1.15 var(--np-sans);letter-spacing:.13em}
.np2-hero h1{margin:0 0 12px;max-width:400px;color:#101713;font:700 48px/.96 var(--np-serif);letter-spacing:-1.45px}
.np2-hero-copy>p:not(.np2-kicker){margin:0 0 15px;max-width:390px;color:#5f6963;font-size:14px;line-height:1.43}
.np2-search{display:flex;align-items:center;gap:8px;width:100%;max-width:410px;height:38px;min-height:38px;padding:0 16px;border:1px solid #cfd5d1;border-radius:999px;background:rgba(255,255,255,.90)}
.np2-search span{font-size:11px;color:#767f79}
.np2-search input{flex:1 1 auto;min-width:0;border:0;outline:0;box-shadow:none;background:transparent;color:#5f6963;font:400 11px/1 var(--np-sans);padding:0}
.np2-search input::placeholder{color:#8a918d;opacity:1}
.np2-divider{width:100%;height:1px;margin:0;background:#d9ddda}

.np2-section{padding:18px 0 2px;background:#fff}
.np2-section-head,.np2-best-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:8px;margin-bottom:14px;border-top:1px dotted #bfc6c1}
.np2-section:first-of-type .np2-section-head{border-top:0}
.np2-section-head h2,.np2-title-inline h2{margin:0;color:#111815;font:700 24px/1.15 var(--np-serif);letter-spacing:0}
.np2-section-head>a,.np2-best-head>a{align-self:flex-end;margin-bottom:2px;color:#3a5947;font:600 10px/1.2 var(--np-sans);text-decoration:none}
.np2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:22px;align-items:stretch}
.np2-card{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;border:1px solid #d9ddda;border-radius:0;background:#fff;box-shadow:none}
.np2-card>a{display:block;width:100%;aspect-ratio:3/2;overflow:hidden;background:#fff;flex:0 0 auto}
.np2-card>a img,.np2-card img{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center center;background:#fff}
.np2-card-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:126px;padding:15px 18px 16px;background:#fff}
.np2-card-body>span{margin:0 0 6px;color:#66736b;font:700 8px/1.1 var(--np-sans);letter-spacing:.12em;text-transform:uppercase}
.np2-card h3{min-height:37px;margin:0 0 7px;color:#111815;font:700 16px/1.16 var(--np-serif);letter-spacing:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.np2-card p{margin:0;color:#5f6963;font:400 12px/1.45 var(--np-serif);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.np2-blank{min-height:1px}

.np2-relief{height:42px;min-height:42px;margin:10px 0 7px;padding:0 16px;display:grid;grid-template-columns:60px 1px 1.2fr 1px 1.35fr 18px;align-items:center;gap:11px;border:1px solid #e3e8e4;border-radius:4px;background:#eef2ed}
.np2-relief .np2-leaf{font-size:15px;color:#3a5947;text-align:center}
.np2-relief i{display:block;width:1px;height:19px;background:#cfd7d1}
.np2-relief strong{color:#3a5947;font:700 13px/1.1 var(--np-serif)}
.np2-relief span:not(.np2-leaf){color:#65706a;font-size:8px}
.np2-relief b{color:#3a5947;font-size:13px;font-weight:400}

.np2-best{padding:10px 0 12px;background:#fff;color:#111815}
.np2-best .np2-shell{padding-top:2px;padding-bottom:2px}
.np2-best-head{padding-top:9px;border-top:1px dotted #bfc6c1}
.np2-best .np2-section-head h2,.np2-best .np2-title-inline h2{color:#111815}
.np2-title-inline{display:flex;align-items:baseline;gap:8px}
.np2-title-inline small{color:#69736d;font-size:8px}
.np2-best .np2-best-head>a{color:#3a5947!important}
.np2-best .np2-best-head>a:hover{color:#243d30!important}
.np2-best-grid{display:grid;grid-template-columns:1.55fr .9fr;gap:14px;align-items:stretch;width:calc(100% + 24px);margin-left:-12px;padding:12px;box-sizing:border-box;background:#3a5947;border-radius:4px}

.np2-best-main{position:relative;height:350px;min-height:350px;border:1px solid #d9ddda;border-radius:4px;overflow:hidden;background:#f6f6f3}
.np2-best-image{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;background:#f6f6f3}
.np2-best-image:after{content:none}
.np2-best-image img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;min-width:100%;min-height:100%;max-width:none!important;object-fit:cover!important;object-position:center 51%!important}
.np2-best-copy{position:absolute;z-index:2;left:22px;bottom:22px;width:350px;max-width:calc(100% - 44px);height:auto;min-width:0;box-sizing:border-box;padding:16px 18px 15px;overflow:hidden;background:rgba(255,255,255,.88);border:1px solid rgba(217,221,218,.96);border-radius:4px;box-shadow:0 10px 28px rgba(20,32,25,.10);backdrop-filter:blur(3px)}
.np2-best-copy>span{display:block;margin:0 0 5px;color:#66736b;font:700 7px/1 var(--np-sans);letter-spacing:.14em;text-transform:uppercase}
.np2-best-copy h3{margin:0 0 6px;color:#111815;font:700 18px/1.08 var(--np-serif);letter-spacing:-.2px;text-shadow:none}
.np2-best-copy h3 a{color:#111815!important}
.np2-best-copy p{margin:0 0 8px;color:#5f6963;font:400 10px/1.35 var(--np-sans)}
.np2-best-link{display:inline-block;color:#3a5947!important;font:700 9px/1.2 var(--np-sans);text-decoration:none;border-bottom:1px solid #3a5947;padding-bottom:2px}

.np2-best-links{display:grid;grid-template-rows:169px 169px;gap:12px;height:350px;min-height:350px}
.np2-best-linkcard{position:relative;min-width:0;height:169px;min-height:169px;background:#fff;border:1px solid #d9ddda;border-radius:4px;overflow:hidden}
.np2-best-linkcard-image{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;background:#eef1ee}
.np2-best-linkcard-image img{display:block;width:100%!important;height:100%!important;min-width:100%;min-height:100%;max-width:none!important;object-fit:cover!important;object-position:center center!important}
.np2-best-linkcard-copy{position:absolute;z-index:2;top:0;right:0;bottom:0;width:55%;display:flex;flex-direction:column;justify-content:center;padding:18px 18px 16px 50px;box-sizing:border-box;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.38) 10%,rgba(255,255,255,.68) 24%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.985) 58%,#fff 72%,#fff 100%)}
.np2-best-linkcard-copy span{display:block;margin:0 0 6px;color:#66736b;font:700 7px/1 var(--np-sans);letter-spacing:.14em;text-transform:uppercase}
.np2-best-linkcard-copy h4{margin:0 0 6px;color:#111815;font:700 16px/1.1 var(--np-serif)}
.np2-best-linkcard-copy h4 a{color:#111815!important;text-decoration:none}
.np2-best-linkcard-copy h4 a:hover{color:#3a5947!important;text-decoration:underline}
.np2-best-linkcard-copy p{margin:0;color:#69736d;font:400 9px/1.35 var(--np-sans)}

.np2-empty-grid{min-height:8px}
.np2-last{padding-bottom:8px}
.np2-trust{margin-top:10px;border-top:1px solid #d9ddda;border-bottom:1px solid #d9ddda;background:#fff}
.np2-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 0}
.np2-trust-grid>div{min-width:0;padding:0 10px;border-right:1px solid #e5e8e5}
.np2-trust-grid>div:first-child{padding-left:0}
.np2-trust-grid>div:last-child{padding-right:0;border-right:0}
.np2-trust strong{display:block;margin-bottom:3px;color:#3a5947;font:700 9px/1.2 var(--np-serif)}
.np2-trust span{display:block;color:#69736d;font-size:7px;line-height:1.3}

/* =========================================================
   CATEGORY PAGE SYSTEM — MAIN is the visual source of truth.
   These rules may change category/archive pages only.
   Homepage MAIN remains locked.
   ========================================================= */
.np-category-page .np-wrap{width:min(1040px,82vw);max-width:1040px}
.np-category-page .np-category-content{padding-top:0}

/* Category Hero intentionally reuses MAIN's np2-hero geometry. */
.np-category-page .np-category-hero{background:#fff}
.np-category-page .np-category-hero-breadcrumb{margin:0 0 7px;color:#77827b;font:600 9px/1.2 var(--np-sans)}
.np-category-page .np-category-hero-breadcrumb a{color:#66736b;text-decoration:none}
.np-category-page .np-category-hero-breadcrumb a:hover{color:#3a5947}
.np-category-page .np2-hero h1{text-transform:none}
.np-category-page .np2-hero-copy>p:not(.np2-kicker){max-width:410px}

/* Persistent family filters. */
.np-category-page .np-filters{display:flex;gap:7px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #d9ddda;border-bottom:1px solid #d9ddda;background:#fff}
.np-category-page .np-filter{padding:6px 10px;border:1px solid #cfd5d1;border-radius:999px;background:#fff;color:#425047;font:600 9px/1.2 var(--np-sans);text-decoration:none}
.np-category-page .np-filter:hover{border-color:#9facA4;color:#3a5947}
.np-category-page .np-filter.is-active{background:#3a5947;color:#fff;border-color:#3a5947}

/* Archive heading. */
.np-category-page .np-archive-head{display:flex;align-items:center;justify-content:space-between;padding:14px 0 10px}
.np-category-page .np-archive-head h2{margin:0;font:700 20px/1.1 var(--np-serif)}
.np-category-page .np-sort{padding:6px 10px;border:1px solid #cfd5d1;border-radius:6px;color:#69736d;background:#fff;font-size:9px}

/* EXACT MAIN CARD GEOMETRY for every category archive, including Best Picks. */
.np-category-page .np-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.np-category-page .np2-card{height:auto;min-height:0}
.np-category-page .np2-card>a{aspect-ratio:3/2}
.np-category-page .np2-card-body{height:126px;min-height:126px;max-height:126px;box-sizing:border-box;overflow:hidden;padding:15px 18px 16px}
.np-category-page .np2-card h3{min-height:37px;-webkit-line-clamp:2}
.np-category-page .np2-card p{-webkit-line-clamp:3}

/* Best Picks archive hard-sync: exact same grid/card geometry as every other category page.
   This is category-only and does not modify locked MAIN. */
body.category-best-picks .np-category-content{
  width:min(1040px,82vw)!important;
  max-width:1040px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.category-best-picks .np-category-grid{
  display:grid!important;
  width:100%!important;
  max-width:100%!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:1fr!important;
  gap:22px!important;
  align-items:stretch!important;
}
body.category-best-picks .np-category-grid>.np2-card{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
}
body.category-best-picks .np-category-grid>.np2-card>a{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:3/2!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
}
body.category-best-picks .np-category-grid>.np2-card>a>img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body.category-best-picks .np-category-grid>.np2-card>.np2-card-body{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:126px!important;
  min-height:126px!important;
  max-height:126px!important;
  padding:15px 18px 16px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.category-best-picks .np-category-grid>.np2-card .np2-card-body>span{
  margin:0 0 6px!important;
  font:700 8px/1.1 var(--np-sans)!important;
  letter-spacing:.12em!important;
}
body.category-best-picks .np-category-grid>.np2-card h3{
  min-height:37px!important;
  margin:0 0 7px!important;
  font:700 16px/1.16 var(--np-serif)!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.category-best-picks .np-category-grid>.np2-card p{
  margin:0!important;
  font:400 12px/1.45 var(--np-serif)!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

/* Pagination. */
.np-category-page .np-pagination{display:flex;justify-content:center;gap:7px;padding:20px 0}
.np-category-page .np-page{min-width:30px;height:30px;padding:0 10px;border:1px solid #cfd5d1;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#fff;font-size:10px}
.np-category-page .np-page.is-active,.np-category-page .np-page.current{background:#3a5947;color:#fff;border-color:#3a5947}

/* =========================================================
   SINGLE ARTICLE — desktop layout repair.
   Article pages only; homepage MAIN lock is untouched.
   The template uses utility-like class names, so explicit theme CSS
   owns the actual desktop article geometry.
   ========================================================= */
@media (min-width:901px){
  body.single main.flex-1{
    width:100%;
    background:#fff;
  }
  body.single main.flex-1>article.max-w-3xl{
    width:min(860px,calc(100% - 48px));
    max-width:860px;
    margin:0 auto;
    padding:54px 0 64px;
  }
  body.single main.flex-1>article>header{
    margin:0 0 30px;
  }
  body.single main.flex-1>article h1{
    margin:0;
    color:#111815;
    font:700 44px/1.04 var(--np-serif);
    letter-spacing:-.8px;
  }
  body.single main.flex-1>article>header p{
    margin:12px 0 0;
    color:#69736d;
    font:600 11px/1.4 var(--np-sans);
    letter-spacing:.04em;
    text-transform:uppercase;
  }
  body.single main.flex-1>article figure{
    margin:0 0 34px;
    width:100%;
  }
  body.single main.flex-1>article figure img{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
  }
  body.single .prose{
    width:100%;
    max-width:none;
    color:#26312b;
    font:400 17px/1.72 var(--np-sans);
  }
  body.single .prose p{
    margin:0 0 1.35em;
  }
  body.single .prose h2{
    margin:1.65em 0 .55em;
    color:#111815;
    font:700 30px/1.12 var(--np-serif);
    letter-spacing:-.3px;
  }
  body.single .prose h3{
    margin:1.45em 0 .5em;
    color:#111815;
    font:700 23px/1.16 var(--np-serif);
  }
  body.single .prose h4{
    margin:1.35em 0 .45em;
    color:#111815;
    font:700 19px/1.2 var(--np-serif);
  }
  body.single .prose ul,
  body.single .prose ol{
    margin:0 0 1.35em;
    padding-left:1.35em;
  }
  body.single .prose li{
    margin:.28em 0;
  }
  body.single .prose img{
    display:block;
    max-width:100%;
    height:auto;
    margin:26px auto;
  }
  body.single .prose figure{
    margin:28px 0;
  }
  body.single .prose blockquote{
    margin:28px 0;
    padding:4px 0 4px 20px;
    border-left:3px solid #3a5947;
    color:#536258;
  }
  body.single .prose table{
    width:100%;
    border-collapse:collapse;
    margin:28px 0;
    font-size:14px;
  }
  body.single .prose th,
  body.single .prose td{
    padding:10px 12px;
    border:1px solid #d9ddda;
    text-align:left;
    vertical-align:top;
  }
  body.single main.flex-1>nav.max-w-3xl{
    width:min(860px,calc(100% - 48px));
    max-width:860px;
    margin:0 auto;
    padding:0 0 54px;
    display:flex;
    justify-content:space-between;
    gap:28px;
    font:600 12px/1.4 var(--np-sans);
  }
  body.single main.flex-1>nav.max-w-3xl a{
    width:48%;
    color:#3a5947;
    text-decoration:none;
  }
  body.single main.flex-1>nav.max-w-3xl a:last-child{
    text-align:right;
  }
  body.single main.flex-1>div.max-w-3xl{
    width:min(860px,calc(100% - 48px));
    max-width:860px;
    margin:0 auto;
    padding:0 0 54px;
  }
}

/* =========================================================
   MOBILE RESPONSIVE SYSTEM — Owner-approved mobile-only pass.
   Desktop MAIN remains locked and unchanged.
   ========================================================= */
@media (max-width:900px){
  html,body{max-width:100%;overflow-x:hidden}
  .np-wrap,
  .np2-shell,
  .np-category-page .np-wrap,
  body.category-best-picks .np-category-content{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Header */
  .np-header-inner{height:58px;gap:12px}
  .np-brand{font-size:26px;letter-spacing:-.5px;gap:9px}
  .np-brand-icon{width:36px;height:36px;flex-basis:36px;border-radius:7px}
  .np-nav{display:none!important}
  .np-search{width:min(46vw,176px);height:34px;padding:0 12px}
  .np-header-search input{font-size:11px!important}

  /* Homepage Hero */
  .np2-hero-grid{height:390px;min-height:390px}
  .np2-hero-media{height:390px}
  .np2-hero-media img{height:390px;min-height:390px;object-position:68% center}
  .np2-hero-grid:after{
    background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.97) 28%,rgba(255,255,255,.88) 43%,rgba(255,255,255,.58) 56%,rgba(255,255,255,.16) 70%,rgba(255,255,255,0) 82%)
  }
  .np2-hero-copy{
    width:68%;max-width:68%;height:390px;min-height:390px;
    padding:28px 0 24px;justify-content:center
  }
  .np2-kicker{margin-bottom:6px;font-size:8px}
  .np2-hero h1{max-width:235px;margin-bottom:12px;font-size:38px;line-height:.95;letter-spacing:-1px}
  .np2-hero-copy>p:not(.np2-kicker){max-width:230px;margin-bottom:14px;font-size:13px;line-height:1.4}
  .np2-search{max-width:235px;height:36px;min-height:36px;padding:0 12px}
  .np2-search input{font-size:10px}

  /* Homepage section rhythm */
  .np2-section{padding:20px 0 4px}
  .np2-section-head,.np2-best-head{
    align-items:flex-start;gap:12px;padding-top:12px;margin-bottom:12px
  }
  .np2-section-head h2,.np2-title-inline h2{
    max-width:60%;font-size:26px;line-height:1.02;letter-spacing:-.25px
  }
  .np2-section-head>a,.np2-best-head>a{
    max-width:40%;margin-bottom:0;align-self:flex-start;text-align:right;
    font-size:11px;line-height:1.25
  }

  /* Homepage cards become swipeable editorial cards instead of squeezed 3-up columns. */
  .np2-home .np2-section .np2-grid{
    display:flex!important;grid-template-columns:none!important;gap:14px!important;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;padding:0 16px 8px 0;margin-right:-16px;
    scrollbar-width:none
  }
  .np2-home .np2-section .np2-grid::-webkit-scrollbar{display:none}
  .np2-home .np2-section .np2-card{
    flex:0 0 82%;max-width:82%;height:auto;scroll-snap-align:start
  }
  .np2-home .np2-section .np2-grid:has(.np2-blank) .np2-card{
    flex-basis:100%;max-width:100%
  }
  .np2-home .np2-section .np2-blank{display:none}
  .np2-card-body{min-height:130px;padding:14px 16px 15px}
  .np2-card-body>span{font-size:8px}
  .np2-card h3{min-height:40px;font-size:18px;line-height:1.12}
  .np2-card p{font-size:13px;line-height:1.4}

  /* Relief band */
  .np2-relief{
    height:auto;min-height:72px;margin:14px 0 8px;padding:11px 12px;
    grid-template-columns:24px 1fr 18px;grid-template-rows:auto auto;
    grid-template-areas:"leaf strong arrow" "leaf copy arrow";
    column-gap:10px;row-gap:3px
  }
  .np2-relief .np2-leaf{grid-area:leaf;font-size:18px}
  .np2-relief i{display:none}
  .np2-relief strong{grid-area:strong;font-size:16px;line-height:1.08}
  .np2-relief span:not(.np2-leaf){grid-area:copy;font-size:9px;line-height:1.35}
  .np2-relief b{grid-area:arrow;align-self:center;font-size:16px}

  /* Best Picks */
  .np2-title-inline{flex-direction:column;align-items:flex-start;gap:3px}
  .np2-title-inline small{font-size:9px;line-height:1.3}
  .np2-best-grid{
    grid-template-columns:1fr;gap:10px;width:calc(100% + 16px);
    margin-left:-8px;padding:10px
  }
  .np2-best-main{height:310px;min-height:310px}
  .np2-best-copy{
    left:16px;right:16px;bottom:16px;width:auto;max-width:none;
    padding:14px 16px 13px
  }
  .np2-best-copy h3{font-size:21px;line-height:1.04}
  .np2-best-copy p{font-size:11px}
  .np2-best-link{font-size:10px}
  .np2-best-links{
    grid-template-rows:130px 130px;gap:10px;height:270px;min-height:270px
  }
  .np2-best-linkcard{height:130px;min-height:130px}
  .np2-best-linkcard-copy{
    width:64%;padding:14px 14px 12px 42px;
    background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.45) 12%,rgba(255,255,255,.78) 28%,rgba(255,255,255,.95) 44%,#fff 64%,#fff 100%)
  }
  .np2-best-linkcard-copy h4{font-size:16px;line-height:1.08}
  .np2-best-linkcard-copy p{font-size:9px;line-height:1.3}

  /* Trust + footer */
  .np2-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px;padding:12px 0}
  .np2-trust-grid>div{padding:0 10px}
  .np2-trust-grid>div:nth-child(2){border-right:0}
  .np2-trust-grid>div:nth-child(3){padding-left:0}
  .np-trust{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}
  .np-trust-item{padding:0 10px}
  .np-trust-item:nth-child(2){border-right:0}
  .np-trust-item:nth-child(3){padding-left:0}
  .np-footer-bottom{min-height:0;padding:14px 0;flex-direction:column;align-items:flex-start;gap:10px}
  .np-footer-links{justify-content:flex-start;gap:9px 12px}
  .np-design-note{display:none}

  /* Category/archive mobile */
  .np-category-page .np2-hero-grid{height:270px;min-height:270px}
  .np-category-page .np2-hero-media{height:270px}
  .np-category-page .np2-hero-media img{height:270px;min-height:270px;object-position:70% center}
  .np-category-page .np2-hero-copy{width:70%;max-width:70%;height:270px;min-height:270px;padding:22px 0 18px}
  .np-category-page .np2-hero h1{max-width:240px;font-size:34px;line-height:.98}
  .np-category-page .np2-hero-copy>p:not(.np2-kicker){max-width:225px;font-size:12px;line-height:1.4}
  .np-category-page .np-category-hero-breadcrumb{font-size:8px}

  .np-category-page .np-filters{
    flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:7px;
    padding:10px 0;-webkit-overflow-scrolling:touch;scrollbar-width:none
  }
  .np-category-page .np-filters::-webkit-scrollbar{display:none}
  .np-category-page .np-filter{flex:0 0 auto;padding:7px 11px;font-size:10px}

  .np-category-page .np-archive-head{align-items:flex-end;gap:10px;padding:16px 0 11px}
  .np-category-page .np-archive-head h2{font-size:21px;line-height:1.05}
  .np-category-page .np-sort{flex:0 0 auto;font-size:9px;padding:6px 8px}

  .np-category-page .np-category-grid{
    display:grid!important;grid-template-columns:1fr!important;
    grid-auto-rows:auto!important;gap:16px!important
  }
  .np-category-page .np2-card{width:100%!important;max-width:none!important;height:auto!important}
  .np-category-page .np2-card>a{aspect-ratio:3/2!important}
  .np-category-page .np2-card-body{
    height:auto!important;min-height:128px!important;max-height:none!important;
    padding:14px 16px 15px!important
  }
  .np-category-page .np2-card h3{min-height:40px!important;font-size:18px!important;line-height:1.12!important}
  .np-category-page .np2-card p{font-size:13px!important;line-height:1.4!important}
  .np-category-page .np-pagination{flex-wrap:wrap;gap:6px;padding:18px 0}

  /* Single article mobile */
  .single main.flex-1 article{padding:36px 18px 44px!important}
  .single main.flex-1 article>header{margin-bottom:26px!important}
  .single main.flex-1 article h1{font-size:34px!important;line-height:1.06!important;letter-spacing:-.6px!important}
  .single .prose{font-size:17px;line-height:1.72}
  .single .prose img{max-width:100%;height:auto}
  .single .prose table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .single main.flex-1>nav{padding-left:18px!important;padding-right:18px!important;gap:16px!important}
}

@media (max-width:480px){
  .np2-hero-grid{height:370px;min-height:370px}
  .np2-hero-media{height:370px}
  .np2-hero-media img{height:370px;min-height:370px;object-position:70% center}
  .np2-hero-copy{width:70%;max-width:70%;height:370px;min-height:370px}
  .np2-hero h1{font-size:36px;max-width:225px}
  .np2-section-head h2,.np2-title-inline h2{font-size:25px}
  .np2-home .np2-section .np2-card{flex-basis:86%;max-width:86%}
  .np2-home .np2-section .np2-grid:has(.np2-blank) .np2-card{flex-basis:100%;max-width:100%}
  .np2-best-main{height:300px;min-height:300px}
  .np2-best-copy{left:14px;right:14px;bottom:14px}
  .np2-best-copy h3{font-size:20px}
  .np-category-page .np2-hero-grid{height:255px;min-height:255px}
  .np-category-page .np2-hero-media{height:255px}
  .np-category-page .np2-hero-media img{height:255px;min-height:255px}
  .np-category-page .np2-hero-copy{height:255px;min-height:255px}
  .np-category-page .np2-hero h1{font-size:32px}
  /* Keep brand and search fully visible on narrow phones (305–480px). */
  .np-header-inner{gap:8px;width:calc(100% - 24px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
  .np-brand{font-size:20px;min-width:0;flex:0 1 122px;gap:6px;white-space:nowrap}
  .np-brand-icon{width:28px;height:28px;flex-basis:28px}
  .np-search{width:auto;max-width:150px;min-width:88px;flex:1 1 112px;margin-left:auto;padding:0 10px;box-sizing:border-box}
  .np-header-search input{width:100%;min-width:0;font-size:13px!important;line-height:1.2}
  @media (max-width:360px){
    .np-header-inner{gap:6px;width:calc(100% - 20px)!important}
    .np-brand{font-size:18px;flex-basis:112px;gap:5px}
    .np-brand-icon{width:26px;height:26px;flex-basis:26px}
    .np-search{min-width:84px;max-width:128px;flex-basis:96px;padding:0 8px}
    .np-header-search input{font-size:12px!important}
  }
}

/* Mobile editorial diagrams: preserve readable embedded text instead of shrinking
   a wide 1100x650 raster into a ~270px article column. */
@media (max-width:600px){
  .single .prose figure.np-mobile-diagram{
    width:calc(100vw - 20px);
    max-width:none!important;
    margin-left:calc(50% - 50vw + 10px)!important;
    margin-right:calc(50% - 50vw + 10px)!important;
    padding:0!important;
  }
  .single .prose figure.np-mobile-diagram::before{
    content:"Swipe horizontally to read the full diagram →";
    display:block;
    margin:0 0 7px;
    padding:0 2px;
    color:#647168;
    font:600 11px/1.35 var(--np-sans);
    letter-spacing:.01em;
  }
  .single .prose figure.np-mobile-diagram>a{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    border:1px solid #e4e9e5;
    border-radius:10px;
    background:#fff;
  }
  .single .prose figure.np-mobile-diagram>a>img{
    display:block!important;
    width:620px!important;
    min-width:620px!important;
    max-width:none!important;
    height:auto!important;
    margin:0!important;
    object-fit:contain!important;
    image-rendering:auto;
  }
  .single .prose figure.np-mobile-diagram figcaption{
    margin:8px 2px 0!important;
    padding:0!important;
    font-size:13px!important;
    line-height:1.55!important;
    color:#59655e!important;
  }
}

@media (max-width:360px){
  .single .prose figure.np-mobile-diagram>a>img{
    width:580px!important;
    min-width:580px!important;
  }
}

/* =========================================================
   MOBILE HOME STABILITY v2 — 2026-10-10
   Mobile-only repair. Desktop MAIN stays locked.
   ========================================================= */
.np-mobile-catbar{display:none}
@media(max-width:900px){
  html,body{max-width:100%;overflow-x:hidden}
  body.home .np2-home{overflow-x:hidden}
  body.home .np2-shell{width:calc(100% - 28px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}

  .np-header-inner{width:calc(100% - 24px)!important;max-width:none!important;height:56px!important;margin:0 auto!important;gap:8px!important;box-sizing:border-box!important}
  .np-brand{min-width:0!important;flex:0 1 128px!important;gap:6px!important;font-size:21px!important;letter-spacing:-.35px!important;white-space:nowrap!important}
  .np-brand-icon{width:28px!important;height:28px!important;flex:0 0 28px!important}
  .np-header-search{width:auto!important;min-width:92px!important;max-width:154px!important;flex:1 1 118px!important;margin-left:auto!important;padding:0 10px!important;box-sizing:border-box!important}
  .np-header-search input{width:100%!important;min-width:0!important;font-size:12px!important;line-height:1.2!important}
  .np-nav{display:none!important}
  .np-mobile-catbar{display:block!important;width:100%!important;background:#fff!important;border-bottom:1px solid #d9ddda!important;overflow:hidden!important}
  .np-mobile-catbar-inner{display:flex!important;gap:7px!important;width:100%!important;padding:7px 12px 8px!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;box-sizing:border-box!important;scroll-snap-type:x proximity!important}
  .np-mobile-catbar-inner::-webkit-scrollbar{display:none!important}
  .np-mobile-catbar a{flex:0 0 auto!important;scroll-snap-align:start!important;padding:7px 10px!important;border:1px solid #d6ddd8!important;border-radius:999px!important;background:#fff!important;color:#345141!important;font-size:10px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important}

  body.home .np2-hero{overflow:hidden!important}
  body.home .np2-hero-grid,body.home .np2-hero-media,body.home .np2-hero-media img{height:420px!important;min-height:420px!important}
  body.home .np2-hero-grid{position:relative!important;overflow:hidden!important}
  body.home .np2-hero-media img{width:100%!important;object-fit:cover!important;object-position:72% center!important}
  body.home .np2-hero-grid:after{background:linear-gradient(90deg,rgba(255,255,255,.998) 0%,rgba(255,255,255,.985) 34%,rgba(255,255,255,.92) 49%,rgba(255,255,255,.64) 63%,rgba(255,255,255,.20) 78%,rgba(255,255,255,0) 92%)!important}
  body.home .np2-hero-copy{width:70%!important;max-width:70%!important;height:420px!important;min-height:420px!important;padding:26px 0 24px!important;justify-content:center!important;box-sizing:border-box!important;overflow:visible!important}
  body.home .np2-kicker{max-width:235px!important;margin:0 0 7px!important;font-size:7.5px!important;line-height:1.35!important;letter-spacing:.11em!important}
  body.home .np2-hero h1{max-width:245px!important;margin:0 0 13px!important;font-size:38px!important;line-height:.96!important;letter-spacing:-1px!important}
  body.home .np2-hero-copy>p:not(.np2-kicker){max-width:245px!important;margin:0!important;font-size:13px!important;line-height:1.45!important}
  body.home .np2-hero-copy>.np2-search{display:none!important}

  body.home .np2-section{padding:18px 0 4px!important}
  body.home .np2-section-head,body.home .np2-best-head{width:100%!important;max-width:100%!important;box-sizing:border-box!important;gap:10px!important;padding-top:11px!important;margin-bottom:12px!important}
  body.home .np2-section-head h2,body.home .np2-title-inline h2{min-width:0!important;max-width:68%!important;font-size:25px!important;line-height:1.05!important;overflow-wrap:anywhere!important}
  body.home .np2-section-head>a,body.home .np2-best-head>a{flex:0 0 auto!important;max-width:32%!important;margin:0!important;align-self:flex-start!important;font-size:10px!important;line-height:1.25!important;text-align:right!important;white-space:normal!important}

  body.home .np2-section .np2-grid{display:flex!important;width:calc(100% + 14px)!important;max-width:none!important;gap:12px!important;margin:0!important;padding:0 14px 9px 0!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;box-sizing:border-box!important}
  body.home .np2-section .np2-grid::-webkit-scrollbar{display:none!important}
  body.home .np2-section .np2-card{flex:0 0 86%!important;width:86%!important;max-width:86%!important;min-width:0!important;height:auto!important;scroll-snap-align:start!important}
  body.home .np2-section .np2-card>a{width:100%!important;aspect-ratio:3/2!important}
  body.home .np2-section .np2-card>a img{width:100%!important;height:100%!important;object-fit:cover!important}
  body.home .np2-card-body{min-height:128px!important;padding:14px 15px 15px!important;box-sizing:border-box!important}
  body.home .np2-card h3{min-height:0!important;font-size:18px!important;line-height:1.12!important}
  body.home .np2-card p{font-size:12px!important;line-height:1.4!important}

  body.home .np2-relief{display:grid!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:76px!important;margin:14px 0 10px!important;padding:12px 14px!important;box-sizing:border-box!important;grid-template-columns:minmax(0,1fr) 18px!important;grid-template-rows:auto auto!important;grid-template-areas:"strong arrow" "copy arrow"!important;column-gap:10px!important;row-gap:4px!important;overflow:hidden!important}
  body.home .np2-relief .np2-leaf,body.home .np2-relief i{display:none!important}
  body.home .np2-relief strong{grid-area:strong!important;min-width:0!important;font-size:18px!important;line-height:1.05!important;white-space:normal!important}
  body.home .np2-relief span:not(.np2-leaf){grid-area:copy!important;min-width:0!important;font-size:10px!important;line-height:1.4!important;white-space:normal!important}
  body.home .np2-relief b{grid-area:arrow!important;align-self:center!important;justify-self:end!important;font-size:15px!important}

  body.home .np2-best{overflow:hidden!important}
  body.home .np2-title-inline{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0!important}
  body.home .np2-title-inline h2{max-width:none!important}
  body.home .np2-title-inline small{display:block!important;max-width:220px!important;font-size:9px!important;line-height:1.35!important}
  body.home .np2-best-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:9px!important;box-sizing:border-box!important;overflow:hidden!important}
  body.home .np2-best-main{width:100%!important;min-width:0!important;height:300px!important;min-height:300px!important;overflow:hidden!important}
  body.home .np2-best-image,body.home .np2-best-image img{width:100%!important;height:100%!important}
  body.home .np2-best-image img{object-fit:cover!important}
  body.home .np2-best-copy{left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;max-width:none!important;padding:13px 14px!important;box-sizing:border-box!important}
  body.home .np2-best-copy h3{font-size:21px!important;line-height:1.05!important}
  body.home .np2-best-copy p{font-size:10.5px!important;line-height:1.35!important}
  body.home .np2-best-link{font-size:10px!important}
  body.home .np2-best-links{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:128px 128px!important;gap:10px!important;width:100%!important;height:auto!important;min-height:0!important}
  body.home .np2-best-linkcard{position:relative!important;width:100%!important;min-width:0!important;height:128px!important;min-height:128px!important;overflow:hidden!important}
  body.home .np2-best-linkcard-image,body.home .np2-best-linkcard-image img{width:100%!important;height:100%!important}
  body.home .np2-best-linkcard-image img{object-fit:cover!important}
  body.home .np2-best-linkcard-copy{width:62%!important;max-width:62%!important;padding:13px 13px 11px 38px!important;box-sizing:border-box!important}
  body.home .np2-best-linkcard-copy h4{font-size:16px!important;line-height:1.08!important}
  body.home .np2-best-linkcard-copy p{font-size:9px!important;line-height:1.3!important}

  body.home .np2-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:12px!important;padding:12px 0!important}
  body.home .np2-trust-grid>div{min-width:0!important;padding:0 9px!important}
}
@media(max-width:480px){
  body.home .np2-shell{width:calc(100% - 24px)!important}
  body.home .np2-hero-grid,body.home .np2-hero-media,body.home .np2-hero-media img,body.home .np2-hero-copy{height:405px!important;min-height:405px!important}
  body.home .np2-hero-copy{width:72%!important;max-width:72%!important;padding:24px 0 22px!important}
  body.home .np2-hero h1{max-width:230px!important;font-size:35px!important}
  body.home .np2-hero-copy>p:not(.np2-kicker){max-width:228px!important;font-size:12.5px!important}
  body.home .np2-section-head,body.home .np2-best-head{flex-direction:column!important;align-items:flex-start!important;gap:5px!important}
  body.home .np2-section-head h2,body.home .np2-title-inline h2{max-width:100%!important;font-size:25px!important}
  body.home .np2-section-head>a,body.home .np2-best-head>a{max-width:100%!important;align-self:flex-start!important;text-align:left!important;font-size:10px!important}
  body.home .np2-section .np2-card{flex-basis:88%!important;width:88%!important;max-width:88%!important}
  body.home .np2-best-main{height:285px!important;min-height:285px!important}
}
@media(max-width:360px){
  .np-header-inner{width:calc(100% - 20px)!important;gap:6px!important}
  .np-brand{flex-basis:112px!important;font-size:18px!important;gap:5px!important}
  .np-brand-icon{width:26px!important;height:26px!important;flex-basis:26px!important}
  .np-header-search{min-width:82px!important;max-width:126px!important;flex-basis:94px!important;padding:0 8px!important}
  .np-header-search input{font-size:11px!important}
  .np-mobile-catbar-inner{padding-left:10px!important;padding-right:10px!important}
  .np-mobile-catbar a{padding:6px 9px!important;font-size:9.5px!important}
  body.home .np2-shell{width:calc(100% - 20px)!important}
  body.home .np2-hero-grid,body.home .np2-hero-media,body.home .np2-hero-media img,body.home .np2-hero-copy{height:390px!important;min-height:390px!important}
  body.home .np2-hero-copy{width:74%!important;max-width:74%!important}
  body.home .np2-kicker{max-width:205px!important;font-size:7px!important}
  body.home .np2-hero h1{max-width:210px!important;font-size:32px!important}
  body.home .np2-hero-copy>p:not(.np2-kicker){max-width:210px!important;font-size:11.5px!important}
  body.home .np2-section .np2-card{flex-basis:90%!important;width:90%!important;max-width:90%!important}
  body.home .np2-best-main{height:270px!important;min-height:270px!important}
  body.home .np2-best-copy h3{font-size:19px!important}
  body.home .np2-best-linkcard-copy{width:66%!important;max-width:66%!important}
  body.home .np2-trust-grid{grid-template-columns:1fr!important}
}

