/* ============================================================
   PlantMapper — Patios (Landscaping silo)
   Pairs with plantmapper.css + ecosystem.css + garden-images.css.
   Stone-and-sandstone theme shared by every page in the Patios
   section (body.theme-patio), then the components these pages
   need: material comparison cards, pros-and-cons columns, wide
   data tables, severity pills, warning and specialist panels,
   problem cards, numbered construction sequences, kit grids and
   printable checklists.
   Photographs only — no illustration, motif or overlay is ever
   painted on top of an image on these pages.
   Does not modify any shared stylesheet.
   ============================================================ */

/* ---- stone-and-sandstone theme for the Landscaping / Patios silo ---- */
body.theme-patio {
  --rose:      #6F6A5B;   /* warm stone — matches the Landscaping silo accent */
  --rose-deep: #4E4A3E;   /* deep stone — headings, icons, rules              */
  --rose-soft: #ECE9E0;   /* pale limestone wash                              */
  --bg-cream:  #F5F2EA;   /* warm sand cream                                  */
  background:
    radial-gradient(1200px 660px at 84% -12%, #ecebe2 0%, transparent 58%),
    radial-gradient(960px 560px at -8% 2%, #eef0df 0%, transparent 56%),
    var(--bg);
}

/* ============================================================
   WIDE DATA TABLES (symptom triage + parasite comparison)
   Scroll horizontally on small screens rather than squashing.
   ============================================================ */
.table-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.table-scroll::-webkit-scrollbar { height: 9px; }
.table-scroll::-webkit-scrollbar-thumb { background: #d9cdbd; border-radius: 999px; }
.table-scroll::-webkit-scrollbar-track { background: transparent; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}
.data-table--wide { min-width: 880px; }
.data-table--mid  { min-width: 760px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table thead th {
  position: sticky; top: 0;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  /* headings wrap onto two lines so every column fits a desktop
     container without horizontal scrolling; the min-width above is
     the fallback that turns on scrolling for tablets and phones */
  white-space: normal;
  line-height: 1.25;
}
.data-table thead th:first-child { white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: rgba(246, 239, 230, .55); }
.data-table tbody tr:hover { background: var(--rose-soft); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; color: var(--ink); }
.data-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .note { color: var(--ink-soft); font-size: .82rem; }
.table-hint {
  margin: 8px 0 0;
  font-size: .78rem;
  color: var(--muted);
}
.table-hint svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; }

/* ---- urgency pills used inside the triage table and elsewhere ---- */
.sev {
  display: inline-block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.sev-watch { background: #e9efdc; color: #4d6a37; }   /* monitor at home   */
.sev-soon  { background: #fbeecd; color: #8a6a2e; }   /* vet within a day  */
.sev-vet   { background: #f0ddc7; color: #8a4f2e; }   /* vet appointment   */
.sev-now   { background: #f6ded4; color: #a8452c; }   /* urgent / emergency*/

/* ============================================================
   HEAD-TO-TOE INSPECTION CARDS
   ============================================================ */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}
.check-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 21px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease;
}
.check-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.check-head { display: flex; align-items: center; gap: 10px; margin-bottom: 3px; }
.check-head span {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.check-head span svg { width: 19px; height: 19px; }
.check-card h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }
.check-what {
  margin: 0 0 12px 44px;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  text-transform: uppercase; color: var(--rose-deep);
}
.check-card > p { margin: 0 0 11px; font-size: .88rem; color: var(--ink-soft); }

/* Normal inline text flow, NOT flex — a flex row would split the bold
   lead-in and the sentence that follows it into separate columns. */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 15px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.check-list li b { color: var(--ink); font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
}
.check-list li.bad::before { background: #a8452c; }

/* ============================================================
   NORMAL vs ABNORMAL two-column comparison
   ============================================================ */
.norm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.norm-col {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 20px 22px;
  box-shadow: var(--shadow-1);
}
.norm-col.is-good { border-left: 4px solid #6d8a4f; }
.norm-col.is-bad  { border-left: 4px solid #a8452c; }
.norm-col h3 {
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem;
}
.norm-col.is-good h3 { color: #3f5c31; }
.norm-col.is-bad  h3 { color: #7d3320; }
.norm-col h3 .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .74rem; font-weight: 800;
}
.norm-col.is-good h3 .tick { background: #e2ecd6; color: #3f5c31; }
.norm-col.is-bad  h3 .tick { background: #f6ded4; color: #a8452c; }
.norm-col > p { margin: 0 0 12px; font-size: .87rem; color: var(--ink-soft); }
.norm-col ul { margin: 0; padding-left: 18px; font-size: .87rem; color: var(--ink-soft); }
.norm-col li { margin-bottom: 7px; }
.norm-col li b { color: var(--ink); font-weight: 600; }

/* ============================================================
   EMERGENCY / VETERINARY ALERT PANELS
   .danger-panel  = red, "act now"
   .vet-panel     = amber, "this needs a vet"
   ============================================================ */
.danger-panel {
  border: 1px solid #e4c3b2;
  border-left: 4px solid #a8452c;
  background: linear-gradient(180deg, #fdf1ec 0%, var(--bg-elev) 62%);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-1);
}
.danger-head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.danger-head span {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: #f6ded4; color: #a8452c;
  display: inline-flex; align-items: center; justify-content: center;
}
.danger-head span svg { width: 20px; height: 20px; }
.danger-head h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.16rem; color: #7d3320; }
.danger-panel > p { margin: 0 0 18px; font-size: .9rem; color: var(--ink-soft); }
.danger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 12px;
}
.danger-card {
  background: var(--bg-elev);
  border: 1px solid #eddbd1;
  border-radius: var(--radius-sm, 12px);
  padding: 14px 16px;
}
.danger-card h4 {
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-serif); font-weight: 600; font-size: .98rem; color: #7d3320;
}
.danger-card h4 .x {
  flex: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #f6ded4; color: #a8452c;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 800;
}
.danger-card p { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.danger-foot {
  margin: 18px 0 0; padding-top: 14px;
  border-top: 1px solid #eddbd1;
  font-size: .86rem; color: var(--ink-soft);
}
.danger-foot b { color: #7d3320; }

.vet-panel {
  border: 1px solid #e6d5ab;
  border-left: 4px solid #b08a3e;
  background: linear-gradient(180deg, #fbf4e4 0%, var(--bg-elev) 62%);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-1);
}
.vet-head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.vet-head span {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: #f7ecd0; color: #866223;
  display: inline-flex; align-items: center; justify-content: center;
}
.vet-head span svg { width: 19px; height: 19px; }
.vet-head h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; color: #6f5219; }
.vet-panel p { margin: 0 0 9px; font-size: .89rem; color: var(--ink-soft); }
.vet-panel p:last-child { margin-bottom: 0; }
.vet-panel b, .vet-panel strong { color: #6f5219; font-weight: 700; }
.vet-panel ul { margin: 0 0 4px; padding-left: 18px; font-size: .88rem; color: var(--ink-soft); }
.vet-panel li { margin-bottom: 6px; }

/* ============================================================
   AILMENT CARDS (respiratory, parasites, crop, disease…)
   ============================================================ */
.ail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.ail-card {
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 21px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.ail-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--rose); }
.ail-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; margin-bottom: 6px;
}
.ail-card h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; }
.ail-card > p { margin: 0 0 10px; font-size: .87rem; color: var(--ink-soft); }
.ail-row {
  margin: 0; padding: 9px 0 0;
  border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-soft); line-height: 1.5;
}
.ail-row + .ail-row { margin-top: 8px; }
.ail-row b {
  display: block;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--rose-deep); margin-bottom: 2px;
}
.ail-card .ail-foot { margin-top: auto; }

/* ============================================================
   NUMBERED SEQUENCE (quarantine / isolation procedure)
   ============================================================ */
.step-list { list-style: none; counter-reset: pmstep; margin: 0; padding: 0; display: grid; gap: 12px; }
.step-list li {
  counter-increment: pmstep;
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 16px 60px;
  box-shadow: var(--shadow-1);
  font-size: .88rem; color: var(--ink-soft); line-height: 1.55;
}
.step-list li::before {
  content: counter(pmstep);
  position: absolute; left: 17px; top: 15px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--rose-soft); color: var(--rose-deep);
  display: grid; place-items: center;
  font-size: .84rem; font-weight: 800;
}
.step-list li h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}

/* ============================================================
   FIRST-AID KIT GRID
   ============================================================ */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 14px;
}
.kit-item {
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 18px;
  box-shadow: var(--shadow-1);
}
.kit-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.kit-head span {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  background: var(--rose-soft); color: var(--rose-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.kit-head span svg { width: 17px; height: 17px; }
.kit-item h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; }
.kit-item p { margin: 0; font-size: .85rem; color: var(--ink-soft); }

/* ============================================================
   PRINTABLE-STYLE CHECKLIST
   ============================================================ */
.tick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.tick-col {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 21px;
  box-shadow: var(--shadow-1);
}
.tick-col h3 {
  margin: 0 0 3px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.06rem;
}
.tick-col .tick-when {
  margin: 0 0 11px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--rose-deep);
}
.tick-col ul { list-style: none; margin: 0; padding: 0; }
.tick-col li {
  position: relative;
  padding: 7px 0 7px 26px;
  border-top: 1px solid var(--line);
  font-size: .86rem; line-height: 1.5; color: var(--ink-soft);
}
.tick-col li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 15px; height: 15px;
  border: 1.6px solid var(--rose);
  border-radius: 4px;
  background: var(--bg);
}
.tick-col li b { color: var(--ink); font-weight: 600; }

/* ============================================================
   SHARED COMPONENTS reused across the Chickens silo — kept
   identical to feeding-chickens.css so the silo reads as one set.
   ============================================================ */
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.scheme {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 21px;
  box-shadow: var(--shadow-1);
}
.scheme h3 { margin: 0 0 3px; font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; }
.scheme .scheme-meta {
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  text-transform: uppercase; color: var(--rose-deep); margin: 0 0 11px;
}
.scheme ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .9rem; }
.scheme li { margin-bottom: 6px; }
.scheme li b { color: var(--ink); font-weight: 600; }
.scheme .scheme-note {
  margin: 12px 0 0; padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--ink-soft);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.link-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 17px;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--rose); }
.link-card .lc-ic { width: 26px; height: 26px; color: var(--rose-deep); margin-bottom: 4px; }
.link-card .lc-ic svg { display: block; width: 100%; height: 100%; }
.link-card .lc-name { font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: var(--ink); }
.link-card .lc-desc { font-size: .84rem; color: var(--ink-soft); }
.link-card .lc-go { font-size: .82rem; font-weight: 600; color: var(--rose-deep); margin-top: 2px; }
.link-card .lc-soon {
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--earth); background: var(--bg-cream);
  border-radius: 999px; padding: 2px 8px; align-self: flex-start; margin-top: 2px;
}

.callout-tip {
  background: var(--rose-soft);
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 15px 20px;
}
.callout-tip p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.callout-tip p strong, .callout-tip p b { color: var(--rose-deep); font-weight: 600; }

.cost-table {
  width: 100%; border-collapse: collapse; margin: 8px 0 4px;
  font-size: .92rem; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cost-table th, .cost-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.cost-table thead th {
  background: var(--rose-soft); color: var(--rose-deep); font-weight: 700;
  font-size: .8rem; letter-spacing: .03em; text-transform: uppercase;
}
.cost-table td:last-child, .cost-table th:last-child { text-align: right; }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table tfoot td { font-weight: 700; color: var(--ink); background: var(--bg-cream); }

/* ---- narrow-phone hero guard ----
   .eco-hero--photo .eco-hero-inner uses a `1fr` track, whose automatic
   minimum is min-content. The hero disclaimer is a flex row of inline
   links, so on a page with several of them its min-content width can
   exceed a small phone viewport and stretch the whole hero panel.
   minmax(0,1fr) caps the track, and letting the disclaimer wrap keeps
   the text inside the frosted panel. Scoped to this page only. */
.eco-hero--photo .eco-hero-inner { grid-template-columns: minmax(0, 1fr); }
.eco-hero--photo .eco-hero-inner > div { max-width: min(528px, 100%); }
.eco-hero--photo .disclaimer { flex-wrap: wrap; }

/* ---- FAQ / disclosure notes use <h3> here for a correct H1–H4
        outline, so mirror the shared .compliance .note h4 styling
        exactly — the notes look identical to every other page. ---- */
.compliance .note h3 {
  margin: 0 0 5px;
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-family: inherit;
  font-weight: 700;
}

/* ---- multi-paragraph section intros ----
   The shared .section-head p rule is margin:0, which is right for the
   single-paragraph intros used elsewhere. Several intros on this page
   run to two or three paragraphs, so give them a gap. Scoped to this
   page only; the shared rule is untouched. ---- */
.section-head p + p { margin-top: .72em; }

/* ---- HARD GUARD — belt and braces.
   Nothing may ever paint a decorative pseudo-element on top of a
   photograph on this page. Photographs only. ---- */
.gt-gallery figure::before, .gt-gallery figure::after,
.gt-feature::before, .gt-finished::before { content: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Six- and nine-card sections sit as even rows on desktop rather
   than an awkward 4 + 2 with a lone card stranded on a second row. */
@media (min-width: 980px) {
  .check-grid, .ail-grid, .kit-grid, .tick-grid { grid-template-columns: repeat(3, 1fr); }
  /* the emergency panel holds nine cards — 3 x 3 rather than 4 + 4 + 1 */
  #emergency .danger-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 861px) and (max-width: 979px) {
  .check-grid, .ail-grid, .kit-grid, .tick-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .data-table { font-size: .82rem; }
  .data-table th, .data-table td { padding: 9px 11px; }
  .danger-panel { padding: 20px 18px; }
  .vet-panel { padding: 18px 17px; }
  .check-what { margin-left: 0; }
  .step-list li { padding: 15px 16px 15px 54px; }
}
@media (max-width: 480px) {
  .check-grid, .ail-grid, .kit-grid, .tick-grid, .norm-grid { grid-template-columns: 1fr; }
  .danger-grid { grid-template-columns: 1fr; }
  .ail-top { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .check-card, .ail-card, .link-card { transition: none; }
  .check-card:hover, .ail-card:hover, .link-card:hover { transform: none; }
}


/* ============================================================
   PATIO-SPECIFIC COMPONENTS
   Everything below is additive and used only by the Patios
   pages. Nothing here overrides a shared stylesheet.
   ============================================================ */

/* ---- relative cost / rating bands ------------------------- */
.band {
  display: inline-block;
  font-size: .66rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.band-low  { background: #e9efdc; color: #4b6636; }
.band-mid  { background: #ebe9de; color: #565244; }
.band-high { background: #f0e6d6; color: #77602f; }
.band-prem { background: #eae2e8; color: #67455e; }

/* ---- photo gallery strip ---------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;            /* required: these images carry width/height attrs */
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery figcaption {
  padding: 11px 14px 13px;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
/* never paint anything over a photograph */
.gallery figure::before, .gallery figure::after,
.mat-shot::before, .mat-shot::after { content: none !important; background: none !important; }

/* ---- material cards --------------------------------------- */
.mat-grid { display: grid; gap: 20px; }
.mat-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
}
.mat-shot { margin: 0; position: relative; background: var(--rose-soft); }
.mat-shot img {
  display: block; width: 100%; height: 100%;
  min-height: 210px;
  object-fit: cover;
}
.mat-body { padding: 22px 24px 24px; min-width: 0; }
.mat-top {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 6px;
}
.mat-top h3 {
  margin: 0; font-family: var(--font-serif);
  font-weight: 600; font-size: 1.22rem;
}
.mat-lead { margin: 0 0 14px; font-size: .89rem; line-height: 1.65; color: var(--ink-soft); }
.mat-spec { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 0; }
.mat-spec li {
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 4px 14px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.mat-spec li b {
  color: var(--rose-deep);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding-top: 2px;
}
.mat-pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mat-pc ul { margin: 0; padding-left: 17px; font-size: .84rem; line-height: 1.55; color: var(--ink-soft); }
.mat-pc li { margin-bottom: 5px; }
.mat-pc h4 {
  margin: 0 0 6px;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 800;
}
.mat-pc .pc-good h4 { color: #3f5c31; }
.mat-pc .pc-bad  h4 { color: #7d3320; }

@media (max-width: 760px) {
  .mat-card { grid-template-columns: 1fr; }
  .mat-shot img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .mat-spec li { grid-template-columns: 1fr; gap: 2px; }
  .mat-body { padding: 19px 19px 21px; }
}

/* ---- head-to-head comparison ------------------------------- */
.vs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 16px; }
.vs-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--rose);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 20px 22px;
  box-shadow: var(--shadow-1);
}
.vs-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem;
}
.vs-q {
  margin: 0 0 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--rose-deep);
}
.vs-card p { margin: 0 0 10px; font-size: .87rem; line-height: 1.65; color: var(--ink-soft); }
.vs-verdict {
  margin: 12px 0 0;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--rose-soft);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink);
}
.vs-verdict b { color: var(--rose-deep); }

/* ---- calculator call-to-action ----------------------------- */
.calc-cta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-cream));
  padding: 18px 22px;
  box-shadow: var(--shadow-1);
}
.calc-cta .cc-ic {
  flex: none; width: 44px; height: 44px; border-radius: 13px;
  background: var(--rose-soft); color: var(--rose-deep);
  display: grid; place-items: center;
}
.calc-cta .cc-ic svg { width: 23px; height: 23px; }
.calc-cta .cc-body { flex: 1 1 240px; min-width: 0; }
.calc-cta h3 { margin: 0 0 3px; font-family: var(--font-serif); font-weight: 600; font-size: 1.04rem; }
.calc-cta p { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--ink-soft); }
.calc-cta .btn { flex: none; }
@media (max-width: 560px) { .calc-cta .btn { width: 100%; text-align: center; } }

/* ---- "common mistake" cards -------------------------------- */
.miss-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 16px; }
.miss-card {
  border: 1px solid var(--line);
  border-top: 3px solid #b98a63;
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 19px 21px;
  box-shadow: var(--shadow-1);
}
.miss-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.04rem;
}
.miss-card p { margin: 0 0 9px; font-size: .86rem; line-height: 1.62; color: var(--ink-soft); }
.miss-card p:last-child { margin-bottom: 0; }
.miss-card .fix {
  display: block;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #4b6636; margin-bottom: 2px;
}

/* ---- tabbed panels (maintenance by material) --------------- */
.tabs { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); overflow: hidden; box-shadow: var(--shadow-1); }
.tab-list {
  display: flex; gap: 4px; flex-wrap: wrap;
  padding: 10px 12px;
  background: var(--rose-soft);
  border-bottom: 1px solid var(--line);
}
.tab-btn {
  appearance: none; border: 1px solid transparent; background: transparent;
  font: inherit; font-size: .82rem; font-weight: 600;
  color: var(--rose-deep);
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.tab-btn:hover { background: rgba(255,255,255,.6); }
.tab-btn[aria-selected="true"] { background: var(--rose-deep); color: #fff; }
.tab-btn:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.tab-panel { padding: 20px 22px 22px; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }
.tab-panel p { margin: 0 0 10px; font-size: .88rem; line-height: 1.65; color: var(--ink-soft); }
.tab-panel ul { margin: 0 0 10px; padding-left: 18px; font-size: .87rem; line-height: 1.6; color: var(--ink-soft); }
.tab-panel li { margin-bottom: 6px; }
.tab-panel li b, .tab-panel p b { color: var(--ink); font-weight: 600; }
.tab-panel > :last-child { margin-bottom: 0; }
/* with JS off every panel simply stacks and stays readable */
.no-js .tab-panel[hidden] { display: block; }
.no-js .tab-list { display: none; }

/* ---- printable tick checklist ------------------------------ */
.pm-check { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 14px; }
.pm-check-col {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); padding: 17px 19px; box-shadow: var(--shadow-1);
}
.pm-check-col h3 {
  margin: 0 0 10px; font-size: .74rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--rose-deep); font-weight: 800;
}
.pm-box { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.pm-box:first-of-type { border-top: 0; }
.pm-box input { flex: none; margin-top: 3px; width: 16px; height: 16px; accent-color: var(--rose); }
.pm-box span { font-size: .85rem; line-height: 1.5; color: var(--ink-soft); }
.pm-box input:checked + span { color: var(--muted); text-decoration: line-through; }
.pm-check-foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.pm-check-foot .pm-done { font-size: .8rem; color: var(--muted); }

/* ---- expandable FAQ list (matches the hub) ----------------- */
.faq-list { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: start; }
.faq-list .note { padding-top: 0; padding-bottom: 0; }
.faq-list .note > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; padding: 15px 0;
}
.faq-list .note > summary::-webkit-details-marker { display: none; }
.faq-list .note > summary:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 6px; }
.faq-list .note-chev { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 2px; color: var(--rose-deep); transition: transform .18s ease; }
.faq-list .note-chev svg { display: block; width: 100%; height: 100%; }
.faq-list .note[open] .note-chev { transform: rotate(180deg); }
.faq-list .note > p { margin: 0; padding-bottom: 16px; font-size: .88rem; line-height: 1.68; }
.faq-list .note > p a { color: var(--rose-deep); font-weight: 600; }
.faq-list .note[open] { background: var(--bg-elev); }
.compliance .note h3 {
  margin: 0;
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-family: inherit;
  font-weight: 700;
}

/* ---- FAQ filter (patio-faqs.html) -------------------------- */
.faq-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.faq-search {
  flex: 1 1 260px; min-width: 0;
  font: inherit; font-size: .9rem;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--ink);
}
.faq-search:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 1px; }
.faq-count { font-size: .8rem; color: var(--muted); }
.faq-empty { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---- section anchor chips ---------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.chip-row a {
  font-size: .8rem; font-weight: 600;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--rose-deep);
  text-decoration: none;
}
.chip-row a:hover { background: var(--rose-soft); }

/* ---- print ------------------------------------------------- */
@media print {
  .anchor-nav, .pm-subnav, .site-nav, .affiliate, .calc-cta, .faq-tools { display: none !important; }
  .tab-panel[hidden] { display: block !important; }
  .faq-list .note > p { display: block !important; }
  .mat-card, .check-card, .ail-card, .miss-card, .pm-check-col { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  .tab-btn, .faq-list .note-chev, .mat-card, .miss-card { transition: none !important; }
}


/* ---- Garden Problems silo colourway ------------------------------------
   Same component set as body.theme-patio above; only the four theme
   variables change, to the Garden Problems silo accent. No component,
   layout or spacing rule is altered.
   ---------------------------------------------------------------------- */
body.theme-problem {
  --rose:      #6A6190;   /* Garden Problems accent */
  --rose-deep: #4A4360;   /* deep violet — headings, icons, rules */
  --rose-soft: #E9E6F1;   /* pale wash */
  --bg-cream:  #F6F4F0;
  background:
    radial-gradient(1200px 660px at 84% -12%, #eeecf3 0%, transparent 58%),
    radial-gradient(960px 560px at -8% 2%, #eef0e6 0%, transparent 56%),
    var(--bg);
}
