/*
Theme Name: dds_grandviewdigfest.com
Theme URI: https://grandviewdigfest.com/
Author: Ananya Rao
Description: A hyperlocal field-diary theme for neighborhood guides, homes and community festivals: kraft paper, taped watercolors, chalkboard calendars and handwritten notes.
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: gvdig
*/

/* ---------- Fonts ---------- */
@font-face { font-family: "Kalam"; src: url("fonts/kalam-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("fonts/kalam-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
    --indigo: #1F2A44;
    --kraft: #E8DCC3;
    --kraft-deep: #E1C9A1;
    --saffron: #E9A13B;
    --brick: #B33A2B;
    --mint: #CBD9C4;
    --forest: #24352B;
    --ink: #2B3A55;
    --muted: #8A7B63;
    --chalk: #F7F3E8;
    --paper: #FBF7EE;
    --slip: #F1E6CC;
    --tape: rgba(236, 224, 190, 0.78);
    --line: rgba(43, 58, 85, 0.22);
    --aside-bg: #F3EAD6;
    --f-hand: "Kalam", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    --f-note: "Caveat", "Kalam", "Segoe Print", cursive;
    --f-type: "Courier Prime", "Courier New", "Nimbus Mono PS", monospace;
    --shadow-paper: 0 2px 0 rgba(31, 42, 68, 0.08), 0 10px 22px -10px rgba(31, 42, 68, 0.45);
    --grain: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .15 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hidden-state rules (before main blocks) ---------- */
.cookie-banner[hidden] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--f-type);
    font-size: 1rem;
    line-height: 1.75;
    background-color: var(--kraft);
    background-image:
        var(--grain),
        linear-gradient(rgba(138, 123, 99, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 123, 99, 0.13) 1px, transparent 1px);
    background-size: 220px 220px, 22px 22px, 22px 22px;
}
img { max-width: 100%; height: auto; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-hand);
    font-weight: 700;
    line-height: 1.2;
    color: var(--indigo);
    margin: 1.4em 0 0.55em;
    overflow-wrap: break-word;
    hyphens: auto;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
a {
    color: var(--ink);
    text-decoration: underline wavy rgba(179, 58, 43, 0.75);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--brick); text-decoration-color: var(--brick); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px dashed var(--brick);
    outline-offset: 3px;
}
p, li, td, th, dd, dt, blockquote, figcaption { overflow-wrap: break-word; hyphens: auto; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.gv-skip {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--saffron);
    color: var(--indigo);
    font-family: var(--f-hand);
    font-weight: 700;
}
.gv-skip:focus { top: 1rem; }

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

/* ---------- Buttons ---------- */
.gv-btn {
    display: inline-block;
    padding: 0.55rem 1.3rem 0.5rem;
    font-family: var(--f-hand);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    text-decoration: none;
    color: var(--indigo);
    background: var(--slip);
    border: 0;
    cursor: pointer;
    clip-path: polygon(0 4%, 6% 0, 22% 3%, 41% 0, 63% 4%, 82% 1%, 100% 3%, 99% 52%, 100% 96%, 78% 100%, 55% 97%, 31% 100%, 12% 97%, 0 100%, 1% 48%);
    filter: drop-shadow(2px 3px 0 rgba(31, 42, 68, 0.28));
    transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}
.gv-btn:hover { transform: translate(-1px, -2px) rotate(-1deg); filter: drop-shadow(4px 6px 0 rgba(31, 42, 68, 0.3)); color: var(--indigo); }
.gv-btn:active { transform: translate(1px, 1px); filter: drop-shadow(1px 1px 0 rgba(31, 42, 68, 0.3)); }
.gv-btn--saffron { background: var(--saffron); }
.gv-btn--ink { background: var(--indigo); color: var(--chalk); }
.gv-btn--ink:hover { color: var(--chalk); background: #2a3a5e; }
.gv-btn--paper { background: var(--slip); }

/* ---------- Hand titles ---------- */
.gv-hand-title {
    position: relative;
    display: inline-block;
    margin: 0 0 1.4rem;
    padding-bottom: 0.35rem;
    font-size: clamp(2rem, 4.2vw, 3rem);
    color: #141b2e;
}
.gv-hand-title::after {
    content: "";
    position: absolute;
    left: -2%; right: -3%; bottom: -0.2rem;
    height: 12px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C70 1 150 6 298 2' stroke='%23141b2e' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cpath d='M6 10 C90 7 190 11 292 8' stroke='%23141b2e' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.gv-hand-title--tilt { transform: rotate(-3deg); transform-origin: left bottom; }
.gv-hand-title--chalk { color: var(--chalk); }
.gv-hand-title--chalk::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C70 1 150 6 298 2' stroke='%23F7F3E8' stroke-width='2.4' fill='none' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M6 10 C90 7 190 11 292 8' stroke='%23F7F3E8' stroke-width='1.8' fill='none' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E");
}

/* ---------- Taped paper ---------- */
.gv-taped {
    position: relative;
    margin: 0;
    padding: 10px;
    background: var(--paper);
    box-shadow: var(--shadow-paper);
}
.gv-taped::before {
    content: "";
    position: absolute;
    top: -14px; left: 50%;
    width: 120px; height: 28px;
    transform: translateX(-50%) rotate(-2deg);
    background: var(--tape);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    z-index: 2;
}
.gv-taped img { display: block; width: 100%; height: auto; }

/* ---------- Header ---------- */
.gv-masthead {
    position: relative;
    color: var(--chalk);
    background-color: var(--indigo);
    background-image:
        repeating-linear-gradient(-28deg, rgba(247, 243, 232, 0.035) 0 2px, transparent 2px 9px),
        var(--grain);
    background-size: auto, 220px 220px;
    border-bottom: 4px solid #141b2e;
}
.gv-masthead::after {
    content: "";
    position: absolute;
    left: 4%; right: 4%; bottom: 12px;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(247, 243, 232, 0.4) 0 14px, transparent 14px 20px);
}
.gv-masthead__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.7rem 0 2.1rem;
}
.gv-brand {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1.3rem;
    color: var(--chalk);
    text-decoration: none;
}
.gv-brand:hover { color: var(--chalk); }
.gv-brand__mark { flex: 0 0 auto; display: block; width: 92px; height: 92px; color: var(--chalk); }
.gv-brand__stamp { display: block; width: 100%; height: 100%; transform: rotate(-8deg); transition: transform 0.3s ease; }
.gv-brand:hover .gv-brand__stamp { transform: rotate(4deg); }
.gv-brand__logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.gv-brand__text { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.gv-brand__name {
    font-family: var(--f-hand);
    font-weight: 700;
    font-size: clamp(1.05rem, 1.7vw, 1.4rem);
    line-height: 1.3;
    max-width: 46ch;
    overflow-wrap: break-word;
}
.gv-brand__desc {
    font-family: var(--f-type);
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(247, 243, 232, 0.78);
    max-width: 62ch;
}
.gv-navtoggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    color: var(--chalk);
    background: transparent;
    border: 2px solid rgba(247, 243, 232, 0.6);
    font-family: var(--f-hand);
    font-size: 1rem;
    cursor: pointer;
}
.gv-navtoggle__bars, .gv-navtoggle__bars::before, .gv-navtoggle__bars::after {
    display: block;
    width: 20px; height: 2px;
    background: currentColor;
    position: relative;
}
.gv-navtoggle__bars::before, .gv-navtoggle__bars::after { content: ""; position: absolute; left: 0; }
.gv-navtoggle__bars::before { top: -6px; }
.gv-navtoggle__bars::after { top: 6px; }
.gv-nav {
    flex: 0 0 auto;
    padding-left: 2rem;
    border-left: 3px double rgba(247, 243, 232, 0.55);
}
.gv-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.gv-nav__list a {
    display: inline-block;
    padding: 0.1rem 0.2rem;
    font-family: var(--f-hand);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--chalk);
    text-decoration: none;
    transform: rotate(-1deg);
    transition: color 0.2s ease, transform 0.2s ease;
}
.gv-nav__list a:hover,
.gv-nav__list .current-menu-item > a {
    color: var(--saffron);
    transform: rotate(0deg) translateX(4px);
    text-decoration: underline wavy var(--saffron);
    text-underline-offset: 5px;
}

/* ---------- Festival ---------- */
.gv-fest {
    position: relative;
    overflow: hidden;
    padding: 3.2rem 0 3.6rem;
    background-color: var(--saffron);
    background-image: var(--grain);
    background-size: 220px 220px;
}
.gv-fest::after {
    content: "";
    position: absolute;
    right: 3%; bottom: -10px;
    width: 160px; height: 26px;
    background: rgba(247, 243, 232, 0.45);
    transform: rotate(-4deg);
    pointer-events: none;
}
.gv-fest__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 2.2rem;
    align-items: center;
}
.gv-fest__intro { min-width: 0; }
.gv-fest__date {
    margin: 0.4rem 0 0;
    font-family: var(--f-hand);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: #141b2e;
}
.gv-fest__place {
    margin: 0 0 1rem;
    font-family: var(--f-hand);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.25;
    color: #141b2e;
}
.gv-fest__lead { font-size: 0.92rem; color: #22304a; }
.gv-fest__photo { transform: rotate(1.2deg); min-width: 0; }
.gv-fest__photo img { aspect-ratio: 1069 / 688; object-fit: cover; }
.gv-fest__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.gv-tag {
    position: relative;
    padding: 0.8rem 3rem 0.75rem 1.1rem;
    background: var(--slip);
    background-image: var(--grain);
    box-shadow: 3px 4px 0 rgba(31, 42, 68, 0.22);
    transform: rotate(-1.5deg);
}
.gv-tag:nth-child(2) { transform: rotate(1.2deg); margin-left: -0.8rem; }
.gv-tag:nth-child(3) { transform: rotate(-0.6deg); }
.gv-tag::after {
    content: "";
    position: absolute;
    right: 0.8rem; top: 50%;
    width: 30px; height: 30px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 17 C8 19 11 23 13 27 C17 17 22 10 29 3' fill='none' stroke='%23B33A2B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.gv-tag__big { display: block; font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: #141b2e; }
.gv-tag__note { display: block; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }

/* ---------- Map ---------- */
.gv-map {
    position: relative;
    padding: 2.2rem 0 2.4rem;
    background-color: var(--mint);
    background-image: var(--grain);
    background-size: 220px 220px;
}
.gv-map__stage { position: relative; }
.gv-map__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1700 / 523;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.gv-map__title { position: absolute; left: 2%; top: 6%; margin: 0; }
.gv-map__labels { list-style: none; margin: 0; padding: 0; }
.gv-pin {
    position: absolute;
    max-width: 23%;
    padding: 0.35rem 0.75rem 0.4rem;
    background: rgba(251, 247, 238, 0.92);
    box-shadow: 2px 3px 0 rgba(31, 42, 68, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gv-pin::before {
    content: "";
    position: absolute;
    left: -7px; top: 0.75rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--brick);
    box-shadow: 0 0 0 3px rgba(251, 247, 238, 0.9);
}
.gv-pin:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 4px 6px 0 rgba(31, 42, 68, 0.2); }
.gv-pin strong { display: block; font-family: var(--f-hand); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.55rem); line-height: 1.15; color: #141b2e; }
.gv-pin span { display: block; font-family: var(--f-note); font-weight: 600; font-size: clamp(0.95rem, 1.3vw, 1.15rem); line-height: 1.2; color: var(--ink); }
.gv-pin--indiranagar { left: 40%; top: 22%; transform: rotate(-1deg); }
.gv-pin--whitefield { left: 77.5%; top: 28%; transform: rotate(1deg); }
.gv-pin--koramangala { left: 56.5%; top: 51%; transform: rotate(-0.5deg); }
.gv-pin--jayanagar { left: 38%; top: 72%; transform: rotate(0.8deg); }

/* ---------- Latest ---------- */
.gv-latest { position: relative; padding: 3.2rem 0 3.6rem; overflow: hidden; }
.gv-latest::before {
    content: "";
    position: absolute;
    right: 5%; top: 1.5rem;
    width: 34px; height: 30px;
    background: #1b2236;
    border-radius: 52% 48% 60% 40% / 45% 58% 42% 55%;
    box-shadow: 30px 14px 0 -10px #1b2236, -16px 26px 0 -12px #1b2236, 44px -8px 0 -13px #1b2236;
    opacity: 0.85;
}
.gv-latest__all { margin: 2.4rem 0 0; text-align: center; }
.gv-empty { font-size: 1rem; padding: 1.4rem 1.6rem; background: var(--paper); box-shadow: var(--shadow-paper); }

.gv-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 2.2rem 1.8rem;
    margin-top: 0.6rem;
}
.gv-cards--front { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 2.4rem; }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 12px 0;
    background: var(--paper);
    box-shadow: var(--shadow-paper);
    transform: rotate(-1.4deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gv-cards > .card:nth-child(3n+2) { transform: rotate(1.1deg); }
.gv-cards > .card:nth-child(3n) { transform: rotate(-0.6deg); }
.card:hover,
.gv-cards > .card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 4px 0 rgba(31, 42, 68, 0.08), 0 20px 30px -14px rgba(31, 42, 68, 0.55); }
.card::after {
    content: "";
    position: absolute;
    right: 0; bottom: 0;
    width: 28px; height: 28px;
    background: linear-gradient(315deg, var(--kraft) 0 50%, #e2d6bc 50% 100%);
    box-shadow: -2px -2px 3px rgba(31, 42, 68, 0.12);
}
.gv-card__tape::before, .gv-card__tape::after {
    content: "";
    position: absolute;
    top: -12px;
    width: 78px; height: 24px;
    background: var(--tape);
    z-index: 2;
}
.gv-card__tape::before { left: -18px; transform: rotate(-32deg); }
.gv-card__tape::after { right: -18px; transform: rotate(30deg); }
.gv-card__thumb { position: relative; overflow: hidden; background: var(--mint); }
.gv-card__thumb a { display: block; }
.gv-card__thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .gv-card__thumb img { transform: scale(1.04); }
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1rem 0.5rem 1.5rem;
}
.gv-card__title { margin: 0 0 0.25rem; font-size: 1.45rem; line-height: 1.15; }
.gv-card__title a { color: #141b2e; text-decoration: none; }
.gv-card__title a:hover { color: var(--brick); }
.gv-card__date { display: block; font-family: var(--f-note); font-weight: 600; font-size: 1.15rem; color: var(--muted); margin-bottom: 0.4rem; }
.card-excerpt { flex: 1; font-size: 0.88rem; line-height: 1.65; color: var(--ink); }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.gv-card__more { align-self: flex-end; margin-top: 0.8rem; font-size: 0.98rem; }

/* ---------- Duo: house + calendar ---------- */
.gv-duo { display: grid; grid-template-columns: minmax(0, 1fr); }
.gv-house {
    position: relative;
    min-width: 0;
    padding: 3rem 4% 3.4rem;
    background-color: var(--kraft-deep);
    background-image: var(--grain);
    background-size: 220px 220px;
}
.gv-house__lead { max-width: 52ch; font-size: 0.92rem; }
.gv-house__stage { position: relative; margin-top: 1.4rem; }
.gv-house__img {
    display: block;
    width: 60%;
    height: auto;
    aspect-ratio: 778 / 836;
    object-fit: cover;
    -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 72%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 72%, transparent 100%);
}
.gv-house__yard {
    position: absolute;
    left: 66%; top: 19%;
    width: 32%;
    padding: 7px;
    transform: rotate(2.5deg);
}
.gv-house__yard::before { width: 70px; height: 20px; top: -10px; }
.gv-house__yard img { aspect-ratio: 627 / 480; object-fit: cover; }
.gv-house__notes { list-style: none; margin: 0; padding: 0; }
.gv-note { position: absolute; max-width: 38%; line-height: 1.2; hyphens: manual; }
.gv-note strong { display: block; font-family: var(--f-hand); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #141b2e; }
.gv-note span { display: block; font-family: var(--f-note); font-weight: 600; font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: var(--ink); }
.gv-note--garden { left: 41%; top: -1%; }
.gv-note--roof { left: 46%; top: 10%; max-width: 19%; }
.gv-note--yard { left: 57%; top: 62%; }
.gv-note--veranda { left: 61%; top: 80%; }

.gv-cal {
    position: relative;
    min-width: 0;
    padding: 3rem 4% 3.4rem;
    color: var(--chalk);
    background-color: var(--indigo);
    background-image:
        repeating-linear-gradient(-32deg, rgba(247, 243, 232, 0.03) 0 2px, transparent 2px 10px),
        var(--grain);
    background-size: auto, 220px 220px;
}
.gv-cal__bunting { position: absolute; right: 4%; top: 1.4rem; width: 150px; height: auto; color: rgba(247, 243, 232, 0.75); }
.gv-cal__lead { max-width: 50ch; font-size: 0.92rem; color: rgba(247, 243, 232, 0.85); }
.gv-cal__wrap { overflow-x: auto; margin-top: 1.2rem; }
.gv-cal__table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    table-layout: fixed;
    border: 2px solid rgba(247, 243, 232, 0.7);
}
.gv-cal__table th, .gv-cal__table td {
    border: 1.5px solid rgba(247, 243, 232, 0.45);
    padding: 0.7rem 0.55rem;
    vertical-align: top;
    color: var(--chalk);
}
.gv-cal__table thead th { font-family: var(--f-hand); font-weight: 400; font-size: 1.25rem; text-align: center; }
.gv-cal__table tbody th { width: 4.6rem; font-family: var(--f-type); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(247, 243, 232, 0.7); }
.gv-cal__table thead th:first-child { width: 4.6rem; }
.gv-cal__table td { height: 5.2rem; }
.gv-chalk {
    display: block;
    font-family: var(--f-note);
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.15;
    color: var(--chalk);
    text-shadow: 0 0 1px rgba(247, 243, 232, 0.6);
    hyphens: manual;
    overflow-wrap: normal;
}
.gv-chalk--star::before, .gv-chalk--flag::before {
    content: "";
    display: block;
    width: 26px; height: 22px;
    margin-bottom: 0.25rem;
    background-repeat: no-repeat;
    background-size: contain;
}
.gv-chalk--star::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M13 2l3 7 8 .6-6 5 2 8-7-4.4L6 22.6l2-8-6-5 8-.6z' fill='none' stroke='%23E9A13B' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gv-chalk--flag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 22'%3E%3Cpath d='M1 3 Q13 9 25 3' fill='none' stroke='%23F7F3E8' stroke-width='1.3'/%3E%3Cpath d='M4 5l3 8 3-6M11 7l3 8 3-8M18 6l3 7 2-8' fill='none' stroke='%23E9A13B' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Inner pages ---------- */
.gv-inner { padding: 2rem 0 4rem; }
.gv-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    margin-bottom: 1.8rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    background: rgba(251, 247, 238, 0.7);
    border-left: 4px solid var(--saffron);
}
.gv-crumbs a { color: var(--ink); }
.gv-crumbs__sep { color: var(--brick); }
.gv-crumbs span:last-child { color: var(--muted); }

.layout-single { display: block; }
.layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
}
.content-area { min-width: 0; }

.gv-pagehead { margin-bottom: 1.6rem; }
.gv-pagehead__intro { font-size: 0.95rem; }

.gv-entry {
    position: relative;
    padding: 2.2rem 2.4rem 2rem;
    background: var(--paper);
    box-shadow: var(--shadow-paper);
}
.gv-entry::before {
    content: "";
    position: absolute;
    top: -12px; left: 2.4rem;
    width: 110px; height: 26px;
    background: var(--tape);
    transform: rotate(-3deg);
}
.gv-entry__title { margin-top: 0; font-size: clamp(1.9rem, 4vw, 2.6rem); color: #141b2e; }
.gv-entry__meta { font-family: var(--f-note); font-weight: 600; font-size: 1.2rem; color: var(--muted); }
.gv-entry__meta a { color: var(--brick); }
.gv-entry__sep { margin: 0 0.4rem; }
.gv-entry__cover { margin: 1rem 0 1.8rem; transform: rotate(-0.6deg); }
.gv-entry__cover img { aspect-ratio: 16 / 9; object-fit: cover; }
.gv-entry__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.gv-entry__tags a {
    padding: 0.2rem 0.7rem;
    font-size: 0.85rem;
    text-decoration: none;
    background: var(--mint);
    box-shadow: 2px 2px 0 rgba(31, 42, 68, 0.18);
}
.gv-postnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 2px dashed var(--line); }
.gv-postnav__link { display: block; padding: 0.8rem 1rem; text-decoration: none; background: var(--slip); font-family: var(--f-hand); font-weight: 700; line-height: 1.25; color: #141b2e; }
.gv-postnav__link span { display: block; font-family: var(--f-type); font-weight: 400; font-size: 0.78rem; color: var(--muted); }
.gv-postnav__link--next { text-align: right; }
.gv-postnav__link:hover { background: var(--saffron); color: #141b2e; }

/* ---------- Entry content ---------- */
.entry-content { font-size: 0.98rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { display: block; height: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content ul li::marker { color: var(--brick); content: "✓  "; }
.entry-content blockquote {
    position: relative;
    margin: 1.8em 0;
    padding: 1.4rem 1.8rem 1.2rem 2.4rem;
    font-family: var(--f-hand);
    font-size: 1.25rem;
    line-height: 1.5;
    color: #141b2e;
    background: var(--mint);
    box-shadow: 3px 4px 0 rgba(31, 42, 68, 0.18);
}
.entry-content blockquote::before {
    content: "“";
    position: absolute;
    left: 0.6rem; top: -0.2rem;
    font-size: 3.2rem;
    color: var(--brick);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9rem; border: 2px solid var(--indigo); }
.entry-content th, .entry-content td { border: 1px solid rgba(31, 42, 68, 0.45); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.entry-content th { background: var(--indigo); color: var(--chalk); font-weight: 700; }
.entry-content tr:nth-child(even) td { background: rgba(203, 217, 196, 0.35); }
.entry-content pre { overflow-x: auto; padding: 1rem; background: var(--indigo); color: var(--chalk); font-size: 0.85rem; }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-family: var(--f-note); font-weight: 600; font-size: 1.05rem; color: var(--muted); text-align: center; }
.entry-content hr { border: 0; height: 12px; margin: 2em 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6' fill='none' stroke='%238A7B63' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x center / 40px 12px; }
.entry-content .alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }

/* ---------- Sidebar ---------- */
.gv-aside {
    position: relative;
    min-width: 0;
    padding: 1.6rem 1.4rem 1.2rem;
    background: var(--aside-bg);
    background-image: linear-gradient(transparent 31px, rgba(43, 58, 85, 0.1) 32px);
    background-size: 100% 32px;
    box-shadow: var(--shadow-paper);
    transform: rotate(0.6deg);
}
.gv-aside::before {
    content: "";
    position: absolute;
    top: -12px; right: 1.4rem;
    width: 90px; height: 24px;
    background: var(--tape);
    transform: rotate(4deg);
}
.gv-aside .gv-widget { margin-bottom: 1.8rem; color: var(--ink); }
.gv-aside .gv-widget:last-child { margin-bottom: 0; }
.gv-aside .gv-widget__title { margin: 0 0 0.7rem; font-size: 1.45rem; color: #141b2e; }
.gv-aside ul { list-style: none; margin: 0; padding: 0; }
.gv-aside li { padding: 0.45rem 0; border-bottom: 1px dashed rgba(43, 58, 85, 0.3); font-size: 0.9rem; line-height: 1.45; }
.gv-aside li:last-child { border-bottom: 0; }
.gv-aside a { color: var(--ink); text-decoration: none; }
.gv-aside a:hover { color: var(--brick); text-decoration: underline wavy var(--brick); }
.gv-aside .post-date { display: block; font-size: 0.78rem; color: var(--muted); }

/* ---------- Pagination ---------- */
.gv-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 3rem;
}
.gv-pager .page-numbers {
    display: inline-block;
    min-width: 2.6rem;
    padding: 0.35rem 0.75rem;
    font-family: var(--f-hand);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    color: #141b2e;
    background: var(--slip);
    box-shadow: 2px 3px 0 rgba(31, 42, 68, 0.22);
    transform: rotate(-1deg);
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.gv-pager .page-numbers:nth-child(even) { transform: rotate(1deg); }
.gv-pager a.page-numbers:hover { background: var(--saffron); transform: translateY(-2px); }
.gv-pager .page-numbers.current { background: var(--indigo); color: var(--chalk); }
.gv-pager .page-numbers.dots { background: none; box-shadow: none; min-width: 0; }

/* ---------- Search ---------- */
.gv-search { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.gv-search__field {
    flex: 1 1 220px;
    min-width: 0;
    padding: 0.65rem 0.9rem;
    font-family: var(--f-type);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--indigo);
    border-radius: 0;
}

/* ---------- 404 ---------- */
.gv-404 {
    position: relative;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    padding: 2.6rem 2.6rem 2.2rem;
    background: var(--paper);
    box-shadow: var(--shadow-paper);
}
.gv-404__stamp {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.2rem 1.1rem;
    font-family: var(--f-hand);
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--brick);
    border: 3px solid var(--brick);
    border-radius: 6px;
    transform: rotate(-6deg);
    opacity: 0.85;
}

/* ---------- Comments ---------- */
.gv-comments {
    margin-top: 2.4rem;
    padding: 2rem 2.2rem;
    background: rgba(251, 247, 238, 0.85);
    box-shadow: var(--shadow-paper);
}
.gv-comments__title { margin-top: 0; }
.gv-comments__list, .gv-comments__list .children { list-style: none; margin: 0; padding: 0; }
.gv-comments__list .children { padding-left: 1.6rem; border-left: 2px dashed var(--line); }
.gv-comment__body { padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.gv-comment__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.8rem; }
.gv-comment__meta img { border-radius: 50%; display: block; }
.gv-comment__author { font-family: var(--f-hand); font-weight: 700; font-size: 1.1rem; color: #141b2e; }
.gv-comment__date { font-size: 0.8rem; color: var(--muted); }
.gv-comment__pending { font-size: 0.85rem; color: var(--brick); }
.gv-comment__text { font-size: 0.92rem; margin-top: 0.5rem; }
.gv-comment__reply a { font-family: var(--f-hand); font-weight: 700; }
.comment-respond { margin-top: 1.6rem; }
.comment-reply-title { font-size: 1.6rem; }
.comment-reply-title small { margin-left: 0.6rem; font-family: var(--f-type); font-size: 0.8rem; }
.comment-form label { display: block; font-family: var(--f-hand); font-weight: 700; margin-bottom: 0.2rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    font-family: var(--f-type);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid rgba(31, 42, 68, 0.6);
    border-radius: 0;
}
.comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-family: var(--f-type); font-weight: 400; font-size: 0.85rem; }
.comment-form .submit {
    padding: 0.6rem 1.4rem;
    font-family: var(--f-hand);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--chalk);
    background: var(--indigo);
    border: 0;
    box-shadow: 3px 3px 0 var(--saffron);
    cursor: pointer;
}
.comment-form .submit:hover { background: var(--brick); }

/* ---------- Footer ---------- */
.gv-footer {
    position: relative;
    padding: 3.2rem 0 2rem;
    color: var(--chalk);
    background-color: var(--forest);
    background-image: var(--grain);
    background-size: 220px 220px;
    border-top: 5px solid #182419;
}
.gv-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}
.gv-footer__col { min-width: 0; }
.gv-footer .gv-widget { color: rgba(247, 243, 232, 0.88); font-size: 0.9rem; line-height: 1.65; }
.gv-footer .gv-widget__title { margin: 0 0 0.8rem; font-size: 1.6rem; color: var(--chalk); }
.gv-footer .gv-widget p { color: rgba(247, 243, 232, 0.88); }
.gv-footer a { color: var(--chalk); text-decoration: underline wavy rgba(233, 161, 59, 0.85); text-decoration-thickness: 1px; }
.gv-footer a:hover { color: var(--saffron); }
.gv-footer ul { list-style: none; margin: 0; padding: 0; }
.gv-footer li { margin-bottom: 0.35rem; }
.gv-footer__copy {
    margin: 2.6rem 0 0;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(247, 243, 232, 0.75);
    border-top: 1px dashed rgba(247, 243, 232, 0.25);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.4rem;
    color: var(--chalk);
    background: var(--indigo);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.55);
    border-top: 4px solid var(--saffron);
}
.cookie-banner__text { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 0.85rem; line-height: 1.55; color: var(--chalk); }
.cookie-banner__btn { flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (min-width: 1200px) {
    .gv-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .gv-house, .gv-cal { padding: 3rem 3.5% 3.4rem; }
    .gv-cal__table td { height: 7.4rem; }
}

@media (max-width: 1100px) {
    .gv-fest__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
    .gv-fest__tags { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .gv-tag { flex: 1 1 200px; }
    .gv-tag:nth-child(2) { margin-left: 0; }
}

@media (max-width: 960px) {
    .gv-masthead__inner { flex-wrap: wrap; }
    .gv-brand { flex-basis: calc(100% - 140px); }
    .gv-navtoggle { display: inline-flex; margin-left: auto; }
    .gv-nav {
        display: none;
        flex-basis: 100%;
        padding: 0.8rem 0 0;
        border-left: 0;
        border-top: 3px double rgba(247, 243, 232, 0.55);
    }
    .gv-nav.is-open { display: block; }
    .layout-with-sidebar { display: block; }
    .layout-with-sidebar .gv-aside { margin-top: 3rem; }
    .layout-single .content-area { width: 100%; }
    .gv-map__stage { display: flex; flex-direction: column; }
    .gv-map__title { position: static; order: 1; align-self: flex-start; margin-bottom: 1.2rem; }
    .gv-map__img { order: 2; aspect-ratio: 16 / 9; }
    .gv-map__labels { order: 3; }
    .gv-map__labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.2rem; }
    .gv-pin { position: relative; left: auto; top: auto; max-width: none; padding-left: 1.1rem; }
    .gv-pin::before { left: -6px; }
    .gv-404 { width: 100%; }
}

@media (max-width: 600px) {
    .shell--front { width: min(92%, 1240px); }
    .gv-masthead__inner { padding: 1.2rem 0 1.8rem; gap: 1rem; }
    .gv-brand { gap: 0.8rem; flex-basis: 100%; }
    .gv-brand__mark { width: 64px; height: 64px; }
    .gv-brand__desc { font-size: 0.76rem; }
    .gv-navtoggle { margin-left: 0; }
    .gv-fest { padding: 2.4rem 0 2.8rem; }
    .gv-fest__grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .gv-fest__tags { flex-direction: column; }
    .gv-tag { flex: none; }
    .gv-map__labels { grid-template-columns: minmax(0, 1fr); }
    .gv-house, .gv-cal { padding: 2.4rem 5% 2.8rem; }
    .gv-house__img { width: 100%; }
    .gv-house__yard { position: relative; left: auto; top: auto; width: 82%; margin: 1.8rem auto 0; }
    .gv-house__notes { display: grid; gap: 0.8rem; margin-top: 1.6rem; }
    .gv-note { position: static; max-width: none; padding: 0.6rem 0.9rem; background: rgba(251, 247, 238, 0.7); border-left: 4px solid var(--brick); }
    .gv-cal__bunting { width: 90px; top: 0.8rem; }
    .gv-cal__table { min-width: 460px; }
    .gv-cal__table thead th { font-size: 1.05rem; }
    .gv-chalk { font-size: 1.05rem; }
    .gv-entry { padding: 1.6rem 1.3rem 1.4rem; }
    .gv-comments { padding: 1.5rem 1.2rem; }
    .gv-404 { padding: 2rem 1.4rem 1.6rem; }
    .gv-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .cookie-banner { flex-direction: column; align-items: stretch; padding: 1rem 1.2rem; }
    .cookie-banner__btn { align-self: flex-start; }
    .entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
