/*
Theme Name: Weed Whistle
Theme URI: https://weedwhistle.com/
Author: Weed Whistle
Description: A field-guide theme for weedwhistle.com. The homepage is an identification book that builds itself from weed profiles: a three-step key, "Showing up in…" by the visitor's month, plates by chapter, often-confused pairs, an A–Z index and the Journal. Weed profiles with a fixed plan, Weed Finder with six filters, photo credits, Site pages tool for legal pages. Classic theme for the Classic Editor.
Version: 1.1.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weed-whistle
Tags: blog, custom-menu, custom-logo, featured-images, theme-options, translation-ready, two-columns, right-sidebar
*/

/* ---------- Tokens ---------- */
:root {
	--chrome: #174A2C;
	--chrome-ink: #FFFFFF;
	--chrome-muted: color-mix(in srgb, var(--chrome) 22%, #FFFFFF);
	--accent: #FFB3CC;
	--accent-ink: #0F2418;
	--ground: #F4F8F5;
	--surface: #FFFFFF;
	--ink: #0F2418;
	--muted: color-mix(in srgb, var(--ink) 74%, var(--ground));
	--line: color-mix(in srgb, var(--chrome) 16%, #FFFFFF);
	--link: #1F6E3F;
	--leaf: color-mix(in srgb, var(--chrome) 72%, #4FC27A);
	--opt: color-mix(in srgb, var(--chrome) 88%, #FFFFFF);
	--opt-line: color-mix(in srgb, var(--chrome) 70%, #FFFFFF);
	--ph: color-mix(in srgb, var(--chrome) 12%, #FFFFFF);
	--ph-ink: color-mix(in srgb, var(--chrome) 55%, #FFFFFF);
	--tag: color-mix(in srgb, var(--chrome) 10%, #FFFFFF);
	--tag-ink: var(--chrome);
	--warn: #FFF1D6;
	--warn-line: #C9952B;
	--danger: #9B2C1F;
	--fh: 'Merriweather', Georgia, 'Times New Roman', serif;
	--fb: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--r: 6px;
	--read: 760px;
	--wrap: 1180px;
	--logo-h: 44px;
	--logo-h-phone: 34px;
	--logo-text: 24px;
	--flogo-h: 40px;
	--plogo-h: 32px;
}
.ww-system-fonts {
	--fh: Georgia, 'Times New Roman', serif;
	--fb: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--fb); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ww-head :focus-visible, .ww-key :focus-visible, .ww-foot :focus-visible, .ww-keypanel :focus-visible, .ww-tabs :focus-visible { outline-color: var(--accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ww-skip:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; margin: 0; padding: 12px 16px; background: var(--surface); color: var(--ink); border-radius: var(--r); font-weight: 700; }
[hidden] { display: none !important; }
.ww-ic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.ww-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.ww-center { text-align: center; margin: 24px 0 0; }
.ww-sci { font-style: italic; color: var(--muted); }
.ww-count { font-weight: 400; color: var(--muted); }
.ww-only-phone { display: none !important; }

/* ---------- Buttons, chips, pills ---------- */
.ww-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r); border: 0; background: var(--ink); color: var(--ground); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.ww-btn:hover { text-decoration: none; filter: brightness(1.05); }
.ww-btn--accent { background: var(--accent); color: var(--accent-ink); }
.ww-btn--ink { background: var(--ink); color: var(--ground); }
.ww-btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.ww-btn--line:hover { background: var(--surface); }
.ww-iconbtn { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--chrome-muted); background: transparent; color: var(--chrome-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ww-iconbtn:hover { background: color-mix(in srgb, var(--chrome-ink) 12%, transparent); }
.ww-pill { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--tag); color: var(--tag-ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.ww-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 15px; line-height: 1.25; text-decoration: none; cursor: pointer; }
.ww-chip:hover { border-color: var(--chrome); text-decoration: none; }
.ww-chip.is-on, .ww-chip[aria-pressed="true"] { background: var(--chrome); border-color: var(--chrome); color: var(--chrome-ink); }
.ww-chip__n { color: var(--muted); font-size: 13px; }
.ww-chip.is-on .ww-chip__n, .ww-chip[aria-pressed="true"] .ww-chip__n { color: inherit; }
.ww-chip__x { font-size: 18px; line-height: 1; }
.ww-dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(15, 36, 24, .25); flex: 0 0 auto; }
.ww-more { font-weight: 700; white-space: nowrap; }

/* ---------- Header: field-guide tabs ---------- */
.ww-head { background: var(--chrome); color: var(--chrome-ink); }
.ww-sticky .ww-head { position: sticky; top: 0; z-index: 50; }
.admin-bar.ww-sticky .ww-head { top: 32px; }
.ww-head__bar { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.ww-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.ww-brand__link { display: inline-flex; align-items: center; gap: 10px; color: var(--chrome-ink); text-decoration: none; min-width: 0; }
.ww-brand__link:hover { text-decoration: none; }
.ww-mark { color: var(--accent); }
.ww-wordmark { font-family: var(--fh); font-weight: 900; font-size: var(--logo-text); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.ww-hl { color: var(--accent); }
.ww-logo { display: block; height: var(--logo-h); width: auto; }
.ww-tagline { margin: 0; padding-left: 14px; border-left: 1px solid var(--chrome-muted); color: var(--chrome-muted); font-size: 14px; line-height: 1.3; }
.ww-tagline.is-alone { padding-left: 0; border-left: 0; }
.ww-head__actions { display: flex; align-items: center; gap: 10px; }
.ww-search { background: var(--chrome); color: var(--chrome-ink); padding: 8px 0 24px; }
.ww-search .ww-searchform { max-width: 640px; }
.ww-tabs { background: var(--chrome); }
.ww-tabs__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 4px 0 0; list-style: none; }
.ww-tabs__list a { display: block; padding: 11px 18px 10px; border-radius: var(--r) var(--r) 0 0; background: color-mix(in srgb, var(--ground) 86%, var(--chrome)); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; }
.ww-tabs__list a:hover { background: var(--ground); }
.ww-tabs__list .current-menu-item > a, .ww-tabs__list a[aria-current] { background: var(--ground); font-weight: 700; box-shadow: inset 0 3px 0 var(--accent); }
.ww-head--simple .ww-brand { margin-right: 0; }
.ww-simplenav { margin-left: auto; }
.ww-simplenav__list { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.ww-simplenav__list a { color: var(--chrome-ink); font-weight: 600; text-decoration: none; padding: 10px 0; display: block; }
.ww-simplenav__list a:hover, .ww-simplenav__list .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.ww-simplenav__list .ww-count { color: var(--chrome-muted); }
.ww-below { background: var(--tag); padding: 10px 0; font-size: 15px; }
.ww-below .ww-widget { margin: 0; padding: 0; border: 0; background: none; }

/* ---------- Phone menu: Key ---------- */
.ww-keypanel { position: fixed; inset: 0; z-index: 200; background: var(--chrome); color: var(--chrome-ink); overflow-y: auto; overscroll-behavior: contain; }
.ww-keypanel__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; position: sticky; top: 0; background: var(--chrome); border-bottom: 1px solid var(--opt-line); }
.ww-keypanel__brand { display: inline-flex; align-items: center; gap: 10px; }
.ww-keypanel__brand .ww-wordmark { font-size: 22px; }
.ww-plogo { height: var(--plogo-h); width: auto; display: block; }
.ww-keypanel__body { padding: 20px 16px 48px; }
.ww-keypanel__title { margin: 0 0 12px; font-family: var(--fh); font-weight: 700; font-size: 22px; }
.ww-keypanel__types { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.ww-keypanel__types a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--opt); border: 1.5px solid var(--opt-line); color: var(--chrome-ink); text-decoration: none; }
.ww-keypanel__types .ww-ic { grid-row: 1 / 3; }
.ww-keypanel__tname { font-weight: 700; font-size: 17px; }
.ww-keypanel__thint { grid-column: 2; font-size: 14px; color: var(--chrome-muted); line-height: 1.35; }
.ww-keypanel__types .ww-count { grid-column: 3; grid-row: 1 / 3; color: var(--accent); font-weight: 700; }
.ww-keypanel__list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--opt-line); }
.ww-keypanel__list a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--opt-line); color: var(--chrome-ink); font-weight: 600; font-size: 17px; text-decoration: none; }
.ww-keypanel__list .ww-count { color: var(--chrome-muted); }
.ww-keypanel__search { margin-bottom: 28px; }
.ww-keypanel__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ww-keypanel__trust a { color: var(--chrome-ink); }
body.ww-locked { overflow: hidden; }

/* ---------- Search form ---------- */
.ww-searchform { display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.ww-searchform__label { font-size: 14px; font-weight: 600; }
.ww-searchform__row { display: flex; gap: 8px; }
.ww-searchform input[type="search"] { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 16px; }
.ww-searchform .ww-btn { min-height: 50px; }
.ww-search .ww-btn--ink, .ww-keypanel .ww-btn--ink { background: var(--accent); color: var(--accent-ink); }

/* ---------- Homepage: cover + key ---------- */
.ww-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; padding-top: 56px; align-items: start; }
.ww-cover--solo { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--read) + 80px); }
.ww-cover__text { padding-top: 12px; }
.ww-cover__h1 { margin: 0; font-family: var(--fh); font-weight: 900; font-size: 44px; line-height: 1.15; letter-spacing: -0.015em; }
.ww-cover__sub { margin: 18px 0 28px; font-size: 18px; color: var(--muted); max-width: 30em; }
.ww-key { position: relative; overflow: hidden; background: var(--chrome); color: var(--chrome-ink); border-radius: calc(var(--r) * 1.6); padding: 32px; scroll-margin-top: 100px; }
.ww-key > * { position: relative; }
.ww-key__decor { position: absolute !important; right: -40px; bottom: -70px; width: 190px; height: 300px; opacity: .13; stroke-width: 2.2; pointer-events: none; }
.ww-key__title { margin: 0; font-family: var(--fh); font-weight: 700; font-size: 24px; line-height: 1.25; }
.ww-key__intro { margin: 6px 0 22px; color: var(--chrome-muted); font-size: 15px; }
.ww-key__q { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--chrome-muted); display: flex; justify-content: space-between; gap: 12px; }
.ww-key__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ww-key__type { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: var(--r); background: var(--opt); border: 1.5px solid var(--opt-line); color: var(--chrome-ink); text-decoration: none; }
.ww-key__type:hover { border-color: var(--accent); text-decoration: none; }
.ww-key__type.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.ww-key__name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.ww-key__hint { font-size: 14px; color: var(--chrome-muted); line-height: 1.35; }
.ww-key__n { font-size: 14px; font-weight: 700; color: var(--accent); }
.ww-key__step + .ww-key__step { margin-top: 16px; }
.ww-key__step.is-waiting .ww-key__q { margin: 0; padding: 12px 16px; border-radius: var(--r); border: 1.5px dashed var(--opt-line); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--chrome-ink); }
.ww-key__wait { color: var(--chrome-muted); font-weight: 400; white-space: nowrap; }
.ww-key__step:not(.is-waiting) .ww-key__wait { display: none; }
.ww-key__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ww-key .ww-chip { background: transparent; border-color: var(--opt-line); color: var(--chrome-ink); }
.ww-key .ww-chip:hover { border-color: var(--accent); }
.ww-key .ww-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ww-key .ww-chip__n { color: var(--chrome-muted); }
.ww-key .ww-chip[aria-pressed="true"] .ww-chip__n { color: var(--accent-ink); }
.ww-key .ww-chip--skip { border-style: dashed; }
.ww-key__go { margin: 20px 0 0; }
.ww-key__go a { color: var(--chrome-ink); font-weight: 700; font-size: 16px; }
.ww-key__go a.is-ready { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); text-decoration: none; }

/* ---------- Homepage sections ---------- */
.ww-sec { padding-top: 96px; }
.ww-sec--last { padding-bottom: 112px; }
.ww-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ww-sec__head--tight { align-items: baseline; margin-bottom: 16px; }
.ww-sec__title { margin: 0; font-family: var(--fh); font-weight: 700; font-size: 30px; line-height: 1.2; }
.ww-sec__title a { color: inherit; text-decoration: none; }
.ww-sec__title--sm { font-size: 24px; margin-bottom: 18px; }
.ww-sec__head .ww-sec__title--sm { margin-bottom: 0; }
.ww-sec__intro { margin: 6px 0 0; color: var(--muted); }
.ww-now__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ww-now__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ww-now__item:hover { border-color: var(--chrome); text-decoration: none; }
.ww-now__img { width: 96px; height: 96px; border-radius: calc(var(--r) * .7); overflow: hidden; display: block; }
.ww-now__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ww-now__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ww-now__name { font-family: var(--fh); font-weight: 700; font-size: 19px; line-height: 1.25; }
.ww-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--ph); color: var(--ph-ink); }

/* Plates */
.ww-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ww-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ww-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ww-plate { min-width: 0; }
.ww-plate__link { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; }
.ww-plate__link:hover { border-color: var(--chrome); text-decoration: none; }
.ww-plate__link:hover .ww-plate__name { text-decoration: underline; text-decoration-color: var(--leaf); }
.ww-hole { display: none; }
.ww-plate__img { display: block; aspect-ratio: 4 / 3; background: var(--ph); overflow: hidden; }
.ww-plate__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ww-plate__body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.ww-plate__no { font-size: 13px; color: var(--muted); }
.ww-plate__name { margin: 0; font-family: var(--fh); font-weight: 700; font-size: 18px; line-height: 1.25; }
.ww-plate__body .ww-sci { font-size: 14px; }
.ww-plate__meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.ww-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.ww-seg__btn { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.ww-seg__btn[aria-selected="true"] { background: var(--ink); color: var(--ground); font-weight: 700; }
.ww-seg__btn[aria-selected="true"] .ww-count { color: inherit; }
.ww-panel + .ww-panel { margin-top: 56px; }
.is-tabbed .ww-panel + .ww-panel { margin-top: 0; }
.ww-panel__title { margin: 0 0 16px; font-family: var(--fh); font-weight: 700; font-size: 22px; }
.is-tabbed .ww-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.ww-panel:focus-visible { outline-offset: 8px; }

/* Often confused */
.ww-pair { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ww-pair:hover { border-color: var(--chrome); text-decoration: none; }
.ww-pair__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ww-pair__pic { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: calc(var(--r) * .7); overflow: hidden; background: var(--ph); }
.ww-pair__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ww-pair__tag { position: absolute; left: 10px; bottom: 10px; padding: 2px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; }
.ww-pair__title { display: block; font-family: var(--fh); font-weight: 700; font-size: 20px; line-height: 1.25; }
.ww-pair__tell { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }

/* A–Z */
.ww-azbox { padding: 28px 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ww-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.ww-letters a, .ww-letters span { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); font-weight: 700; }
.ww-letters__on { background: var(--tag); color: var(--tag-ink); text-decoration: none; }
.ww-letters__on:hover { background: var(--chrome); color: var(--chrome-ink); text-decoration: none; }
.ww-letters__off { color: var(--muted); opacity: .5; font-weight: 400 !important; }

/* Journal cards */
.ww-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ww-card__img { display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ph); }
.ww-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ww-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ww-kicker a { color: var(--muted); text-decoration: none; }
.ww-card__title { margin: -6px 0 0; font-family: var(--fh); font-weight: 700; font-size: 19px; line-height: 1.3; }
.ww-card__title a { color: var(--ink); text-decoration: none; }
.ww-card__title a:hover { text-decoration: underline; text-decoration-color: var(--leaf); }

/* ---------- Footer: herbarium label ---------- */
.ww-foot { background: var(--chrome); color: var(--chrome-ink); font-size: 16px; }
.ww-foot a { color: var(--chrome-ink); }
.ww-foot .ww-wrap { padding-top: 64px; }
.ww-label { border: 1.5px solid var(--chrome-muted); border-radius: var(--r); padding: 8px 28px; }
.ww-label__row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid color-mix(in srgb, var(--chrome-muted) 55%, var(--chrome)); }
.ww-label__row:last-child { border-bottom: 0; }
.ww-label__k { margin: 0; padding-top: 3px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--chrome-muted); }
.ww-label__v > :first-child { margin-top: 0; }
.ww-label__v--small { font-size: 15px; }
.ww-foot__brand { margin: 0; display: flex; align-items: center; gap: 10px; }
.ww-foot__brand .ww-wordmark { font-size: 22px; }
.ww-flogo { height: var(--flogo-h); width: auto; display: block; }
.ww-foot__mission { margin: 8px 0 0; color: var(--chrome-muted); max-width: 46em; }
.ww-foot__mission a { font-weight: 600; white-space: nowrap; }
.ww-inline { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.ww-foot__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 24px 0 32px; font-size: 14px; color: var(--chrome-muted); }
.ww-foot__bar p { margin: 0; }
.ww-foot__barlegal { flex: 1 1 auto; }
.ww-foot__barlegal .ww-inline { gap: 4px 16px; }
.ww-foot__barlegal a { color: var(--chrome-muted); }
.ww-foot__top { font-weight: 700; margin-left: auto; }
.ww-social { display: flex; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ww-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--chrome-muted); }
.ww-side .ww-social a, .ww-entry .ww-social a { border-color: var(--line); color: var(--ink); }
/* Columns footer */
.ww-fcols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--opt-line); }
.ww-fcol .ww-widget__title { font-family: var(--fb); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--chrome-muted); margin: 0 0 12px; }
.ww-flist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ww-fcol .ww-widget { background: none; border: 0; padding: 0; color: inherit; }
/* Centered footer */
.ww-foot--centered .ww-wrap { text-align: center; }
.ww-foot--centered .ww-foot__brand, .ww-foot--centered .ww-inline, .ww-foot--centered .ww-social { justify-content: center; }
.ww-foot--centered .ww-foot__mission { margin: 10px auto 24px; }
.ww-foot--centered .ww-foot__bar { margin-top: 32px; border-top: 1px solid var(--opt-line); }

/* ---------- Reading column (posts, profiles, pages) ---------- */
.ww-read-wrap { max-width: calc(var(--read) + 80px); padding-top: 36px; padding-bottom: 96px; }
.ww-read { width: 100%; }
.ww-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ww-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.ww-crumbs__sep { display: inline-flex; color: var(--leaf); }
.ww-phead { margin-top: 28px; }
.ww-phead__kicker { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }
.ww-phead__kicker a { color: var(--muted); }
.ww-platepill { padding: 4px 12px; border-radius: 999px; background: var(--chrome); color: var(--chrome-ink); font-weight: 700; }
.ww-phead__title { margin: 12px 0 0; font-family: var(--fh); font-weight: 900; font-size: 46px; line-height: 1.1; letter-spacing: -0.015em; }
.ww-phead__title--post { font-size: 40px; line-height: 1.15; }
.ww-phead__sci { margin: 6px 0 0; font-family: var(--fh); font-style: italic; font-size: 21px; color: var(--muted); }
.ww-phead__other { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.ww-phead__dek { margin: 14px 0 0; font-size: 19px; color: var(--muted); }
.ww-badges { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 1.3; }
.ww-badges a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--tag); color: var(--tag-ink); font-weight: 600; text-decoration: none; }
.ww-badges a:hover { background: var(--chrome); color: var(--chrome-ink); }
.ww-byline { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.ww-byline a { color: var(--muted); }
.ww-photo { margin: 28px 0 0; }
.ww-photo img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.ww-photo figcaption, .ww-entry figcaption, .ww-entry .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.ww-credit { white-space: normal; }
.ww-credit a { color: var(--muted); }

/* Entry content: one column for text, images, embeds and tables. */
.ww-entry { margin-top: 28px; font-size: 17px; line-height: 1.7; }
.ww-entry > * { max-width: 100%; }
.ww-entry :where(p, ul, ol, dl, blockquote, figure, table, pre) { margin: 0 0 18px; }
.ww-entry :where(ul, ol) { padding-left: 22px; }
.ww-entry :where(li) { margin-bottom: 6px; }
.ww-entry :where(h2) { margin: 44px 0 16px; font-family: var(--fh); font-weight: 700; font-size: 28px; line-height: 1.25; scroll-margin-top: 100px; }
.ww-entry :where(h3) { margin: 32px 0 12px; font-size: 20px; line-height: 1.3; scroll-margin-top: 100px; }
.ww-entry :where(blockquote) { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--leaf); font-family: var(--fh); font-style: italic; }
.ww-entry :where(img, video, embed, object) { max-width: 100%; height: auto; }
.ww-entry :where(img) { border-radius: var(--r); }
.ww-entry :where(iframe) { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
.ww-entry :where(.wp-caption, figure, .wp-video, .wp-audio-shortcode, .gallery) { width: auto !important; max-width: 100% !important; }
.ww-entry :where(.wp-video) { width: 100% !important; }
.ww-entry :where(.alignleft) { float: left; margin: 6px 24px 12px 0; max-width: 50%; }
.ww-entry :where(.alignright) { float: right; margin: 6px 0 12px 24px; max-width: 50%; }
.ww-entry :where(.aligncenter) { display: block; margin-left: auto; margin-right: auto; }
.ww-entry :where(table) { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.ww-entry :where(th, td) { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.ww-entry :where(th) { background: var(--tag); }
.ww-entry :where(pre) { overflow-x: auto; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.ww-entry::after { content: ""; display: table; clear: both; }
.ww-entry .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ww-entry .gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ww-entry .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ww-entry .gallery-item { margin: 0; }
.ww-entry .gallery-item img { width: 100%; height: auto; display: block; }
.ww-entry .gallery br { display: none; }

/* Field notes (contents): a stem with sections as alternate leaves */
.ww-notes { margin: 8px 0 36px; padding: 22px 24px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ww-notes__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ww-notes__title { margin: 0 !important; font-family: var(--fh); font-weight: 700; font-size: 18px; }
.ww-notes__count { margin: 0 !important; font-size: 14px; color: var(--muted); }
.ww-notes__stem { position: relative; list-style: none; margin: 0 !important; padding: 0 !important; }
.ww-notes__stem::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; }
.ww-notes__leaf { position: relative; width: 50%; margin: 0 !important; font-size: 16px; line-height: 1.35; }
.ww-notes__leaf + .ww-notes__leaf { margin-top: -12px !important; }
.ww-notes__leaf.is-l { padding-right: 14px; display: flex; justify-content: flex-end; text-align: right; }
.ww-notes__leaf.is-r { margin-left: 50% !important; padding-left: 14px; }
.ww-notes__leaf.is-sub { margin-left: 50% !important; padding-left: 52px; font-size: 15px; }
.ww-notes__leaf a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink); text-decoration: none; }
.ww-notes__leaf.is-l a { flex-direction: row-reverse; }
.ww-notes__leaf a:hover .ww-notes__label { text-decoration: underline; text-decoration-color: var(--leaf); }
.ww-notes__blade { width: 24px; height: 12px; flex: 0 0 24px; background: var(--line); border-radius: 0 100% 0 100%; transition: background .2s; }
.ww-notes__leaf.is-l .ww-notes__blade { border-radius: 100% 0 100% 0; }
.ww-notes__leaf.is-sub .ww-notes__blade { width: 14px; flex-basis: 14px; height: 8px; }
.ww-notes__leaf.is-current a { color: var(--link); font-weight: 700; }
.ww-notes__leaf.is-current .ww-notes__blade { background: var(--leaf); }

/* Profile parts */
.ww-check { padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.ww-check__title { margin: 0 0 12px !important; font-weight: 700; }
.ww-check__list { margin: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.ww-check__list > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.ww-check__list > div:first-child { border-top: 0; padding-top: 0; }
.ww-check__list dt { font-weight: 700; }
.ww-check__list dd { margin: 0; }
.ww-looks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.ww-look { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--warn); border: 1.5px solid var(--warn-line); }
.ww-look__img { display: block; aspect-ratio: 1 / 1; border-radius: calc(var(--r) * .7); overflow: hidden; background: var(--ph); }
.ww-look__img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.ww-look__img .ww-ph { background: color-mix(in srgb, var(--warn-line) 18%, #FFFFFF); color: var(--warn-line); }
.ww-look__name { margin: 0 !important; font-weight: 700; }
.ww-look__name .ww-sci { font-weight: 400; margin-left: 4px; }
.ww-look__tell { margin: 4px 0 0 !important; font-size: 16px; }
.ww-cal { margin-bottom: 10px; }
.ww-cal__months { list-style: none; margin: 0 0 10px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.ww-cal__months li { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 !important; }
.ww-cal__bar { width: 100%; height: 28px; border-radius: 4px; background: color-mix(in srgb, var(--line) 55%, var(--ground)); }
.ww-cal__months .is-s .ww-cal__bar, .ww-cal__sw.is-s { background: color-mix(in srgb, var(--leaf) 38%, #FFFFFF); }
.ww-cal__months .is-f .ww-cal__bar, .ww-cal__sw.is-f { background: var(--leaf); }
.ww-cal__m { font-size: 12px; color: var(--muted); }
.ww-cal__key { display: flex; gap: 18px; margin: 0 !important; font-size: 14px; color: var(--muted); }
.ww-cal__key span { display: inline-flex; align-items: center; gap: 6px; }
.ww-cal__sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.ww-cal__note { font-size: 15px; color: var(--muted); }
.ww-remove { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; font-size: 16px; line-height: 1.6; }
.ww-remove--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ww-remove--1 { grid-template-columns: minmax(0, 1fr); }
.ww-remove__card { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ww-remove__card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--fb); font-size: 17px; }
.ww-remove__card h3 .ww-ic { color: var(--leaf); }
.ww-remove__card p:last-child { margin-bottom: 0; }
.ww-safety { padding: 18px 22px; border-radius: var(--r); background: var(--tag); margin-bottom: 18px; }
.ww-safety--danger { background: #FDF1EC; border: 1.5px solid #E4A48E; }
.ww-safety__flags { list-style: none; margin: 0 0 12px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.ww-safety__flags li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.ww-safety__flags .is-edible { color: var(--link); }
.ww-safety__flags .is-toxic_people, .ww-safety__flags .is-toxic_pets, .ww-safety__flags .is-skin { color: var(--danger); }
.ww-safety__more { margin: 0 !important; font-size: 15px; }
.ww-sources { font-size: 16px; }
.ww-report { margin-top: 36px !important; padding: 14px 18px; border: 1.5px dashed var(--line); border-radius: var(--r); font-size: 15px; }
.ww-postnote { margin: 32px 0 0; padding: 14px 18px; border-radius: var(--r); background: var(--tag); font-size: 15px; }
.ww-tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.ww-tags a { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.ww-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--tag); margin: 0 0 18px; }
.ww-note .ww-ic { color: var(--leaf); margin-top: 3px; }
.ww-note--warning { background: var(--warn); border: 1.5px solid var(--warn-line); }
.ww-note--warning .ww-ic { color: var(--warn-line); }
.ww-note__title { margin: 0 0 4px !important; font-weight: 700; }
.ww-note p:last-child { margin-bottom: 0; }
.ww-inplates { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 0 0 18px; }
.ww-inplates--one { grid-template-columns: minmax(0, 280px); }
.ww-inplates .ww-plate__name { font-size: 17px; }

/* Author box, prev/next, related */
.ww-author { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; margin-top: 48px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ww-avatar { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 999px; overflow: hidden; background: var(--ph); }
.ww-avatar--square { border-radius: var(--r); }
.ww-avatar img, .ww-avatar__img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; border-radius: 0; }
.ww-author__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ww-author__name { margin: 2px 0 0; font-family: var(--fh); font-weight: 700; font-size: 20px; line-height: 1.3; }
.ww-author__bio { margin: 8px 0 0; font-size: 16px; }
.ww-author__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 14px 0 0; font-size: 15px; }
.ww-after { margin-top: 32px; }
.ww-pagenav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; font-size: 15px; line-height: 1.4; }
.ww-pagenav a { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.ww-pagenav a:hover { border-color: var(--chrome); }
.ww-pagenav span { color: var(--muted); }
.ww-pagenav__next { text-align: right; grid-column: 2; }
.ww-related { margin-top: 56px; }
.ww-related .ww-grid3 { gap: 18px; }
.ww-comments { margin-top: 48px; }

/* ---------- Finder ---------- */
.ww-finder__head { padding: 48px 0 24px; max-width: var(--read); }
.ww-finder__title { margin: 0; font-family: var(--fh); font-weight: 900; font-size: 40px; line-height: 1.15; letter-spacing: -0.01em; }
.ww-finder__intro { margin: 12px 0 0; font-size: 18px; color: var(--muted); }
.ww-finder__head .ww-searchform { margin-top: 24px; }
.ww-filters { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 4px 20px 8px; }
.ww-filters summary { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.ww-filters summary::-webkit-details-marker { display: none; }
.ww-filters summary::after { content: ""; width: 10px; height: 10px; margin-left: auto; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.ww-filters[open] summary::after { transform: rotate(-135deg); }
.ww-filters__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ww-filters__label { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.ww-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ww-finder__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0; }
.ww-finder__count { margin: 0; font-weight: 700; }
.ww-finder { padding-bottom: 96px; }
.ww-none { padding: 32px 0; max-width: var(--read); }
.ww-none h2 { margin: 0 0 8px; font-family: var(--fh); font-size: 26px; }
.ww-catchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--chrome); border-color: var(--chrome); color: var(--chrome-ink); }

/* ---------- Journal, sidebar, widgets ---------- */
.ww-journal, .ww-search-page, .ww-404, .ww-az, .ww-full { padding-bottom: 96px; }
.ww-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.ww-layout--left { grid-template-columns: 320px minmax(0, 1fr); }
.ww-layout--left .ww-side { order: -1; }
.ww-layout--none { grid-template-columns: minmax(0, 1fr); }
.ww-grid2--cards { row-gap: 40px; }
.ww-side { display: flex; flex-direction: column; gap: 24px; }
.ww-widget { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.ww-widget > :last-child { margin-bottom: 0; }
.ww-widget__title { margin: 0 0 12px; font-family: var(--fh); font-weight: 700; font-size: 18px; line-height: 1.3; }
.ww-widget ul { padding-left: 18px; }
.ww-wlist { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.ww-wlist a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.ww-wlist__img { width: 56px; height: 56px; border-radius: var(--r); overflow: hidden; display: block; }
.ww-wlist__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ww-wlist__t { display: block; font-weight: 600; line-height: 1.35; }
.ww-wlist .ww-sci { display: block; font-size: 13px; }
.ww-wkey { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.ww-wkey a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border-radius: var(--r); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.ww-wkey a:hover { border-color: var(--chrome); }
.ww-wkey .ww-ic { color: var(--leaf); }
.ww-wkey .ww-count { margin-left: auto; }
.ww-wauthor { display: flex; align-items: center; gap: 14px; container-type: inline-size; }
.ww-wauthor .ww-avatar { flex: 0 0 72px; width: 72px; height: 72px; }
@container (max-width: 220px) { .ww-wauthor { flex-direction: column; align-items: flex-start; } }
.ww-news { display: flex; flex-direction: column; gap: 8px; }
.ww-news input { height: 46px; padding: 0 12px; border-radius: var(--r); border: 1.5px solid var(--line); }

/* Search results */
.ww-results { max-width: 900px; }
.ww-result { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ww-result__img { display: block; width: 96px; height: 96px; border-radius: var(--r); overflow: hidden; }
.ww-result__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ww-result__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.ww-result__title { margin: 2px 0; font-family: var(--fh); font-size: 21px; line-height: 1.3; }
.ww-result__title a { color: var(--ink); text-decoration: none; }
.ww-result__title a:hover { text-decoration: underline; }
.ww-result p { margin: 0; }

/* A–Z page */
.ww-az .ww-letters { margin-bottom: 40px; }
.ww-az__groups { columns: 3 300px; column-gap: 48px; }
.ww-az__group { break-inside: avoid; margin-bottom: 32px; scroll-margin-top: 100px; }
.ww-az__letter { margin: 0 0 8px; font-family: var(--fh); font-weight: 900; font-size: 34px; line-height: 1; color: var(--chrome); }
.ww-az__list { list-style: none; margin: 0; padding: 0; }
.ww-az__list li { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; font-size: 16px; }
.ww-az__list .is-sci a { font-style: italic; }
.ww-az__list .is-main a { font-weight: 700; }
.ww-az__see { color: var(--muted); font-size: 14px; white-space: nowrap; }
.ww-az__dots { flex: 1 1 auto; min-width: 12px; border-bottom: 1px dotted var(--muted); transform: translateY(-4px); }
.ww-az__plate { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }

/* Fine print (legal) */
.ww-fine__head { margin-top: 28px; }
.ww-fine__head .ww-pill { margin-bottom: 0; }
.ww-fine__label { margin: 24px 0 0; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ww-fine__label > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ww-fine__label > div:last-child { border-bottom: 0; }
.ww-fine__label dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ww-fine__label dd { margin: 0; font-size: 15px; }
.ww-fine__toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 32px; }
.ww-fine__toc li { margin-bottom: 4px; break-inside: avoid; }
.ww-fine__body :where(h2) { display: flex; align-items: flex-start; gap: 12px; }
.ww-fine__no { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; margin-top: 2px; border-radius: 0 50% 0 50%; background: var(--chrome); color: var(--chrome-ink); font-family: var(--fb); font-size: 14px; font-weight: 700; }
.ww-credits { list-style: none; margin: 0; padding: 0 !important; }
.ww-credits li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ww-credits img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r); display: block; }
.ww-credits p { margin: 0 !important; }
.ww-credits__t { font-weight: 700; }
.ww-credits__used { color: var(--muted); }
.ww-pages { margin: 24px 0; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.ww-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ww-cover { gap: 36px; }
	.ww-key__types { grid-template-columns: minmax(0, 1fr); }
	.ww-key__type { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
	.ww-key__type .ww-ic { grid-row: 1 / 3; }
	.ww-key__type .ww-key__hint { grid-column: 2; }
	.ww-key__type .ww-key__n { grid-column: 3; grid-row: 1 / 3; }
	.ww-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
	.ww-fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.ww-cover { grid-template-columns: minmax(0, 1fr); }
	.ww-now__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ww-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ww-layout, .ww-layout--left { grid-template-columns: minmax(0, 1fr); }
	.ww-layout--left .ww-side { order: 0; }
}
@media (max-width: 782px) {
	.admin-bar.ww-sticky .ww-head { top: 46px; }
}
@media (max-width: 760px) {
	.ww-wrap { padding-left: 16px; padding-right: 16px; }
	.ww-only-desk { display: none !important; }
	.ww-only-phone { display: inline-flex !important; }
	.ww-head__bar { min-height: 64px; gap: 10px; }
	.ww-logo { height: var(--logo-h-phone); }
	.ww-wordmark { font-size: min(var(--logo-text), 21px); }
	.ww-mark { width: 26px; height: 26px; }
	.ww-tagline { display: none; }
	.ww-head .ww-btn { padding: 0 14px; }
	.ww-cover { padding-top: 28px; gap: 28px; }
	.ww-cover__h1 { font-size: 32px; }
	.ww-cover__sub { font-size: 17px; }
	.ww-key { padding: 22px 18px; }
	.ww-sec { padding-top: 64px; }
	.ww-sec--last { padding-bottom: 72px; }
	.ww-sec__head { flex-direction: column; align-items: flex-start; }
	.ww-sec__title { font-size: 26px; }
	.ww-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ww-plate__body { padding: 10px 12px 12px; }
	.ww-plate__name { font-size: 16px; }
	.ww-plate__meta { flex-wrap: wrap; }
	.ww-grid3, .ww-grid2 { grid-template-columns: minmax(0, 1fr); }
	.ww-seg { width: 100%; }
	.ww-seg__btn { flex: 1 1 auto; padding: 0 10px; }
	.ww-azbox { padding: 20px 16px; }
	.ww-letters a, .ww-letters span { width: 40px; height: 40px; }
	.ww-label { padding: 4px 18px; }
	.ww-label__row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 0; }
	.ww-foot .ww-wrap { padding-top: 40px; }
	.ww-fcols { grid-template-columns: minmax(0, 1fr); }
	.ww-read-wrap { padding-top: 20px; padding-bottom: 64px; }
	.ww-phead__title { font-size: 34px; }
	.ww-phead__title--post { font-size: 30px; }
	.ww-phead__sci { font-size: 18px; }
	.ww-entry { font-size: 17px; }
	.ww-entry :where(h2) { font-size: 24px; }
	.ww-notes { padding: 18px 16px 14px; }
	.ww-notes__stem::before { left: 11px; }
	.ww-notes__leaf, .ww-notes__leaf.is-l, .ww-notes__leaf.is-r { width: auto; margin-left: 0 !important; padding: 0; display: block; text-align: left; }
	.ww-notes__leaf + .ww-notes__leaf { margin-top: 0 !important; }
	.ww-notes__leaf.is-sub { padding-left: 28px; margin-left: 0 !important; width: auto; }
	.ww-notes__leaf.is-l a { flex-direction: row; }
	.ww-notes__leaf .ww-notes__blade, .ww-notes__leaf.is-l .ww-notes__blade { border-radius: 0 100% 0 100%; margin-left: 12px; }
	.ww-check__list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.ww-look { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
	.ww-remove, .ww-remove--2 { grid-template-columns: minmax(0, 1fr); }
	.ww-author { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 18px; }
	.ww-author .ww-avatar { width: 64px; height: 64px; flex-basis: 64px; }
	.ww-pagenav { grid-template-columns: minmax(0, 1fr); }
	.ww-pagenav__next { grid-column: auto; }
	.ww-finder__head { padding-top: 28px; }
	.ww-finder__title { font-size: 30px; }
	.ww-filters { padding: 2px 14px 6px; }
	.ww-filters__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ww-filters__label { margin: 0; }
	.ww-finder__bar { flex-direction: column; align-items: flex-start; gap: 8px; }
	.ww-result { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
	.ww-result__img { width: 64px; height: 64px; }
	.ww-fine__label > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.ww-cal__months { gap: 2px; }
	.ww-entry .gallery, .ww-entry .gallery-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ww-entry :where(.alignleft, .alignright) { float: none; margin: 0 0 18px; max-width: 100%; }
	.ww-foot__top { margin-left: 0; }
}
@media (max-width: 360px) {
	.ww-wordmark { font-size: 18px; }
	.ww-head .ww-brand .ww-mark { display: none; }
	.ww-head .ww-btn { padding: 0 10px; }
	.ww-grid4 { gap: 10px; }
	.ww-letters a, .ww-letters span { width: 36px; height: 36px; }
}

/* ---------- Print ---------- */
@media print {
	.ww-head, .ww-tabs, .ww-keypanel, .ww-foot, .ww-notes, .ww-pagenav, .ww-related, .ww-author, .ww-side { display: none !important; }
	body { background: #fff; }
}

/* Comment form */
.comment-form { display: flex; flex-direction: column; gap: 12px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; max-width: 100%; padding: 10px 12px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); }
.comment-form .submit { min-height: 44px; padding: 0 20px; border-radius: var(--r); border: 0; background: var(--ink); color: var(--ground); font-weight: 700; cursor: pointer; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }
.ww-pill a { color: inherit; }
