/* Football Stadium Guide
 * Palette: pitch #1f5e3b, paper #f6f8f7, floodlight #f2c230, slate #23303a, line #d5dbd8, moss #5c6b66
 * Type: Archivo (variable width, headings), Public Sans (text). Self-hosted.
 * The one loud element is the ground facts panel; everything else stays quiet.
 */

@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/public-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/public-sans-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/public-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/public-sans-latin-700-normal.woff2) format("woff2"); }

:root {
  --pitch: #1f5e3b;
  --pitch-deep: #17482d;
  --paper: #f6f8f7;
  --flood: #f2c230;
  --slate: #23303a;
  --line: #d5dbd8;
  --moss: #5c6b66;
  --white: #fff;
  --display: "Archivo", "Arial", sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gap: clamp(16px, 2.4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--slate); font: 400 17px/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pitch); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pitch-deep); }
:focus-visible { outline: 3px solid var(--flood); outline-offset: 2px; box-shadow: 0 0 0 5px var(--slate); }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 100%; line-height: 1.1; margin: 0; color: var(--slate); }
p { margin: 0 0 1em; }

.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; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--white); color: var(--pitch); z-index: 100; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }

/* Masthead ---------------------------------------------------------------- */
.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.masthead-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { flex: 0 0 auto; }
.brand img { max-height: 48px; width: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate); }
.wordmark:hover { color: var(--slate); }
.wordmark-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.wordmark-name { font: 800 20px/1 var(--display); font-stretch: 112%; letter-spacing: -.01em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a { display: block; white-space: nowrap; padding: 8px 10px; color: var(--slate); text-decoration: none; font: 600 15px/1.2 var(--text); border-radius: 4px; }
.nav-list a:hover { background: var(--paper); color: var(--pitch); }
.nav-list .current-menu-item > a, .nav-list .current-cat > a { color: var(--pitch); box-shadow: inset 0 -3px 0 var(--flood); border-radius: 0; }
.nav-list .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { display: block; }
.nav-search .search-form { display: flex; }
.nav-search .search-field { width: 128px; border: 1px solid var(--line); border-right: 0; padding: 7px 10px; font: inherit; font-size: 15px; border-radius: 4px 0 0 4px; background: var(--paper); }
.nav-search .search-submit { border: 0; background: var(--pitch); color: var(--white); font: 600 14px var(--text); padding: 0 12px; cursor: pointer; border-radius: 0 4px 4px 0; }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; position: relative; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--slate); content: ""; }
.menu-toggle-bars { top: 20px; }
.menu-toggle-bars::before { top: -6px; left: 0; right: 0; }
.menu-toggle-bars::after { top: 6px; left: 0; right: 0; }

/* Ground finder (home) ------------------------------------------------------ */
.finder {
  background-color: var(--pitch);
  /* halfway line and centre circle, drawn faintly on the right */
  background-image:
    radial-gradient(circle at 82% 50%, transparent 0 129px, rgba(255,255,255,.14) 130px 132px, transparent 133px),
    radial-gradient(circle at 82% 50%, rgba(255,255,255,.18) 0 5px, transparent 6px),
    linear-gradient(90deg, transparent calc(82% - 1px), rgba(255,255,255,.14) calc(82% - 1px) calc(82% + 1px), transparent calc(82% + 1px)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 80px, transparent 80px 160px);
  color: var(--white);
}
.finder-inner { padding-top: clamp(40px, 7vw, 76px); padding-bottom: clamp(36px, 6vw, 64px); }
.finder-title { color: var(--white); font-weight: 800; font-stretch: 115%; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.02; letter-spacing: -.02em; max-width: 17ch; }
.finder-lede { font-size: 19px; color: #d7e6dc; max-width: 54ch; margin: 16px 0 26px; }
.finder-form { display: flex; max-width: 640px; background: var(--white); border-radius: 6px; padding: 5px; }
.finder-form input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: 400 18px var(--text); color: var(--slate); background: transparent; }
.finder-form input:focus { outline: none; }
.finder-form:focus-within { box-shadow: 0 0 0 3px var(--flood); }
.finder-form button { border: 0; border-radius: 4px; background: var(--flood); color: var(--slate); font: 800 16px var(--display); font-stretch: 105%; padding: 0 20px; cursor: pointer; }
.finder-form button:hover { background: #ffd34d; }
.finder-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.finder-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: var(--white); text-decoration: none; font: 600 15px/1 var(--text); }
.finder-chips a:hover { background: var(--white); color: var(--pitch); }
.finder-chips span { font-size: 13px; opacity: .75; }

/* Blocks ------------------------------------------------------------------------ */
.front-block { padding: 44px 0 8px; }
.front-intro { padding: 32px 0 0; }
.block-title { font: 800 26px/1.1 var(--display); font-stretch: 108%; margin-bottom: 20px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--moss); }
.empty-state h2 { font-size: 30px; margin-bottom: 8px; }
.empty-note { color: var(--moss); padding: 24px 0; }

.grid { display: grid; gap: 36px var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }

/* Cards ------------------------------------------------------------------------- */
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: #e3e9e6; border-radius: 4px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-empty { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(90deg, #dfe7e2 0 40px, #e8eee9 40px 80px); }
.card-capacity { position: absolute; left: 0; bottom: 0; background: var(--flood); color: var(--slate); padding: 6px 10px 5px; font: 500 13px/1 var(--text); border-top-right-radius: 4px; }
.card-capacity b { font: 800 17px/1 var(--display); font-stretch: 100%; font-variant-numeric: tabular-nums; }
.card-body { padding-top: 14px; }
.card-section { font: 600 13px/1 var(--text); color: var(--moss); text-decoration: none; }
.card-section:hover { color: var(--pitch); text-decoration: underline; }
.card-title { font-size: 22px; font-weight: 750; margin: 8px 0 6px; line-height: 1.15; }
.card-title a { color: var(--slate); text-decoration: none; }
.card-title a:hover { color: var(--pitch); text-decoration: underline; text-decoration-thickness: 2px; }
.card-place { margin: 0; color: var(--moss); font-size: 15px; }
.card-excerpt { color: #3d4a52; font-size: 15px; margin-bottom: 6px; }
.card-meta { font-size: 13px; color: var(--moss); margin: 0; }
.card--row { flex-direction: row; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.card--row .card-media { flex: 0 0 168px; aspect-ratio: 4 / 3; }
.card--row .card-body { padding-top: 0; }
.card--row .card-title { font-size: 20px; margin-top: 6px; }

/* A to Z ------------------------------------------------------------------------- */
.az { padding: 48px 0 24px; }
.az-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px var(--gap); align-items: start; }
.az-league { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px 8px; }
.az-league-name { font-size: 19px; font-weight: 800; font-stretch: 108%; margin-bottom: 8px; }
.az-league-name a { color: var(--slate); text-decoration: none; }
.az-league-name a:hover { color: var(--pitch); text-decoration: underline; }
.az-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.az-table th { text-align: left; font: 600 12px/1 var(--text); color: var(--moss); padding: 8px 0; border-bottom: 1px solid var(--line); }
.az-table td { padding: 9px 0; border-bottom: 1px solid #eaeeec; vertical-align: top; }
.az-table tr:last-child td { border-bottom: 0; }
.az-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }
.az-table a { text-decoration: none; color: var(--slate); display: block; }
.az-table a:hover .az-club { color: var(--pitch); text-decoration: underline; }
.az-club { font-weight: 600; display: block; }
.az-stadium { color: var(--moss); font-size: 14px; }

/* Listing pages -------------------------------------------------------------------- */
.listing-head { padding: 22px 0 30px; max-width: 760px; }
.listing-title { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; line-height: 1.02; }
.listing-desc { color: #3d4a52; font-size: 18px; margin-top: 12px; }
.listing-desc p:last-child { margin-bottom: 0; }
.listing-count { display: inline-block; margin: 14px 0 0; padding: 4px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--moss); }
.listing-search { margin-top: 16px; max-width: 520px; }

/* Breadcrumbs ------------------------------------------------------------------------ */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 18px 0 0; padding: 0; font-size: 14px; color: var(--moss); }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #b5bfba; }
.breadcrumbs a { color: var(--moss); }
.breadcrumbs [aria-current] { color: var(--slate); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

/* Guide (single) ---------------------------------------------------------------------- */
.guide-head { padding: 18px 0 26px; max-width: 820px; }
.guide-section { font: 600 14px var(--text); color: var(--pitch); text-decoration: none; }
.guide-section:hover { text-decoration: underline; }
.guide-title { font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; font-stretch: 110%; letter-spacing: -.015em; line-height: 1.03; margin: 8px 0 14px; }
.guide-standfirst { font-size: 20px; line-height: 1.5; color: #3d4a52; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--moss); margin: 0; }
.guide-meta a { color: var(--slate); font-weight: 600; text-decoration: none; }

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "media facts" "body facts" "body side";
  grid-template-rows: auto auto 1fr;
  gap: 0 calc(var(--gap) * 1.4);
  align-items: start;
}
.guide:not(.guide--ground) .guide-grid { grid-template-areas: "media side" "body side"; grid-template-rows: auto 1fr; }
.guide-media { grid-area: media; margin: 0 0 28px; }
.guide-media img { border-radius: 4px; width: 100%; }
.guide-media figcaption { font-size: 14px; color: var(--moss); padding-top: 8px; }
.guide-facts { grid-area: facts; margin-bottom: 28px; }
.guide-body { grid-area: body; min-width: 0; }
.guide-side { grid-area: side; }
.guide-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--slate); font-size: 14px; text-decoration: none; }
.related { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.guide-comments { max-width: 720px; }

/* Ground facts panel: the signature element. Reads like stadium wayfinding. */
.facts { background: var(--slate); color: #e8eeeb; border-radius: 6px; overflow: hidden; }
.facts-head { background: var(--flood); color: var(--slate); padding: 16px 20px 14px; }
.facts-title { font-size: 25px; font-weight: 850; font-stretch: 118%; line-height: 1.05; letter-spacing: -.01em; }
.facts-city { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.facts-capacity { margin: 0; padding: 18px 20px 6px; display: flex; align-items: baseline; gap: 10px; }
.facts-capacity-num { font: 800 54px/1 var(--display); font-stretch: 80%; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.facts-capacity-label { font-size: 15px; color: #a9b6b0; }
.facts-list { margin: 0; padding: 4px 20px 0; }
.facts-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid #364550; }
.facts-row dt { font-size: 13px; color: #a9b6b0; padding-top: 2px; }
.facts-row dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.4; }
.facts-row--station dd::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--flood); margin-right: 8px; vertical-align: 1px; }
.facts-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 0; margin: 0; }
.facts-btn { display: inline-block; padding: 9px 14px; border-radius: 4px; background: var(--flood); color: var(--slate); font: 800 14px var(--display); font-stretch: 105%; text-decoration: none; }
.facts-btn:hover { background: #ffd34d; color: var(--slate); }
.facts-btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px #56656e; }
.facts-btn--ghost:hover { background: #2e3d48; color: var(--white); }
.facts-checked { margin: 0; padding: 14px 20px 16px; font-size: 13px; color: #8f9d97; }

/* Sidebar -------------------------------------------------------------------------- */
.sidebar { display: grid; gap: 28px; }
.popular .block-title { font-size: 20px; margin-bottom: 8px; }
.popular-list { list-style: none; margin: 0; padding: 0; }
.popular-list li { padding: 11px 0; border-top: 1px solid var(--line); }
.popular-list a { font-weight: 600; color: var(--slate); text-decoration: none; line-height: 1.35; display: block; }
.popular-list a:hover { color: var(--pitch); text-decoration: underline; }
.popular-list span { font-size: 13px; color: var(--moss); }
.widget-title { font: 800 20px/1.1 var(--display); margin-bottom: 10px; }

/* Article body ------------------------------------------------------------------- */
.entry-content { font-size: 18px; line-height: 1.7; max-width: 70ch; }
.entry-content--wide { max-width: none; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 29px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; margin-top: 1.7em; margin-bottom: .55em; scroll-margin-top: 16px; }
.entry-content h3 { font-size: 22px; font-weight: 750; margin-top: 1.5em; margin-bottom: .45em; }
.entry-content blockquote { margin: 1.6em 0; padding: 16px 20px; background: var(--white); border-left: 4px solid var(--pitch); border-radius: 0 4px 4px 0; font-size: 19px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; font-style: normal; font-size: 14px; color: var(--moss); margin-top: 8px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--pitch); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); }
.entry-content th { text-align: left; font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--slate); }
.entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 14px; color: var(--moss); }
.entry-content .wp-block-cover h1, .entry-content .wp-block-cover h2 { color: var(--white); }

.page-article { max-width: 760px; margin: 0 auto; padding: 36px 0 64px; }
.page-title { font-size: clamp(34px, 4.6vw, 50px); font-weight: 800; font-stretch: 110%; margin-bottom: 20px; }
.not-found { max-width: 640px; padding: 64px 0; }

.search-form { display: flex; }
.search-field { flex: 1; min-width: 0; border: 1px solid #b9c4bf; border-right: 0; padding: 10px 12px; font: inherit; border-radius: 4px 0 0 4px; background: var(--white); }
.search-submit, .button { background: var(--pitch); color: var(--white); border: 0; padding: 10px 18px; font: 700 15px var(--text); cursor: pointer; text-decoration: none; display: inline-block; border-radius: 0 4px 4px 0; }
.button { border-radius: 4px; margin-top: 12px; }
.button:hover, .search-submit:hover { background: var(--pitch-deep); color: var(--white); }

.pagination, .navigation.pagination { margin-top: 36px; }
.nav-links, .pagination { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-block; min-width: 40px; padding: 9px 12px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 4px; color: var(--slate); font-weight: 600; text-decoration: none; }
.page-numbers.current { background: var(--pitch); border-color: var(--pitch); color: var(--white); }

/* Footer ---------------------------------------------------------------------------- */
.site-footer { background: var(--slate); color: #c4cfca; margin-top: 64px; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: calc(var(--gap) * 1.5); padding: 48px var(--gap) 32px; }
.footer-name { font: 800 22px/1.1 var(--display); font-stretch: 112%; color: var(--white); }
.footer-heading { font: 700 15px var(--text); color: var(--flood); margin-bottom: 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 4px 0; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.social-links { list-style: none; display: flex; gap: 10px; margin: 16px 0 0; padding: 0; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #4a5963; border-radius: 4px; color: var(--white); }
.social-links a:hover { background: var(--pitch); border-color: var(--pitch); }
.footer-base { border-top: 1px solid #364550; padding-top: 16px; padding-bottom: 24px; font-size: 14px; color: #93a19b; }
.footer-base p { margin: 0; }

/* Comments ---------------------------------------------------------------------------- */
.comments-area { margin-top: 48px; max-width: 70ch; }
.comments-area .block-title { font-size: 22px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; }
.comment-metadata a { color: var(--moss); }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #b9c4bf; border-radius: 4px; font: inherit; background: var(--white); }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--pitch); outline: 2px solid var(--pitch); outline-offset: 0; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }
.comment-form .submit { background: var(--pitch); color: var(--white); border: 0; border-radius: 4px; padding: 11px 18px; font: 700 15px var(--text); cursor: pointer; }
.comment-notes, .logged-in-as { font-size: 14px; color: var(--moss); }

/* Responsive ---------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 8px var(--gap) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(35,48,58,.12); }
  .nav-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a:hover { background: transparent; }
  .nav-list .current-menu-item > a, .nav-list .current-cat > a { box-shadow: none; }
  .nav-list .sub-menu { display: block; position: static; border: 0; padding: 0 0 0 16px; }
  .nav-search .search-field { width: 100%; }
  .nav-search .search-form { margin-top: 14px; }
}
@media (max-width: 900px) {
  .guide-grid, .guide:not(.guide--ground) .guide-grid { grid-template-columns: 1fr; grid-template-areas: "media" "facts" "body" "side"; grid-template-rows: auto; }
  .guide-side { margin-top: 32px; }
  .grid--rows { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .finder { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 60px, transparent 60px 120px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .masthead-row { min-height: 62px; }
  .wordmark-name { font-size: 18px; }
  .wordmark-mark { width: 30px; height: 30px; }
  .finder-form { flex-direction: column; gap: 6px; }
  .finder-form button { padding: 12px; }
  .finder-lede { font-size: 17px; }
  .grid--3 { grid-template-columns: 1fr; gap: 30px; }
  .card--row .card-media { flex-basis: 112px; }
  .az-grid { grid-template-columns: 1fr; }
  .entry-content { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .masthead, .finder-form, .guide-side, .site-footer, .related, .ad-slot, .facts-actions { display: none !important; }
  .guide-grid { display: block; }
  .facts { border: 1px solid #000; }
}

/* Ad slots (shared). Space is reserved so the page does not jump when an ad loads;
 * unfilled AdSense units collapse. */
.ad-slot { display: block; text-align: center; overflow: hidden; }
.ad-label { display: block; margin-bottom: 6px; font-size: 11px; line-height: 1; letter-spacing: .04em; color: #8a9097; }
.ad-slot--sidebar { min-height: 274px; }
.ad-slot--in_article, .ad-slot--below_article, .ad-slot--listing { min-height: 120px; margin: 32px 0; }
.ad-slot--home { min-height: 120px; margin: 8px 0 40px; }
.ad-slot ins.adsbygoogle { display: block; }
.ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
@media (max-width: 640px) {
  .ad-slot--in_article, .ad-slot--below_article, .ad-slot--listing, .ad-slot--home { min-height: 300px; }
}
.grid > .ad-slot, .row-grid > .ad-slot, .stream > .ad-slot { grid-column: 1 / -1; }
