/*
Theme Name: dds_blackgirlsguidetofertility.com
Author: Priya Kapoor
Description: Family planning and housing resource for Indian couples — a hand-made family planner album with warm paper, pencil ruling, pasted photographs and paper labels.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bgfam
*/

/* ---------- Fonts ---------- */
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/kalam-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/kalam-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/kalam-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/kalam-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
    --indigo: #1E2A44;
    --cream: #F3E9D7;
    --saffron: #E08A2E;
    --terra: #B4472E;
    --forest: #2E3B2F;
    --muted: #6B6255;
    --ink: #2A2620;
    --rule: #C9B79A;
    --paper: #FCF9F2;
    --paper-2: #F6EFE1;
    --paper-3: #ECE0C8;
    --tape: rgba(214, 196, 150, 0.72);
    --saffron-ink: #C2571F;
    --map-cream: #F0CE9A;
    --foot-text: #E9E0CC;
    --font-hand: "Kalam", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    --font-note: "Caveat", "Kalam", "Segoe Print", cursive;
    --font-body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --shadow-paper: 0 1px 1px rgba(42, 38, 32, 0.08), 0 6px 14px -6px rgba(42, 38, 32, 0.35);
    --shadow-lift: 0 2px 2px rgba(42, 38, 32, 0.08), 0 14px 26px -10px rgba(42, 38, 32, 0.45);
}

/* hidden states first (A11) */
.cookie-banner[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    letter-spacing: 0.012em;
    background-color: var(--cream);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .27 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
        repeating-linear-gradient(to bottom, transparent 0, transparent 37px, rgba(201, 183, 154, 0.5) 37px, rgba(201, 183, 154, 0.5) 38px);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--indigo); text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
a:hover { color: var(--terra); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px dashed var(--saffron); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-hand); font-weight: 700; line-height: 1.2; color: var(--indigo); margin: 1.4em 0 0.55em; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.1rem; }
p, li, dd, blockquote, figcaption, td, th, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; hyphens: auto; }

.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--indigo); color: #fff; padding: .6em 1em; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.shell { width: min(92%, 1180px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.paper-btn {
    display: inline-block;
    position: relative;
    font-family: var(--font-hand);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.2;
    color: #fff;
    background: var(--terra);
    border: 0;
    padding: .55em 1.25em .5em;
    text-decoration: none;
    cursor: pointer;
    clip-path: polygon(0 6%, 4% 0, 12% 4%, 22% 0, 33% 3%, 45% 0, 56% 4%, 68% 0, 79% 3%, 90% 0, 100% 5%, 98% 50%, 100% 96%, 91% 100%, 80% 96%, 69% 100%, 57% 97%, 46% 100%, 34% 96%, 23% 100%, 12% 97%, 3% 100%, 0 94%, 2% 50%);
    filter: drop-shadow(0 3px 2px rgba(42, 38, 32, 0.3));
    transform: rotate(-1.5deg);
    transition: transform .2s ease, background-color .2s ease;
}
.paper-btn:hover, .paper-btn:focus-visible { color: #fff; background: #9C3A24; transform: rotate(0deg) translateY(-2px); }
.ink-link { font-weight: 600; color: var(--indigo); text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.ink-link:hover { color: var(--terra); }

/* ---------- Header ---------- */
.masthead { position: relative; padding: 1.6rem 0 1.4rem; }
.masthead::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 14px, transparent 14px 18px); opacity: .9; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); min-width: 0; flex: 1 1 520px; max-width: 640px; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: 0 0 auto; display: block; }
.brand-emblem, .brand-logo { width: 96px; height: 96px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.brand-name {
    font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.22; color: var(--indigo);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.brand-desc {
    font-size: .84rem; line-height: 1.45; color: var(--muted); letter-spacing: .03em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.topnav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.topnav-list a {
    display: inline-block; padding: .25em 0 .35em; font-weight: 500; font-size: 1.08rem; letter-spacing: .03em; color: var(--ink); text-decoration: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 C20 2 40 7 60 4 S88 3 99 5' fill='none' stroke='%232A2620' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 7px no-repeat;
}
.topnav-list a:hover, .topnav-list .current-menu-item > a, .topnav-list a:focus-visible {
    color: var(--indigo);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 C20 1 40 7 60 3 S88 2 99 4' fill='none' stroke='%23E08A2E' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.nav-toggle { display: none; align-items: center; gap: .55rem; background: var(--paper); border: 1px solid var(--rule); padding: .5rem .9rem; font-family: var(--font-hand); font-weight: 700; font-size: 1rem; color: var(--indigo); cursor: pointer; box-shadow: var(--shadow-paper); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--indigo); position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* ---------- Section titles ---------- */
.scribble-title { position: relative; display: inline-block; margin: 0 0 1.4rem; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; color: var(--ink); transform: rotate(-2deg); transform-origin: left center; padding-bottom: .35em; }
.scribble-title::after {
    content: ""; position: absolute; left: -2%; right: -4%; bottom: 0; height: .32em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C60 9 140 6 296 4 L297 9 C170 11 80 14 6 19 Z' fill='%23E08A2E'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.scribble-thin::after { height: .18em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C90 3 200 2 298 5' fill='none' stroke='%232A2620' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.scribble-none::after { display: none; }
.scribble-light { color: var(--map-cream); }
.scribble-light::after { opacity: .9; }

.front-section { position: relative; padding: 3.2rem 0; }

/* ---------- Block 1: route ---------- */
.route { padding-top: 2.6rem; padding-bottom: 0; z-index: 2; }
.route-lead { max-width: 60ch; color: var(--muted); font-size: 1.02rem; letter-spacing: .03em; margin: -.3rem 0 2rem; }
.route-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.2rem; align-items: center; }
.route-pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; padding-bottom: 2rem; }
.route-pair-left .route-note-2 { margin-top: 5.5rem; }
.route-pair-right .route-note-3 { margin-top: 4.5rem; }
.route-pair-right .route-note-4 { margin-top: 1rem; }
.route-note {
    position: relative; background: var(--paper-2); padding: 2rem .9rem 1rem; text-align: center; box-shadow: var(--shadow-paper); min-width: 0;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    transition: transform .25s ease, box-shadow .25s ease;
}
.route-note-1 { transform: rotate(-1.5deg); }
.route-note-2 { transform: rotate(1.5deg); }
.route-note-3 { transform: rotate(-1deg); }
.route-note-4 { transform: rotate(1deg); }
.route-note:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-lift); }
.route-num {
    position: absolute; top: -1.15rem; left: 50%; transform: translateX(-50%) rotate(-4deg);
    min-width: 2.6rem; padding: .05em .4em; background: #EFAE52; color: var(--saffron-ink);
    font-family: var(--font-hand); font-weight: 700; font-size: 1.75rem; line-height: 1.3; box-shadow: 0 2px 3px rgba(42, 38, 32, .2);
}
.route-label { display: block; font-family: var(--font-hand); font-weight: 700; font-size: 1.12rem; line-height: 1.25; color: var(--ink); }
.route-hint { display: block; margin-top: .4rem; font-size: .76rem; line-height: 1.4; letter-spacing: .05em; color: var(--muted); }
.route-dash { position: absolute; fill: none; stroke: #55504a; stroke-width: 1.6; stroke-dasharray: 5 5; stroke-linecap: round; overflow: visible; pointer-events: none; }
.route-dash .route-dash-head { stroke-dasharray: none; }
.route-dash-a { width: 34%; left: 30%; top: -1.6rem; }
.route-dash-b { width: 26%; right: -16%; top: 1rem; }
.route-dash-c { width: 26%; left: -14%; top: .5rem; }
.route-dash-d { width: 34%; left: 34%; top: .3rem; }
.route-photo {
    position: relative; margin: 0 0 -4.5rem; background: var(--paper); padding: 16px 16px 30px; box-shadow: var(--shadow-lift);
    transform: rotate(-1.4deg); z-index: 3;
}
.route-photo img { width: 100%; aspect-ratio: 856 / 584; object-fit: cover; }
.route-photo::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: -26px; height: 34px; background: #E9DFCB; z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 62%, 96% 80%, 92% 58%, 88% 88%, 83% 64%, 78% 92%, 73% 66%, 68% 86%, 63% 60%, 58% 90%, 53% 70%, 48% 94%, 43% 64%, 38% 86%, 33% 58%, 28% 90%, 23% 66%, 18% 88%, 13% 60%, 8% 92%, 4% 70%, 0 84%);
}
.tape { position: absolute; display: block; width: 120px; height: 34px; background: var(--tape); box-shadow: 0 1px 2px rgba(42, 38, 32, .12); z-index: 4; }
.tape-top { top: -18px; left: 50%; transform: translateX(-50%) rotate(-2deg); }

/* ---------- Block 2: area map ---------- */
.areamap {
    padding-top: 7.6rem; padding-bottom: 4rem; color: #E8E3D6;
    background-color: var(--indigo);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(240, 206, 154, .5) 0 1px, transparent 1.6px),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, .35) 0 1px, transparent 1.5px),
        radial-gradient(circle at 45% 55%, rgba(0, 0, 0, .35) 0 1.4px, transparent 2px),
        radial-gradient(circle at 85% 15%, rgba(224, 138, 46, .45) 0 1px, transparent 1.6px);
    background-size: 37px 41px, 53px 47px, 29px 31px, 71px 67px;
}
.areamap-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.areamap-figure { position: relative; margin: 0; container-type: inline-size; }
.areamap-figure img {
    width: 100%; aspect-ratio: 1516 / 760; object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-composite: intersect;
}
.map-tag {
    position: absolute; display: flex; align-items: center; justify-content: center; height: 6.2cqw; min-height: 1.4em; padding: 0 .5em; white-space: nowrap;
    font-family: var(--font-hand); font-weight: 700; font-size: clamp(.72rem, 2.25cqw, 1.2rem); line-height: 1.35;
    background: #EDB04F; color: var(--ink); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); transform: rotate(-2deg);
}
.map-tag-schools { left: 17.2%; top: 11.2%; min-width: 11.8%; }
.map-tag-commute { left: 71.9%; top: 7.2%; min-width: 26.8%; transform: rotate(-1deg); }
.map-tag-parks { left: 9.2%; top: 55%; min-width: 11.6%; }
.map-tag-clinic { left: 64.3%; top: 51.8%; min-width: 20.6%; background: #C2502F; color: #fff; transform: rotate(-1deg); }
.areamap-legend {
    position: relative; background: var(--paper-2); color: var(--ink); padding: 1.8rem 1.6rem 1.4rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55); transform: rotate(.8deg);
}
.areamap-legend::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; background: var(--tape); transform: translateX(-50%) rotate(3deg); }
.legend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.legend-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: .7rem; align-items: baseline; }
.legend-list strong { font-family: var(--font-hand); font-weight: 700; font-size: 1.28rem; line-height: 1.2; color: var(--ink); }
.legend-list span:last-child { grid-column: 2; font-size: .84rem; line-height: 1.45; color: var(--muted); letter-spacing: .03em; }
.legend-dot { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--saffron); align-self: center; }
.legend-dot-clinic { background: var(--terra); }

/* ---------- Latest posts & cards ---------- */
.latest { padding-top: 3.8rem; }
.snap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 2.2rem; margin-top: 1rem; }
.latest .snap-grid:has(> .card:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem 1.6rem; }
.card {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    background: var(--paper); padding: 14px 14px 18px; box-shadow: var(--shadow-paper);
    transition: transform .25s ease, box-shadow .25s ease;
}
.snap-grid > .card:nth-child(3n+1) { transform: rotate(-1.6deg); }
.snap-grid > .card:nth-child(3n+2) { transform: rotate(.9deg); }
.snap-grid > .card:nth-child(3n+3) { transform: rotate(-.7deg); }
.snap-grid > .card:hover { transform: rotate(0) translateY(-5px); box-shadow: var(--shadow-lift); }
.snap-tape { position: absolute; z-index: 2; width: 92px; height: 28px; background: var(--tape); top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.snap-grid > .card:nth-child(3n+1) .snap-tape { left: 4px; top: 4px; transform: rotate(-38deg); }
.snap-grid > .card:nth-child(3n+3) .snap-tape { left: auto; right: -14px; top: 6px; transform: rotate(36deg); }
.card-thumb-wrap { overflow: hidden; background: var(--paper-3); }
.card-thumb-wrap a { display: block; }
.card-thumb-wrap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; filter: saturate(.92) sepia(.08); transition: transform .4s ease; }
.card:hover .card-thumb-wrap img { transform: scale(1.03); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: .9rem .3rem 0; min-width: 0; }
.card-title { margin: 0 0 .45rem; font-size: 1.3rem; line-height: 1.25; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--terra); }
.card-excerpt { font-size: .92rem; line-height: 1.55; color: #4A443B; margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.card-date { font-family: var(--font-note); font-weight: 600; font-size: 1.15rem; color: var(--muted); letter-spacing: .04em; }
.card-more { font-size: .95rem; }
.latest-all { margin: 2.4rem 0 0; text-align: right; }
.empty-note { font-family: var(--font-hand); font-size: 1.2rem; color: var(--muted); }

/* ---------- Block 3: rooms ---------- */
.rooms { padding-top: 2.4rem; }
.rooms-board { position: relative; aspect-ratio: 1120 / 380; margin-top: .5rem; }
.rooms-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #3A342C; stroke-width: 1.3; z-index: 2; pointer-events: none; }
.rooms-lines path { vector-effect: non-scaling-stroke; }
.rooms-figure { position: absolute; left: 24%; top: 15%; width: 48%; height: 70%; margin: 0; background: var(--paper); box-shadow: var(--shadow-paper); z-index: 1; }
.rooms-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rooms-pin {
    position: absolute; z-index: 3; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; transform: translate(-50%, -50%);
    border-radius: 50%; background: var(--saffron); color: #fff; font-family: var(--font-hand); font-weight: 700; font-size: .95rem; line-height: 1;
    box-shadow: 0 0 0 3px rgba(252, 249, 242, .9), 0 3px 6px rgba(42, 38, 32, .3);
}
.rooms-pin-1 { left: 19%; top: 62%; }
.rooms-pin-2 { left: 68%; top: 72%; }
.rooms-pin-3 { left: 88%; top: 37%; }
.rooms-pin-4 { left: 88%; top: 79%; }
.rooms-notes { list-style: none; margin: 0; padding: 0; counter-reset: room; }
.rooms-note { position: absolute; counter-increment: room; min-width: 0; }
.rooms-note strong { display: block; font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.2; color: var(--ink); }
.rooms-note strong::before { content: counter(room); display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-right: .35em; border-radius: 50%; background: var(--saffron); color: #fff; font-size: .62em; vertical-align: .25em; }
.rooms-note span { display: block; margin-top: .25rem; font-size: .8rem; line-height: 1.45; color: var(--muted); letter-spacing: .03em; }
.rooms-note-1 { left: 0; top: 36%; width: 21%; text-align: right; }
.rooms-note-2 { left: 76%; top: 1%; width: 24%; }
.rooms-note-3 { left: 76%; top: 35%; width: 24%; }
.rooms-note-4 { left: 76%; top: 69%; width: 24%; }

/* ---------- Block 4: year calendar ---------- */
.yearcal { padding-top: 2.4rem; padding-bottom: 4.5rem; }
.yearcal-strip {
    position: relative; padding: 1.6rem 1.4rem 1.4rem; margin-top: .4rem;
    background: rgba(214, 190, 130, .45);
    clip-path: polygon(0 4%, 1.5% 0, 3% 6%, 50% 2%, 97% 5%, 98.5% 0, 100% 6%, 99% 50%, 100% 94%, 98% 100%, 96% 95%, 50% 98%, 3% 95%, 1.5% 100%, 0 96%, 1% 50%);
}
.yearcal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .8rem; }
.yearcal-list li {
    position: relative; min-width: 0; background: var(--paper); padding: 1rem .45rem .7rem; text-align: center; box-shadow: var(--shadow-paper);
    display: flex; flex-direction: column; align-items: center; gap: .3rem; transition: transform .2s ease;
}
.yearcal-list li:nth-child(odd) { transform: rotate(-1.2deg); }
.yearcal-list li:nth-child(even) { transform: rotate(1deg); }
.yearcal-list li:hover { transform: rotate(0) translateY(-3px); }
.yearcal-list li::before { content: ""; position: absolute; top: -6px; left: 50%; width: 26px; height: 12px; transform: translateX(-50%) rotate(-4deg); background: #EDB04F; }
.yearcal-n { font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; color: var(--ink); position: relative; padding-bottom: .2rem; }
.yearcal-n::after { content: ""; position: absolute; right: -.7em; bottom: .15em; width: .7em; height: .2em; background: var(--saffron); border-radius: 2px; transform: rotate(-24deg); }
.yearcal-t { font-size: .72rem; line-height: 1.3; letter-spacing: .04em; color: var(--muted); hyphens: manual; }
.yearcal-note {
    position: relative; width: fit-content; max-width: 100%; margin: -.4rem auto 0; padding: 1.1rem 2rem 1rem; text-align: center;
    background: var(--paper); box-shadow: var(--shadow-lift); transform: rotate(-2deg); z-index: 2;
    clip-path: polygon(0 8%, 6% 0, 14% 6%, 26% 1%, 40% 5%, 55% 0, 70% 6%, 84% 1%, 94% 5%, 100% 0, 98% 50%, 100% 100%, 88% 95%, 74% 100%, 60% 96%, 45% 100%, 30% 95%, 16% 100%, 4% 96%, 0 100%, 2% 50%);
}
.yearcal-note-main { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--ink); line-height: 1.3; }
.yearcal-note-sub { margin: .25rem 0 0; font-size: .82rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Inner pages ---------- */
.page-wrap { padding: 1.8rem 0 3.5rem; }
.crumbs { font-size: .86rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { color: var(--indigo); text-decoration: none; border-bottom: 1px solid var(--saffron); }
.crumbs a:hover { color: var(--terra); }
.crumbs-sep { color: var(--saffron); margin: 0 .35em; }
.layout-single { width: 85%; margin-left: auto; margin-right: auto; }
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 67fr) minmax(0, 27fr); gap: 6%; align-items: start; }
.content-area { min-width: 0; }
.list-head { margin-bottom: 1.4rem; }
.list-lead { color: var(--muted); max-width: 62ch; letter-spacing: .02em; }
.snap-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-single .snap-grid-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.entry { position: relative; background: var(--paper); padding: 2.2rem 2.4rem 2.4rem; box-shadow: var(--shadow-paper); }
.entry::before { content: ""; position: absolute; top: -13px; left: 2.4rem; width: 110px; height: 28px; background: var(--tape); transform: rotate(-3deg); }
.entry-head { margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--rule); }
.entry-title { margin: 0 0 .4rem; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--indigo); }
.entry-meta { margin: 0; font-size: .88rem; letter-spacing: .05em; color: var(--muted); }
.entry-meta a { color: var(--muted); }
.entry-meta-sep { margin: 0 .4em; color: var(--saffron); }
.entry-cover { margin: 0 0 1.6rem; padding: 10px 10px 18px; background: #fff; box-shadow: var(--shadow-paper); transform: rotate(-.6deg); }
.entry-cover img { width: 100%; height: auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { position: relative; padding-bottom: .2em; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.5em; height: 4px; background: var(--saffron); border-radius: 3px; transform: rotate(-1deg); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--saffron); }
.entry-content ol li::marker { color: var(--terra); font-family: var(--font-hand); font-weight: 700; }
.entry-content blockquote { margin: 1.6em 0; padding: 1.2rem 1.5rem 1.2rem 1.8rem; background: var(--paper-2); border-left: 5px solid var(--saffron); font-family: var(--font-hand); font-size: 1.15rem; line-height: 1.5; color: var(--indigo); transform: rotate(-.4deg); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin: 1.5em 0; max-width: 100%; }
.entry-content figcaption, .wp-caption-text { font-family: var(--font-note); font-weight: 600; font-size: 1.1rem; color: var(--muted); text-align: center; margin-top: .4em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; background: #fff; }
.entry-content .wp-block-table, .entry-content .table-wrap { overflow-x: auto; }
.entry-content .wp-block-table table { margin: 0; }
.entry-content table, .entry-content th, .entry-content td { border: 1px solid var(--rule); }
.entry-content th, .entry-content td { padding: .6em .8em; text-align: left; vertical-align: top; }
.entry-content th { background: var(--paper-3); color: var(--indigo); font-weight: 600; }
.entry-content pre { overflow-x: auto; background: var(--indigo); color: #F3E9D7; padding: 1rem 1.2rem; font-size: .9rem; }
.entry-content code { background: var(--paper-3); padding: .1em .35em; font-size: .92em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 10px, transparent 10px 16px); margin: 2em 0; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.entry-tags { margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.entry-tags a { font-size: .85rem; text-decoration: none; padding: .2em .7em; background: var(--paper-3); color: var(--indigo); }
.entry-tags a:hover { background: var(--saffron); color: #fff; }

/* ---------- Sidebar ---------- */
.sidebar { min-width: 0; }
.sidebar .widget { position: relative; background: #EFE3CB; color: var(--ink); padding: 1.6rem 1.4rem 1.3rem; margin-bottom: 2rem; box-shadow: var(--shadow-paper); transform: rotate(.6deg); }
.sidebar .widget::before { content: ""; position: absolute; top: -11px; left: 50%; width: 80px; height: 24px; background: var(--tape); transform: translateX(-50%) rotate(-3deg); }
.sidebar .widget-title { margin: 0 0 .8rem; font-size: 1.45rem; color: var(--indigo); }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding: .5rem 0; border-bottom: 1px dashed var(--rule); line-height: 1.4; font-size: .95rem; }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget a { color: var(--ink); text-decoration: none; }
.sidebar .widget a:hover { color: var(--terra); }
.sidebar .widget .post-date { display: block; font-size: .8rem; color: var(--muted); }
.sidebar .widget p { color: var(--ink); }

/* ---------- Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin: 2.8rem 0 0; }
.pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem;
    font-family: var(--font-hand); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none;
    background: var(--paper); box-shadow: var(--shadow-paper); transition: transform .2s ease, background-color .2s ease;
}
.pager .page-numbers:nth-child(odd) { transform: rotate(-1.5deg); }
.pager .page-numbers:nth-child(even) { transform: rotate(1.2deg); }
.pager a.page-numbers:hover { background: #EDB04F; transform: rotate(0) translateY(-2px); color: var(--ink); }
.pager .page-numbers.current { background: var(--terra); color: #fff; }
.pager .page-numbers.dots { background: none; box-shadow: none; min-width: 1.5rem; }

/* ---------- Search form ---------- */
.findform { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0; max-width: 520px; }
.findform-field { flex: 1 1 220px; min-width: 0; font: inherit; padding: .6rem .9rem; background: var(--paper); border: 1px solid var(--rule); border-bottom: 2px solid var(--indigo); color: var(--ink); }
.findform-btn { font-size: 1rem; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 2rem 0; }
.lost .findform { margin-left: auto; margin-right: auto; }
.lost-code { font-family: var(--font-hand); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0; color: var(--saffron); transform: rotate(-4deg); opacity: .85; }
.lost .scribble-title { transform-origin: center; }
.lost-text { max-width: 52ch; margin: 0 auto 1rem; color: var(--muted); }

/* ---------- Comments ---------- */
.talk { margin-top: 2.6rem; background: var(--paper-2); padding: 2rem 2.2rem; box-shadow: var(--shadow-paper); }
.talk-title, .comment-reply-title { margin-top: 0; font-size: 1.7rem; }
.talk-list, .talk-list .children { list-style: none; margin: 0; padding: 0; }
.talk-list .children { padding-left: 1.6rem; border-left: 2px dashed var(--rule); margin-left: .6rem; }
.note-comment-body { background: var(--paper); padding: 1rem 1.2rem; margin-bottom: 1rem; box-shadow: var(--shadow-paper); }
.note-comment-head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .5rem; }
.note-comment-head img { border-radius: 50%; }
.note-comment-author { font-weight: 600; color: var(--indigo); }
.note-comment-head time { font-size: .82rem; color: var(--muted); }
.note-comment-wait { font-size: .88rem; color: var(--terra); }
.note-comment-reply a { font-family: var(--font-hand); font-weight: 700; color: var(--terra); text-decoration: none; }
.comment-respond { margin-top: 1.6rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; color: var(--ink); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%; font: inherit; padding: .6rem .8rem; background: var(--paper); border: 1px solid var(--rule); border-bottom: 2px solid var(--indigo); color: var(--ink);
}
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; display: inline; }
.comment-notes, .logged-in-as { font-size: .88rem; color: var(--muted); }
.req { color: var(--terra); }
.comments-navigation, .comment-navigation { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.talk-closed { color: var(--muted); }

/* ---------- Footer ---------- */
.sitefoot {
    color: var(--foot-text);
    background-color: var(--forest);
    background-image:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
        radial-gradient(ellipse at 10% 0%, rgba(224, 138, 46, .12), transparent 55%);
    padding: 3.4rem 0 1.4rem;
    border-top: 6px solid #263127;
}
.sitefoot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.sitefoot-col { min-width: 0; }
.sitefoot .widget { margin-bottom: 1.4rem; color: var(--foot-text); }
.sitefoot .widget-title { margin: 0 0 .8rem; font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; line-height: 1.25; color: #F6EEDC; letter-spacing: .01em; }
.sitefoot .widget p, .sitefoot .widget .textwidget { color: var(--foot-text); font-size: .98rem; line-height: 1.55; }
.sitefoot .widget ul { list-style: none; margin: 0; padding: 0; }
.sitefoot .widget li { margin-bottom: .45rem; }
.sitefoot .widget a { color: var(--foot-text); text-decoration: none; letter-spacing: .02em; }
.sitefoot .widget a:hover, .sitefoot .widget a:focus-visible { color: #F2B866; text-decoration: underline; text-decoration-color: var(--saffron); }
.sitefoot .widget .post-date { color: #C9C0AA; font-size: .82rem; }
.sitefoot-copy { margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid rgba(233, 224, 204, .2); text-align: center; }
.sitefoot-copy p { margin: 0; font-size: .86rem; letter-spacing: .04em; color: #CFC6B1; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; z-index: 90; bottom: 16px; left: 16px; right: 16px; margin: 0 auto; max-width: 760px;
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: space-between;
    padding: 1.1rem 1.4rem; background: var(--paper); color: var(--ink); box-shadow: 0 14px 30px -10px rgba(42, 38, 32, .55); border-top: 4px solid var(--saffron);
}
.cookie-banner-text { margin: 0; flex: 1 1 320px; min-width: 0; font-size: .92rem; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .route-hint { font-size: .72rem; }
    .rooms-note span { font-size: .74rem; }
}
@media (max-width: 960px) {
    .masthead-row { flex-wrap: nowrap; }
    .nav-toggle { display: inline-flex; flex: 0 0 auto; }
    .topnav { display: none; position: absolute; left: 4%; right: 4%; top: 100%; z-index: 50; background: var(--paper); box-shadow: var(--shadow-lift); padding: 1rem 1.4rem; }
    .topnav.is-open { display: block; }
    .masthead { position: relative; }
    .topnav-list { flex-direction: column; gap: .4rem; }

    .route-board { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .route-photo { order: -1; margin: 0 auto 1.4rem; width: 100%; max-width: 640px; }
    .route-photo::after { display: none; }
    .route-pair { padding-bottom: 0; gap: 1.6rem 1rem; }
    .route-pair-left .route-note-2, .route-pair-right .route-note-3, .route-pair-right .route-note-4 { margin-top: 0; }
    .route-dash { display: none; }
    .route { padding-bottom: 3rem; }
    .areamap { padding-top: 3.5rem; }

    .areamap-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .areamap-legend { transform: none; }
    .legend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .snap-grid, .latest .snap-grid:has(> .card:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .layout-single .snap-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .rooms-board { aspect-ratio: auto; }
    .rooms-lines { display: none; }
    .rooms-figure { position: relative; left: auto; top: auto; width: 100%; height: auto; }
    .rooms-figure img { height: auto; aspect-ratio: 1048 / 516; }
    .rooms-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.6rem; margin-top: 1.6rem; }
    .rooms-note { position: static; width: auto; text-align: left; }

    .yearcal-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.2rem .8rem; }
    .yearcal-note { margin-top: 1.2rem; }

    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .layout-single { width: 100%; }
    .sitefoot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .masthead { padding: 1.1rem 0; }
    .brand { gap: .7rem; flex-basis: auto; }
    .brand-emblem, .brand-logo { width: 64px; height: 64px; }
    .brand-name { font-size: 1.02rem; -webkit-line-clamp: 3; }
    .brand-desc { display: none; }
    .front-section { padding: 2.4rem 0; }
    .scribble-title { font-size: clamp(1.8rem, 8vw, 2.3rem); }
    .route-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .route-label { font-size: 1rem; }
    .route-photo { padding: 10px 10px 20px; }
    .legend-list { grid-template-columns: minmax(0, 1fr); }
    .areamap-legend { padding: 1.6rem 1.2rem 1.2rem; }
    .map-tag { font-size: clamp(.6rem, 3cqw, .9rem); padding: 0 .3em; }
    .snap-grid, .snap-grid-list, .layout-single .snap-grid-list, .latest .snap-grid:has(> .card:nth-child(4)) { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
    .snap-grid > .card:nth-child(n) { transform: none; }
    .card-thumb-wrap { flex: none; width: 100%; position: static; }
    .card-thumb-wrap a { position: static; }
    .card-thumb-wrap img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .rooms-notes { grid-template-columns: minmax(0, 1fr); }
    .rooms-pin { width: 1.4rem; height: 1.4rem; font-size: .8rem; }
    .yearcal-strip { padding: 1.4rem .9rem 1.2rem; }
    .yearcal-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .yearcal-note { padding: 1rem 1.4rem .9rem; }
    .entry { padding: 1.6rem 1.2rem 1.8rem; }
    .entry::before { left: 1.2rem; }
    .talk { padding: 1.5rem 1.1rem; }
    .sidebar .widget { padding: 1.4rem 1.2rem 1.1rem; transform: none; }
    .sitefoot-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
    .cookie-banner { padding: 1rem 1.1rem; left: 10px; right: 10px; bottom: 10px; }
    .alignleft, .alignright { float: none; margin: 1em auto; }
}
