/*
Theme Name: Whataburger Menu Online
Theme URI: https://whataburgermenuonline.com/
Author: Shami
Description: Custom theme for whataburgermenuonline.com, an independent fan guide to the Whataburger menu. "Menu Board" design: real store prices with the store and date, exact calories, nutrition and allergen tables, calorie calculator. Not affiliated with Whataburger. WP-Flash v5.23 | SerpZenith.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: whataburger-menu-online
License: Proprietary
*/

/* ===== 1. Tokens ===== */
@font-face { font-family: "Anton"; src: url("assets/fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
	--color-primary: #FF7300;
	--color-primary-bright: #FF8A26;
	--color-secondary: #E76D0E;
	--color-accent: #1F1A17;
	--color-accent-dark: #000000;
	--color-background: #FFFFFF;
	--color-surface: #FFFFFF;
	--color-soft: #FDF3E9;
	--color-border: #F3E2D1;
	--color-text: #141210;
	--color-text-muted: #6B5E55;
	--color-link: #B84A00;
	--color-success: #0F7A52;
	--on-primary: #141210;
	--on-accent: #FF7300;
	--font-heading: "Anton", Impact, "Arial Narrow", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 14px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--spacing-section: 56px;
	--spacing-unit: 24px;
	--container: 1240px;
	--container-text: 780px;
	--shadow: 0 10px 30px rgba(20, 18, 16, .16);
	--shadow-sm: 0 4px 14px rgba(20, 18, 16, .07);
}

/* ===== 2. Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font-family: var(--font-body); font-size: 17px; line-height: 1.7; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--color-link); text-underline-offset: 3px; }
a:hover { color: var(--color-text); }
h1, h2, h3, h4 { color: var(--color-accent); margin: 0 0 .45em; line-height: 1.08; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; letter-spacing: .005em; text-transform: uppercase; }
h1 { font-size: clamp(36px, 5.6vw, 64px); }
h2 { font-size: clamp(28px, 3.8vw, 42px); margin-top: 1.5em; }
h3 { font-family: var(--font-body); font-weight: 800; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.3; margin-top: 1.4em; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 18px; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--color-accent); color: #fff; padding: 10px 14px; border-radius: 8px; width: auto; height: auto; clip: auto; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== 3. Header (design section 01-nav) ===== */
.site-header { background: #fff; border-bottom: 2px solid var(--color-primary); position: sticky; top: 0; z-index: 30; }
.site-header .container { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.logo { text-decoration: none; color: var(--color-accent); line-height: 1.05; display: inline-flex; align-items: center; gap: 10px; }
.logo:hover { color: var(--color-accent); }
.logo-mark { width: 36px; height: 36px; flex: 0 0 36px; }
.logo b { font-family: var(--font-heading); font-weight: 400; font-size: 26px; display: block; letter-spacing: .01em; }
.logo small { display: block; color: var(--color-secondary); font-weight: 700; font-size: 13px; }
.main-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.main-nav a { color: var(--color-accent); text-decoration: none; font-weight: 600; font-size: 16px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-secondary); }
.site-search { margin-left: auto; display: flex; align-items: center; gap: 8px; border: 1px solid #d9d4cf; border-radius: 10px; padding: 0 12px; background: #fafafa; min-width: 260px; }
.site-search svg { color: var(--color-text-muted); flex: 0 0 18px; }
.site-search input { border: 0; background: transparent; font: inherit; font-size: 15px; padding: 10px 0; width: 100%; outline: 0; color: var(--color-text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--color-accent); border-radius: 10px; padding: 7px 12px; font: 700 15px var(--font-body); cursor: pointer; color: var(--color-accent); }
.search-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--color-accent); }

/* ===== 4. Footer (design section 11-footer) ===== */
.site-footer { background: #221C19; color: #F5EDE6; margin-top: var(--spacing-section); padding: 48px 0 26px; font-size: 15px; }
.site-footer a { color: #F5EDE6; text-decoration: none; opacity: .88; }
.site-footer a:hover { opacity: 1; color: #FFB067; text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-cols h2 { font-family: var(--font-body); text-transform: none; font-size: 15px; font-weight: 800; color: #fff; margin: 0 0 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 6px 0; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: #FFB067; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; font-size: 14px; opacity: .9; }
.footer-legal a { color: #FFB067; opacity: 1; }

/* ===== 5. Page shell ===== */
.entry { padding-bottom: 12px; }
.entry > :where(p, ul, ol, h2, h3, h4, .table-wrap, .callout, .answer, figure, details, .wp-block-html, .wb-card, .wb-board) { max-width: var(--container-text); margin-left: auto; margin-right: auto; }
.entry > :where(p, ul, ol, h2, h3, h4) { padding-left: 20px; padding-right: 20px; }
.entry > .table-wrap, .entry > .callout, .entry > .answer { width: calc(100% - 40px); }
.page-hero { background: var(--color-soft); padding-top: 34px; padding-bottom: 30px; border-bottom: 1px solid var(--color-border); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { font-size: 19px; max-width: 760px; margin-bottom: 0; }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--color-text-muted); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-link); text-decoration: underline; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--color-text-muted); margin: 8px 0 0; }
.byline a { color: var(--color-text); font-weight: 700; text-decoration: none; }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--color-accent); background: #FFE8D1; padding: 4px 10px; border-radius: var(--radius-pill); }

/* ===== 6. Menu-board components ===== */
.pill, .wb-pill { display: inline-block; background: var(--color-primary); color: var(--on-primary); font-weight: 800; border-radius: 10px; padding: 3px 12px; font-size: 18px; white-space: nowrap; line-height: 1.5; }
.pill-w { background: #fff; color: var(--color-link); }
.cal, .wb-cal { color: var(--color-text-muted); font-size: 15px; white-space: nowrap; }
.num-badge { display: inline-block; background: var(--color-primary); color: var(--on-primary); font-weight: 800; border-radius: 10px; min-width: 52px; text-align: center; padding: 4px 8px; font-size: 17px; }
.stamp { display: inline-block; transform: rotate(-8deg); border: 3px double var(--color-link, #B84A00); color: var(--color-link, #B84A00); font-weight: 900; font-size: 13px; line-height: 1.15; text-align: center; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.94); letter-spacing: .05em; text-transform: uppercase; }
.wb-checked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--color-text-muted); margin: 10px 0 0; }

/* price table (design section 04-burger-prices) */
.wb-board { background: var(--color-soft); border-radius: var(--radius); padding: 24px 26px; margin: 1.4em auto; }
.wb-board > h2, .wb-board > h3 { margin-top: 0; }
.wb-rows { list-style: none; margin: 0; padding: 0; }
.wb-rows li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 9px 0; margin: 0; border-bottom: 1px dashed #e8d3bf; }
.wb-rows li:last-child { border-bottom: 0; }
.wb-rows .nm { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 17px; }
.wb-rows .nm a { color: var(--color-text); text-decoration: none; }
.wb-rows .nm a:hover { color: var(--color-link); text-decoration: underline; }
.wb-rows .nm::after { content: ""; flex: 1; border-bottom: 2px dotted #c9b8a8; transform: translateY(4px); min-width: 12px; }
.wb-rows .meal { grid-column: 2 / -1; font-size: 13px; color: var(--color-text-muted); margin-top: -6px; }
.wb-rows .lto { font-size: 11px; font-weight: 800; color: var(--color-link); border: 1.5px solid var(--color-primary); border-radius: 6px; padding: 0 5px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.wb-board .wb-checked { margin-top: 14px; }

/* item card (answer pages) */
.wb-card { position: relative; background: #fff; border: 2px solid var(--color-primary); border-radius: var(--radius); padding: 22px 24px; margin: 1.2em auto 1.6em; box-shadow: var(--shadow-sm); }
.wb-card .stamp { position: absolute; top: -18px; right: 14px; }
.wb-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.wb-card-top strong { font-size: 22px; font-weight: 800; }
.wb-card .meal-line { margin: 10px 0 0; font-size: 16px; }
.wb-card .wb-checked { margin-top: 12px; }
.wb-card .whats { margin: 12px 0 0; font-size: 15px; color: var(--color-text); }
.wb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 16px 0 0; }
.wb-facts div { background: var(--color-soft); border-radius: 10px; padding: 10px 12px; }
.wb-facts b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--color-accent); }
.wb-facts span { font-size: 13px; color: var(--color-text-muted); }
.allergen-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.allergen-chips li { margin: 0; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); background: #FFE3E0; color: #8A1C12; }
.allergen-chips li.free { background: #E4F4EC; color: #0B5E3E; }

/* ===== 7. Content components ===== */
.answer { background: #fff; border: 1px solid var(--color-border); border-left: 6px solid var(--color-primary); border-radius: var(--radius-sm); padding: 18px 22px; font-size: 18px; margin-bottom: 1.4em; }
.answer p:last-child { margin: 0; }
.callout { background: var(--color-soft); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.4em auto; }
.callout-title { font-weight: 800; margin: 0 0 6px; }
.callout ul { margin: 0; padding-left: 20px; }
.table-wrap { overflow-x: auto; margin: 1.2em auto 1.6em; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 10px 13px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-muted); background: #FFF8F1; }
td.n, th.n { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
tr.hl td { background: #FFF1E0; }
caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--color-text-muted); padding: 10px 13px; }
details.faq { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 15px 20px; margin: 0 auto 10px; }
details.faq summary { font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--color-secondary); font-size: 24px; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 10px 0 0; color: var(--color-text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.chips li { margin: 0; }
.chips a { display: inline-block; text-decoration: none; border: 2px solid var(--color-border); background: #fff; border-radius: var(--radius-pill); padding: 7px 15px; font-weight: 700; color: var(--color-text); font-size: 15px; }
.chips a:hover { border-color: var(--color-primary); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 1.2em 0; }
.card { display: block; background: var(--color-soft); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--color-text); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--color-text); }
.card-title { display: block; font-family: var(--font-heading); font-size: 22px; text-transform: uppercase; color: var(--color-accent); margin-bottom: 2px; }
.card-text { display: block; font-size: 14px; color: var(--color-text-muted); }
.card-go { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--color-link); }
.author-box { display: flex; gap: 18px; background: var(--color-soft); border-radius: var(--radius); padding: 22px; margin: 2em auto; max-width: var(--container-text); }
.author-box .av { flex: 0 0 58px; height: 58px; border-radius: 50%; background: var(--color-primary); color: var(--color-accent); display: grid; place-items: center; font-family: var(--font-heading); font-size: 24px; }
.author-box p { font-size: 15px; color: var(--color-text-muted); margin: 0 0 6px; }
.sources { font-size: 14px; color: var(--color-text-muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; padding: 11px 24px; font-weight: 800; text-decoration: none; border: 2px solid var(--color-accent); background: transparent; color: var(--color-accent); cursor: pointer; font-size: 16px; font-family: var(--font-body); }
.btn:hover { background: var(--color-soft); color: var(--color-accent); }
.btn-dark { background: var(--color-accent); color: var(--color-primary); }
.btn-dark:hover { background: #000; color: var(--color-primary-bright); }
.btn-o { background: var(--color-primary); border-color: var(--color-primary); color: var(--on-primary); }
.btn-o:hover { background: var(--color-primary-bright); border-color: var(--color-primary-bright); color: var(--on-primary); }
.toc { max-width: var(--container-text); margin: 0 auto 1.4em; padding: 14px 20px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; }
.toc summary { font-weight: 800; cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-left: 20px; }

/* ===== 8. Homepage sections (design 02-10) ===== */
.home-hero { background: var(--color-primary); padding: 54px 0 62px; }
.home-hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; }
.home-hero h1 { color: var(--color-text); font-size: clamp(40px, 6vw, 76px); margin: 0 0 .25em; }
.home-hero .lead { font-size: clamp(18px, 2vw, 22px); color: var(--color-text); max-width: 600px; margin: 0 0 24px; }
.home-hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art img, .hero-art .ph { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--radius); display: block; background: linear-gradient(135deg, #ffb36b, #ff9a3c); }
.proof { position: absolute; left: 16%; right: -4px; bottom: -24px; background: #fff; border-radius: 14px; padding: 15px 20px; box-shadow: var(--shadow); }
.proof .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-right: 110px; }
.proof strong { font-size: 22px; font-weight: 800; }
.proof .src { color: var(--color-text-muted); font-size: 14px; margin-top: 4px; }
.proof .stamp { position: absolute; top: -32px; right: -8px; }
.home-section { padding: 38px 0; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.cats li { margin: 0; }
.cats a { display: block; background: var(--color-soft); border-radius: var(--radius); text-decoration: none; color: var(--color-accent); padding: 12px 12px 14px; text-align: center; height: 100%; }
.cats a:hover { box-shadow: var(--shadow-sm); }
.cats img, .cats .ph { aspect-ratio: 4/3; width: 100%; object-fit: contain; border-radius: 10px; margin-bottom: 8px; background: transparent; }
.cats .ph { background: linear-gradient(135deg, #FFE3C8, #FFD0A3); }
.cats span { font-family: var(--font-heading); font-size: 21px; text-transform: uppercase; }
.cats-2 { grid-template-columns: repeat(5, 1fr); margin-top: 14px; }
.board-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: center; }
.board-split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.items3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; list-style: none; padding: 0; }
.items3 li { margin: 0; display: grid; gap: 10px; }
.items3 img, .items3 .ph { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 10px; }
.items3 .ph { background: linear-gradient(135deg, #FFE3C8, #FFD0A3); }
.items3 .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 18px; }
.items3 .meta a { color: var(--color-text); text-decoration: none; }
.band-o { background: var(--color-primary); border-radius: var(--radius); padding: 26px 28px; }
.band-o h2 { color: var(--color-text); margin-top: 0; }
.band-o .meta a { color: var(--color-text); }
.band-cream { background: var(--color-soft); border-radius: var(--radius); padding: 26px 28px; }
.band-cream h2 { margin-top: 0; }
.split3 { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; align-items: center; }
.split3 img { border-radius: 10px; }
.split2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: center; }
.states { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.states li { margin: 0; background: #fff; border-radius: 12px; text-align: center; padding: 12px; font-weight: 700; color: var(--color-accent); }
.states b { display: block; color: var(--color-secondary); font-family: var(--font-heading); font-weight: 400; font-size: 34px; line-height: 1.05; }
.home-copy { max-width: 820px; }
.home-copy p { margin-bottom: 14px; }

/* ===== 9. Ads: reserved space, never above the first price ===== */
.ad-slot { max-width: var(--container); margin: 26px auto; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ad-slot ins { display: block; width: 100%; }
.ad-label { display: block; text-align: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }

/* ===== 10. Calorie calculator ===== */
.wb-calc { background: #fff; border: 2px solid var(--color-primary); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); max-width: 980px; margin: 1.4em auto; }
.wb-calc-tabs { display: flex; gap: 6px; background: var(--color-soft); border-radius: var(--radius-pill); padding: 4px; margin: 0 0 16px; }
.wb-calc-tabs button { flex: 1; border: 0; background: transparent; border-radius: var(--radius-pill); padding: 10px 8px; font: 800 15px var(--font-body); color: var(--color-text-muted); cursor: pointer; }
.wb-calc-tabs button[aria-selected="true"] { background: var(--color-primary); color: var(--on-primary); }
.wb-calc label { display: block; font-size: 13px; font-weight: 700; color: var(--color-text-muted); margin: 10px 0 6px; }
.wb-calc select, .wb-calc input[type="number"] { width: 100%; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; padding: 11px 12px; font: 500 16px var(--font-body); color: var(--color-text); }
.wb-calc .add-row { display: grid; grid-template-columns: 1fr 90px auto; gap: 10px; align-items: end; }
.wb-calc .btn { min-height: 46px; padding: 9px 18px; }
.wb-calc ul.order { list-style: none; padding: 0; margin: 14px 0 0; }
.wb-calc ul.order li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--color-border); margin: 0; }
.wb-calc ul.order button { border: 0; background: none; color: var(--color-link); font-weight: 700; cursor: pointer; }
.wb-calc .totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.wb-calc .totals div { background: var(--color-soft); border-radius: 10px; padding: 12px; }
.wb-calc .totals b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 30px; line-height: 1.1; }
.wb-calc .totals span { font-size: 13px; color: var(--color-text-muted); }
.wb-calc .parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 18px; }
.wb-calc .parts fieldset { border: 1px solid var(--color-border); border-radius: 10px; padding: 8px 12px 10px; margin: 0; }
.wb-calc .parts legend { font-weight: 800; font-size: 14px; padding: 0 4px; }
.wb-calc .parts label { display: flex; align-items: center; gap: 8px; color: var(--color-text); font-weight: 500; margin: 4px 0; font-size: 15px; }
.wb-calc .note { font-size: 13px; color: var(--color-text-muted); margin: 12px 0 0; }

/* ===== 10b. Flash Blocks FAQ + figures in our style ===== */
.wpf-faq { background: var(--color-soft); border-radius: var(--radius); max-width: var(--container-text); margin: 40px auto; padding: 26px 24px; }
.wpf-faq .wpf-inner { padding: 0 !important; max-width: none !important; }
.wpf-faq h2 { margin-top: 0; }
.wpf-faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 14px 18px; margin: 10px 0 0; }
.wpf-faq-item summary { font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.wpf-faq-item summary::-webkit-details-marker { display: none; }
.wpf-faq-item summary::after { content: ""; flex: 0 0 10px; width: 10px; height: 10px; margin-top: 6px; border-right: 2.5px solid var(--color-secondary); border-bottom: 2.5px solid var(--color-secondary); transform: rotate(45deg); transition: transform .15s; }
.wpf-faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.wpf-faq-item p { margin: 10px 0 0; }
.page-hero figure { max-width: var(--container-text); margin: 18px auto 0; }
.page-hero figure img { width: 100%; height: auto; max-height: 380px; object-fit: cover; border-radius: var(--radius); }
.page-hero figcaption { font-size: 12px; margin-top: 4px; }

/* ===== 11. Responsive ===== */
@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; background: #fff; border-bottom: 2px solid var(--color-primary); padding: 8px 20px 16px; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 2px; }
	.main-nav a { display: block; padding: 10px 0; font-size: 17px; }
	.site-search { min-width: 0; flex: 1; max-width: 340px; }
	.cats { grid-template-columns: repeat(6, 1fr); gap: 10px; }
	.cats-2 { grid-template-columns: repeat(5, 1fr); }
	.cats a { padding: 8px 8px 10px; }
	.cats span { font-size: 17px; }
	.states { grid-template-columns: repeat(3, 1fr); }
	.footer-cols { grid-template-columns: 1fr 1fr 1fr; }
	.split3 { grid-template-columns: 1fr; }
	.split3 > div:first-child, .split3 > div:last-child { display: none; }
}
@media (max-width: 760px) {
	.site-header .container { gap: 12px; min-height: 64px; }
	.main-nav { top: 64px; }
	.logo b { font-size: 21px; }
	.logo-mark { width: 30px; height: 30px; flex-basis: 30px; }
	.site-search { display: none; position: absolute; left: 0; right: 0; top: 64px; margin: 0; border-radius: 0; background: #fff; max-width: none; padding: 6px 16px; border: 0; border-bottom: 2px solid var(--color-primary); }
	.site-search.open { display: flex; }
	.search-toggle { display: inline-flex; margin-left: auto; }
	.nav-toggle { margin-left: 0; }
	.home-hero { padding: 30px 0 58px; }
	.home-hero .container, .board-split, .split3, .split2 { grid-template-columns: 1fr; }
	.proof { left: 8px; right: 8px; }
	.board-split img { display: none; }
	.wb-rows li { grid-template-columns: auto 1fr auto; row-gap: 2px; }
	.wb-rows .wb-cal { grid-column: 2 / -1; }
	.items3 { grid-template-columns: 1fr; }
	.band-o .items3 li { grid-template-columns: 110px 1fr; align-items: center; }
	.band-o .items3 .meta { flex-direction: column; align-items: flex-start; }
	.cats, .cats-2 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.cats a { padding: 6px 6px 8px; border-radius: 10px; }
	.cats img, .cats .ph { margin-bottom: 4px; }
	.cats span { font-size: 14px; }
	.home-hero h1 { font-size: 38px; }
	.home-hero .lead { font-size: 17px; margin-bottom: 16px; }
	.home-hero .ctas .btn { min-height: 44px; padding: 9px 16px; font-size: 15px; }
	.hero-art img { aspect-ratio: 16/8; }
	.proof { position: relative; left: auto; right: auto; bottom: auto; margin: -36px 10px 0; }
	.proof .row { padding-right: 70px; }
	.proof .stamp { top: -20px; right: -2px; font-size: 11px; }
	.page-hero figure img { max-height: 220px; }
	.states { grid-template-columns: repeat(2, 1fr); }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.wb-board, .band-o, .band-cream { padding: 20px 16px; }
	.wb-calc .add-row { grid-template-columns: 1fr 80px; }
	.wb-calc .add-row .btn { grid-column: 1 / -1; }
	body { font-size: 16px; }
	table { font-size: 14px; }
	th, td { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== 12. Custom data sections inside page content ===== */
.entry > section.container { padding-top: 40px; padding-bottom: 6px; }
.entry > section.container > :is(h2, h3, p, ul, ol, .callout, .answer, nav, h1, .byline, details.toc, details.faq) { max-width: var(--container-text); margin-left: auto; margin-right: auto; }
.entry > section.container > h2:first-child { margin-top: 0; }
.entry > section.container > :is(.table-wrap, .wb-board, .wb-calc, figure, .card-grid) { max-width: 1000px; margin-left: auto; margin-right: auto; }
.entry > section.container > .wb-card { max-width: var(--container-text); margin-left: auto; margin-right: auto; }
.entry > .author-box { margin-top: 44px; }

/* FAQ panel: beats flash-blocks.css (.wpf-s resets margin/background and loads after this file) */
section.wpf-s.wpf-faq { background: var(--color-soft); border-radius: var(--radius); max-width: var(--container-text); margin: 40px auto !important; padding: 26px 24px; }
section.wpf-s.wpf-faq .wpf-inner { padding: 0 !important; max-width: none !important; }
section.wpf-s.wpf-faq .wpf-faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 14px 18px; margin: 10px 0 0; }
section.wpf-s.wpf-faq .wpf-faq-item p { margin: 10px 0 0; color: var(--color-text); }

/* 1.0.4: author box breathing room on phones and laptops (layout check) */
.author-box { padding: 24px 26px; }
@media (min-width: 900px) { .author-box { padding: 28px 40px; } }
