:root{
  --green:#2f8f5b;
  --green-dark:#1f6b42;
  --green-darker:#16512f;
  --green-light:#e9f6ee;
  --green-lighter:#f4faf6;
  --lime:#7bc96f;
  --bg:#ffffff;
  --bg-soft:#f7faf8;
  --text:#1d2a23;
  --muted:#5d6b63;
  --border:#e2ebe5;
  --amber:#e08a2b;
  --shadow:0 1px 3px rgba(22,81,47,.08);
  --radius:12px;
  --max:1080px;
  --read:720px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
  font-size:17px;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--green-dark);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.25;color:var(--green-darker);font-weight:700}
h1{font-size:2rem;margin:.2em 0 .5em}
h2{font-size:1.5rem;margin:1.8em 0 .6em;padding-top:.3em;border-top:1px solid var(--border)}
h3{font-size:1.2rem;margin:1.4em 0 .4em}
p{margin:0 0 1.1em}
ul,ol{padding-left:1.3em;margin:0 0 1.1em}
li{margin:.3em 0}
blockquote{margin:1.2em 0;padding:.8em 1.1em;background:var(--green-light);border-left:4px solid var(--green);border-radius:0 8px 8px 0;color:var(--green-darker)}
code{background:var(--green-light);padding:.1em .4em;border-radius:5px;font-size:.92em}

/* Layout */
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.container-read{max-width:var(--read);margin:0 auto;padding:0 18px}
.site-main{padding:32px 0 56px}
.section{padding:36px 0}
.section-title{font-size:1.7rem;margin:0 0 .2em}
.section-sub{color:var(--muted);margin:0 0 1.4em}

/* Header */
.site-header{background:var(--bg);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:1.25rem;color:var(--green-darker);flex:0 0 auto}
.brand:hover{text-decoration:none}
.brand img{width:30px;height:30px;border-radius:8px}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:1.1rem;cursor:pointer;color:var(--green-darker)}
/* full-width secondary nav bar */
.nav{background:var(--green-light);border-top:1px solid var(--border)}
.nav-list{display:flex;gap:4px;list-style:none;margin:0;padding:0;flex-wrap:wrap;justify-content:center}
.nav-list a{display:block;padding:11px 14px;border-radius:8px;font-weight:600;font-size:.92rem;color:var(--green-darker);white-space:nowrap;transition:background .15s,color .15s}
.nav-list a:hover{background:#fff;text-decoration:none;color:var(--green-darker)}
.nav-list a.active{background:var(--green);color:#fff}

/* Buttons */
.btn{display:inline-block;padding:12px 22px;border-radius:10px;font-weight:700;cursor:pointer;border:1px solid transparent;font-size:1rem;transition:background .15s,color .15s}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-dark);text-decoration:none}
.btn-amazon{background:#ff9900;color:#1a1a1a}
.btn-amazon:hover{background:#e88a00;text-decoration:none}
.btn-ghost{background:transparent;border-color:var(--green);color:var(--green-dark)}
.btn-ghost:hover{background:var(--green-light);text-decoration:none}
.btn-block{display:block;width:100%;text-align:center}

/* Hero / Banner */
.hero{background:linear-gradient(135deg,var(--green-lighter),var(--green-light));border-radius:var(--radius);padding:34px 26px;display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-bottom:30px}
.hero-text{flex:1 1 320px}
.hero h1{margin-top:0;font-size:2.1rem}
.hero p{color:var(--muted);font-size:1.05rem}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hero-img{flex:0 0 200px;text-align:center}
.hero-img img{width:200px;height:200px;border-radius:16px;box-shadow:var(--shadow)}

/* Grids & cards */
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow)}
.card:hover{box-shadow:0 4px 14px rgba(22,81,47,.12)}
.card-img{aspect-ratio:16/10;width:100%;object-fit:cover;background:var(--green-light)}
.card-body{padding:16px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-cat{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--green);font-weight:700}
.card-title{font-size:1.12rem;margin:0;color:var(--green-darker);line-height:1.3}
.card-title a{color:inherit}
.card-excerpt{color:var(--muted);font-size:.92rem;margin:0}
.card-meta{font-size:.8rem;color:var(--muted);margin-top:auto;padding-top:8px;border-top:1px solid var(--border)}

/* Badges (pillar/path/season/level) on article header */
.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 2px}
.badge{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;padding:3px 10px;border-radius:999px;line-height:1.5}
.badge-pillar{background:#e7f6ec;color:#1f7a45;border:1px solid #bfe6cd}
.badge-season{background:#fff3e0;color:#b4690e;border:1px solid #f6dca6}
.badge-level{background:#eef2ff;color:#3a53c9;border:1px solid #cdd6f7}

/* Hub map / guides rail */
.section-guides{background:linear-gradient(180deg,#f4fbf6 0%,var(--bg) 100%);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.hub-map{background:var(--bg)}
.hub-map .grid-3{margin-top:10px}

/* Two-column layout for blog index */
.layout-2{display:grid;grid-template-columns:1fr 300px;gap:34px;align-items:start}
.sidebar{position:sticky;top:80px}
.widget{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;margin-bottom:20px}
.widget h3{margin-top:0;font-size:1.05rem;border:0;padding:0}
.widget ul{list-style:none;padding:0;margin:0}
.widget li{margin:0 0 10px}
.widget a{font-weight:600;font-size:.95rem}
.widget a:hover{text-decoration:underline}

/* Breadcrumb */
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:14px}
.breadcrumb a{color:var(--muted)}

/* Post */
.post-header{margin-bottom:18px}
.post-meta{color:var(--muted);font-size:.88rem;margin:.4em 0 0}
.post-featured{width:100%;border-radius:var(--radius);margin:0 0 22px;aspect-ratio:16/9;object-fit:cover;background:var(--green-light)}
.post-content{font-size:1.05rem}
.toc{background:var(--green-light);border:1px solid var(--green);border-radius:var(--radius);padding:14px 18px;margin:0 0 26px}
.toc-title{font-weight:700;color:var(--green-darker);margin:0 0 8px;font-size:.95rem}
.toc ul{margin:0;padding-left:1.1em}
.toc li{margin:3px 0}
.toc a{color:var(--green-darker);text-decoration:none}
.toc a:hover{text-decoration:underline}
.post-content h2:first-of-type{border-top:0;padding-top:0}
.affiliate-box{display:flex;gap:16px;align-items:center;background:var(--green-light);border:1px solid var(--green);border-radius:var(--radius);padding:16px;margin:26px 0}
.affiliate-box img{width:110px;height:110px;object-fit:cover;border-radius:10px;flex:0 0 auto;background:#fff}
.affiliate-box .ab-body{flex:1}
.affiliate-box .ab-name{font-weight:700;color:var(--green-darker);margin:0 0 4px}
.affiliate-box .ab-blurb{font-size:.9rem;color:var(--muted);margin:0 0 10px}
.affiliate-box .ab-price{font-weight:800;color:var(--green-dark);margin-right:10px}
.affiliate-note{font-size:.72rem;color:var(--muted);margin-top:8px}

/* Ad container */
.ad-container{margin:28px 0;text-align:center;background:var(--bg-soft);border:1px dashed var(--border);border-radius:10px;padding:14px;min-height:90px;color:var(--muted);font-size:.78rem;letter-spacing:.04em}

/* FAQ */
.faq{margin:30px 0}
.faq-item{border:1px solid var(--border);border-radius:10px;padding:14px 18px;margin-bottom:10px;background:var(--bg-soft)}
.faq-q{font-weight:700;color:var(--green-darker);margin:0 0 6px;font-size:1.05rem}
.faq-a{margin:0;color:var(--text)}

/* Answer Nugget (GEO: concise direct answer at the top of the article) */
.answer-nugget{margin:18px 0 24px;padding:14px 18px;border-left:4px solid var(--green);background:var(--green-light);border-radius:0 10px 10px 0}
.answer-nugget .an-label{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--green-darker);margin-bottom:5px}
.answer-nugget p{margin:0;font-size:1.03rem;line-height:1.55;color:#1f3a28}
@media(max-width:680px){.answer-nugget{padding:12px 14px}.answer-nugget p{font-size:.98rem}}

/* Comments */
.comments{margin:34px 0}
.comment-form{display:flex;flex-direction:column;gap:10px;margin:14px 0 22px}
.comment-form input,.comment-form textarea{padding:10px 12px;border:1px solid var(--border);border-radius:8px;font:inherit;width:100%}
.comment{background:var(--bg-soft);border:1px solid var(--border);border-radius:10px;padding:12px 16px;margin-bottom:10px}
.comment .c-name{font-weight:700;color:var(--green-darker);font-size:.92rem}
.comment .c-date{font-size:.75rem;color:var(--muted)}
.comment .c-body{margin:.4em 0 0}

/* Tool / calculator */
.calculator{background:var(--green-light);border:1px solid var(--green);border-radius:var(--radius);padding:22px;max-width:640px;margin:0 auto}
.form-row{margin-bottom:16px}
.form-row label{display:block;font-weight:700;margin-bottom:6px;color:var(--green-darker)}
.form-row select,.form-row input{padding:11px 12px;border:1px solid var(--border);border-radius:8px;font:inherit;width:100%;background:#fff}
.result-list{display:grid;gap:14px;margin-top:18px}
.result-card{border:1px solid var(--border);border-radius:10px;padding:14px 16px;background:#fff}
.result-card h4{margin:0 0 4px;color:var(--green-darker)}
.result-card p{margin:0;font-size:.92rem;color:var(--muted)}
.result-card .tag{display:inline-block;background:var(--green);color:#fff;font-size:.7rem;font-weight:700;padding:3px 8px;border-radius:20px;margin-bottom:6px}
.no-result{background:#fff7ed;border:1px solid #f3c98a;color:#9a5b16;padding:14px 16px;border-radius:10px}
.chk{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px 14px;margin-bottom:10px;cursor:pointer;font-size:.95rem;color:var(--text)}
.tool-mount{background:var(--green-light);border:1px solid var(--green);border-radius:var(--radius);padding:22px;max-width:680px;margin:20px auto}
.tool-loading{margin:0;color:var(--muted);font-size:.95rem}
.chk input{margin-top:3px;flex:0 0 auto}
table.sched{width:100%;border-collapse:collapse;margin:14px 0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}
table.sched th,table.sched td{border:1px solid var(--border);padding:10px 12px;text-align:left;font-size:.92rem}
table.sched th{background:var(--green-light);color:var(--green-darker)}
table.sched td input{transform:scale(1.25);cursor:pointer}
.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:6px 0 0}

/* Product */
.product{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;margin-top:10px}
.product-img{width:100%;border-radius:var(--radius);background:var(--green-light)}
.product h1{margin-top:0}
.price{font-size:2rem;font-weight:800;color:var(--green-dark);margin:.2em 0}
.price s{font-size:1.1rem;color:var(--muted);font-weight:500;margin-left:8px}
.buy-options{display:flex;flex-direction:column;gap:12px;margin:18px 0}
.buy-box{border:1px solid var(--border);border-radius:10px;padding:14px 16px;background:var(--bg-soft)}
.buy-box .label{font-weight:700;color:var(--green-darker);margin-bottom:8px;display:block}
.delivery-note{background:var(--green-light);border-left:4px solid var(--green);border-radius:0 8px 8px 0;padding:12px 16px;font-size:.92rem;margin-top:18px}
#downloadArea{margin-top:18px}
.feature-list{list-style:none;padding:0;margin:14px 0}
.feature-list li{padding-left:28px;position:relative;margin-bottom:10px}
.feature-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--green);font-weight:800}

/* Forms (contact) */
.form-card{max-width:560px;background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.form-card label{display:block;font-weight:700;margin:12px 0 6px;color:var(--green-darker)}
.form-card input,.form-card textarea{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:8px;font:inherit}
.alert{background:var(--green-light);border:1px solid var(--green);color:var(--green-darker);padding:14px 16px;border-radius:10px;margin:16px 0}

/* Footer */
.site-footer{background:var(--green-darker);color:#dff3e7;padding:38px 0 26px;margin-top:40px}
.site-footer a{color:#bfe9cf}
.site-footer h4{color:#fff;margin:0 0 12px;font-size:1rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:26px}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid li{margin:0 0 8px;font-size:.92rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:26px;padding-top:18px;font-size:.82rem;color:#a9d4bb}
.disclaimer{font-size:.78rem;color:#a9d4bb;margin-top:10px;line-height:1.5}

/* Responsive */
@media (max-width:860px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .layout-2{grid-template-columns:1fr}
  .sidebar{position:static}
  .product{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  body{font-size:16px}
  .nav-toggle{display:block;order:3}
  .nav{display:none;width:100%;position:absolute;left:0;top:100%;background:var(--bg);border-top:1px solid var(--border);border-bottom:1px solid var(--border);z-index:60}
  .nav.open{display:block}
  .nav .container{padding:0}
  .nav-list{flex-direction:column;padding:8px 18px 14px;justify-content:flex-start}
  .nav-list a{padding:12px 10px}
  .header-inner{position:relative;flex-wrap:wrap}
  .grid-3,.grid-2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .hero{flex-direction:column;text-align:center}
  .hero-img{flex:0 0 auto}
  .affiliate-box{flex-direction:column;text-align:center}
  .affiliate-box img{width:130px;height:130px}
}
/* tags + read counter */
.tag-row{margin:22px 0 6px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tag-label{font-weight:700;color:var(--green-d);font-size:.85rem;margin-right:4px}
.tag-chip{display:inline-block;background:var(--soft);border:1px solid var(--border);
  color:var(--green-d);font-size:.8rem;font-weight:600;padding:4px 12px;border-radius:20px;text-decoration:none;transition:.15s}
.tag-chip:hover{background:var(--green);color:#fff;border-color:var(--green)}
.read-count{color:var(--green-d);font-weight:600}
/* pagination */
.pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:28px 0 8px}
.pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;
  border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--green-d);font-weight:600;
  text-decoration:none;transition:.15s;font-size:.9rem}
.pagination a:hover{border-color:var(--green);background:var(--soft)}
.pagination a.active{background:var(--green);border-color:var(--green);color:#fff}
.pagination a.page-nav{background:var(--soft);padding:0 16px}
@media (max-width:680px){
  .pagination a{min-width:36px;height:36px;font-size:.85rem}
}

/* Search */
.search-form{display:flex;gap:10px;margin:18px 0 8px;flex-wrap:wrap}
.search-form input{flex:1;min-width:220px;padding:13px 15px;border:1px solid var(--border);border-radius:10px;font:inherit}
.search-stats{color:var(--muted);font-size:.9rem;margin:6px 0 14px}
.search-group{margin:18px 0}
.search-group h2{font-size:1.3rem;margin:0 0 .5em;padding-top:.3em;border-top:1px solid var(--border)}
.search-results{display:grid;gap:10px}
.search-item{border:1px solid var(--border);border-radius:10px;padding:12px 16px;background:var(--bg-soft)}
.search-item a{font-weight:700;color:var(--green-darker);font-size:1.02rem}
.search-item .si-type{display:inline-block;font-size:.68rem;font-weight:700;color:#fff;background:var(--green);padding:2px 9px;border-radius:20px;margin-right:8px;text-transform:uppercase;letter-spacing:.03em}
.no-result{background:#fff7ed;border:1px solid #f3c98a;color:#9a5b16;padding:14px 16px;border-radius:10px}

/* Ask */
.ask-form{display:flex;flex-direction:column;gap:10px;margin:18px 0}
.ask-form textarea{padding:13px 15px;border:1px solid var(--border);border-radius:10px;font:inherit;width:100%;resize:vertical}
.ask-answer{margin:14px 0}
.ask-bubble{background:var(--green-light);border:1px solid var(--green);border-radius:12px;padding:16px 18px}
.ask-bubble a{font-weight:700}
.ask-refusal{background:#fff7ed;border:1px solid #f3c98a;color:#9a5b16;padding:14px 16px;border-radius:10px}

/* Recommended sections inside articles */
.rec-section{margin-top:8px}
.rec-card .card-excerpt{font-size:.9rem}

/* Share bar (articles) */
.share-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:26px 0 6px;padding:14px 16px;
  background:var(--green-light);border:1px solid var(--border);border-radius:12px}
.share-bar .share-label{font-weight:700;color:var(--green-darker);font-size:.9rem;margin-right:4px}
.share-btn{display:inline-block;padding:7px 13px;border-radius:999px;font-size:.82rem;font-weight:700;
  text-decoration:none;color:#fff;transition:.15s;border:1px solid transparent;cursor:pointer;font-family:inherit}
.share-btn:hover{text-decoration:none;filter:brightness(.94)}
.share-btn.pin{background:#e60023}
.share-btn.tw{background:#000}
.share-btn.fb{background:#1877f2}
.share-btn.rd{background:#ff4500}
.share-btn.wa{background:#25d366}
.share-btn.copy{background:#fff;color:var(--green-dark);border-color:var(--green)}
.share-btn.copy:hover{background:var(--green);color:#fff}

/* Link-to-Us page */
.code-block{background:#0f2417;color:#d8f5e3;font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:.85rem;line-height:1.55;padding:14px 16px;border-radius:10px;overflow:auto;white-space:pre-wrap;word-break:break-all}
.copy-code{margin:8px 0 18px}

/* ----- E-E-A-T: author box, sources, team grid ----- */
.author-box{display:flex;gap:16px;align-items:flex-start;margin:30px 0 8px;padding:18px 20px;background:#f4fbf6;border:1px solid #e0efe7;border-radius:14px}
.author-avatar{flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.15rem;letter-spacing:.02em}
.author-info{flex:1;min-width:0}
.author-name{margin:0 0 2px;font-size:1.05rem;font-weight:800;color:var(--green-darker)}
.author-role{margin:0 0 8px;font-size:.85rem;color:#5d6b63}
.author-bio{margin:0;font-size:.92rem;line-height:1.6;color:#3c4a43}
.article-sources{margin:26px 0 6px}
.article-sources h2{font-size:1.15rem;color:var(--green-darker)}
.article-sources ul{margin:6px 0 0;padding-left:20px}
.article-sources li{margin:4px 0;font-size:.92rem}
.article-sources .src{color:#5d6b63;font-style:italic}
.sources-note{margin:6px 0 10px;font-size:.85rem;line-height:1.55;color:#5d6b63;background:#f7faf8;border-left:3px solid var(--green);padding:9px 12px;border-radius:0 8px 8px 0}
.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;margin:14px 0 6px}
.team-card{background:#fff;border:1px solid #e6efe9;border-radius:14px;padding:20px;text-align:center;box-shadow:0 1px 3px rgba(20,60,40,.05)}
.team-avatar{width:64px;height:64px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.4rem;margin:0 auto 12px}
.team-card h3{margin:0 0 4px;font-size:1.05rem;color:var(--green-darker)}
.team-role{margin:0 0 4px;font-size:.85rem;font-weight:700;color:var(--green)}
.team-creds{margin:0 0 8px;font-size:.8rem;color:#5d6b63}
.team-bio{margin:0;font-size:.88rem;line-height:1.55;color:#3c4a43}

/* ----- Newsletter signup (footer band + homepage section) ----- */
.newsletter-band{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;background:linear-gradient(135deg,#eafaf0,#f4fbf6);border-radius:16px;padding:26px 30px;margin-bottom:26px}
.newsletter-band .nl-copy h3{margin:0 0 6px;font-size:1.25rem;color:var(--green-darker)}
.newsletter-band .nl-copy p{margin:0;font-size:.95rem;color:#3c4a43;line-height:1.6;max-width:46ch}
.nl-row{display:flex;gap:10px;margin-bottom:8px}
.nl-row input[type=email]{flex:1;min-width:0;padding:11px 14px;border:1px solid var(--border);border-radius:999px;font-size:1rem;background:#fff;color:#1d2a23}
.nl-row input[type=email]:focus{outline:2px solid var(--green);border-color:var(--green)}
.nl-consent{display:flex;gap:7px;align-items:flex-start;font-size:.82rem;color:#5d6b63;max-width:46ch}
.nl-consent a{color:var(--green)}
.nl-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.nl-status{margin:6px 0 0;font-size:.88rem;min-height:1.2em}
.section-newsletter .newsletter-inner{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.section-newsletter .nl-copy .section-sub{margin-top:4px}
@media (max-width:760px){.newsletter-band,.section-newsletter .newsletter-inner{grid-template-columns:1fr;gap:18px}.newsletter-band{padding:22px}}

/* Header search — sits at the right of the brand row */
.header-search{display:flex;gap:6px;align-items:center;margin-left:auto}
.header-search input[type=search]{width:240px;max-width:42vw;padding:8px 14px;border:1px solid var(--border);border-radius:999px;font-size:.9rem;background:#fff;color:var(--text)}
.header-search input[type=search]:focus{outline:2px solid var(--green);border-color:var(--green)}
.header-search-btn{padding:8px 16px;border-radius:999px;font-size:.9rem;white-space:nowrap}
/* Tools + Ebooks links sit on the brand/search row, right of the search button */
.header-utils{display:flex;align-items:center;gap:6px;margin-left:10px}
.header-utils a{font-weight:600;font-size:.9rem;color:var(--green-darker);padding:8px 14px;border-radius:999px;white-space:nowrap;transition:background .15s,color .15s}
.header-utils a:hover{background:var(--green-light);text-decoration:none;color:var(--green-darker)}
.header-utils a.active{background:var(--green);color:#fff}

/* Homepage: latest articles (left) + popular sidebar (right) */
.home-top{display:grid;grid-template-columns:1fr 300px;gap:32px;align-items:start;margin-top:8px}
.home-main{min-width:0}
.home-side{position:sticky;top:84px;background:var(--green-light);border:1px solid var(--border);border-radius:14px;padding:18px 20px}
.home-side .section-title{margin-bottom:2px}
.popular-list{list-style:none;margin:10px 0 0;padding:0}
.popular-list li{padding:10px 0;border-bottom:1px solid var(--border)}
.popular-list li:last-child{border-bottom:0}
.popular-list a{font-weight:600;color:var(--text);text-decoration:none;display:block;line-height:1.4}
.popular-list a:hover{color:var(--green-darker);text-decoration:underline}

@media(max-width:768px){
  .home-top{grid-template-columns:1fr;gap:24px}
  .home-side{position:static}
}
@media(max-width:680px){
  .header-inner{flex-wrap:wrap;height:auto;padding:8px 0;gap:8px}
  .brand{order:1}
  .nav-toggle{order:2;margin-left:auto}
  .header-search{order:3;flex:1 1 100%;margin-left:0}
  .header-search input[type=search]{flex:1;width:auto;max-width:none}
  .header-utils{order:4;flex:1 1 100%;justify-content:center;margin-left:0}
}

/* Article comments (server-backed) */
.comments{margin:26px 0 8px;padding:22px;background:var(--green-light,#f3faf4);
  border:1px solid var(--border,#e6ece8);border-radius:14px}
.comments h2{margin:0 0 4px;font-size:1.25rem;color:var(--green-darker,#16602f)}
.comments-intro{color:var(--muted,#5d6b63);font-size:.92rem;margin:0 0 14px}
.comment-form{display:flex;flex-direction:column;gap:10px;max-width:560px}
.comment-name,.comment-body{width:100%;padding:10px 12px;border:1px solid var(--border,#dce3df);
  border-radius:10px;font:inherit;background:#fff;color:var(--text,#1d2a23)}
.comment-body{resize:vertical;min-height:84px}
.comment-form .btn-primary{align-self:flex-start}
.comment-status{font-size:.85rem;color:var(--muted,#777)}
.comment-status.ok{color:#1a7f37;font-weight:600}
.comment-status.err{color:#c0392b;font-weight:600}
.comment-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.comment-list{margin-top:18px;display:flex;flex-direction:column;gap:14px}
.comment-item{border-top:1px solid var(--border,#e2ebe5);padding-top:12px}
.comment-meta{font-size:.82rem;color:var(--muted,#888);margin-bottom:4px}
.comment-meta b{color:var(--text,#222)}
.comment-text{font-size:.95rem;line-height:1.55;white-space:pre-wrap;word-break:break-word;margin:0}
.comment-empty{color:var(--muted,#888);font-size:.9rem;font-style:italic;margin:6px 0 0}

/* Embeddable lead-gen builder (Link to Us) */
.embed-builder{max-width:720px;margin:18px 0 8px;padding:18px;border:1px solid var(--border,#e6ece8);
  border-radius:14px;background:#fff}
.embed-builder h3{font-size:1.02rem;color:var(--green-darker,#16602f);margin-bottom:8px}
.embed-preview{border:1px dashed #cfe0d5;border-radius:12px;background:#fafdfb;padding:6px;margin-bottom:6px}
.embed-preview iframe{width:100%;border:0;min-height:240px;display:block}

/* UGC — Community stories */
.ugc-card .card-excerpt{color:var(--muted,#5b6b5a)}
.ugc-author{display:flex;align-items:center;gap:14px;margin:18px 0 4px;padding:14px 16px;
  background:var(--green-light,#e9f6ee);border-left:4px solid var(--green,#2f8f5b);border-radius:0 10px 10px 0}
.ugc-avatar{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--green,#2f8f5b);
  color:#fff;font-weight:800;font-size:1.2rem;display:flex;align-items:center;justify-content:center}
.ugc-author p{margin:0}
.ugc-by{font-size:.95rem}
.ugc-blog{font-size:.9rem;margin-top:2px}
.ugc-blog a{font-weight:700}
.ugc-date{font-size:.78rem;color:var(--muted,#5b6b5a);margin-top:2px}
.ugc-body{margin-top:18px;line-height:1.7}
.ugc-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:22px 0}
.ugc-fig{margin:0;border-radius:12px;overflow:hidden;background:#fff;border:1px solid var(--border,#e6ece8)}
.ugc-fig img{width:100%;height:220px;object-fit:cover;display:block}
.ugc-form .form-row textarea{width:100%;min-height:160px;padding:11px 12px;border:1px solid var(--border,#e6ece8);
  border-radius:8px;font:inherit;resize:vertical}
.ugc-imgcount{font-size:.82rem;color:var(--muted,#5b6b5a);margin:6px 0}
.ugc-previews{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}
.ugc-thumb{position:relative;width:72px;height:72px;border-radius:8px;overflow:hidden;border:1px solid var(--border,#e6ece8)}
.ugc-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ugc-thumb-x{position:absolute;top:2px;right:2px;width:20px;height:20px;border:0;border-radius:50%;
  background:rgba(0,0,0,.6);color:#fff;font-size:14px;line-height:1;cursor:pointer}
.ugc-policy{font-size:.82rem;color:var(--muted,#5b6b5a);margin-top:14px}
.empty-note{background:#fff;border:1px solid var(--border,#e6ece8);border-radius:10px;padding:16px 18px}
@media (max-width:560px){.ugc-gallery{grid-template-columns:1fr}}
