/* ==========================================================================
   Restaurant pages — Heritage, (un)Common, Cardinal's Crest
   Figma: TlA5Gd2AlADSreFpaXUWML (F&B Outlet Pages). Spec: docs/superpowers/specs/2026-11-09-restaurant-pages-design.md
   Pages pick a palette with the "Restaurant Theme" ACF field -> body.rest-theme--{slug}.
   Blocks read only the --rest-* variables below.
   ========================================================================== */

/* Defaults so the blocks still render sensibly on a page with no theme. */
:root {
    --rest-font-heading: "Gilda Display", serif;
    --rest-font-accent: "Montserrat", sans-serif;
    --rest-dark: var(--color-sapphire);
    --rest-heading: var(--color-sapphire);
    --rest-cta-bg: var(--color-gold);
    --rest-cta-text: var(--color-sapphire);
    --rest-marker: var(--color-gold);
    --rest-panel-heading: var(--color-gold);
    --rest-panel-rule: var(--color-gold);
    --rest-panel-btn-bg: var(--color-gold);
    --rest-panel-btn-text: var(--color-sapphire);
    --rest-panel-outline-border: var(--color-gold);
    --rest-panel-outline-text: var(--color-ivory);
}

body.rest-theme--heritage {
    --rest-dark: var(--color-olive);
    --rest-heading: var(--color-olive);
    --rest-cta-bg: var(--color-gold);
    --rest-cta-text: var(--color-olive);
    --rest-marker: var(--color-gold);
    --rest-panel-heading: var(--color-gold);
    --rest-panel-rule: var(--color-gold);
    --rest-panel-btn-bg: var(--color-gold);
    --rest-panel-btn-text: var(--color-olive);
    --rest-panel-outline-border: var(--color-gold);
    --rest-panel-outline-text: var(--color-gold);
}

body.rest-theme--uncommon {
    --rest-dark: var(--color-blue);
    --rest-heading: var(--color-sapphire);
    --rest-cta-bg: var(--color-blue);
    --rest-cta-text: var(--color-ivory);
    --rest-marker: var(--color-gold);
    --rest-panel-heading: var(--color-ivory);
    --rest-panel-rule: var(--color-ivory);
    --rest-panel-btn-bg: #fff;
    --rest-panel-btn-text: var(--color-blue);
    --rest-panel-outline-border: var(--color-gold);
    --rest-panel-outline-text: var(--color-ivory);
}

body.rest-theme--cardinals-crest {
    --rest-dark: var(--color-olive);
    --rest-heading: var(--color-sapphire);
    --rest-cta-bg: var(--color-cherry);
    --rest-cta-text: var(--color-ivory);
    --rest-marker: var(--color-cherry);
    --rest-panel-heading: var(--color-ivory);
    --rest-panel-rule: var(--color-ivory);
    --rest-panel-btn-bg: var(--color-gold);
    --rest-panel-btn-text: var(--color-olive);
    --rest-panel-outline-border: var(--color-ivory);
    --rest-panel-outline-text: var(--color-ivory);
}

/* ---------- Themed global areas (themed pages only) ---------- */
body.rest-theme header.sticky-top,
body.rest-theme section.newsletter-section,
body.rest-theme footer#footer {
    background: var(--rest-dark);
}

body.rest-theme section.newsletter-section .section-heading {
    color: var(--color-gold);
}

/* Hero: Figma shows an inset photo (36px gutters, 579px tall) with no title. */
body.rest-theme .hero-wrapper {
    max-width: none;
    margin: 82px 36px 0; /* 82px = fixed header bar */
    height: 579px;
    min-height: 0;
}

@media (max-width: 767px) {
    body.rest-theme .hero-wrapper {
        margin: 82px 16px 0;
        height: 320px;
    }
}

/* ---------- Shared pieces ---------- */
.rest-rule {
    display: block;
    width: 70px;
    height: 10px;
    background-color: var(--color-gold);
    -webkit-mask: url("../images/brand/diamond-rule.svg") no-repeat center / contain;
    mask: url("../images/brand/diamond-rule.svg") no-repeat center / contain;
}

.rest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 30px;
    border: 1px solid transparent;
    font-family: var(--rest-font-accent);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rest-btn:hover,
.rest-btn:focus-visible {
    text-decoration: none;
    opacity: 0.88;
}

.rest-btn--cta {
    background: var(--rest-cta-bg);
    border-color: var(--rest-cta-bg);
    color: var(--rest-cta-text);
}

.rest-btn--cta:hover,
.rest-btn--cta:focus-visible {
    color: var(--rest-cta-text);
}

.rest-btn--solid {
    background: var(--rest-panel-btn-bg);
    border-color: var(--rest-panel-btn-bg);
    color: var(--rest-panel-btn-text);
}

.rest-btn--solid:hover,
.rest-btn--solid:focus-visible {
    color: var(--rest-panel-btn-text);
}

.rest-btn--outline,
.rest-btn--menu-link {
    background: transparent;
    border-color: var(--rest-panel-outline-border);
    color: var(--rest-panel-outline-text);
}

.rest-btn--outline:hover,
.rest-btn--outline:focus-visible,
.rest-btn--menu-link:hover,
.rest-btn--menu-link:focus-visible {
    color: var(--rest-panel-outline-text);
}

.rest-btn--menu-link {
    justify-content: space-between;
    padding: 0 20px;
}

.rest-btn--menu-link::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
}

/* ==========================================================================
   Intro Copy With Logo (Figma 2:35)
   ========================================================================== */
.intro-logo-split {
    background: var(--color-ivory);
    color: var(--rest-heading);
}

.intro-logo-split__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 13px 1fr;
    align-items: center;
    max-width: 1440px;
    min-height: 461px;
    margin: 0 auto;
    padding: 80px clamp(48px, 12.36vw, 178px);
}

.intro-logo-split__copy {
    justify-self: start;
    padding-right: 72px;
}

.intro-logo-split__title {
    margin: 0 0 28px;
    font-family: var(--rest-font-heading);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--rest-heading);
}

.intro-logo-split__text,
.intro-logo-split__text p {
    max-width: 475px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--rest-heading);
}

.intro-logo-split__text > :last-child {
    margin-bottom: 0;
}

.intro-logo-split__logo {
    justify-self: end;
    max-width: 440px;
    padding-left: 40px;
}

.intro-logo-split__logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Vertical diamond linework: line, diamond, gap, diamond, line. */
.intro-logo-split__divider {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: -80px 0;
}

.intro-logo-split__divider i {
    display: block;
}

.intro-logo-split__divider .l {
    flex: 1 1 0;
    width: 1px;
    background: var(--color-gold);
}

.intro-logo-split__divider .d {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin: -6px 0;
    background: var(--color-ivory);
    border: 1px solid var(--color-gold);
    transform: scale(0.7) rotate(45deg);
    position: relative;
    z-index: 1;
}

.intro-logo-split__divider .g {
    flex: 0 0 140px;
}

@media (max-width: 1199px) {
    .intro-logo-split__inner { padding: 64px 48px; }
}

@media (max-width: 991px) {
    .intro-logo-split__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: 0;
        padding: 56px 24px;
    }
    .intro-logo-split__divider { display: none; }
    .intro-logo-split__copy { max-width: none; padding-right: 0; }
    .intro-logo-split__logo { justify-self: start; padding-left: 0; max-width: 320px; }
    .intro-logo-split__title { font-size: 36px; }
}

/* ==========================================================================
   Framed Hours Card (Figma 2:49)
   ========================================================================== */
.framed-hours-card {
    position: relative;
    padding: 0 24px 110px;
    background: var(--color-ivory);
}

/* Gold pattern band behind the lower part of the card (card starts at the top; band starts 110px down). */
.framed-hours-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 110px;
    bottom: 0;
    background: url("../images/brand/pattern.svg") center / cover;
    opacity: 0.55;
}

.framed-hours-card__card {
    position: relative;
    max-width: 1108px;
    margin: 0 auto;
    padding: 56px 70px 52px;
    background: var(--color-ivory);
    color: var(--rest-heading);
}

/* Brand line frame (Figma 2:123): outer rectangle plus an inner rectangle with notched corners.
   9-slice border-image of images/brand/frame-notched.svg keeps the corners at a fixed size. */
.framed-hours-card__card::before,
.framed-stagger-feature__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    pointer-events: none;
    border: 29px solid transparent;
    border-image: url("../images/brand/frame-notched.svg") 29 / 29px stretch;
}

.framed-hours-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-gold);
}

.framed-hours-card__titles { display: flex; flex-direction: column; gap: 12px; }

.framed-hours-card__eyebrow {
    margin: 0;
    font-family: var(--rest-font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: normal;
    text-transform: uppercase;
}

.framed-hours-card__title {
    margin: 0;
    font-family: var(--rest-font-heading);
    font-size: 46px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--rest-heading);
}

.framed-hours-card__slots {
    display: flex;
    margin: 0;
    padding: 40px 0 0;
    list-style: none;
}

.framed-hours-card__slot {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    text-align: center;
}

.framed-hours-card__slot + .framed-hours-card__slot { border-left: 1px solid var(--color-gold); }

.framed-hours-card__marker {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    box-sizing: border-box;
    border: 1px solid var(--color-gold);
    transform: scale(0.72) rotate(45deg);
}

.framed-hours-card__marker.is-filled {
    background: var(--rest-marker);
    border-color: var(--rest-marker);
}

.framed-hours-card__label {
    font-family: var(--rest-font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: normal;
    text-transform: uppercase;
}

.framed-hours-card__time {
    font-family: var(--rest-font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.framed-hours-card__time .ampm { font-size: 20px; }

.framed-hours-card__note { font-size: 12px; line-height: 1.4; }

@media (max-width: 991px) {
    .framed-hours-card__card { padding: 44px 40px 40px; }
    .framed-hours-card__title { font-size: 36px; }
    .framed-hours-card__time { font-size: 28px; }
    .framed-hours-card__time .ampm { font-size: 16px; }
    .framed-hours-card__slot { padding: 0 12px; }
}

@media (max-width: 767px) {
    .framed-hours-card { padding: 0 16px 80px; }
    .framed-hours-card__card { padding: 40px 28px 32px; }
    .framed-hours-card__head { flex-direction: column; align-items: flex-start; }
    .framed-hours-card__slots { flex-direction: column; gap: 28px; }
    .framed-hours-card__slot { padding: 0; }
    .framed-hours-card__slot + .framed-hours-card__slot { border-left: 0; border-top: 1px solid var(--color-gold); padding-top: 28px; }
}

/* ==========================================================================
   Half Bleed Image Panel (Figma 2:84, 33:85, 50:81)
   ========================================================================== */
.half-bleed-image-panel {
    display: grid;
    grid-template-columns: 43.06% 1fr;
    min-height: clamp(760px, 52.8vw, 1180px);
    background: var(--rest-dark);
    color: var(--color-ivory);
}

.half-bleed-image-panel--image-right { grid-template-columns: 1fr 43.06%; }
.half-bleed-image-panel--image-right .half-bleed-image-panel__media { order: 2; }

.half-bleed-image-panel__media { position: relative; min-height: 100%; }

.half-bleed-image-panel__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.half-bleed-image-panel__panel {
    display: flex;
    align-items: center;
    padding: 80px clamp(24px, 4vw, 140px) 80px clamp(56px, 6.67vw, 190px);
}

.half-bleed-image-panel__copy { width: 100%; max-width: clamp(520px, 46vw, 940px); }

.half-bleed-image-panel__icon {
    display: block;
    width: clamp(64px, 4.45vw, 96px);
    height: clamp(64px, 4.45vw, 96px);
    margin-bottom: clamp(30px, 2.1vw, 44px);
    object-fit: contain;
}

.half-bleed-image-panel__title {
    margin: 0 0 24px;
    font-family: var(--rest-font-heading);
    font-size: clamp(48px, 3.33vw, 74px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
    text-wrap: balance; /* longer titles break evenly instead of leaving one word on the last line */
    color: var(--rest-panel-heading);
}

.half-bleed-image-panel .rest-rule {
    background-color: var(--rest-panel-rule);
    margin-bottom: 26px;
}

.half-bleed-image-panel__text,
.half-bleed-image-panel__text p {
    max-width: clamp(500px, 34.7vw, 750px);
    font-size: clamp(17px, 1.18vw, 25px);
    line-height: 1.75;
    color: var(--color-ivory);
}

.half-bleed-image-panel__text > :last-child { margin-bottom: 0; }

.half-bleed-image-panel .rest-btn {
    height: clamp(52px, 3.61vw, 84px);
    font-size: clamp(12px, 0.83vw, 19px);
}

.half-bleed-image-panel__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.half-bleed-image-panel__menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: clamp(520px, 36.1vw, 780px);
    margin-bottom: 16px; /* 30px gap before the solid button, counting the flex gap */
}

@media (max-width: 1199px) {
    .half-bleed-image-panel,
    .half-bleed-image-panel--image-right { grid-template-columns: 42% 1fr; }
    .half-bleed-image-panel--image-right { grid-template-columns: 1fr 42%; }
    .half-bleed-image-panel__panel { padding: 64px 32px 64px 56px; }
    .half-bleed-image-panel__title { font-size: 40px; }
    .half-bleed-image-panel__menu-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .half-bleed-image-panel,
    .half-bleed-image-panel--image-right { grid-template-columns: 1fr; min-height: 0; }
    .half-bleed-image-panel__media,
    .half-bleed-image-panel--image-right .half-bleed-image-panel__media { order: 0; min-height: 320px; }
    .half-bleed-image-panel__panel { padding: 48px 24px; }
    .half-bleed-image-panel__title { font-size: 34px; }
    .half-bleed-image-panel__menu-links { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Framed Stagger Feature (Figma 3:17, 33:99, 50:98)
   ========================================================================== */
.framed-stagger-feature {
    padding: 120px 24px;
    background: var(--color-ivory);
    color: var(--rest-heading);
}

.framed-stagger-feature__frame {
    position: relative;
    display: grid;
    grid-template-columns: 640px 1fr;
    align-items: center;
    max-width: 1200px;
    min-height: 720px;
    margin: 0 auto;
    padding: 80px;
}

.framed-stagger-feature__media { position: relative; width: 640px; height: 560px; }

.framed-stagger-feature__back,
.framed-stagger-feature__front {
    position: absolute;
    box-sizing: border-box;
    border: 10px solid var(--color-ivory);
    overflow: hidden;
}

.framed-stagger-feature__back { left: 0; top: 0; width: 360px; height: 480px; }
.framed-stagger-feature__front { left: 260px; top: 190px; width: 280px; height: 370px; }

.framed-stagger-feature__back.is-empty {
    background: linear-gradient(142deg, color-mix(in srgb, var(--rest-dark) 82%, #fff) 7%, var(--rest-dark) 82%);
}

.framed-stagger-feature__back img,
.framed-stagger-feature__front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.framed-stagger-feature__copy { max-width: 410px; }

.framed-stagger-feature__icon {
    display: block;
    height: 86px;
    width: auto;
    max-width: 90px;
    margin-bottom: 26px;
    object-fit: contain;
}

.framed-stagger-feature__eyebrow {
    margin: 0 0 16px;
    font-family: var(--rest-font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: normal;
    text-transform: uppercase;
}

.framed-stagger-feature__title {
    margin: 0 0 24px;
    font-family: var(--rest-font-heading);
    font-size: 50px;
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--rest-heading);
}

.framed-stagger-feature .rest-rule { margin-bottom: 28px; }

.framed-stagger-feature__text,
.framed-stagger-feature__text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--rest-heading);
}

.framed-stagger-feature__text > :last-child { margin-bottom: 0; }

@media (max-width: 1199px) {
    .framed-stagger-feature { padding: 80px 24px; }
    .framed-stagger-feature__frame { grid-template-columns: 1fr; gap: 48px; padding: 64px 48px; }
    .framed-stagger-feature__media { margin: 0 auto; }
}

@media (max-width: 767px) {
    .framed-stagger-feature { padding: 48px 16px; }
    .framed-stagger-feature__frame { padding: 48px 28px; }
    .framed-stagger-feature__media { width: 100%; max-width: 340px; height: 360px; }
    .framed-stagger-feature__back { width: 190px; height: 254px; }
    .framed-stagger-feature__front { left: 80px; top: 110px; width: 170px; height: 250px; }
    .framed-stagger-feature__title { font-size: 36px; }
}

/* ==========================================================================
   Centered Carousel Gallery (Figma 3:36, 33:117, 50:115)
   Absolute-positioned slides: --u scales every Figma pixel for narrower screens.
   ========================================================================== */
.centered-carousel-gallery {
    --u: 1px;
    position: relative;
    overflow: hidden;
    padding: 110px 0 86px;
    background: var(--color-gold);
    color: var(--color-olive);
}

/* Slate-toned pattern at 10% (Figma pattern-slate), drawn by masking the brand pattern. */
.centered-carousel-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-olive);
    opacity: 0.1;
    -webkit-mask: url("../images/brand/pattern.svg") center / cover no-repeat;
    mask: url("../images/brand/pattern.svg") center / cover no-repeat;
    pointer-events: none;
}

.centered-carousel-gallery > * { position: relative; }

.centered-carousel-gallery__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    text-align: center;
}

.centered-carousel-gallery__title {
    margin: 0;
    font-family: var(--rest-font-heading);
    font-size: 48px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: var(--color-olive);
}

.centered-carousel-gallery__sub { margin: 0; font-size: 17px; line-height: 1.5; }

.centered-carousel-gallery__stage {
    position: relative;
    height: calc(470 * var(--u) + 2 * 40px);
    margin-top: 44px;
}

.centered-carousel-gallery__track { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }

.centered-carousel-gallery__slide {
    position: absolute;
    left: 50%;
    top: 50%;
    box-sizing: border-box;
    width: calc(320 * var(--u));
    height: calc(380 * var(--u));
    border: 10px solid var(--color-ivory);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease;
}

.centered-carousel-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

.centered-carousel-gallery__slide.is-pos-0 { width: calc(360 * var(--u)); height: calc(470 * var(--u)); opacity: 1; pointer-events: auto; z-index: 3; }
.centered-carousel-gallery__slide.is-pos-1,
.centered-carousel-gallery__slide.is-pos--1 { opacity: 1; pointer-events: auto; z-index: 2; cursor: pointer; }
.centered-carousel-gallery__slide.is-pos-1 { transform: translate(calc(-50% + 370 * var(--u)), -50%); }
.centered-carousel-gallery__slide.is-pos--1 { transform: translate(calc(-50% - 370 * var(--u)), -50%); }
.centered-carousel-gallery__slide.is-pos-2,
.centered-carousel-gallery__slide.is-pos--2 { width: calc(300 * var(--u)); height: calc(340 * var(--u)); opacity: 1; z-index: 1; }
.centered-carousel-gallery__slide.is-pos-2 { transform: translate(calc(-50% + 710 * var(--u)), -50%); }
.centered-carousel-gallery__slide.is-pos--2 { transform: translate(calc(-50% - 710 * var(--u)), -50%); }

/* A slide that wraps from one end of the row to the other is moved with transitions off,
   so it lands in place and fades in instead of flying across the stage. */
.centered-carousel-gallery__slide.is-jump { transition: none; opacity: 0; }

.centered-carousel-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-top: -31px;
    padding: 0;
    border: 1px solid var(--rest-dark);
    border-radius: 50%;
    background: var(--rest-dark);
    color: var(--color-ivory);
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.centered-carousel-gallery__arrow:hover,
.centered-carousel-gallery__arrow:focus-visible { opacity: 0.85; }
.centered-carousel-gallery__arrow--prev { left: calc(50% - 570 * var(--u)); }
.centered-carousel-gallery__arrow--next { right: calc(50% - 570 * var(--u)); }

/* Diamond pagination: a static design element (Figma 42:20), not a control.
   Line, five linked diamonds, line. Each line is 488.5px at 1440 and shrinks with the viewport. */
.centered-carousel-gallery__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1100px, calc(100% - 48px));
    margin: 4px auto 0;
}
.centered-carousel-gallery__pagination::before,
.centered-carousel-gallery__pagination::after {
    content: "";
    flex: 1 1 0;
    max-width: 488.5px;
    height: 1px;
    background: var(--color-olive);
}
.centered-carousel-gallery__pagination > span {
    flex: 0 0 124px;
    width: 124px;
    height: 14px;
    background: url("../images/brand/diamond-pagination.svg") no-repeat center / 124px 14px;
}

@media (max-width: 1199px) {
    .centered-carousel-gallery { --u: 0.7px; }
    .centered-carousel-gallery__arrow--prev { left: 24px; }
    .centered-carousel-gallery__arrow--next { right: 24px; }
}

@media (max-width: 767px) {
    .centered-carousel-gallery { --u: 0.55px; padding: 64px 0 56px; }
    .centered-carousel-gallery__title { font-size: 36px; }
    .centered-carousel-gallery__slide.is-pos-2,
    .centered-carousel-gallery__slide.is-pos--2 { opacity: 0; }
    .centered-carousel-gallery__arrow { width: 44px; height: 44px; margin-top: -22px; }
    .centered-carousel-gallery__pagination::before,
    .centered-carousel-gallery__pagination::after { max-width: none; }
}

@media (min-width: 1800px) {
    .centered-carousel-gallery { --u: 1.25px; }
}

@media (min-width: 2300px) {
    .centered-carousel-gallery { --u: 1.6px; }
}

@media (prefers-reduced-motion: reduce) {
    .centered-carousel-gallery__slide { transition: none; }
}

/* ==========================================================================
   Themed header / footer details
   ========================================================================== */
/* Header "Book now": Figma "UC Button/Outline Gold on Blue" — gold outline, white label (Heritage keeps gold). */
body.rest-theme--uncommon header .button.button-tan,
body.rest-theme--cardinals-crest header .button.button-tan {
    color: #fff;
}
body.rest-theme--uncommon header .button.button-tan:hover,
body.rest-theme--cardinals-crest header .button.button-tan:hover {
    color: var(--color-sapphire);
}

/* (un)Common uses an all-white logo in the header and footer (Figma 33:29, 33:151).
   The uploaded logo is gold, so flatten it to white with a filter. Works for any single-color logo. */
body.rest-theme--uncommon header #logo-home img,
body.rest-theme--uncommon footer#footer #logo-footer img {
    filter: brightness(0) invert(1);
}
