/*
Theme Name: SowCalendar
Theme URI: https://sowcalendar.com
Description: Seed-packet almanac theme for a frost-date and planting-calendar site. Fast, ad-ready, built for pages published by the Semantic SEO OS.
Version: 1.1.0
Requires PHP: 7.4
Author: Semantic SEO OS
Text Domain: sowcalendar
*/

/* ───────────────────────── tokens ───────────────────────── */
:root {
  --paper: #f4eedd; --paper-2: #ebe2c8; --paper-3: #e1d5b5;
  --ink: #1d2618; --ink-2: #4a5443; --ink-3: #585f49;
  --line: #d3c7a8;
  --leaf: #3f6b34; --leaf-deep: #24401f;
  --tomato: #9f321f; --marigold: #d9a12b;
  --frost: #9dbfdc; --frost-deep: #3f6f99;
  --shadow: 0 1px 0 rgba(29,38,24,.06), 0 12px 32px -18px rgba(29,38,24,.35);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Newsreader", "Charter", Georgia, serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --measure: 44rem;
  --wide: 76rem;
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121810; --paper-2: #1a2217; --paper-3: #232d1f;
    --ink: #ece4cf; --ink-2: #b9b39d; --ink-3: #949982;
    --line: #2f3a2a;
    --leaf: #8fbf6e; --leaf-deep: #b7da9c;
    --tomato: #e8715a; --marigold: #e9b650;
    --frost: #4d7aa3; --frost-deep: #9cc3e6;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 14px 32px -18px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121810; --paper-2: #1a2217; --paper-3: #232d1f;
  --ink: #ece4cf; --ink-2: #b9b39d; --ink-3: #949982; --line: #2f3a2a;
  --leaf: #8fbf6e; --leaf-deep: #b7da9c; --tomato: #e8715a; --marigold: #e9b650;
  --frost: #4d7aa3; --frost-deep: #9cc3e6; color-scheme: dark;
}

/* ───────────────────────── base ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.62 var(--body);
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration-thickness: .06em; text-underline-offset: .18em; }
a:hover { color: var(--tomato); }
:focus-visible { outline: 2px solid var(--tomato); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.wrap { width: min(var(--wide), 100% - 2.5rem); margin-inline: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em;
  font-variation-settings: "SOFT" 50, "WONK" 0; margin: 0; }

/* ───────────────────────── almanac strip + masthead ───────────────────────── */
.strip { border-bottom: 1px solid var(--line); font: 500 .72rem/1 var(--mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); }
.strip .wrap { display: flex; gap: 1.5rem; align-items: center; min-height: 2.2rem; }
.strip .season { color: var(--leaf); }
.strip .spacer { flex: 1; }
.strip a { color: var(--ink-2); text-decoration: none; }

.masthead { border-bottom: 3px double var(--line); }
.masthead .wrap { display: flex; align-items: center; gap: 2rem; min-height: 5.2rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 2.4rem; height: 2.4rem; }
.brand__name { font: 700 1.7rem/1 var(--display); letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1; }
.brand__name em { font-style: normal; color: var(--tomato); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.nav a { font: 500 .95rem/1 var(--body); color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav .current-menu-item > a { color: var(--ink); box-shadow: inset 0 -2px var(--marigold); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 99px; padding: .45rem .9rem; font: 500 .8rem/1 var(--mono); color: var(--ink); }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; z-index: 20; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 1rem; }
  .masthead { position: relative; }
}

/* ───────────────────────── hero ───────────────────────── */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.kicker { font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); margin: 0 0 1.1rem; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.9rem); line-height: .95; letter-spacing: -.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero h1 .frost { color: var(--frost-deep); font-style: italic; font-weight: 500; }
.hero__deck { font-size: 1.28rem; color: var(--ink-2); max-width: 32rem; margin: 1.4rem 0 0; }
.hero__art { position: absolute; right: -6rem; top: -4rem; width: 34rem; opacity: .9; pointer-events: none; }
@media (max-width: 900px) { .hero__art { display: none; } }

.reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.reveal:nth-child(2) { animation-delay: .08s; } .reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ───────────────────────── lookup ───────────────────────── */
.sc-lookup { background: var(--paper-2); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px);
  padding: 1.4rem; box-shadow: var(--shadow); position: relative; }
.sc-lookup__label { display: block; font: 600 1.25rem/1.1 var(--display); margin-bottom: .9rem; }
.sc-lookup__field { position: relative; }
.sc-lookup__field input { width: 100%; font: 400 1.15rem/1 var(--body); padding: 1rem 3rem 1rem 1.1rem;
  border-radius: var(--r); border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
.sc-lookup__field input::placeholder { color: var(--ink-3); }
.sc-lookup__field svg { position: absolute; right: 1rem; top: 50%; width: 1.3rem; height: 1.3rem;
  transform: translateY(-50%); fill: none; stroke: var(--ink-2); stroke-width: 2; }
.sc-results { list-style: none; margin: .5rem 0 0; padding: .35rem; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line); display: none; position: absolute;
  left: 1.4rem; right: 1.4rem; z-index: 30; box-shadow: var(--shadow); }
.sc-results.is-open { display: block; }
.sc-results li { padding: .75rem .85rem; border-radius: 10px; cursor: pointer; display: grid; gap: .15rem; }
.sc-results li[aria-selected="true"], .sc-results li:hover { background: var(--paper-2); }
.sc-results__city { font: 600 1.02rem/1.2 var(--display); }
.sc-results__dates { font: 400 .78rem/1.3 var(--mono); color: var(--ink-3); }
.sc-results__dates b { color: var(--ink); font-weight: 500; }
.sc-inline:not(:empty) { margin-top: 1.5rem; }
.sc-hint { font: 400 .78rem/1.4 var(--mono); color: var(--ink-3); margin: .8rem 0 0; }

/* ───────────────────────── seed-packet cards ───────────────────────── */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section__head { display: flex; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line);
  padding-bottom: .9rem; margin-bottom: 2rem; }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section__head a { margin-left: auto; font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

.packets { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.4rem; }
.packet { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px 6px var(--r) var(--r);
  padding: 1.3rem 1.3rem 1.2rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .6rem;
  transition: transform .25s ease, box-shadow .25s ease; box-shadow: var(--shadow); overflow: hidden; }
.packet::before { /* crimped seed-packet top */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: radial-gradient(circle at 6px 0, transparent 5px, var(--leaf) 5.5px) 0 0 / 12px 8px repeat-x; opacity: .85; }
.packet:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 20px 40px -22px rgba(29,38,24,.55); color: var(--ink); }
.packet__img { aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; margin-top: .3rem; background: var(--paper-3); }
.packet__cat { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tomato); }
.packet h3 { font-size: 1.32rem; line-height: 1.15; }
.packet p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.packet__meta { margin-top: auto; padding-top: .5rem; font: 400 .74rem/1 var(--mono); color: var(--ink-3); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--ink); padding-top: 1rem; }
.step::before { counter-increment: s; content: "0" counter(s); font: 500 .8rem/1 var(--mono); color: var(--tomato); }
.step h3 { font-size: 1.3rem; margin: .6rem 0 .4rem; }
.step p { margin: 0; color: var(--ink-2); }

.states { columns: 4 12rem; column-gap: 2rem; }
.states section { break-inside: avoid; margin-bottom: 1.3rem; }
.states h3 { font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem; }
.states ul { list-style: none; margin: 0; padding: 0; }
.states a { text-decoration: none; color: var(--ink); line-height: 1.9; }
.states a:hover { color: var(--tomato); }

/* ───────────────────────── article ───────────────────────── */
.article { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.article__grid { display: grid; grid-template-columns: minmax(0, var(--measure)) 18rem; gap: clamp(2rem, 5vw, 4.5rem);
  justify-content: center; }
@media (max-width: 1080px) { .article__grid { grid-template-columns: minmax(0, var(--measure)); } .aside { display: none; } }
.crumbs { font: 400 .78rem/1.4 var(--mono); color: var(--ink-3); margin-bottom: 1.4rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; } .crumbs a:hover { color: var(--tomato); }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.028em;
  font-variation-settings: "SOFT" 100, "WONK" 1; }
.deck { font-size: 1.3rem; color: var(--ink-2); margin: 1rem 0 1.3rem; line-height: 1.45; }
.byline { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font: 400 .78rem/1.4 var(--mono); color: var(--ink-3);
  border-block: 1px solid var(--line); padding: .8rem 0; margin-bottom: 2rem; }
.byline b { color: var(--ink); font-weight: 500; }
.featured { margin: 0 0 2rem; border-radius: var(--r); overflow: hidden; }

.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.05rem); margin-top: 2.2em; padding-top: .3em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.8em; }
.entry-content p, .entry-content li { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li + li { margin-top: .35em; }
.entry-content li::marker { color: var(--tomato); }
.entry-content blockquote { margin-inline: 0; padding: .2rem 0 .2rem 1.3rem; border-left: 3px solid var(--marigold);
  font: italic 400 1.25rem/1.45 var(--display); color: var(--ink-2); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font: 400 .75rem/1.4 var(--mono); color: var(--ink-3); margin-top: .5rem; }
.entry-content img { border-radius: var(--r); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.entry-content :where(th, td) { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.entry-content > p:first-of-type::first-letter { /* drop cap on the lead */
  float: left; font: 700 4.1rem/.82 var(--display); padding: .35rem .5rem 0 0; color: var(--leaf);
  font-variation-settings: "SOFT" 100, "WONK" 1; }

/* TOC produced by the OS: <p><strong>In this article</strong></p><ul>…</ul> */
.entry-content p:has(> strong:only-child) + ul {
  list-style: none; padding: 1rem 1.2rem; margin-top: .4rem; border: 1px dashed var(--line); border-radius: var(--r);
  background: var(--paper-2); columns: 2 14rem; column-gap: 1.5rem; font-size: .98rem; }
.entry-content p:has(> strong:only-child) + ul li { break-inside: avoid; }
.entry-content p:has(> strong:only-child) + ul a { text-decoration: none; color: var(--ink); }
.entry-content p:has(> strong:only-child) + ul a:hover { color: var(--tomato); }
.entry-content p:has(> strong:only-child) { font: 500 .75rem/1 var(--mono) !important; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 0; }
.entry-content p:has(> strong:only-child)::first-letter { all: unset; }

/* FAQ produced by the OS */
#frequently-asked-questions ~ h3 { font: 600 1.15rem/1.3 var(--display); border-top: 1px solid var(--line);
  padding-top: 1.1rem; margin-top: 1.1rem; }
#frequently-asked-questions ~ h3 + p { color: var(--ink-2); margin-top: .4rem; }

.aside__inner { position: sticky; top: 1.5rem; display: grid; gap: 1.5rem; }
.aside .sc-lookup { padding: 1.1rem; }
.aside .sc-lookup__label { font-size: 1.05rem; }
.aside .sc-lookup__field input { font-size: 1rem; padding: .8rem 2.6rem .8rem .9rem; }
.aside .sc-results { left: 1.1rem; right: 1.1rem; }

.related { border-top: 3px double var(--line); margin-top: 3.5rem; padding-top: 2rem; }

/* ───────────────────────── planting calendar (plugin output) ───────────────────────── */
.sc-cal { background: var(--paper-2); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px);
  padding: clamp(1.1rem, 3vw, 1.8rem); margin: 2rem 0; box-shadow: var(--shadow); }
.sc-kicker { font: 500 .72rem/1 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--tomato) !important; margin: 0 0 .6rem !important; }
.sc-kicker::first-letter { all: unset; }
.sc-cal__title { font-size: clamp(1.6rem, 3.2vw, 2.2rem) !important; margin: 0 0 1.2rem !important; padding: 0 !important; }
.sc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.4rem; }
.sc-stats div { background: var(--paper); border-radius: var(--r); padding: 1rem 1.1rem; border: 1px solid var(--line); }
.sc-stats dt { font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sc-stats dd { margin: .45rem 0 0; font: 700 clamp(1.6rem, 4vw, 2.3rem)/1 var(--display); color: var(--frost-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1; }
.sc-stats dd.sc-safe { font: 400 .78rem/1.3 var(--mono); color: var(--ink-2); }

.sc-ribbon { margin: 0 0 1.5rem; }
.sc-ribbon__bar { position: relative; height: 2.1rem; border-radius: 99px; overflow: hidden; background: var(--paper-3);
  box-shadow: inset 0 0 0 1px var(--line); }
.sc-ribbon__bar i { position: absolute; top: 0; bottom: 0; }
.sc-frost { background: repeating-linear-gradient(135deg, var(--frost) 0 6px, color-mix(in srgb, var(--frost) 70%, var(--paper)) 6px 12px); }
.sc-shoulder { background: linear-gradient(90deg, color-mix(in srgb, var(--frost) 60%, var(--paper)), color-mix(in srgb, var(--leaf) 45%, var(--paper))); }
.sc-grow { background: linear-gradient(90deg, color-mix(in srgb, var(--leaf) 75%, var(--paper)), var(--leaf), color-mix(in srgb, var(--leaf) 75%, var(--paper))); }
.sc-today { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--tomato); border-radius: 2px; transform: translateX(-50%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tomato) 25%, transparent); }
.sc-ribbon__months { position: relative; height: 1.4rem; font: 500 .66rem/1.4rem var(--mono); color: var(--ink-3); }
.sc-ribbon__months span { position: absolute; transform: translateX(2px); }
.sc-ribbon figcaption { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; font: 400 .74rem/1.3 var(--mono); color: var(--ink-2); margin-top: .5rem; }
.sc-ribbon figcaption strong { margin-left: auto; color: var(--leaf); font-weight: 500; }
.sw { display: inline-block; width: .9rem; height: .55rem; border-radius: 3px; margin-right: .4rem; vertical-align: middle; }
.sw-frost { background: var(--frost); } .sw-shoulder { background: color-mix(in srgb, var(--frost) 50%, var(--leaf)); } .sw-grow { background: var(--leaf); }

.sc-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.sc-table { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: .95rem !important; }
.sc-table thead th { font: 500 .68rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  background: var(--paper-2); position: sticky; top: 0; }
.sc-table :where(th, td) { padding: .7rem .85rem !important; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.sc-table tbody th { font: 600 1rem/1.2 var(--display); }
.sc-table td { font: 400 .86rem/1.3 var(--mono); color: var(--ink); }
.sc-table td small { display: block; font-size: .68rem; color: var(--ink-3); text-transform: lowercase; }
.sc-table tr.is-tender th abbr { color: var(--frost-deep); text-decoration: none; }
.sc-table tbody tr:hover { background: color-mix(in srgb, var(--marigold) 10%, transparent); }
.sc-na { color: var(--ink-3); }
.sc-source { font: 400 .74rem/1.55 var(--mono) !important; color: var(--ink-3) !important; margin: 1rem 0 0 !important; }
.sc-source::first-letter { all: unset; }
.sc-missing { border: 1px dashed var(--tomato); padding: 1rem; border-radius: var(--r); font: 400 .85rem var(--mono); }
.sc-loading { font: 400 .85rem var(--mono); color: var(--ink-3); }

/* ───────────────────────── ads (space reserved: no layout shift) ───────────────────────── */
.seo-os-ad, .sc-ad { margin: 2.2rem 0; min-height: 280px; display: grid; align-content: start; }
.seo-os-ad--sidebar, .sc-ad--sidebar { min-height: 600px; margin: 0; }
.seo-os-ad__label, .sc-ad__label { font: 500 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .45rem; }
.sc-ad--preview { border: 1px dashed var(--line); border-radius: var(--r); place-content: center; text-align: center;
  font: 400 .8rem var(--mono); color: var(--ink-3); }

/* ───────────────────────── lists, pagination, 404 ───────────────────────── */
.archive-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; border-bottom: 3px double var(--line); margin-bottom: 2.5rem; }
.archive-head h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); font-variation-settings: "SOFT" 100, "WONK" 1; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin: 3rem 0; font: 500 .85rem var(--mono); }
.pagination .page-numbers { padding: .55rem .85rem; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty { padding: 5rem 0; text-align: center; }
.empty h1 { font-size: clamp(3rem, 9vw, 6rem); }

/* ───────────────────────── footer ───────────────────────── */
.footer { border-top: 3px double var(--line); margin-top: 3rem; padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); background: var(--paper-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; } .footer li { line-height: 2; }
.footer a { color: var(--ink); text-decoration: none; } .footer a:hover { color: var(--tomato); }
.footer p { color: var(--ink-2); font-size: .95rem; margin: .6rem 0 0; max-width: 28rem; }
.footer__base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem;
  font: 400 .72rem/1.5 var(--mono); color: var(--ink-3); }
.footer__base span:last-child { margin-left: auto; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .strip, .nav, .aside, .sc-ad, .footer, .sc-lookup { display: none !important; } body::before { display: none; } }

/* Blog Query Loop: scoped to the new Blog page. */
.gc-blog-list .wp-block-post-template { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:1.4rem; }
.gc-blog-list .wp-block-post { padding:1.3rem; border:1px solid var(--line); border-radius:var(--r); background:var(--paper-2); overflow-wrap:anywhere; }
.gc-blog-list .wp-block-post-title { font-size:1.4rem; margin:0 0 .7rem; }
.gc-blog-list .wp-block-post-date { color:var(--ink-3); font:400 .78rem/1.5 var(--mono); }
.gc-blog-list .wp-block-query-pagination { display:flex; flex-wrap:wrap; gap:1rem; margin-top:2rem; }
.sc-results { max-height:min(24rem,65vh); overflow-y:auto; }
.sc-results li { min-height:44px; }


.step h2{font-size:1.3rem;margin:.6rem 0 .4rem}.footer h2{font:500 .85rem/1.3 var(--mono);text-transform:uppercase;color:var(--ink-3);margin-bottom:.9rem}.footer__grid{grid-template-columns:1.5fr 1fr 1fr 1fr}@media(max-width:900px){.footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.footer__grid{grid-template-columns:1fr}}
