/* South Devon Camping – hedgerow green and Devon red earth on cream.
   Fonts: Kreon (display, slab) and Raleway (text), both SIL OFL, self-hosted. */

@font-face {
    font-family: "Kreon";
    src: url("/fonts/kreon.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/fonts/raleway.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --green: #364f42;
    --leaf: #598259;
    --leaf-light: #b9d3a8;
    --pasture: #1d2b23;
    --pasture-2: #26382d;
    --cream: #fbf6ec;
    --sand: #f1e4c8;
    --sand-2: #e7d4ad;
    --earth: #a3462a;
    --earth-dark: #84351e;
    --ink: #1f2a24;
    --muted: #4f5c54;
    --gold: #f3d48a;
    --winter: #8fa596;
    --spring: #7aa66b;
    --summer: #d9b45a;
    --autumn: #c7682c;
    --radius: 22px;
    --radius-s: 12px;
    --shadow: 0 18px 40px -22px rgba(29, 43, 35, 0.45);
    --display: "Kreon", "Rockwell", Georgia, serif;
    --text: "Raleway", "Segoe UI", system-ui, sans-serif;
    --menu-fg: var(--green);
    --menu-focus: var(--earth);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.05rem;
    line-height: 1.65;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--earth);
}

:focus-visible {
    outline: 3px solid var(--earth);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--green);
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--green);
    color: #fff;
    border-radius: 8px;
}

.skip:focus {
    top: 12px;
    color: #fff;
}

.kicker {
    font-family: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--earth);
    margin-bottom: 0.6em;
}

.kicker-light {
    color: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 4.4vw, 3.3rem);
}

.section-title.small {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.muted {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.6em;
}

.lead {
    font-size: clamp(1.1rem, 1.7vw, 1.28rem);
    line-height: 1.6;
}

.narrow {
    max-width: 760px;
}

section {
    padding-block: clamp(56px, 8vw, 104px);
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--text);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-earth {
    background: var(--earth);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(132, 53, 30, 0.9);
}

.btn-earth:hover {
    background: var(--earth-dark);
    color: #fff;
}

.btn-green {
    background: var(--green);
    color: #fff;
}

.btn-green:hover {
    background: var(--pasture);
    color: #fff;
}

.btn-light {
    background: rgba(251, 246, 236, 0.94);
    color: var(--green);
}

.btn-light:hover {
    background: #fff;
    color: var(--earth-dark);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ---- header ---- */

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 246, 236, 0.88);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(54, 79, 66, 0.14);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    min-height: 72px;
    padding-block: 8px;
}

.brand {
    flex: none;
    margin-right: auto;
}

.brand img {
    width: 176px;
    height: auto;
}

.top-call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.top-call:hover {
    background: var(--sand-2);
    color: var(--green);
}

.top-book {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--earth);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.top-book:hover {
    background: var(--earth-dark);
    color: #fff;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex-basis: 100%;
    justify-content: flex-end;
    order: 5;
}

.nav a {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
}

.nav a:hover {
    background: var(--sand);
    color: var(--green);
}

.nav a[aria-current] {
    background: var(--green);
    color: #fff;
}

.nav .nav-book {
    border: 2px solid var(--earth);
    color: var(--earth-dark);
    margin-left: 6px;
}

.nav .nav-book[aria-current] {
    background: var(--earth);
    border-color: var(--earth);
    color: #fff;
}

@media (min-width: 1100px) {
    .nav {
        flex-basis: auto;
        flex-wrap: nowrap;
        order: 0;
        margin-left: 8px;
        gap: 0;
    }

    .nav a {
        padding-inline: 10px;
        white-space: nowrap;
    }

    .brand {
        margin-right: 0;
    }

    .top-row {
        flex-wrap: nowrap;
    }

    .top-call {
        margin-left: auto;
        order: 6;
    }

    .top-book {
        order: 7;
    }
}

/* ---- menu: /js/menu.js folds the navigation behind a button on a phone ---- */

.menu-toggle {
    display: none;
}

@media (max-width: 760px) {
    .has-menu .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 44px;
        padding: 0 14px;
        border: 2px solid currentColor;
        border-radius: 999px;
        background: var(--menu-bg, transparent);
        color: var(--menu-fg, inherit);
        font: inherit;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
    }

    .has-menu .menu-toggle:focus-visible {
        outline: 3px solid var(--menu-focus, currentColor);
        outline-offset: 3px;
    }

    .has-menu .menu-nav:not(.is-open) {
        display: none;
    }

    .has-menu .menu-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
        width: 100%;
        margin-inline: 0;
        gap: 2px;
        padding-block: 6px 4px;
        background: var(--menu-panel, none);
    }

    .has-menu .menu-nav.is-open a {
        padding-block: 12px;
    }

    .nav .nav-book {
        margin-left: 0;
    }

    .top-book {
        display: none;
    }

    .top-row {
        gap: 8px 10px;
    }
}

@media (max-width: 420px) {
    .has-menu .menu-toggle {
        justify-content: center;
        width: 44px;
        padding: 0;
    }

    .menu-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .brand img {
        width: 132px;
    }

    .top-call {
        padding: 6px 11px;
        font-size: 0.95rem;
    }

    .top-call svg {
        display: none;
    }
}

/* three bars that turn into a cross while the menu is open */
.menu-bars,
.menu-bars::before,
.menu-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-bars {
    position: relative;
}

.menu-bars::before,
.menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-bars::before {
    top: -6px;
}

.menu-bars::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---- hero ---- */

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: min(84vh, 760px);
    padding-block: 120px 56px;
    background-color: var(--pasture);
    color: #fff;
    isolation: isolate;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 38% 50%;
    animation: hero-zoom 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(20, 32, 25, 0.86) 0%, rgba(20, 32, 25, 0.55) 38%, rgba(20, 32, 25, 0) 72%),
        linear-gradient(to right, rgba(20, 32, 25, 0.35), rgba(20, 32, 25, 0) 60%);
}

.hero-inner > * {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-inner > :nth-child(2) {
    animation-delay: 0.12s;
}

.hero-inner > :nth-child(3) {
    animation-delay: 0.24s;
}

.hero-inner > :nth-child(4) {
    animation-delay: 0.36s;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6.6vw, 5.4rem);
    max-width: 15ch;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
    font-style: normal;
    color: var(--gold);
}

.hero-lead {
    max-width: 52ch;
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.hero-chip,
.closed-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(251, 246, 236, 0.95);
    color: var(--earth-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.closed-banner {
    background: var(--sand);
    margin-top: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--earth);
    box-shadow: 0 0 0 4px rgba(163, 70, 42, 0.2);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes hero-zoom {
    from {
        transform: scale(1.08);
    }
}

/* ---- welcome ---- */

.welcome-grid {
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.welcome-photo {
    margin: 0;
}

.welcome-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) var(--radius) 90px;
    box-shadow: var(--shadow);
}

.welcome-photo figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (min-width: 900px) {
    .welcome-grid {
        grid-template-columns: 1.1fr 1fr;
    }
}

/* ---- the farm year (signature) ---- */

.farm {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(89, 130, 89, 0.35), transparent 55%),
        linear-gradient(160deg, var(--pasture-2), var(--pasture));
    color: #eef1e6;
    overflow: hidden;
}

.farm h2 {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.farm a {
    color: var(--gold);
}

.farm-grid {
    display: grid;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

@media (min-width: 900px) {
    .farm-grid {
        grid-template-columns: minmax(320px, 1fr) 1.1fr;
    }
}

.farm-ring {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
}

.year-ring {
    width: 100%;
    height: auto;
    overflow: visible;
}

.ring-base {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 30;
}

.season {
    fill: none;
    stroke-width: 30;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.season-winter {
    stroke: var(--winter);
}

.season-spring {
    stroke: var(--spring);
}

.season-summer {
    stroke: var(--summer);
}

.season-autumn {
    stroke: var(--autumn);
}

.tick {
    stroke: var(--pasture);
    stroke-width: 2.5;
}

.month {
    fill: #dfe6d8;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: central;
}

.season-open {
    fill: none;
    stroke: var(--earth);
    stroke-width: 26;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 10px rgba(163, 70, 42, 0.55));
}

.open-dot {
    fill: #fff;
}

.ring-kicker {
    fill: var(--gold);
    font-family: var(--text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-anchor: middle;
}

.ring-big {
    fill: #fff;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 700;
    text-anchor: middle;
}

@supports (animation-timeline: view()) {
    .season {
        animation: draw linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 40%;
    }

    .season-open {
        animation: draw linear both;
        animation-timeline: view();
        animation-range: entry 30% cover 50%;
    }
}

@keyframes draw {
    from {
        stroke-dashoffset: 1;
    }
}

.seasons {
    list-style: none;
    margin: 0 0 1.2em;
    padding: 0;
    display: grid;
    gap: 10px;
}

.seasons li {
    position: relative;
    padding: 10px 14px 10px 40px;
    border-radius: var(--radius-s);
    background: rgba(255, 255, 255, 0.06);
}

.seasons li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 17px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--leaf-light);
}

.seasons strong {
    display: block;
    color: #fff;
    font-family: var(--display);
    font-size: 1.12rem;
}

.seasons .s-winter::before {
    background: var(--winter);
}

.seasons .s-summer::before {
    background: var(--summer);
    box-shadow: 0 0 0 4px var(--earth);
}

.seasons .s-autumn::before {
    background: var(--autumn);
}

.seasons .s-herd::before {
    background: #fff;
}

.signature {
    font-family: var(--display);
    font-size: 1.5rem;
    color: var(--gold);
}

/* ---- features: bento and figures ---- */

.bento {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.bento li {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--pasture);
    min-height: 280px;
    box-shadow: var(--shadow);
}

.bento li > a img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento li:hover > a img {
    transform: scale(1.05);
}

.bento li > div {
    position: absolute;
    inset: auto 0 0;
    padding: 70px 22px 20px;
    background: linear-gradient(to top, rgba(20, 32, 25, 0.92), rgba(20, 32, 25, 0.6) 60%, transparent);
    color: #fff;
    pointer-events: none;
}

.bento h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.2em;
}

.bento p {
    margin: 0;
}

@media (min-width: 820px) {
    .bento {
        grid-template-columns: 1.4fr 1fr;
        grid-template-rows: 280px 280px;
    }

    .bento .bento-big {
        grid-row: span 2;
    }
}

.figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    margin: 40px 0 0;
    border-top: 2px solid var(--green);
}

.figures > div {
    padding: 20px 16px 6px 0;
    border-bottom: 1px solid rgba(54, 79, 66, 0.2);
}

.figures dt {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: var(--earth);
    line-height: 1;
}

.figures dd {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 600;
}

/* ---- explore strip ---- */

.explore {
    background: var(--sand);
}

.explore-head {
    display: grid;
    gap: 10px 48px;
    align-items: end;
    margin-bottom: 28px;
}

@media (min-width: 900px) {
    .explore-head {
        grid-template-columns: 1fr 1fr;
    }
}

.strip {
    list-style: none;
    margin: 0 0 28px;
    padding: 4px 4px 18px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.strip li {
    scroll-snap-align: start;
}

.strip-card {
    position: relative;
    display: block;
    height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--pasture);
}

.strip-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.strip-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 32, 25, 0.9), rgba(20, 32, 25, 0) 65%);
}

.strip-card:hover img {
    transform: scale(1.06);
}

.strip-card:hover {
    color: #fff;
}

.strip-num,
.strip-name {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
}

.strip-num {
    top: 16px;
    right: auto;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(20, 32, 25, 0.78);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold);
}

.strip-name {
    bottom: 18px;
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}

/* ---- reviews ---- */

.reviews {
    padding-block: clamp(48px, 6vw, 72px);
}

.reviews-inner {
    display: grid;
    gap: 18px 36px;
    align-items: center;
    padding: clamp(26px, 4vw, 44px);
    border-radius: var(--radius);
    background: #fff;
    border: 2px solid var(--sand-2);
}

.reviews-inner p:last-child {
    margin-bottom: 0;
}

.reviews h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.quote-mark {
    width: 64px;
    fill: var(--earth);
}

@media (min-width: 900px) {
    .reviews-inner {
        grid-template-columns: auto 1fr auto;
    }
}

/* ---- gallery ---- */

.mosaic {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    columns: 2 150px;
    column-gap: 12px;
}

.mosaic li {
    break-inside: avoid;
    margin-bottom: 12px;
}

.mosaic a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
}

.mosaic img {
    width: 100%;
    transition: transform 0.5s ease;
}

.mosaic a:hover img {
    transform: scale(1.05);
}

@media (min-width: 700px) {
    .mosaic {
        columns: 3;
    }

    .mosaic li:nth-child(3n + 1) img {
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }
}

@media (min-width: 1100px) {
    .mosaic {
        columns: 4;
    }
}

/* ---- call band ---- */

.band {
    background:
        radial-gradient(circle at 90% 10%, rgba(163, 70, 42, 0.45), transparent 50%),
        var(--green);
    color: #eef1e6;
}

.band h2 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.2rem);
}

.band-inner {
    display: grid;
    gap: 24px 56px;
    align-items: center;
}

.band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.band-lines {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 6px 0 0;
    font-weight: 700;
}

.band-lines a {
    color: #fff;
    overflow-wrap: anywhere;
}

.band-lines a:hover {
    color: var(--gold);
}

@media (min-width: 900px) {
    .band-inner {
        grid-template-columns: 1.3fr 1fr;
    }
}

/* ---- footer ---- */

.foot {
    position: relative;
    background: var(--pasture);
    color: #d8dfd4;
    padding: 64px 0 28px;
    font-size: 0.97rem;
}

.foot-hills {
    position: absolute;
    left: 0;
    right: 0;
    top: -69px;
    width: 100%;
    height: 70px;
    fill: var(--pasture);
}

.foot h2 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.7em;
}

.foot a {
    color: #fff;
}

.foot a:hover {
    color: var(--gold);
}

.foot address {
    font-style: normal;
}

.foot-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.foot-brand img {
    width: 220px;
    margin-bottom: 14px;
}

.foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.foot-bottom {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.88rem;
}

.foot-company {
    color: #c5cfc0;
}

/* ---- page heads ---- */

.page-head {
    padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px);
    background: linear-gradient(180deg, var(--sand), var(--cream));
}

.page-head h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    max-width: 18ch;
}

.page-head .lead {
    max-width: 62ch;
}

.page-head-photo,
.guide-head {
    position: relative;
    isolation: isolate;
    color: #fff;
    background: var(--pasture);
    padding-block: clamp(90px, 13vw, 170px) clamp(36px, 5vw, 60px);
}

.page-head-photo::before,
.guide-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--head-img) center / cover no-repeat;
}

.page-head-photo::after,
.guide-head::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(20, 32, 25, 0.88), rgba(20, 32, 25, 0.45) 55%, rgba(20, 32, 25, 0.15));
}

.page-head-photo h1,
.guide-head h1 {
    color: #fff;
}

.page-head-photo .lead,
.guide-head .lead {
    color: #f3f1e8;
}

.guide-head h1 {
    font-size: clamp(2.2rem, 5.4vw, 4rem);
    max-width: 20ch;
}

.guide-head .lead {
    max-width: 70ch;
}

.dates-pill {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(251, 246, 236, 0.95);
    color: var(--ink);
    font-size: 1.05rem;
}

.dates-pill strong {
    color: var(--earth-dark);
}

.crumbs ol {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.crumbs li + li::before {
    content: "/";
    margin: 0 10px;
    opacity: 0.7;
}

.crumbs a {
    color: #fff;
}

.crumbs a:hover {
    color: var(--gold);
}

.toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toc a {
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* ---- shared layout pieces ---- */

.split {
    display: grid;
    gap: clamp(28px, 5vw, 64px);
}

@media (min-width: 900px) {
    .split {
        grid-template-columns: 1.15fr 1fr;
    }

    .split-top {
        align-items: start;
    }
}

.stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.card {
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(54, 79, 66, 0.12);
    box-shadow: var(--shadow);
}

.card h2 {
    font-size: 1.6rem;
}

.card > :last-child {
    margin-bottom: 0;
}

.card-dark {
    background: var(--green);
    color: #eef1e6;
    border-color: transparent;
}

.card-dark h2 {
    color: #fff;
}

.card-dark a {
    color: #fff;
}

.card-dark a:hover {
    color: var(--gold);
}

.note-box {
    padding: 14px 18px;
    border-left: 5px solid var(--earth);
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
    background: var(--sand);
}

.checks {
    list-style: none;
    margin: 0 0 1.2em;
    padding: 0;
    display: grid;
    gap: 8px;
}

.checks li {
    position: relative;
    padding-left: 34px;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.rules {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rule;
    display: grid;
    gap: 8px;
}

.rules li {
    counter-increment: rule;
    position: relative;
    padding-left: 40px;
}

.rules li::before {
    content: counter(rule);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--sand);
    color: var(--green);
    font-family: var(--display);
    font-weight: 700;
    text-align: center;
    line-height: 28px;
}

.tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags li {
    padding: 6px 14px;
    border-radius: 999px;
    border: 2px solid var(--leaf);
    color: var(--green);
    font-weight: 700;
    font-size: 0.92rem;
}

.dash {
    margin: 0;
    padding-left: 1.1em;
    display: grid;
    gap: 6px;
}

.dash li::marker {
    color: var(--earth);
}

.card-dark .dash li::marker {
    color: var(--gold);
}

/* ---- facilities ---- */

.photo-row-section {
    padding-block: 0;
}

.photo-row {
    list-style: none;
    margin: 0;
    padding: 4px 0 16px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 260px);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.photo-row li {
    scroll-snap-align: start;
}

.photo-row a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
}

.photo-row img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-row a:hover img {
    transform: scale(1.05);
}

.field-cards {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

@media (min-width: 900px) {
    .field-cards {
        grid-template-columns: 1.1fr 1fr 1fr;
    }
}

.field-photo {
    margin: 0;
}

.field-photo a,
.field-photo img {
    display: block;
    height: 100%;
}

.field-photo img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    min-height: 220px;
}

.field-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--sand);
}

.field-card:nth-of-type(2) {
    background: var(--green);
    color: #eef1e6;
}

.field-card:nth-of-type(2) h3,
.field-card:nth-of-type(2) .field-tag {
    color: #fff;
}

.field-tag {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--earth-dark);
    margin-bottom: 0.4em;
}

.field-card h3 {
    font-size: 1.8rem;
}

.belltent {
    background: var(--sand);
}

.belltent-inner {
    display: grid;
    gap: 24px 40px;
    align-items: center;
}

.bell-icon {
    width: 120px;
    color: var(--earth);
}

@media (min-width: 760px) {
    .belltent-inner {
        grid-template-columns: auto 1fr;
    }
}

.belltent h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.belltent a {
    overflow-wrap: anywhere;
}

.faq-grid {
    display: grid;
    gap: 28px 64px;
}

@media (min-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr 1.6fr;
    }

    .faq-grid > div:first-child {
        position: sticky;
        top: 110px;
        align-self: start;
    }
}

.faq-list details {
    border-bottom: 1px solid rgba(54, 79, 66, 0.22);
}

.faq-list summary {
    position: relative;
    padding: 18px 44px 18px 0;
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green);
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--earth-dark);
    font-family: var(--text);
    font-size: 1.4rem;
    line-height: 32px;
    text-align: center;
    transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list details p {
    padding-bottom: 12px;
}

/* ---- prices ---- */

.pitch {
    margin: 0;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--green);
    color: #eef1e6;
}

.pitch svg {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    color: #fff;
}

.pitch-grass {
    fill: var(--leaf);
}

.pitch-edge {
    fill: none;
    stroke: var(--gold);
    stroke-width: 4;
    stroke-dasharray: 0.02 0.012;
}

.pitch-tent path {
    fill: var(--cream);
}

.pitch-tent .door {
    fill: var(--earth);
}

.pitch-car {
    fill: var(--earth);
}

.pitch-car-wheel {
    fill: var(--pasture);
}

.pitch-label {
    fill: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    text-anchor: middle;
}

.pitch figcaption {
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
}

.tariff {
    background: var(--sand);
}

.table-wrap {
    margin-bottom: 36px;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius-s);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(54, 79, 66, 0.12);
}

.price-table thead th {
    background: var(--green);
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.price-table tbody th {
    font-weight: 600;
}

.price-table .price {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--earth-dark);
    white-space: nowrap;
}

.price-table.compact .price {
    font-size: 1.12rem;
    white-space: normal;
}

.tariff-pair {
    display: grid;
    gap: 0 28px;
}

@media (min-width: 900px) {
    .tariff-pair {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .price-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .price-table tr {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(54, 79, 66, 0.14);
    }

    .price-table th,
    .price-table td {
        display: block;
        padding: 2px 0;
        border: 0;
    }

    .price-table tbody th {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .price-table td::before {
        content: attr(data-label) ": ";
        color: var(--muted);
        font-family: var(--text);
        font-size: 0.9rem;
        font-weight: 600;
    }
}

.info-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

/* ---- booking ---- */

.book-online-card {
    margin: 28px 0;
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--radius);
    background: var(--sand);
    border: 2px dashed var(--earth);
}

.book-online-card h3 {
    font-size: 1.8rem;
}

.form-hint {
    color: var(--muted);
    font-size: 0.92rem;
}

.h-gap {
    margin-top: 1.6em;
}

.notes {
    margin: 0;
    display: grid;
    gap: 0;
}

.notes > div {
    display: grid;
    gap: 2px 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(54, 79, 66, 0.16);
}

@media (min-width: 620px) {
    .notes > div {
        grid-template-columns: 220px 1fr;
    }
}

.notes dt {
    font-weight: 800;
    color: var(--green);
}

.notes dd {
    margin: 0;
}

.big-line {
    font-size: 1.12rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* ---- contact ---- */

.contact-card {
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--radius);
    background: var(--green);
    color: #eef1e6;
}

.contact-card h2 {
    color: #fff;
    font-size: 1.9rem;
}

.contact-card a:not(.btn) {
    color: #fff;
}

.contact-card a:not(.btn):hover {
    color: var(--gold);
}

.contact-line {
    display: grid;
    gap: 2px;
    font-size: 1.15rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-k {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}

.contact-card .btn-green {
    background: #fff;
    color: var(--green);
}

.contact-card .btn-green:hover {
    background: var(--sand);
    color: var(--green);
}

.form-card {
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-card h2 {
    font-size: 1.8rem;
}

.contact-form > div,
.contact-form .form-row {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--green);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #c9c0ad;
    border-radius: var(--radius-s);
    background: var(--cream);
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    outline: 3px solid rgba(54, 79, 66, 0.25);
    outline-offset: 0;
}

.contact-form ul {
    margin: 4px 0 0;
    padding-left: 1.1em;
    color: var(--earth-dark);
    font-weight: 600;
}

.contact-sent {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-s);
    background: #e3eedb;
    color: var(--ink);
}

.directions {
    background:
        radial-gradient(circle at 85% 15%, rgba(89, 130, 89, 0.35), transparent 50%),
        var(--pasture);
    color: #eef1e6;
}

.directions h2,
.directions h3 {
    color: #fff;
}

.directions a {
    color: var(--gold);
}

.directions a:hover {
    color: #fff;
}

.warning {
    max-width: 820px;
    padding: 16px 20px;
    border-radius: var(--radius-s);
    background: var(--cream);
    color: var(--ink);
    border-left: 6px solid var(--earth);
}

.route {
    list-style: none;
    margin: 36px 0;
    padding: 0;
    counter-reset: step;
    max-width: 820px;
}

.route li {
    counter-increment: step;
    position: relative;
    padding: 0 0 26px 66px;
}

.route li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -4px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--earth);
    color: #fff;
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
}

.route li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    border-left: 3px dashed rgba(243, 212, 138, 0.55);
}

.route p {
    margin: 0;
    font-size: 1.08rem;
}

.route strong {
    color: #fff;
}

.w3w {
    max-width: 820px;
    padding: 20px 24px;
    border-radius: var(--radius-s);
    background: rgba(255, 255, 255, 0.07);
}

.w3w p {
    margin-bottom: 0.4em;
}

/* ---- on our doorstep ---- */

.duo {
    margin: 0;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
}

.duo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    min-height: 220px;
}

.duo a:last-child {
    margin-top: 48px;
}

.guide-cards-section {
    padding-top: 0;
}

.guide-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.guide-cards a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.guide-cards a:hover {
    transform: translateY(-4px);
    color: var(--ink);
}

.guide-cards img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gc-body {
    display: grid;
    gap: 6px;
    padding: 20px 22px 24px;
}

.gc-num {
    font-family: var(--display);
    font-weight: 700;
    color: var(--earth);
}

.gc-name {
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1.1;
}

.guide-cards li:first-child {
    grid-column: 1 / -1;
}

@media (min-width: 760px) {
    .guide-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .guide-cards li:first-child a {
        flex-direction: row;
    }

    .guide-cards li:first-child img {
        width: 58%;
        aspect-ratio: auto;
    }

    .guide-cards li:first-child .gc-body {
        align-content: center;
        padding: 36px;
    }

    .guide-cards li:first-child .gc-name {
        font-size: 2.6rem;
    }
}

.places {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(28px, 4vw, 48px);
}

.place {
    display: grid;
    gap: 20px 40px;
    padding-bottom: clamp(28px, 4vw, 48px);
    border-bottom: 1px solid rgba(54, 79, 66, 0.18);
}

.place:last-child {
    border-bottom: 0;
}

.place-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
}

@media (min-width: 900px) {
    .place {
        grid-template-columns: 220px 1fr;
    }

    .place-photo {
        grid-template-columns: 1fr 1.1fr;
        align-items: center;
    }

    .place-photo:nth-child(even) .place-img {
        order: 2;
    }

    .place:not(.place-photo) .place-text {
        grid-column: 2;
    }
}

.place-text {
    position: relative;
}

.place-num {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: var(--sand-2);
    margin-bottom: 6px;
}

.place h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.place-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font-weight: 600;
}

.place-links a {
    overflow-wrap: anywhere;
}

.guide-next {
    padding-block: clamp(48px, 6vw, 80px);
    background: var(--sand);
}

.guide-links {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.guide-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--green);
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.guide-links a:hover {
    color: var(--earth);
}

.guide-links img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex: none;
}

/* ---- legal ---- */

.legal {
    max-width: 820px;
}

.legal h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-top: 1.4em;
}

.legal h3 {
    font-size: 1.25rem;
    margin-top: 1.2em;
}

.legal ul,
.legal ol {
    margin: 0 0 1em;
    padding-left: 1.3em;
}

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    text-align: center;
    background: linear-gradient(180deg, var(--sand), var(--cream));
}

.not-found img {
    width: 260px;
    margin: 0 auto 24px;
}

.not-found h1 {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.not-found p {
    max-width: 52ch;
    margin-inline: auto;
}

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


/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

/* The Anytime Booking calendar, put on /book-online by a click (js/booking.js). Its own stylesheet loads
   after this one, so every rule here starts with .booking-widget to win. The colours of the date cells
   (available, booked, limited) stay Anytime Booking's: they carry the meaning. */
.booking-widget {
    margin-block: 18px 6px;
    padding: 14px 6px 10px;
    border-radius: var(--radius-s);
    background: #fff;
    box-shadow: var(--shadow);
}

.booking-widget:focus {
    outline: none;
}

.booking-widget:focus-visible {
    outline: 3px solid var(--earth);
    outline-offset: 3px;
}

.booking-widget .booking-loading {
    margin: 4px 8px 12px;
    color: var(--muted);
}

.booking-widget#atb_calendar_container,
.booking-widget #atb_anytime {
    font-family: var(--text);
    color: var(--ink);
}

.booking-widget #atb_category_selection,
.booking-widget #atb_unit_selection {
    min-width: 0;
    width: calc(100% - 16px);
    max-width: 420px;
    margin: 0 8px 12px;
    padding: 8px 10px;
    border: 2px solid var(--leaf);
    border-radius: 10px;
    background: var(--cream);
    color: var(--ink);
    font: 600 0.92rem/1.3 var(--text);
}

.booking-widget #atb_prev,
.booking-widget #atb_next,
.booking-widget #atb_booknow {
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--earth);
    color: #fff;
    font: 700 0.95rem/1.2 var(--text);
    cursor: pointer;
}

.booking-widget #atb_prev:hover,
.booking-widget #atb_next:hover,
.booking-widget #atb_booknow:hover {
    background: var(--earth-dark);
}

.booking-widget #atb_prev:focus-visible,
.booking-widget #atb_next:focus-visible,
.booking-widget #atb_booknow:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 2px;
}

.booking-widget .atb_calendar_month {
    background: var(--green);
    color: #fff;
    font-family: var(--display);
    border-radius: 8px 8px 0 0;
}

.booking-widget .atb_calendar_content .days {
    font-weight: 700;
    color: var(--green);
}
