/* The Home Garden — theme.css
   Warm editorial design system (concept 1). Replaces the old Bootstrap/Envato
   theme stack. Ported from the approved homepage mockup. */

:root{
  --ink:#262117;
  --paper:#EFE7D6;
  --paper-card:#E6DCC4;
  --forest:#33482F;
  --gold:#B87A1F;
  --berry:#7A3230;
  --rule: rgba(38,33,23,0.18);
}

*{ box-sizing:border-box; }

html,body{ margin:0; padding:0; max-width:100%; overflow-x:hidden; }

body{
  background:var(--paper);
  color:var(--ink);
  font-family: 'Open Sans', ui-sans-serif, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
}

.serif{ font-family: 'Playfair Display', Georgia, "Iowan Old Style", "Times New Roman", ui-serif, serif; }
.mono{ font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 clamp(18px, 5vw, 32px); }

/* utility bar */
.utility{ border-bottom:1px solid var(--rule); }
.utility .wrap{ display:flex; align-items:center; justify-content:flex-end; gap:22px; padding-top:10px; padding-bottom:10px; }
.utility a{ font-size:12.5px; letter-spacing:.04em; opacity:.75; }
.utility a:hover{ opacity:1; color:var(--gold); }
.utility-links{ display:flex; gap:22px; }

/* hamburger + mobile nav (hidden on desktop) */
.hamburger{ display:none; background:none; border:none; cursor:pointer; padding:6px; margin-right:auto; }
.hamburger span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }
.mobile-nav{ display:none; }
@media (max-width:920px){
  .hamburger{ display:block; }
  .utility-links{ display:none; }
  .mobile-nav.open{ display:block; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); background:var(--paper); }
  .mobile-nav .wrap{ padding:14px 24px 22px; display:flex; flex-direction:column; }
  .mobile-nav .grp-label{ padding:12px 0 6px; font-size:13.5px; font-weight:700; letter-spacing:.03em; }
  .mobile-nav a{ display:block; padding:10px 0; font-size:14px; border-bottom:1px solid var(--rule); }
  .mobile-nav .sub-mobile{ padding-left:14px; }
  .mobile-nav .sub-mobile a{ font-weight:400; font-size:13px; border-bottom:none; padding:7px 0; opacity:.8; }
  .mobile-nav .utility-mobile{ margin-top:8px; padding-top:10px; border-top:1px solid var(--rule); }
}

/* masthead */
.masthead{ text-align:center; padding:40px clamp(18px,5vw,32px) 24px; }
.masthead .word{ font-size:52px; font-style:italic; font-weight:400; letter-spacing:.01em; }
.masthead a{ display:inline-block; }

/* contents nav */
nav.contents{ border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
nav.contents .wrap{ display:flex; justify-content:center; flex-wrap:wrap; gap:0; }
nav.contents .item{
  position:relative;
  padding:15px 22px;
  font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:600;
  border-right:1px solid var(--rule);
  display:flex; align-items:baseline; gap:8px;
  cursor:default;
}
nav.contents .item:last-child{ border-right:none; }
nav.contents .num{ font-family:ui-monospace, monospace; font-size:11px; color:var(--gold); font-weight:600; }
nav.contents .item:hover{ background:var(--paper-card); }
nav.contents .item .sub{
  display:none; position:absolute; top:100%; left:0; min-width:220px;
  background:var(--paper); border:1px solid var(--rule); padding:12px 0; z-index:20;
  box-shadow:0 12px 30px rgba(38,33,23,.15);
}
nav.contents .item:hover .sub{ display:block; }
nav.contents .sub a{ display:block; padding:8px 18px; font-size:12.5px; letter-spacing:.02em; text-transform:none; font-weight:400; }
nav.contents .sub a:hover{ background:var(--paper-card); color:var(--berry); }
@media (max-width:920px){
  nav.contents .wrap{ display:none; }
}

/* page-title band (non-home pages) */
.page-title{ background:var(--paper-card); border-bottom:1px solid var(--rule); padding:56px clamp(18px,5vw,32px); text-align:center; }
.page-title h1{ font-size:clamp(28px,4vw,42px); margin:0; }
.page-title p{ font-size:15px; opacity:.75; margin:10px 0 0; }

/* buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; background:var(--forest); color:var(--paper); padding:14px 26px; font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:600; border-radius:2px; border:none; cursor:pointer; }
.btn:hover{ background:var(--ink); color:var(--paper); }
.btn.ghost{ background:transparent; color:var(--ink); border:1px solid var(--ink); }
.btn.gold{ background:var(--gold); color:var(--ink); }

/* hero (homepage) */
.hero{ padding-top:60px; padding-bottom:40px; }
.hero .grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero .eyebrow{ font-family:ui-monospace,monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--forest); margin-bottom:18px; }
.hero h1{ font-size:46px; line-height:1.12; font-style:italic; font-weight:400; margin:0 0 22px; }
.hero p.deck{ font-size:18px; line-height:1.6; max-width:46ch; opacity:.85; margin:0 0 30px; }
.hero-btns{ display:flex; flex-wrap:wrap; gap:14px; }

.photo{
  aspect-ratio:4/5; border-radius:2px; position:relative; overflow:hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(184,122,31,.35), transparent 55%),
    linear-gradient(160deg, #4b6144, #2c3b28 60%, #1d281c);
}
.photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.photo .cap{
  position:absolute; left:0; right:0; bottom:0; padding:14px 18px;
  background:linear-gradient(0deg, rgba(0,0,0,.55), transparent);
  color:#EFE7D6; font-size:11.5px; letter-spacing:.05em; font-family:ui-monospace,monospace;
}

/* feature strip (organic / guides / troubleshooting) */
.strip{ border-bottom:1px solid var(--rule); padding:50px 0; }
.strip .row3{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; text-align:center; }
.strip .ico{ width:44px; height:44px; margin:0 auto 16px; }
.strip .ico svg{ width:100%; height:100%; stroke:var(--forest); fill:none; stroke-width:1.5; }
.strip h3{ font-size:19px; font-style:italic; font-weight:400; margin:0 0 8px; }
.strip p{ font-size:13.5px; opacity:.75; line-height:1.55; max-width:28ch; margin:0 auto; }

/* generic sections */
.section{ padding-top:56px; padding-bottom:56px; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; border-bottom:2px solid var(--ink); padding-bottom:14px; margin-bottom:38px; }
.section-head h2{ font-size:14px; letter-spacing:.14em; text-transform:uppercase; margin:0; font-weight:700; }
.section-head .meta{ font-family:ui-monospace,monospace; font-size:11.5px; opacity:.55; }
.section-cta{ text-align:center; margin-top:36px; }

/* editorial feature cards (blog tips, article grids) */
.features{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
.feature .thumb{ aspect-ratio:4/3; border-radius:2px; margin-bottom:16px; position:relative; overflow:hidden; background-size:cover; background-position:center; }
.feature .thumb.a{ background-image:linear-gradient(150deg,#caa24d,#8a5a1e); }
.feature .thumb.b{ background-image:linear-gradient(150deg,#6b8a4a,#33482f); }
.feature .thumb.c{ background-image:linear-gradient(150deg,#9a4a3d,#5c2620); }
.feature .thumb.d{ background-image:linear-gradient(150deg,#8a9a6a,#4a5a38); }
.feature .eyebrow{ font-family:ui-monospace,monospace; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--berry); margin-bottom:8px; }
.feature h3{ font-size:18px; font-style:italic; font-weight:400; margin:0 0 8px; line-height:1.25; }
.feature p{ font-size:13.5px; line-height:1.6; opacity:.8; margin:0 0 10px; }
.feature .byline{ font-size:11px; opacity:.55; font-style:italic; }

/* pull quote band */
.quoteband{ background:var(--forest); color:var(--paper); padding:70px 0; text-align:center; }
.quoteband blockquote{ font-size:32px; font-style:italic; font-weight:400; max-width:820px; margin:0 auto 18px; line-height:1.4; }
.quoteband .rule{ width:60px; height:2px; background:var(--gold); margin:0 auto 26px; }
.quoteband cite{ font-style:normal; font-family:ui-monospace,monospace; font-size:12px; letter-spacing:.08em; opacity:.7; }

/* guide cards (growing guides grid) */
.guides{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.guide{ background:var(--paper-card); border-radius:2px; padding:22px; }
.guide h4{ font-size:16px; margin:0 0 6px; font-weight:700; }
.guide p{ font-size:13px; opacity:.7; margin:0 0 14px; line-height:1.5; }
.guide .go{ font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--berry); }

/* printable posters / resource pins */
.posters{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.poster{ text-align:center; }
.poster .swatch{ aspect-ratio:3/4; border-radius:2px; margin-bottom:12px; background-size:cover; background-position:center; }
.poster .swatch.a{ background-image:linear-gradient(160deg,#a9c48a,#4d6a3a); }
.poster .swatch.b{ background-image:linear-gradient(160deg,#e0b25c,#a8681f); }
.poster .swatch.c{ background-image:linear-gradient(160deg,#8fae7c,#3b512c); }
.poster .swatch.d{ background-image:linear-gradient(160deg,#d98a86,#8a3a36); }
.poster .swatch.e{ background-image:linear-gradient(160deg,#c2b280,#6e5a2a); }
.poster h5{ font-size:13px; font-weight:700; margin:0; }

/* quiz feature band + quiz list */
.quizband{ background:var(--ink); color:var(--paper); border-radius:4px; padding:clamp(28px,6vw,56px); display:grid; grid-template-columns:1.15fr .85fr; gap:50px; align-items:center; }
.quizband .kicker{ font-family:ui-monospace,monospace; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.quizband h2{ font-size:32px; font-style:italic; font-weight:400; margin:0 0 16px; }
.quizband p{ font-size:15px; line-height:1.6; opacity:.8; max-width:46ch; margin:0 0 26px; }
.quizlist{ background:rgba(239,231,214,.06); border:1px solid rgba(239,231,214,.18); border-radius:4px; padding:10px 24px; }
.quizlist .qitem{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 0; border-bottom:1px solid rgba(239,231,214,.15); color:var(--paper); }
.quizlist .qitem:last-child{ border-bottom:none; }
.quizlist .qitem:hover .qname{ color:var(--gold); }
.quizlist .qname{ font-size:17px; }
.quizlist .qarrow{ font-family:ui-monospace,monospace; font-size:13px; opacity:.6; flex:none; }

/* closing band — follow along */
.followband{ background:var(--paper-card); border:1px solid var(--rule); border-radius:4px; padding:clamp(28px,6vw,56px); text-align:center; }
.followband .kicker{ font-family:ui-monospace,monospace; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.followband h2{ font-size:32px; font-style:italic; font-weight:400; margin:0 0 14px; }
.followband p{ font-size:15px; line-height:1.6; opacity:.8; max-width:48ch; margin:0 auto 26px; }

/* footer */
footer{ background:var(--ink); color:var(--paper); padding:60px 0 30px; margin-top:20px; }
.fgrid{ display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:30px; padding-bottom:40px; border-bottom:1px solid rgba(239,231,214,.15); }
.fgrid .word{ font-family:'Playfair Display',Georgia,serif; font-style:italic; font-size:26px; margin-bottom:12px; }
.fgrid p{ font-size:13px; opacity:.6; line-height:1.6; max-width:32ch; }
.fcol h5{ font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; opacity:.55; margin:0 0 16px; }
.fcol a{ display:block; font-size:13.5px; margin-bottom:10px; opacity:.85; }
.fcol a:hover{ color:var(--gold); }
.fbottom{ display:flex; justify-content:space-between; padding-top:24px; font-size:12px; opacity:.5; font-family:ui-monospace,monospace; flex-wrap:wrap; gap:8px; }

/* basic prose (legal/content pages) */
.prose{ max-width:760px; margin:0 auto; padding:56px clamp(18px,5vw,32px); line-height:1.7; }
.prose h1, .prose h2, .prose h3{ font-family:'Playfair Display',Georgia,serif; font-style:italic; font-weight:400; }
.prose h2{ font-size:26px; margin-top:2.2em; }
.prose a{ color:var(--berry); text-decoration:underline; }

/* plant directory: search + filter chips */
.filters{ background:var(--paper-card); border:1px solid var(--rule); border-radius:4px; padding:clamp(20px,4vw,32px); margin-bottom:40px; }
.searchbar{ width:100%; padding:14px 20px; border:1px solid var(--rule); border-radius:2px; font-size:15px; font-family:inherit; background:var(--paper); color:var(--ink); margin-bottom:24px; }
.searchbar:focus{ outline:none; border-color:var(--forest); }
.filter-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.filter-label{ display:block; font-family:ui-monospace,monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--forest); font-weight:700; margin-bottom:10px; }
.chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ background:var(--paper); border:1px solid var(--rule); padding:7px 14px; border-radius:100px; font-size:12.5px; font-weight:600; cursor:pointer; color:var(--ink); }
.chip:hover{ border-color:var(--forest); }
.chip.is-checked{ background:var(--forest); border-color:var(--forest); color:var(--paper); }

/* photo-card grid: related-plant/blog grids (plain CSS grid) */
.plant-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }

/* isotope-managed plant directory grid: needs a positioning context + percentage
   widths on items, not CSS grid — isotope absolutely-positions each item itself. */
#allplants{ position:relative; margin:0 -12px; }
#allplants .plant-item{ width:25%; padding:0 12px 24px; box-sizing:border-box; }
@media (max-width:920px){ #allplants .plant-item{ width:33.333%; } }
@media (max-width:560px){ #allplants .plant-item{ width:50%; } }

.plant-card{ display:block; }
.plant-card .thumb{ aspect-ratio:1/1; border-radius:2px; overflow:hidden; position:relative; margin-bottom:12px; background:var(--paper-card); }
.plant-card .thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.plant-card:hover .thumb img{ transform:scale(1.05); }
.plant-card h4{ font-size:14.5px; font-weight:700; text-align:center; margin:0; }

/* single guide page */
.guide-hero{ position:relative; aspect-ratio:21/9; overflow:hidden; background:var(--forest); }
.guide-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.guide-hero .overlay{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(38,33,23,.8), rgba(38,33,23,.15)); display:flex; align-items:flex-end; }
.guide-hero h1{ color:var(--paper); padding:clamp(20px,5vw,32px) clamp(20px,5vw,32px) clamp(24px,5vw,40px); font-size:clamp(30px,5vw,52px); margin:0; max-width:900px; }

.pillrow{ display:flex; flex-wrap:wrap; gap:10px; padding:28px 0; }
.pill{ display:inline-flex; align-items:center; gap:8px; border:1px solid var(--rule); border-radius:100px; padding:8px 16px; font-size:13px; font-weight:600; }
.pill img{ width:18px; height:18px; }

.guide-layout{ display:grid; grid-template-columns:1fr 300px; gap:56px; align-items:start; }
.guide-intro{ font-size:17px; line-height:1.7; margin-bottom:10px; }
.detail-block{ padding:28px 0; border-top:1px solid var(--rule); }
.detail-block:first-child{ border-top:none; padding-top:0; }
.detail-block h2{ display:flex; align-items:center; gap:12px; font-size:24px; margin:0 0 6px; }
.detail-block h2 img{ width:26px; height:26px; }
.detail-block h3{ font-size:15px; font-weight:700; color:var(--berry); margin:0 0 10px; }
.detail-block .text{ font-size:15px; line-height:1.7; opacity:.9; }

.sidebar-widget{ background:var(--paper-card); border-radius:4px; padding:24px; margin-bottom:24px; }
.sidebar-widget h5{ font-family:ui-monospace,monospace; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; margin:0 0 16px; opacity:.6; }
.gallery-grid{ display:grid; gap:10px; }
.gallery-grid img{ width:100%; border-radius:2px; }

.related-head{ text-align:center; margin:64px 0 32px; }
.related-head h3{ font-size:26px; margin:0; }

a.feature{ display:block; }

/* quiz hub + trivia facts */
.fact-item{ display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid var(--rule); }
.fact-item:last-child{ border-bottom:none; }
.fact-item img{ width:56px; height:56px; border-radius:50%; object-fit:cover; flex:none; }
.fact-item p{ font-size:14px; margin:0; line-height:1.5; }

.facts-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.fact-card{ display:flex; align-items:center; gap:16px; background:var(--paper-card); border-radius:4px; padding:20px; }
.fact-card img{ width:64px; height:64px; border-radius:50%; object-fit:cover; flex:none; }
.fact-card p{ font-size:14px; margin:0; line-height:1.5; }

/* single quiz play page — .quizsizer/.quizfin class names are load-bearing:
   ysquiz.js removes 'quizsizer' and sets .quizfin's display to flex on completion. */
.quizsizer{ max-width:760px; margin:0 auto; text-align:center; }
.quizsizer .kicker{ font-family:ui-monospace,monospace; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--forest); margin-bottom:14px; }
.quizsizer p.desc{ opacity:.75; margin:14px 0 30px; }

.quizfin{ gap:50px; flex-wrap:wrap; margin-top:60px; padding-top:40px; border-top:1px solid var(--rule); }
.quizfin > div{ flex:1 1 260px; }
.quizfin h2{ font-size:20px; margin:0 0 18px; }

/* blog article */
.article h1{ font-size:clamp(28px,4vw,42px); margin-bottom:24px; }
.article-figure{ float:right; margin:0 0 24px 30px; max-width:340px; }
.article-figure img{ width:100%; border-radius:2px; }
.article-figure figcaption{ font-size:13px; font-style:italic; opacity:.7; text-align:center; margin-top:8px; }
.article-body{ font-size:16px; line-height:1.75; }
.article-body h2{ font-family:'Playfair Display',Georgia,serif; font-style:italic; font-weight:400; margin-top:1.6em; }
.article-gallery{ display:flex; flex-wrap:wrap; gap:20px; margin:40px 0; clear:both; }
.article-gallery figure{ flex:1 1 0; min-width:0; margin:0; text-align:center; }
.article-gallery img{ width:100%; border-radius:2px; }
.article-gallery figcaption{ font-size:12.5px; font-style:italic; opacity:.7; margin-top:8px; }

@media (max-width:780px){
  .article-figure{ float:none; max-width:100%; margin:0 0 20px; }
  .article-gallery{ flex-direction:column; }
}

html{ scroll-behavior:smooth; }

/* jump nav — used by guides/maintenance/design/pests/helpers/diseases listing pages */
.jumpnav{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:48px; }
.jumpnav a{ background:var(--paper-card); border:1px solid var(--rule); padding:7px 14px; border-radius:100px; font-size:12.5px; font-weight:600; }
.jumpnav a:hover{ border-color:var(--forest); }

/* long-form guide sections (guides / maintenance / design) */
.guide-section-block{ padding:36px 0; border-top:1px solid var(--rule); scroll-margin-top:20px; }
.guide-section-block:first-of-type{ border-top:none; }
.guide-section-block h2{ display:flex; align-items:center; gap:12px; font-size:26px; margin:0 0 16px; }
.guide-section-block h2 img{ width:28px; height:28px; }
.guide-subsection{ margin:28px 0 0 24px; padding:24px 0 0 24px; border-left:2px solid var(--rule); }
.guide-subsection h3{ font-size:19px; margin:0 0 12px; }

/* reference cards (pests / helpers / diseases) */
.ref-grid{ display:grid; gap:24px; }
.ref-card{ display:grid; grid-template-columns:140px 1fr; gap:28px; background:var(--paper-card); border-radius:4px; padding:28px; align-items:start; scroll-margin-top:20px; }
.ref-card .thumb{ aspect-ratio:1/1; border-radius:4px; overflow:hidden; background:var(--paper); }
.ref-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.ref-card h3{ font-size:20px; margin:0 0 16px; }
.ref-fields{ display:grid; gap:16px; }
.ref-field .label{ font-family:ui-monospace,monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--forest); font-weight:700; margin-bottom:4px; }
.ref-field .value{ font-size:14.5px; line-height:1.6; }

@media (max-width:680px){
  .ref-card{ grid-template-columns:1fr; }
  .ref-card .thumb{ max-width:160px; margin:0 auto; }
  .guide-subsection{ margin-left:12px; padding-left:16px; }
}

/* sitemap */
.sitemap-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:40px; align-items:start; }
.sitemap-col h3{ font-size:14px; margin:0 0 14px; text-transform:uppercase; letter-spacing:.06em; color:var(--forest); }
.sitemap-col ul{ list-style:none; margin:0 0 30px; padding:0; }
.sitemap-col li{ margin-bottom:8px; font-size:14px; }
.sitemap-col ul ul{ padding-left:16px; margin-top:6px; margin-bottom:0; }

/* simple photo row (about/contact) */
.photo-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:40px; }
.photo-row img{ width:100%; border-radius:2px; aspect-ratio:4/3; object-fit:cover; }

@media (max-width:920px){
  .sitemap-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .sitemap-grid{ grid-template-columns:1fr; }
  .photo-row{ grid-template-columns:1fr; }
}

/* auth forms (django built-in login / password reset) */
.auth-box{ max-width:480px; margin:0 auto; }
.auth-box h1{ font-family:'Playfair Display',Georgia,serif; font-style:italic; font-weight:400; font-size:32px; margin-bottom:16px; }
.auth-box form p{ margin:0 0 16px; }
.auth-box label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.auth-box input[type=text], .auth-box input[type=password], .auth-box input[type=email]{
  width:100%; padding:12px 14px; border:1px solid var(--rule); border-radius:2px; font-size:15px; font-family:inherit; background:var(--paper); color:var(--ink);
}
.auth-box input[type=submit]{
  display:inline-flex; background:var(--forest); color:var(--paper); padding:14px 26px; font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:600; border-radius:2px; border:none; cursor:pointer; margin-top:8px;
}
.auth-box input[type=submit]:hover{ background:var(--ink); }
.auth-box .errorlist{ color:var(--berry); list-style:none; padding:0; margin:0 0 10px; font-size:13px; }

@media (max-width:920px){
  .hero .grid{ grid-template-columns:1fr; }
  .features, .guides{ grid-template-columns:1fr 1fr; }
  .strip .row3{ grid-template-columns:1fr; gap:30px; }
  .posters{ grid-template-columns:repeat(2,1fr); }
  .quizband{ grid-template-columns:1fr; }
  .fgrid{ grid-template-columns:1fr 1fr; }
  .filter-row{ grid-template-columns:1fr; gap:20px; }
  .plant-grid{ grid-template-columns:repeat(3,1fr); }
  .guide-layout{ grid-template-columns:1fr; }
}

@media (max-width:560px){
  .features, .guides, .posters, .fgrid{ grid-template-columns:1fr; }
  .hero h1{ font-size:34px; }
  .hero-btns .btn{ flex:1 1 auto; }
  .quizlist{ padding:4px 16px; }
  .plant-grid{ grid-template-columns:repeat(2,1fr); }
  .facts-grid{ grid-template-columns:1fr; }
}
