/**
 * Esempi: one wedding's site, whole in a phone at the top and cut into its sections below. It follows the ≤768px rules of
 * app/sites/templates/elegant/assets/css/style.css and app/assets/css/sites/rsvp.css at a 390px
 * screen: --p is one CSS pixel of that screen, so the numbers below are the theme's own.
 */

/* ── Opening: the site whole in the phone, the colours and fonts that dress it beside ── */
/* The choices run as low as the phone, so the coloured field holds both. */
.gw-es-hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.gw-es-hero__grid {
    grid-template-columns: minmax(0, 33rem) auto;
    grid-template-areas: "copy show" "picks show";
    margin-inline: auto;
    align-content: center;
    row-gap: 2.25rem;
}
.gw-es-hero__copy { grid-area: copy; align-self: end; }
.gw-es-hero__copy .gw-opening__lead { margin-bottom: 0; }
.gw-es-hero__show { grid-area: show; display: flex; justify-content: center; }
.gw-es-hero__picks { grid-area: picks; display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
/* The choices sit on a white card of their own: on the coloured field the swatches and the pills fade into it. */
.gw-es-hero__panel { align-self: stretch; display: flex; flex-direction: column; gap: 1.5rem; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid hsl(var(--gw-border)); border-radius: 1.25rem; background: #fff; box-shadow: 0 24px 50px -32px hsl(var(--gw-wine) / .45); }
.gw-es-hero__panel .gw-option:not([aria-pressed="true"]) { background: #fff; }
.gw-es-hero__panel .gw-option:not([aria-pressed="true"]):hover { background: hsl(var(--gw-fg) / .04); }
/* The sign-up closes the card of what else changes, its line under it; the button as wide as the card on a phone only. */
.gw-es-hero .gw-cta-inline { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); text-align: center; }
/* Below the grid, not in it: a card this wide would set the width of the columns above. */
.gw-es-hero__more { max-width: 60rem; margin-inline: auto; }
/* The words the couple writes are marked in the windows below, not on their site. */
.gw-es-phone mark { padding: 0; background: none; color: inherit; }

/* The phone's clock turns dark once the page leaves the photo, as on a phone. */
.gw-es-phone .gw-rp-phone__status { transition: color .3s ease, background-color .3s ease; }
.gw-es-phone.is-scrolled .gw-rp-phone__status { color: #1d1d1f; }
/* The elegant bar slides in once the cover is behind (home.js, .site-nav.visible); over the photo the clock stays white. */
.gw-es-phone .gw-rp-nav { transform: translateY(calc(-100% - 12.5cqi)); transition: transform .3s ease; }
.gw-es-phone.is-scrolled .gw-rp-nav { transform: none; }
.gw-es-phone .gw-rp-phone__screen:has(.gw-rp-nav) .gw-rp-phone__status { color: #fff; background: transparent; }
.gw-es-phone.is-scrolled .gw-rp-phone__screen:has(.gw-rp-nav) .gw-rp-phone__status { color: #1d1d1f; background: #fff; }

.gw-es-scroll { position: absolute; inset: 0; overflow: hidden; }
.gw-es-site {
    --p: calc(4.1cqi / 16);
    font-family: var(--site-body);
    font-size: calc(15.2 * var(--p));
    font-synthesis: none;
    line-height: 1.7;
    color: var(--pal-text-light);
    background: var(--pal-bg);
}
.gw-es-site .gw-rp-cover { position: relative; inset: auto; height: 100cqh; opacity: 1; font-size: 4.1cqi; }

.gw-es-sec { display: block; padding: calc(64 * var(--p)) calc(16 * var(--p)); background: var(--pal-bg); }
.gw-es-sec--alt { background: var(--pal-bg-alt); }
.gw-es-sec--center { text-align: center; }
.gw-es-sec__label {
    display: block;
    margin-bottom: calc(16 * var(--p));
    font-size: calc(10.4 * var(--p));
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--pal-muted);
}
.gw-es-sec__label::after { content: ''; display: block; width: calc(40 * var(--p)); height: 1px; margin: calc(16 * var(--p)) auto 0; background: var(--pal-border); }
.gw-es-sec__title {
    display: block;
    margin-bottom: calc(64 * var(--p));
    font-family: var(--site-heading);
    font-size: calc(32 * var(--p));
    font-weight: 300;
    line-height: 1.3;
    text-align: center;
    color: var(--pal-text);
}

/* Two cards or more ride a carousel on a phone: one card and a slice of the next. */
.gw-es-rail { position: relative; display: flex; gap: calc(12 * var(--p)); margin: 0 calc(-16 * var(--p)); padding: calc(12 * var(--p)) calc(16 * var(--p)); overflow: hidden; }
.gw-es-rail > div { flex: 0 0 calc(296.33 * var(--p)); }
.gw-es-rail__next {
    position: absolute;
    top: 50%;
    right: calc(10 * var(--p));
    display: grid;
    place-items: center;
    width: calc(32 * var(--p));
    height: calc(32 * var(--p));
    margin-top: calc(-22 * var(--p));
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    font-size: calc(12 * var(--p));
    color: var(--pal-accent);
    -webkit-text-stroke: .6px currentColor;
}
.gw-es-dots { display: flex; justify-content: center; gap: calc(8 * var(--p)); margin-top: calc(8 * var(--p)); }
.gw-es-dots i { width: calc(8 * var(--p)); height: calc(8 * var(--p)); border-radius: 50%; background: var(--pal-text-light); opacity: .35; }
.gw-es-dots i.is-on { background: var(--pal-accent); opacity: 1; }

.gw-es-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 * var(--p));
    min-height: calc(58 * var(--p));
    padding: calc(10 * var(--p)) calc(24 * var(--p));
    border-radius: calc(13 * var(--p));
    background: var(--pal-primary);
    font-size: calc(14 * var(--p));
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
}

/* Location */
.gw-es-loc { position: relative; overflow: hidden; border-radius: calc(12 * var(--p)); background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); text-align: left; }
.gw-es-loc img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gw-es-loc__time {
    position: absolute;
    top: calc(16 * var(--p));
    right: calc(16 * var(--p));
    display: inline-flex;
    align-items: center;
    gap: calc(5 * var(--p));
    padding: calc(5 * var(--p)) calc(11 * var(--p));
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    font-size: calc(14 * var(--p));
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.gw-es-loc__body { display: flex; flex-direction: column; padding: calc(32 * var(--p)); }
.gw-es-loc__type { margin-bottom: calc(8 * var(--p)); font-size: calc(10.4 * var(--p)); font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.gw-es-loc__name { margin-bottom: calc(8 * var(--p)); font-family: var(--site-sub); font-size: calc(19.2 * var(--p)); font-weight: 600; line-height: 1.3; color: var(--pal-primary); }
.gw-es-loc__address { margin-bottom: calc(8 * var(--p)); font-size: calc(14 * var(--p)); line-height: 1.5; }
.gw-es-loc .gw-es-btn { margin-top: calc(16 * var(--p)); }
.gw-es-loc__notes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: calc(16 * var(--p)) calc(-32 * var(--p)) calc(-32 * var(--p));
    padding: calc(16 * var(--p)) calc(32 * var(--p));
    border-top: 1px solid color-mix(in srgb, var(--pal-text-light) 10%, transparent);
    font-size: calc(14 * var(--p));
    font-weight: 500;
    line-height: normal;
    color: var(--pal-primary);
}

/* The first step of the RSVP */
.gw-es-rsvp { display: flex; flex-direction: column; overflow: hidden; border: 1.5px solid var(--pal-border); border-radius: calc(13 * var(--p)); background: #fff; }
.gw-es-rsvp__head { display: block; padding: calc(20 * var(--p)) calc(20 * var(--p)) calc(16 * var(--p)); border-bottom: 1px solid var(--pal-border); }
.gw-es-rsvp__row { display: flex; justify-content: space-between; align-items: baseline; gap: calc(12 * var(--p)); }
.gw-es-rsvp__where,
.gw-es-rsvp__which { font-size: calc(12 * var(--p)); color: var(--pal-muted); }
.gw-es-rsvp__where { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gw-es-rsvp__progress { display: block; height: calc(4 * var(--p)); margin-top: calc(11 * var(--p)); overflow: hidden; border-radius: calc(4 * var(--p)); background: var(--pal-border); }
.gw-es-rsvp__progress span { display: block; width: 25%; height: 100%; border-radius: inherit; background: var(--pal-primary); }
.gw-es-rsvp__stage { display: flex; flex-direction: column; gap: calc(22 * var(--p)); padding: calc(26 * var(--p)) calc(20 * var(--p)) calc(20 * var(--p)); }
.gw-es-rsvp__q { font-size: calc(19.2 * var(--p)); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-align: center; color: var(--pal-text); }
.gw-es-rsvp__sub { margin-top: calc(-13 * var(--p)); font-size: calc(14 * var(--p)); line-height: 1.55; text-align: center; text-wrap: pretty; }
.gw-es-rsvp__field { display: flex; flex-direction: column; gap: calc(7 * var(--p)); }
.gw-es-rsvp__label { font-size: calc(14 * var(--p)); font-weight: 600; line-height: 1.4; }
.gw-es-rsvp__input {
    display: flex;
    align-items: center;
    min-height: calc(58 * var(--p));
    padding: calc(13 * var(--p)) calc(15 * var(--p));
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    border-radius: calc(13 * var(--p));
    color: #757575;
}
.gw-es-rsvp__hint { font-size: calc(14 * var(--p)); color: var(--pal-muted); }

/* Gift list */
.gw-es-gift { overflow: hidden; border-radius: calc(12 * var(--p)); background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.gw-es-gift img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gw-es-gift__body { display: flex; flex-direction: column; padding: calc(32 * var(--p)); }
.gw-es-gift__name,
.gw-es-gift__price { margin-bottom: calc(8 * var(--p)); font-weight: 600; color: var(--pal-primary); }
.gw-es-gift__name { line-height: 1.3; }
.gw-es-gift__desc { margin-bottom: calc(16 * var(--p)); font-size: calc(14 * var(--p)); }
.gw-es-gift__bar { display: block; height: calc(4 * var(--p)); margin-bottom: calc(4 * var(--p)); overflow: hidden; border-radius: calc(2 * var(--p)); background: var(--pal-border); }
.gw-es-gift__bar span { display: block; height: 100%; border-radius: inherit; background: var(--pal-primary); }
.gw-es-gift__stats { display: flex; justify-content: space-between; margin-bottom: calc(16 * var(--p)); font-size: calc(12 * var(--p)); }

/* Footer: the two names and the heart. Room below for the address bar, which covers the end. */
.gw-es-foot { display: flex; flex-direction: column; align-items: center; gap: calc(16 * var(--p)); padding: calc(64 * var(--p)) calc(16 * var(--p)) calc(32 * var(--p) + 20cqi); text-align: center; }
.gw-es-foot__name { font-family: var(--site-heading); font-size: calc(26.56 * var(--p)); font-weight: var(--site-hw); color: var(--pal-text); }
.gw-es-foot__heart { font-size: calc(36 * var(--p)); line-height: 1; color: var(--pal-primary); }

/* Location without a photo: the type's icon on the alt colour (config/roles.php LOCATION_TYPES). */
.gw-es-loc__icon { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; background: var(--pal-bg-alt); font-size: calc(26.56 * var(--p)); color: var(--pal-text); opacity: .5; }
.gw-es-rail--one { overflow: visible; }
.gw-es-rail--one > div { flex-basis: 100%; }

/* Story: one column at this width, the line on the left and a dot for each moment. */
.gw-es-tl { position: relative; display: block; padding: calc(16 * var(--p)) 0; text-align: left; }
.gw-es-tl::before,
.gw-es-tl::after { content: ''; position: absolute; top: 0; left: calc(-10 * var(--p)); width: calc(3 * var(--p)); border-radius: calc(2 * var(--p)); background: var(--pal-primary); }
.gw-es-tl::before { bottom: 0; opacity: .12; }
.gw-es-tl::after { height: 35%; }
.gw-es-tl__item { display: grid; grid-template-columns: auto minmax(0, 1fr); margin-bottom: calc(48 * var(--p)); }
.gw-es-tl__item--text { margin-bottom: calc(64 * var(--p)); }
.gw-es-tl__item:last-child { margin-bottom: 0; }
.gw-es-tl__marker { display: flex; justify-content: center; width: calc(38 * var(--p)); margin-left: calc(-28 * var(--p)); padding-top: calc(64 * var(--p)); }
.gw-es-tl__dot { width: calc(12 * var(--p)); height: calc(12 * var(--p)); border: 2px solid var(--pal-primary); border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--pal-bg); }
.gw-es-tl__dot.is-on { background: var(--pal-primary); transform: scale(1.25); }
.gw-es-tl__card { display: block; overflow: hidden; border-radius: calc(12 * var(--p)); background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.gw-es-tl__card img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.gw-es-tl__body { display: flex; flex-direction: column; padding: calc(32 * var(--p)); }
.gw-es-tl__period { margin-bottom: calc(6 * var(--p)); font-size: calc(10.4 * var(--p)); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--pal-primary); }
.gw-es-tl__title { margin-bottom: calc(8 * var(--p)); font-size: calc(19.2 * var(--p)); font-weight: 600; line-height: 1.3; color: var(--pal-text); }
.gw-es-tl__text { font-size: calc(14 * var(--p)); }

/* Extra pages ("Info utili"): a card for each page, the title in the heading face. */
.gw-es-page { display: flex; flex-direction: column; overflow: hidden; border-radius: calc(12 * var(--p)); background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); text-align: center; }
.gw-es-page img,
.gw-es-page__blank { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--pal-bg-alt); }
.gw-es-page__title { padding: calc(12 * var(--p)); font-family: var(--site-sub); font-size: calc(19.2 * var(--p)); letter-spacing: .01em; color: var(--pal-primary); }

/* Guestbook: a round avatar, the list under the title. */
.gw-es-notes { display: block; max-width: calc(540 * var(--p)); margin: 0 auto; text-align: left; }
.gw-es-note { display: flex; gap: calc(16 * var(--p)); padding: calc(32 * var(--p)) 0; border-bottom: 1px solid var(--pal-border); }
.gw-es-note:last-child { border-bottom: 0; }
.gw-es-note__avatar { display: grid; flex: none; place-items: center; width: calc(44 * var(--p)); height: calc(44 * var(--p)); border-radius: 50%; font-size: calc(12.74 * var(--p)); font-weight: 600; letter-spacing: .02em; color: #fff; }
.gw-es-note__body { display: flex; flex-direction: column; align-items: flex-start; }
.gw-es-note__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(16 * var(--p)); margin-bottom: calc(4 * var(--p)); }
.gw-es-note__meta b { font-size: calc(14 * var(--p)); font-weight: 500; color: var(--pal-text); }
.gw-es-note__meta small { font-size: calc(12 * var(--p)); color: var(--pal-muted); }
.gw-es-note__text { color: var(--pal-muted); }
.gw-es-note img { width: calc(150 * var(--p)); margin-top: calc(16 * var(--p)); aspect-ratio: 1; object-fit: cover; border: 1px solid var(--pal-border); border-radius: calc(12 * var(--p)); }

/* Section description, couple, wedding party and a gift without a photo (elegant, 390px). */
.gw-es-sec__desc { display: block; max-width: calc(600 * var(--p)); margin: calc(-32 * var(--p)) auto calc(64 * var(--p)); line-height: 1.8; text-align: center; color: var(--pal-muted); }
.gw-es-couple { display: grid; grid-template-columns: 1fr 1fr; gap: calc(16 * var(--p)); max-width: calc(700 * var(--p)); margin: 0 auto; }
.gw-es-couple__person { display: flex; flex-direction: column; align-items: center; gap: calc(16 * var(--p)); }
.gw-es-couple__photo,
.gw-es-person__photo { display: grid; place-items: center; width: 100%; background: linear-gradient(145deg, var(--pal-bg-alt), #fff); border: 1px solid color-mix(in srgb, var(--pal-primary) 15%, transparent); }
.gw-es-couple__photo { overflow: hidden; aspect-ratio: 3 / 4; border-radius: calc(12 * var(--p)); box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.gw-es-couple__photo img { width: 100%; height: 100%; object-fit: cover; }
.gw-es-couple__name { font-family: var(--site-heading); font-size: calc(15.36 * var(--p)); font-weight: var(--site-hw); line-height: 1.3; color: var(--pal-text); }
.gw-es-couple__bio { max-width: calc(280 * var(--p)); font-size: calc(14 * var(--p)); color: var(--pal-muted); }
.gw-es-people__group { display: block; margin-bottom: calc(32 * var(--p)); font-size: calc(14 * var(--p)); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--pal-muted); }
.gw-es-person { overflow: hidden; border-radius: calc(12 * var(--p)); background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.gw-es-person__photo { overflow: hidden; aspect-ratio: 1; }
.gw-es-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.gw-es-person__info { display: flex; flex-direction: column; padding: calc(16 * var(--p)) calc(32 * var(--p)); }
.gw-es-person__name { margin-bottom: calc(8 * var(--p)); font-size: calc(19.2 * var(--p)); font-weight: 600; line-height: 1.3; color: var(--pal-primary); }
.gw-es-person__role,
.gw-es-person__note { font-size: calc(14 * var(--p)); color: var(--pal-text-light); }
.gw-es-person__note { margin-top: calc(8 * var(--p)); line-height: 1.5; }

/* ── What to put in the site: the same site cut into windows, one per section; the marked words
   are the ones the couple writes ── */
.gw-es-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.gw-es-tile__win {
    /* Nine windows of a whole site, below the first screen: the browser lays each out only as it nears the screen.
       Their height is fixed, so nothing moves when they are drawn. */
    content-visibility: auto;
    container-type: inline-size;
    height: 27rem;
    overflow: hidden;
    border: 1px solid hsl(var(--gw-border));
    border-radius: 1.25rem;
    background: var(--pal-bg);
    box-shadow: 0 24px 50px -32px hsl(var(--gw-wine) / .4);
    -webkit-mask-image: linear-gradient(#000 80%, transparent);
    mask-image: linear-gradient(#000 80%, transparent);
}
.gw-es-tile .gw-es-site { margin-top: calc(var(--from, 0) * -1 * var(--p)); }
.gw-es-tile .gw-es-sec { padding-top: calc(36 * var(--p)); }
.gw-es-tile .gw-rp-cover { position: relative; inset: auto; height: 27rem; opacity: 1; font-size: 4.1cqi; }
.gw-es-tile h3 { margin: 1.2rem 0 .35rem; font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.gw-es-tile p { margin: 0; font-size: .92rem; line-height: 1.6; color: hsl(var(--gw-muted-fg)); }
.gw-es-tile mark,
.gw-es-guide__lead mark { padding: 0 .06em; background: linear-gradient(transparent 55%, hsl(48 96% 62% / .6) 55%); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ── The real couples: prints in a row across the screen that runs by itself, slowly and without end; the
   pointer on it holds it. Each print sits a little askew, as on a table. Without motion, a row to swipe. ── */
.gw-es-wall { overflow: hidden; }
.gw-es-reel { --print: 15rem; --gap: 1.75rem; margin-top: .5rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.gw-es-reel__track { display: flex; width: max-content; padding-block: 1.5rem 2rem; animation: gw-es-reel calc(var(--prints) * 6s) linear infinite; }
.gw-es-reel:hover .gw-es-reel__track,
.gw-es-reel:focus-within .gw-es-reel__track { animation-play-state: paused; }
/* With the script the reel is driven by hand as well: a finger or the mouse drags it sideways, the page still scrolls up and down. */
.gw-es-reel.is-driven { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.gw-es-reel.is-driven .gw-es-reel__track { animation: none; will-change: transform; }
.gw-es-reel.is-dragging { cursor: grabbing; }
.gw-es-reel.is-dragging .gw-es-reel__print { transition: none; }
@keyframes gw-es-reel {
    to { transform: translateX(-50%); }
}
/* The gap after the last print belongs to its run, so the second run starts exactly half the track along. */
.gw-es-reel__set { display: flex; gap: var(--gap); margin: 0; padding: 0 var(--gap) 0 0; list-style: none; }
.gw-es-reel__print { flex: none; width: var(--print); padding: .6rem .6rem .2rem; border-radius: .35rem; background: #fff; box-shadow: 0 1px 2px hsl(30 20% 20% / .08), 0 18px 34px -20px hsl(340 30% 25% / .45); transform: rotate(var(--tilt, -1.5deg)); transition: transform .35s ease; }
.gw-es-reel__print:nth-child(3n + 2) { --tilt: 1.2deg; }
.gw-es-reel__print:nth-child(3n) { --tilt: -.4deg; }
.gw-es-reel__print:nth-child(4n) { --tilt: 2deg; }
.gw-es-reel__print:hover { transform: rotate(0) translateY(-6px); }
.gw-es-reel .gw-couple { gap: .55rem; }
.gw-es-reel .gw-couple img,
.gw-es-reel .gw-couple__slot { border-radius: .15rem; }
.gw-es-reel .gw-couple figcaption,
.gw-es-reel .gw-couple__cap { padding: 0 .2rem .35rem; font-size: 1.05rem; font-style: italic; font-weight: 500; text-align: center; }
.gw-es-reel .gw-couple__slot { border-width: 1.5px; }

@media (max-width: 991.98px) {
    .gw-es-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "show" "picks"; justify-items: center; }
    .gw-es-hero__copy { align-self: auto; }
    .gw-es-hero__picks,
    .gw-es-hero__more { width: 100%; max-width: 36rem; }
    /* Stacked, the colours and fonts and the card under them are one card: no gap, one shadow, rounded only at the ends. */
    .gw-es-hero__panel { padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.5rem) 1.25rem; border-bottom: 0; border-radius: 1.25rem 1.25rem 0 0; box-shadow: none; }
    .gw-es-hero__more .gw-more { margin-top: 0; padding-top: 1.25rem; border: 1px solid hsl(var(--gw-border)); border-top: 0; border-radius: 0 0 1.25rem 1.25rem; }
    .gw-es-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .gw-es-hero__grid { row-gap: 1.75rem; }
    .gw-es-hero__panel { gap: 1.25rem; padding: 1.5rem 1.5rem 1rem; }
    .gw-es-hero .gw-cta-inline .btn-wine { padding-inline: 1rem; text-wrap: balance; }
    /* Small enough that the phone and the colours share one screen: a tap must show its effect. */
    .gw-es-hero .gw-es-phone { width: 14rem; }
    /* One window across the screen, the next one waiting at the edge. */
    .gw-es-tiles { display: flex; gap: 1rem; margin: 0 -1.25rem; padding: 0 1.25rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; scrollbar-width: none; }
    .gw-es-tiles::-webkit-scrollbar { display: none; }
    .gw-es-tile { flex: 0 0 82%; scroll-snap-align: start; }
    .gw-es-tile__win,
    .gw-es-tile .gw-rp-cover { height: 25rem; }
    .gw-es-reel { --print: 11.5rem; --gap: 1.1rem; }
    .gw-es-reel .gw-couple figcaption,
    .gw-es-reel .gw-couple__cap { font-size: .95rem; }
    .gw-es-reel .gw-couple__slot small { font-size: .78rem; }
    .gw-es-reel .gw-couple__plus { width: 2.8rem; height: 2.8rem; font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .gw-es-phone .gw-rp-phone__status { transition: none; }
    /* Nothing scrolls by itself: the site scrolls by hand, the reel is a row to swipe without its second run. */
    .gw-es-scroll { overflow-y: auto; scrollbar-width: none; }
    .gw-es-reel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
    .gw-es-reel__track { animation: none; padding-inline: 1.25rem; }
    .gw-es-reel__set[aria-hidden] { display: none; }
    .gw-es-reel__print { scroll-snap-align: center; transition: none; }
}
