/*
Theme Name: Flexible Workout
Theme URI: https://flexibleworkout.com
Author: Flexible Workout
Description: A fast, minimal theme for the Flexible Workout blog. Built for product roundups, Pinterest traffic and Amazon affiliate content, with no page builder.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flexibleworkout
*/

/* ==========================================================================
   Fonts (self-hosted, so no calls to Google)
   ========================================================================== */
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Literata Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/literata-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Literata Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/literata-latin-wght-italic.woff2") format("woff2");
}

/* ==========================================================================
   Tokens
   Two brand colors from the logo (green and black) plus light gray.
   ========================================================================== */
:root {
  --green: #00a651;          /* logo green: buttons, fills, rules */
  --green-deep: #00703a;     /* green dark enough for text on white (5.9:1) */
  --black: #000;
  --ink: #1c1e1e;           /* body text */
  --gray-50: #f4f5f5;
  --gray-100: #eaecec;
  --gray-300: #c6cbcb;
  --gray-600: #555c5c;      /* secondary text (7:1 on white) */
  --white: #fff;

  --display: "Archivo Variable", "Archivo", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Literata Variable", Literata, Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --measure: 42rem;
  --radius: 4px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.75;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--black); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; box-shadow: 0 0 0 5px var(--white); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem;
  background: var(--black); color: var(--white); font-family: var(--display); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--black);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.25rem); font-weight: 800; font-stretch: 116%; line-height: 1.02; letter-spacing: -.012em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.35rem); font-weight: 780; font-stretch: 108%; line-height: 1.1; letter-spacing: -.008em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 720; font-stretch: 104%; line-height: 1.2; }
h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1.25em; }
hr { border: 0; border-top: 1px solid var(--gray-100); margin: 2.5rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ui { font-family: var(--display); font-stretch: 100%; }

/* ==========================================================================
   Buttons
   Black text on green keeps the logo pairing and passes contrast.
   ========================================================================== */
.btn, .wp-block-button__link, .comment-form .submit, .search-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border: 2px solid var(--green); border-radius: var(--radius);
  background: var(--green); color: var(--black);
  font-family: var(--display); font-size: 1rem; font-weight: 700; font-stretch: 104%; line-height: 1.1;
  text-decoration: none; cursor: pointer;
}
.btn:hover, .wp-block-button__link:hover, .comment-form .submit:hover, .search-form button:hover {
  background: var(--black); border-color: var(--black); color: var(--white); text-decoration: none;
}
.btn--line { background: transparent; border-color: var(--black); color: var(--black); }
.btn--line:hover { background: var(--black); color: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { border-bottom: 1px solid var(--gray-100); background: var(--white); }
.site-header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 5.25rem; }
.site-logo { display: block; flex: none; line-height: 0; }
.site-logo img { width: auto; height: 3.4rem; }
.site-logo .custom-logo { width: auto; height: 3.4rem; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; padding: .4rem 0; color: var(--black); text-decoration: none;
  font-family: var(--display); font-size: .975rem; font-weight: 640; line-height: 1.2;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { border-bottom-color: var(--green); color: var(--black); }
.search-toggle, .nav-toggle {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .7rem;
  background: transparent; border: 2px solid transparent; border-radius: var(--radius); color: var(--black);
  font-family: var(--display); font-size: .975rem; font-weight: 640; cursor: pointer;
}
.search-toggle:hover, .nav-toggle:hover { border-color: var(--black); }
.nav-toggle { display: none; margin-left: auto; border-color: var(--black); }
.site-search { border-top: 1px solid var(--gray-100); background: var(--gray-50); padding-block: 1rem; }
.site-search[hidden] { display: none; }

.search-form { display: flex; gap: .5rem; max-width: 36rem; }
.search-form input[type="search"] {
  flex: 1; min-width: 0; padding: .8em 1em; border: 2px solid var(--black); border-radius: var(--radius);
  background: var(--white); color: var(--black); font: inherit; font-family: var(--display); font-size: 1rem;
}

@media (max-width: 880px) {
  .site-header__row { flex-wrap: wrap; min-height: 4.5rem; gap: .5rem 1rem; }
  .site-logo img, .site-logo .custom-logo { height: 2.9rem; }
  .nav-toggle { display: inline-flex; }
  .search-toggle { margin-left: 0; }
  .site-nav { display: none; order: 5; flex-basis: 100%; margin: 0 0 1rem; border-top: 1px solid var(--gray-100); padding-top: .5rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; justify-content: flex-start; gap: 0; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--gray-100); font-size: 1.05rem; }
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 1rem + 8.2vw, 7rem); font-stretch: 122%; line-height: .96; letter-spacing: -.02em; margin-bottom: .35em; }
.hero__lede { max-width: 30rem; font-size: 1.25rem; line-height: 1.6; color: var(--gray-600); margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__feature { display: block; color: inherit; text-decoration: none; }
.hero__feature:hover { color: inherit; }
.hero__feature .card__media { aspect-ratio: 4 / 5; }
.hero__feature-title { margin: 1rem 0 .25rem; font-family: var(--display); font-size: 1.5rem; font-weight: 720; font-stretch: 106%; line-height: 1.15; color: var(--black); }
.hero__feature:hover .hero__feature-title { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.hero__feature-meta { margin: 0; font-family: var(--display); font-size: .9rem; color: var(--gray-600); }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__feature .card__media { aspect-ratio: 4 / 3; }
}

.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--tint { background: var(--gray-50); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.section__head h2 { margin: 0; }
.section__link { font-family: var(--display); font-weight: 650; color: var(--black); text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.section__link:hover { color: var(--green-deep); }

/* Category index: ruled rows, one per category */
.cat-index { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--black); }
.cat-index li { border-bottom: 1px solid var(--gray-300); }
.cat-index a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem .25rem; color: var(--black); text-decoration: none;
  font-family: var(--display); font-weight: 800; font-stretch: 114%; font-size: clamp(1.6rem, 1rem + 2.8vw, 2.9rem); line-height: 1.05; letter-spacing: -.01em;
}
.cat-index a:hover { background: var(--gray-50); color: var(--green-deep); }
.cat-index__count { flex: none; font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--gray-600); }

.about-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.about-band p { max-width: 36rem; }

/* ==========================================================================
   Cards and grids
   ========================================================================== */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gray-100); border-radius: var(--radius); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { display: grid; place-items: center; }
.card__media--empty img { width: 28%; height: auto; opacity: .35; }
.card__cat { margin: 1rem 0 .3rem; font-family: var(--display); font-size: .9rem; font-weight: 700; line-height: 1.2; }
.card__cat a { color: var(--green-deep); text-decoration: none; }
.card__cat a:hover { text-decoration: underline; }
.card__title { margin: 0 0 .4rem; font-size: 1.3rem; font-weight: 720; font-stretch: 104%; line-height: 1.18; }
.card__title a { color: var(--black); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.card__excerpt { margin: 0 0 .5rem; font-size: 1rem; line-height: 1.6; color: var(--gray-600); }
.card__meta { margin: auto 0 0; font-family: var(--display); font-size: .875rem; color: var(--gray-600); }
.card__cat a { position: relative; z-index: 1; }

@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .card__media { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Archive, search, pages
   ========================================================================== */
.page-head { padding-block: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--gray-100); margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.page-head h1 { margin-bottom: .25em; }
.page-head__desc { max-width: 38rem; margin: 0; font-size: 1.15rem; color: var(--gray-600); }
.pagination { margin: clamp(2rem, 5vw, 3.5rem) 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination .page-numbers {
  min-width: 2.6rem; padding: .55rem .8rem; text-align: center; border: 2px solid var(--gray-300); border-radius: var(--radius);
  font-family: var(--display); font-weight: 650; text-decoration: none; color: var(--black);
}
.pagination a.page-numbers:hover { border-color: var(--black); }
.pagination .current { background: var(--black); border-color: var(--black); color: var(--white); }
.pagination .dots { border-color: transparent; }
.empty { max-width: var(--measure); padding-block: 2rem 4rem; }

/* ==========================================================================
   Single post / page
   ========================================================================== */
.entry { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.entry__head { max-width: 56rem; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) 1.5rem; }
.entry__cats { margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-family: var(--display); font-weight: 700; font-size: .95rem; }
.entry__cats a { color: var(--green-deep); text-decoration: none; }
.entry__cats a:hover { text-decoration: underline; }
.entry__head h1 { font-size: clamp(2.1rem, 1.1rem + 4vw, 3.75rem); margin-bottom: .45em; }
.entry__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; font-family: var(--display); font-size: .95rem; color: var(--gray-600); }
.entry__meta a { color: inherit; }
.entry__image { max-width: 56rem; margin: 0 auto 1.5rem; padding-inline: var(--gutter); }
.entry__image .pin-wrap, .entry__image img { width: 100%; }
.entry__image img { border-radius: var(--radius); }
.entry__body, .entry__foot { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.75rem; font-family: var(--display); }
.share__label { margin-right: .25rem; font-size: .95rem; font-weight: 650; color: var(--gray-600); }
.share a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 2px solid var(--black); border-radius: 999px;
  color: var(--black); font-size: .9rem; font-weight: 650; text-decoration: none;
}
.share a:hover { background: var(--black); color: var(--white); }
.share svg { width: 1rem; height: 1rem; fill: currentColor; }
.share--end { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); }

.disclosure {
  margin: 2.5rem 0 0; padding: .85rem 1.1rem; background: var(--gray-50); border-left: 4px solid var(--green);
  font-family: var(--display); font-size: .9rem; line-height: 1.5; color: var(--gray-600);
}
.disclosure strong { color: var(--black); }

/* Prose */
.prose > * { max-width: 100%; }
.prose a { font-weight: 500; }
.prose a.btn { font-weight: 700; margin: .5rem 0; }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 2em; }
.prose h2, .prose h3 { scroll-margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green-deep); }
.prose img { height: auto; border-radius: var(--radius); }
.prose figure { margin: 2rem 0; }
.prose figcaption, .wp-caption-text { margin-top: .5rem; font-family: var(--display); font-size: .875rem; color: var(--gray-600); }
.prose blockquote {
  margin: 2rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--green);
  font-size: 1.25rem; font-style: italic; line-height: 1.55;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-family: var(--display); font-size: .95rem; }
.prose th, .prose td { padding: .65rem .75rem; border-bottom: 1px solid var(--gray-300); text-align: left; vertical-align: top; }
.prose th { border-bottom: 2px solid var(--black); font-weight: 700; }
.prose iframe { max-width: 100%; border: 0; }
.prose .alignleft { float: left; margin: .35rem 1.5rem 1rem 0; }
.prose .alignright { float: right; margin: .35rem 0 1rem 1.5rem; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft img, .prose .alignright img { max-width: 100%; }
.prose::after { content: ""; display: table; clear: both; }
.prose img[width="1"][height="1"] { position: absolute; border-radius: 0; }  /* Amazon tracking pixels */
@media (max-width: 560px) {
  .prose .alignleft, .prose .alignright { float: none; margin: 1rem auto; }
}

/* Pinterest save button */
.pin-wrap { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
.pin-wrap.alignleft { float: left; margin: .35rem 1.5rem 1rem 0; }
.pin-wrap.alignright { float: right; margin: .35rem 0 1rem 1.5rem; }
.pin-wrap.aligncenter { display: block; margin-inline: auto; width: fit-content; }
.pin-save {
  position: absolute; top: .75rem; left: .75rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 999px; background: var(--black); color: var(--white);
  font-family: var(--display); font-size: .875rem; font-weight: 700; line-height: 1; text-decoration: none;
  opacity: 0; transition: opacity .15s ease;
}
.pin-save svg { width: .95rem; height: .95rem; fill: currentColor; }
.pin-wrap:hover .pin-save, .pin-save:focus-visible { opacity: 1; }
.pin-save:hover { background: var(--green); color: var(--black); }
@media (hover: none) { .pin-save { opacity: 1; } }

/* Table of contents */
.toc { margin: 0 0 2rem; padding: 1rem 1.25rem; background: var(--gray-50); border-radius: var(--radius); font-family: var(--display); }
.toc summary { cursor: pointer; font-size: 1.05rem; font-weight: 750; font-stretch: 104%; color: var(--black); }
.toc ol { margin: .75rem 0 0; padding-left: 1.25rem; font-size: .975rem; line-height: 1.45; }
.toc li { margin-bottom: .4rem; }
.toc li ol { margin-top: .4rem; list-style: lower-alpha; }
.toc a { color: var(--black); text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.toc a:hover { color: var(--green-deep); }

/* Product roundup / review block: [fw_product] */
.fw-product {
  position: relative; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem 2rem;
  margin: 2.5rem 0; padding: 1.5rem; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white);
}
.fw-product__badge {
  position: absolute; top: -1px; left: 1.5rem; transform: translateY(-50%); margin: 0; padding: .3rem .8rem;
  background: var(--green); color: var(--black); border-radius: 999px;
  font-family: var(--display); font-size: .85rem; font-weight: 750; line-height: 1.2;
}
.fw-product__media a { display: block; line-height: 0; }
.fw-product__media img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); border-radius: var(--radius); }
.fw-product__title { margin: 0 0 .35rem; font-family: var(--display); font-size: 1.45rem; font-weight: 760; font-stretch: 106%; line-height: 1.15; color: var(--black); }
.fw-rating { display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-family: var(--display); font-size: .95rem; font-weight: 650; color: var(--gray-600); }
.fw-stars {
  --pct: calc(var(--rating, 0) / 5 * 100%);
  background: linear-gradient(90deg, var(--green) var(--pct), var(--gray-300) var(--pct));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  font-size: 1.3rem; letter-spacing: .08em; line-height: 1;
}
.fw-product__desc { font-size: 1.025rem; line-height: 1.65; }
.fw-product__desc > :last-child { margin-bottom: 0; }
.fw-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 1.1rem 0 1.4rem; font-family: var(--display); font-size: .95rem; }
.fw-proscons p { margin: 0 0 .4rem; font-weight: 750; color: var(--black); }
.fw-proscons ul { margin: 0; padding: 0; list-style: none; }
.fw-proscons li { position: relative; margin: 0 0 .4rem; padding-left: 1.5rem; line-height: 1.4; }
.fw-proscons li::before { content: ""; position: absolute; left: 0; top: .3em; width: .9rem; height: .9rem; background: var(--green); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.fw-proscons .fw-cons li::before { background: var(--black); clip-path: polygon(14% 0, 50% 36%, 86% 0, 100% 14%, 64% 50%, 100% 86%, 86% 100%, 50% 64%, 14% 100%, 0 86%, 36% 50%, 0 14%); }
.fw-product .btn { margin-top: .25rem; }
.fw-button-wrap { margin: 1.75rem 0; }
@media (max-width: 720px) {
  .fw-product { grid-template-columns: 1fr; padding: 1.25rem; }
  .fw-product__media img { aspect-ratio: 4 / 3; }
  .fw-proscons { grid-template-columns: 1fr; }
  .fw-product .btn { display: flex; }
}

/* Tags, post nav, related */
.entry__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; font-family: var(--display); font-size: .9rem; }
.entry__tags a { display: inline-block; padding: .3rem .75rem; border: 1px solid var(--gray-300); border-radius: 999px; color: var(--black); text-decoration: none; }
.entry__tags a:hover { border-color: var(--black); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; font-family: var(--display); }
.post-nav a { display: block; padding: 1rem 1.1rem; border: 2px solid var(--gray-100); border-radius: var(--radius); color: var(--black); text-decoration: none; font-weight: 700; line-height: 1.3; }
.post-nav a:hover { border-color: var(--black); }
.post-nav small { display: block; margin-bottom: .25rem; font-weight: 600; color: var(--gray-600); }
.post-nav__next { text-align: right; }
.related { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: clamp(2rem, 5vw, 3.5rem); border-top: 3px solid var(--black); }

/* Comments */
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-100); font-family: var(--display); }
.comments__title { font-size: 1.5rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.25rem; border-left: 2px solid var(--gray-100); }
.comment-body { margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; }
.comment-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: .35rem; font-size: .875rem; color: var(--gray-600); }
.comment-author { font-weight: 700; color: var(--black); }
.comment-author img { display: inline; margin-right: .5rem; border-radius: 50%; vertical-align: middle; }
.comment-author .fn { font-style: normal; }
.comment-form label { display: block; margin-bottom: .25rem; font-weight: 650; font-size: .95rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.fw-form input[type="text"], .fw-form input[type="email"], .fw-form textarea {
  width: 100%; padding: .75em .9em; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white);
  font: inherit; font-family: var(--display); font-size: 1rem; color: var(--black);
}
.comment-form p { margin-bottom: 1rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: baseline; font-size: .9rem; }
.comment-form-cookies-consent label { display: inline; font-weight: 500; }

/* Contact form */
.fw-form { max-width: 34rem; margin: 2rem 0; font-family: var(--display); }
.fw-form p { margin-bottom: 1.1rem; }
.fw-form label { display: block; margin-bottom: .3rem; font-weight: 650; }
.fw-form textarea { min-height: 9rem; resize: vertical; }
.fw-form .fw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fw-notice { max-width: 34rem; margin: 1.5rem 0; padding: .9rem 1.1rem; border-left: 4px solid var(--green); background: var(--gray-50); font-family: var(--display); }
.fw-notice--error { border-left-color: var(--black); }

/* Sitemap shortcode */
.fw-sitemap h3 { margin-top: 2rem; }
.fw-sitemap ul { columns: 2 18rem; column-gap: 2rem; padding-left: 1.2em; }
.fw-sitemap li { break-inside: avoid; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: clamp(2rem, 5vw, 4rem); background: var(--gray-50); border-top: 3px solid var(--black); font-family: var(--display); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.site-footer .site-logo img { height: 3rem; }
.site-footer__blurb { max-width: 20rem; margin: 1rem 0 0; font-size: .95rem; line-height: 1.55; color: var(--gray-600); }
.site-footer h2 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 760; font-stretch: 104%; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--black); font-size: .95rem; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.site-footer a:hover { color: var(--green-deep); }
.site-footer__base { border-top: 1px solid var(--gray-300); padding-block: 1.25rem 2rem; font-size: .875rem; color: var(--gray-600); }
.site-footer__base p { margin: 0 0 .35rem; }
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Misc
   ========================================================================== */
.wp-caption { max-width: 100%; }
.alignwide { max-width: 100%; }
.sticky .card__title::before { content: "Featured: "; color: var(--green-deep); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .share, .pin-save, .related, .comments, .post-nav { display: none !important; }
  body { font-size: 12pt; }
}
