/* =========================================================
   Etna Lemon Sea - content pages: guides (spiagge, dintorni), FAQ, monthly page (un mese al mare), terms, privacy.
   Loaded through the "Styles" section of those views, after site.css and shell.css.
   Uses the design-system tokens of site.css; each var() carries the contract value as a fallback,
   so these pages render the same before and after the tokens land. No token is redefined here.
   Motion: transform and opacity only, switched off under prefers-reduced-motion.
   ========================================================= */

/* ---------- Page frame ---------- */
.pg {
    --pg-y: clamp(56px, 7.5vw, 104px);
    --pg-ui: var(--font-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    font-family: var(--pg-ui);
    font-size: var(--fs-body, 1.0625rem);
    color: var(--text-color, #1d2b31);
    background: var(--sand);
}

.pg h1,
.pg h2,
.pg h3 {
    font-family: var(--pg-ui);
    letter-spacing: var(--track-tight, -0.022em);
    color: var(--ink);
}

.pg p {
    line-height: 1.65;
}

.pg a:not(.btn) {
    color: var(--sea);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.pg a:not(.btn):hover {
    color: var(--sea-dark);
}

.pg :focus-visible {
    outline: 3px solid var(--sea);
    outline-offset: 3px;
    border-radius: 6px;
}

.pg-section {
    padding-block: var(--pg-y);
}

.pg-section--white {
    background: #fff;
}

.pg-section--cream {
    background: var(--cream);
}

/* two sand sections in a row read as one band */
.pg-section:not(.pg-section--white):not(.pg-section--cream) + .pg-section:not(.pg-section--white):not(.pg-section--cream) {
    padding-top: 0;
}

.pg-narrow {
    max-width: 860px;
}

.pg-measure {
    max-width: 68ch;
}

.pg-title {
    font-size: var(--fs-h2, clamp(2rem, 4.6vw, 3.6rem));
    font-weight: 700;
    line-height: 1.06;
    margin: 0 0 1rem;
    text-wrap: balance;
}

.pg-h2 {
    font-size: clamp(1.6rem, 2.9vw, 2.3rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 .9rem;
    text-wrap: balance;
}

.pg-h3 {
    font-size: var(--fs-h3, clamp(1.25rem, 2vw, 1.6rem));
    font-weight: 650;
    line-height: 1.2;
    margin: 0 0 .5rem;
}

.pg-lead {
    font-size: var(--fs-lead, clamp(1.125rem, 1.6vw, 1.4rem));
    line-height: 1.5;
    color: var(--ink-2);
    margin: 0;
    text-wrap: pretty;
}

.pg-kicker {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: .75rem;
}

.pg-fine {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 1rem 0 0;
}

.pg-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    text-decoration: none !important;
}

.pg-link .bi {
    transition: transform .25s ease;
}

.pg-link:hover .bi {
    transform: translateX(3px);
}

/* ---------- Hero: one photo, the H1 on a dark fade ---------- */
.pg-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(460px, 72vh, 780px);
    color: #fff;
    background: var(--ink);
    overflow: hidden;
}

.pg-hero--short {
    min-height: clamp(380px, 54vh, 580px);
}

.pg-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.pg-hero__media picture,
.pg-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.pg-hero__media img {
    object-fit: cover;
    object-position: var(--pg-focus, 50% 50%);
}

.pg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 37, 48, .28) 0%, rgba(11, 37, 48, 0) 24%, rgba(11, 37, 48, .18) 46%, rgba(11, 37, 48, .82) 100%);
}

/* wide screens: the headline climbs into the sky, so the left side gets a soft extra shade */
@media (min-width: 768px) {
    .pg-hero::before {
        background:
            linear-gradient(90deg, rgba(11, 37, 48, .5) 0%, rgba(11, 37, 48, .22) 38%, rgba(11, 37, 48, 0) 62%),
            linear-gradient(180deg, rgba(11, 37, 48, .28) 0%, rgba(11, 37, 48, 0) 24%, rgba(11, 37, 48, .18) 46%, rgba(11, 37, 48, .82) 100%);
    }
}

.pg-hero__inner {
    width: 100%;
    padding-block: clamp(56px, 9vw, 120px) clamp(36px, 5.5vw, 72px);
}

.pg-hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5.4vw, 4.5rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.028em;
    max-width: 19ch;
    margin: 1rem 0 0;
    text-wrap: balance;
    text-shadow: 0 2px 28px rgba(0, 0, 0, .28);
}

.pg-hero__sub {
    font-size: var(--fs-lead, clamp(1.125rem, 1.6vw, 1.4rem));
    line-height: 1.45;
    color: rgba(255, 255, 255, .94);
    max-width: 42ch;
    margin: 1rem 0 0;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .3);
}

/* Solid pill eyebrow: readable on any photo */
.pg-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--lemon);
    color: var(--ink);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    padding: .5rem .85rem;
    border-radius: 999px;
}

@media (prefers-reduced-motion: no-preference) {
    .pg-hero__media img {
        animation: pgSettle 1.8s cubic-bezier(.2, .7, .2, 1) both;
    }
}

@keyframes pgSettle {
    from { transform: scale(1.06); }
    to { transform: none; }
}

/* ---------- Breadcrumb ---------- */
.pg-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .5rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: .875rem;
    color: var(--muted);
}

.pg-crumbs li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.pg-crumbs .pg-crumbs__sep {
    color: rgba(11, 37, 48, .35);
}

.pg-crumbs a:not(.btn) {
    display: inline-block;
    padding-block: 4px;
    margin-block: -4px;
    color: var(--muted);
    text-decoration: none;
}

.pg-crumbs a:not(.btn):hover {
    color: var(--ink);
    text-decoration: underline;
}

.pg-crumbs [aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

/* ---------- Jump links (in-page sections) ---------- */
.pg-jump {
    margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.pg-jump ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pg-jump a:not(.btn) {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease;
}

.pg-jump a:not(.btn):hover {
    border-color: rgba(11, 37, 48, .3);
    color: var(--ink);
}

@media (max-width: 767.98px) {
    .pg-jump ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        padding: 2px calc(var(--bs-gutter-x, 1.5rem) * .5);
        scroll-padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5);
    }

    .pg-jump ul::-webkit-scrollbar {
        display: none;
    }
}

/* ---------- Chip (distance, status) ---------- */
.pg-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(15, 102, 114, .09);
    color: var(--sea-dark);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* ---------- Guest snippet (verbatim, name and stars) ---------- */
.pg-quote {
    margin: 1.75rem 0 0;
    padding-left: 1rem;
    border-left: 2px solid var(--lemon);
}

.pg-quote p {
    font-family: var(--font-quote, ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif);
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--ink);
    margin: 0;
}

.pg-quote footer {
    margin-top: .4rem;
    font-size: .875rem;
    color: var(--muted);
}

.pg-quote .pg-stars {
    color: #a8780a;
    letter-spacing: .08em;
}

/* ---------- House card (_StayCard: house teaser inside the guides) ---------- */
.house-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 1rem 1.1rem;
    align-items: center;
    margin: clamp(2rem, 4vw, 2.75rem) 0 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.house-card__media img {
    display: block;
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: var(--radius);
}

.house-card__body p {
    margin: 0;
    line-height: 1.4;
}

.house-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}

.house-card__rating {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--ink);
    margin-top: .15rem !important;
}

.house-card__rating .pg-stars {
    color: #a8780a;
}

.house-card__facts {
    font-size: .9375rem;
    color: var(--muted);
    margin-top: .2rem !important;
}

.house-card__price {
    font-size: .9375rem;
    color: var(--ink);
    margin-top: .35rem !important;
}

.house-card__price strong {
    font-size: 1.0625rem;
}

.house-card__cta {
    grid-column: 1 / -1;
    width: 100%;
}

@media (min-width: 768px) {
    .house-card {
        grid-template-columns: 176px minmax(0, 1fr) auto;
        gap: 1.5rem;
        padding: 1rem 1.5rem 1rem 1rem;
    }

    .house-card__media img {
        width: 176px;
        height: 124px;
    }

    .house-card__cta {
        grid-column: auto;
        width: auto;
        white-space: nowrap;
    }
}

/* ---------- Photos inside the text ---------- */
.pg-figure {
    margin: 0;
}

.pg-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    background: var(--cream);
}

.pg-figure figcaption {
    font-size: .875rem;
    color: var(--muted);
    margin-top: .65rem;
}

/* ---------- Spiagge: the walking routes to the sea ---------- */
.sea-map {
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.sea-map img {
    border: 1px solid var(--line);
}

.sea-map-number {
    display: inline-grid;
    place-items: center;
    width: 1.6em;
    height: 1.6em;
    margin-right: .35rem;
    border-radius: 50%;
    background: var(--sea);
    color: #fff;
    font-size: .8em;
    vertical-align: .1em;
}

.pg-figure--wide img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.pg-figure--portrait img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* one large photo and two small ones; the <img> elements are the grid items (picture is display: contents) */
.pg-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 1.2vw, 16px);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.pg-mosaic > picture {
    display: contents;
}

/* with display: contents the <source> children would become empty grid items; hiding them does not affect source selection */
.pg-mosaic > picture > source {
    display: none;
}

.pg-mosaic img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    background: var(--cream);
}

.pg-mosaic > picture:first-child > img {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
    .pg-mosaic {
        grid-template-columns: 2fr 1fr;
    }

    .pg-mosaic > picture:first-child > img {
        grid-column: 1;
        grid-row: 1 / span 2;
        aspect-ratio: auto;
    }
}

/* two photos side by side */
.pg-mosaic.pg-mosaic--pair {
    grid-template-columns: 1fr 1fr;
}

.pg-mosaic.pg-mosaic--pair > picture:first-child > img {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
}

.pg-split .pg-mosaic {
    margin-top: 0;
}

/* ---------- Cards ---------- */
.pg-cards {
    display: grid;
    gap: clamp(12px, 1.6vw, 20px);
    grid-template-columns: 1fr;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 768px) {
    .pg-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.pg-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2.6vw, 2rem);
    scroll-margin-top: calc(var(--nav-h, 76px) + 16px);
}

.pg-section--white .pg-card {
    background: var(--sand);
    border-color: transparent;
}

.pg-card .pg-chip {
    margin-bottom: .9rem;
}

.pg-card p {
    margin: 0;
    color: var(--ink-2);
}

/* A second block inside a section (Dintorni: groceries after the distances) */
.pg-subsection {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    scroll-margin-top: calc(var(--nav-h, 76px) + 16px);
}

@media (min-width: 992px) {
    .pg-cards--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pg-card p.pg-card-address {
    margin-top: .75rem;
    font-size: .875rem;
    color: var(--muted);
}

.pg-card--feature {
    padding: clamp(1.5rem, 3.4vw, 2.5rem);
}

/* ---------- Feature list (icon, title, text) ---------- */
.pg-features {
    display: grid;
    gap: 1.25rem 2rem;
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
}

@media (min-width: 576px) {
    .pg-features {
        grid-template-columns: 1fr 1fr;
    }
}

.pg-features li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
}

.pg-features .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(15, 102, 114, .09);
    color: var(--sea);
    font-size: 1.25rem;
}

.pg-features strong {
    display: block;
    color: var(--ink);
    font-size: 1.0625rem;
    line-height: 1.3;
}

.pg-features span {
    display: block;
    color: var(--muted);
    font-size: .9375rem;
    line-height: 1.5;
    margin-top: .15rem;
}

/* ---------- Bento tiles (big word, short line) ---------- */
.pg-tiles {
    display: grid;
    gap: clamp(10px, 1.4vw, 18px);
    grid-template-columns: 1fr 1fr;
    list-style: none;
    margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
    padding: 0;
}

@media (min-width: 992px) {
    .pg-tiles {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pg-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 200px;
    padding: clamp(1.1rem, 2.2vw, 1.75rem);
    border-radius: var(--radius-lg);
    background: #fff;
}

.pg-section--white .pg-tile {
    background: var(--sand);
}

.pg-tile__big {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ink);
}

.pg-tile__big--sea {
    color: var(--sea);
}

.pg-tile p {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.45;
    color: var(--ink-2);
}

/* ---------- Split block: photo and text ---------- */
.pg-split {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

@media (min-width: 992px) {
    .pg-split {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    }

    .pg-split--reverse > :first-child {
        order: 2;
    }
}

/* ---------- FAQ ---------- */
.faq-group {
    scroll-margin-top: calc(var(--nav-h, 76px) + 16px);
}

.faq-group + .faq-group {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.faq-group > h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    margin: 0 0 .5rem;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    cursor: pointer;
    list-style: none;
    border-radius: 6px;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item > summary h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
    margin: 0;
}

.faq-item > summary:hover h3 {
    color: var(--sea-dark);
}

/* plus that turns into a minus */
.faq-toggle {
    position: relative;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(11, 37, 48, .06);
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .3s ease;
}

.faq-toggle::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 3rem 1.4rem 0;
    color: var(--ink-2);
}

.faq-answer p {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .faq-item[open] .faq-answer {
        animation: pgFadeIn .35s ease both;
    }
}

@keyframes pgFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
    .faq-answer {
        padding-right: 0;
    }
}

.pg-registration {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Itinerary (owner's 4-day plan) ---------- */
.itinerary {
    display: grid;
    gap: clamp(12px, 1.6vw, 20px);
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.itinerary-day {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: clamp(1rem, 2.4vw, 2rem);
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.itinerary-badge {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: var(--ink);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.itinerary-badge span {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lemon);
}

.itinerary-badge strong {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-top: .25rem;
}

.itinerary-body h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1.1rem;
}

.itinerary-body h3 .bi {
    color: var(--terracotta);
    margin-right: .4rem;
}

.itinerary-step {
    padding-left: 1.1rem;
    border-left: 2px solid var(--lemon);
    margin-bottom: 1.1rem;
}

.itinerary-step:last-child {
    margin-bottom: 0;
}

.itinerary-step .when {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: .3rem;
}

.itinerary-step p {
    margin: 0;
    color: var(--ink-2);
}

.itinerary-options {
    display: grid;
    gap: .75rem;
    margin-top: .6rem;
}

@media (min-width: 768px) {
    .itinerary-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.itinerary-option {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}

.itinerary-option strong {
    display: block;
    color: var(--ink);
    margin-bottom: .3rem;
}

.itinerary-option p {
    font-size: .9375rem;
    line-height: 1.55;
    margin: 0;
    color: var(--muted);
}

@media (max-width: 575.98px) {
    .itinerary-day {
        grid-template-columns: 1fr;
    }

    .itinerary-badge {
        width: auto;
        height: auto;
        flex-direction: row;
        gap: .5rem;
        justify-content: flex-start;
        justify-self: start;
        padding: .55rem 1rem;
        border-radius: 999px;
    }

    .itinerary-badge strong {
        font-size: 1.15rem;
        margin: 0;
    }
}

/* ---------- Places (guide sections) ---------- */
.pg-place {
    scroll-margin-top: calc(var(--nav-h, 76px) + 16px);
}

.pg-place + .pg-place {
    margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.pg-place .pg-figure {
    margin-top: 1.75rem;
}

/* ---------- Distance table ---------- */
.pg-table-wrap {
    margin-top: 1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: .5rem clamp(.75rem, 2vw, 1.5rem);
    overflow-x: auto;
}

.pg-section--white .pg-table-wrap {
    background: var(--sand);
}

.pg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.pg-table th,
.pg-table td {
    padding: .85rem .5rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.pg-table tr:last-child td {
    border-bottom: 0;
}

/* taller tap target for the place links, without changing the row height */
.pg-table td a {
    display: inline-block;
    padding-block: .3rem;
    margin-block: -.3rem;
}

.pg-table thead th {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.pg-table .num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ---------- Monthly packages ---------- */
.month-grid {
    display: grid;
    gap: clamp(12px, 1.6vw, 20px);
    list-style: none;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    padding: 0;
    grid-template-columns: 1fr;
}

/* phones: the months become a horizontal swipe row that bleeds to the screen edges */
@media (max-width: 575.98px) {
    .month-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        padding: 2px calc(var(--bs-gutter-x, 1.5rem) * .5) 6px;
        scroll-padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5);
    }

    .month-grid::-webkit-scrollbar {
        display: none;
    }

    .month-grid > li {
        scroll-snap-align: start;
    }
}

@media (min-width: 576px) {
    .month-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .month-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.month-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1.4rem, 2.4vw, 1.9rem);
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
}

.month-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.month-card__dates {
    margin: .3rem 0 0;
    font-size: .9375rem;
    color: var(--muted);
}

.month-card__price {
    margin: 1.4rem 0 0;
    color: var(--ink);
    line-height: 1.25;
}

.month-card__label {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sea);
}

.month-card__amount {
    display: block;
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-top: .2rem;
}

.month-card__per {
    font-size: .9375rem;
    color: var(--muted);
}

.month-card__regular,
.month-card__deposit {
    margin: .5rem 0 0;
    font-size: .9375rem;
    color: var(--ink-2);
}

.month-card__regular {
    margin-top: .9rem;
}

.month-card__action {
    margin-top: auto;
    padding-top: 1.5rem;
}

.month-card__action .btn {
    width: 100%;
}

.month-card__status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .6rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(11, 37, 48, .07);
    color: var(--ink);
    font-size: .875rem;
    font-weight: 600;
}

.month-card.is-booked {
    background: transparent;
    border-style: dashed;
}

.month-card.is-booked .month-card__amount {
    color: var(--muted);
}

/* ---------- Conditions list ---------- */
.pg-terms {
    margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
    border-top: 1px solid var(--line);
}

.pg-terms > div {
    display: grid;
    gap: .25rem 2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
    .pg-terms > div {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

.pg-terms dt {
    font-weight: 700;
    color: var(--ink);
}

.pg-terms dd {
    margin: 0;
    color: var(--ink-2);
    line-height: 1.6;
}

/* ---------- Closing call to action and cross-links (_GuideLinks) ---------- */
.pg-cta {
    padding-block: var(--pg-y);
    background: var(--sand);
}

.pg-cta__panel {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(440px, 56vw, 560px);
    padding: clamp(1.75rem, 5vw, 4rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    background: var(--ink);
}

.pg-cta__media,
.pg-cta__media picture,
.pg-cta__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pg-cta__media {
    z-index: -2;
}

.pg-cta__media img {
    object-fit: cover;
}

.pg-cta__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 37, 48, .05) 0%, rgba(11, 37, 48, .35) 40%, rgba(11, 37, 48, .9) 100%);
}

/* below 992px the photo sits on top and the copy below it on ink, so the text never lands on a bright sky */
@media (max-width: 991.98px) {
    .pg-cta__panel {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 0;
    }

    .pg-cta__media {
        position: relative;
        inset: auto;
        z-index: 0;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .pg-cta__media::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(11, 37, 48, 0) 55%, var(--ink) 100%);
    }

    .pg-cta__panel::before {
        display: none;
    }

    .pg-cta__copy {
        max-width: none;
        padding: clamp(1.25rem, 5vw, 2.5rem) clamp(1.5rem, 6vw, 3rem) clamp(1.75rem, 6vw, 3rem);
    }
}

@media (min-width: 992px) {
    .pg-cta__panel {
        align-items: center;
    }

    .pg-cta__panel::before {
        background: linear-gradient(90deg, rgba(11, 37, 48, .92) 0%, rgba(11, 37, 48, .74) 44%, rgba(11, 37, 48, 0) 78%);
    }
}

.pg-cta__copy {
    max-width: 30rem;
}

.pg-cta__copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    text-wrap: balance;
}

.pg-cta__copy p {
    color: rgba(255, 255, 255, .9);
    margin: 1rem 0 0;
}

.pg-cta__copy .btn {
    margin-top: 1.75rem;
}

.pg-cta__copy .pg-cta__fine {
    font-size: .875rem;
    color: rgba(255, 255, 255, .82);
    margin-top: 1rem;
}

.pg-more {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pg-more__title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.pg-more ul {
    display: grid;
    gap: clamp(10px, 1.4vw, 16px);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .pg-more ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guide-link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: .9rem;
    align-items: center;
    height: 100%;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink) !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.guide-link:hover {
    transform: translateY(-2px);
    border-color: rgba(11, 37, 48, .2);
    box-shadow: var(--shadow-sm);
}

.guide-link > .bi:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(15, 102, 114, .09);
    color: var(--sea);
    font-size: 1.2rem;
}

.guide-link strong {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
}

.guide-link small {
    display: block;
    margin-top: .15rem;
    font-size: .875rem;
    line-height: 1.4;
    color: var(--muted);
}

.guide-link > .bi:last-child {
    color: var(--muted);
    transition: transform .25s ease;
}

.guide-link:hover > .bi:last-child {
    transform: translateX(3px);
}

/* ---------- Legal pages (terms, privacy) ---------- */
.pg-doc-head {
    padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px);
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.pg-doc-head h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    text-wrap: balance;
}

.pg-doc-head .pg-lead {
    margin-top: 1rem;
    max-width: 52ch;
}

.pg-doc {
    display: grid;
    gap: 2rem;
}

@media (min-width: 992px) {
    .pg-doc {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: clamp(2.5rem, 5vw, 5rem);
        align-items: start;
    }
}

.pg-toc {
    font-size: .9375rem;
}

.pg-toc p {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 .75rem;
}

.pg-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.pg-toc a:not(.btn) {
    display: inline-flex;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: .875rem;
}

@media (min-width: 992px) {
    .pg-toc {
        position: sticky;
        top: calc(var(--nav-h, 76px) + 24px);
    }

    .pg-toc ol {
        display: block;
        border-left: 1px solid var(--line);
    }

    .pg-toc a:not(.btn) {
        display: block;
        padding: .45rem 0 .45rem 1rem;
        margin-left: -1px;
        border: 0;
        border-left: 2px solid transparent;
        border-radius: 0;
        background: none;
        color: var(--muted);
        font-size: .9375rem;
    }

    .pg-toc a:not(.btn):hover {
        color: var(--ink);
        border-left-color: var(--lemon);
    }
}

.pg-doc-body {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.pg-doc-body section {
    scroll-margin-top: calc(var(--nav-h, 76px) + 16px);
}

.pg-doc-body section + section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.pg-doc-body h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 700;
    margin: 0 0 .9rem;
}

.pg-doc-body p,
.pg-doc-body li {
    color: var(--ink-2);
    line-height: 1.7;
}

.pg-doc-body ul {
    padding-left: 1.2rem;
    margin: 0;
}

.pg-doc-body li + li {
    margin-top: .35rem;
}

.pg-doc-body p:last-child {
    margin-bottom: 0;
}

.pg-doc-body .registration-card {
    margin-top: 1.25rem;
}

.pg-doc-cta {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.pg-doc-cta p {
    margin: 0;
    color: var(--muted);
    font-size: .9375rem;
}

/* ---------- Small screens ---------- */
@media (max-width: 575.98px) {
    .pg-hero {
        min-height: clamp(440px, 74svh, 640px);
    }

    .pg-hero--short {
        min-height: clamp(360px, 56svh, 520px);
    }

    .pg-cta__panel {
        margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.25);
    }
}
