/**
 * Native site chrome — header + footer
 *
 * Stonehenge Child Theme
 * Version: 1.0.0
 *
 * Replaces Elementor theme-builder templates 134 (header) and 79 (footer).
 * Every value here was MEASURED from the live Elementor output on 2026-11-13
 * with getComputedStyle(), not estimated — see header.php / footer.php for the
 * recorded figures.
 *
 * 🔴 Scoped to .sc-hdr / .sc-ftr only. These classes exist nowhere else, so this
 *    file cannot affect page content (ATEN rule 4). It loads sitewide because the
 *    chrome is sitewide, but it still cannot leak.
 */

/* ============================================================
   HEADER — fixed, transparent, 88px
   Every page opens with a coloured hero behind it, so the bar
   itself paints nothing. A template whose first section is light
   must offset itself (page-riat.php uses --sc-header-h).
   ============================================================ */

/* Height of the fixed site header, for anything that has to clear it.
   Declared on :root deliberately — this IS the sitewide chrome stylesheet, and the
   header is sitewide, so this is the variable's proper home. Page-level styles
   (page-riat.php) keep their own scoped copy. */
:root { --sc-chrome-h: 88px; }

@media (max-width: 1024px) {
    :root { --sc-chrome-h: 72px; }
}

/* 🔴 THE WP ADMIN BAR SITS ON TOP OF THIS HEADER FOR EVERY LOGGED-IN USER.
   Mark, 2026-11-19: "can we fix the WP toolbar, it over laps on all pages".

   WordPress pushes the DOCUMENT down with `html { margin-top: 32px !important }`
   and leaves #wpadminbar fixed at the top of the VIEWPORT. A `position: fixed`
   header ignores that html margin — it is positioned against the viewport too —
   so the bar lands squarely over the header's top 32px. Nothing is wrong with
   either one on its own, which is why it survived every capture: the harness is
   logged out, so the admin bar is never in the screenshots.

   🔑 The three breakpoints are WordPress's, not arbitrary: the bar is 32px on
      desktop, 46px at ≤782px, and at ≤600px it switches to `position: absolute`
      and scrolls away — so the offset has to come back off, or the header floats
      46px below the top of the screen on a phone.

   Only the two top-fixed headers need this. The sticky cart and mobile book bar
   are pinned to the BOTTOM, and the lightbox is a modal at z-index 100000 that
   is supposed to cover the bar. */
.admin-bar .sc-hdr { top: 32px; }

@media screen and (max-width: 782px) {
    .admin-bar .sc-hdr { top: 46px; }
}

@media screen and (max-width: 600px) {
    .admin-bar .sc-hdr { top: 0; }
}

.sc-hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    /* 🔴 2026-11-16: this was `background: transparent`, and it shipped an
       INVISIBLE HEADER. The logo is knocked out to white and the nav is white,
       so on any template whose first element is not a dark hero the whole bar
       rendered white-on-white. Measured off the chrome-comparison captures:
       the top 88px of /accommodation/shepherds-hut/ was #FFFFFF across 100% of
       126,720 sampled pixels - no logo, no nav, just an 88px void.

       It LOOKED fine on /contact/ and the category pages only by accident,
       because their own green hero sits behind the transparent bar.

       Elementor's header is a solid #225322 on every page (sampled: 95% of the
       same band). Matching it, per ATEN rule 2. */
    background: #225322;
}

/* 🔴 FIXES A LIVE OVERLAP DEFECT.
   The header is fixed, so any template whose first element is the theme's own
   .page-header rendered UNDERNEATH it. Measured on /booking-confirmation/
   reservation-received/ 2026-11-13: header occupied 0–88px while the <h1> sat at
   8–56px, printing "Reservation Received" straight over the logo, with
   .page-header carrying 0px padding.

   Scoped to .site-main > .page-header so it only affects the theme's title block.
   Elementor-built pages open with their own hero, which is DESIGNED to sit behind
   the transparent header, and must not be pushed down. */
.site-main > .page-header {
    padding-top: calc(var(--sc-chrome-h) + 32px);
    padding-bottom: 8px;
}

.sc-hdr__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 88px;

    /* 🔴 max-width WAS MISSING, AND THE COMMENT HERE SAID IT WAS NOT.
       It used to read "20px matches the site's own gutter so the logo lines up
       with page content" — the intent was right and the rule was incomplete.
       Without a max-width this inner spans the full 1440 viewport, so that 20px
       is measured from the SCREEN EDGE, not from a 1280 container: the logo sat
       hard against the left edge and the nav against the right, while .sc-ftr__inner
       directly below has had `max-width: 1280px; margin-inline: auto` all along.

       Measured off the Elementor screengrabs — contact, events, accommodation
       archive and my-account all agree — the original header's content began at
       **x=112**. The native header's began at **x=20**. So this is a regression
       from the chrome rebuild, not a design decision, and Mark spotted it twice
       ("I've noticed this is the past") before it was measured.

       🔑 My own drift pass missed it. The band diff reported `y 0..88 changed` on
          every single page and I attributed that to the approved Elementor→native
          chrome switch without ever measuring the gutters inside the band. A
          whole-band "changed" verdict hides everything that changed within it.

       1280 + 20px gives a 100px gutter, matching .sc-ftr__inner and the RIAT
       header exactly, so all three pieces of chrome now agree. Page CONTENT sits
       at 112 (1280 + 32px), so there is a residual 12px between chrome and
       content — that predates this, applies to the footer too, and is Mark's to
       call rather than something to change while fixing a header. */
    max-width: 1280px;
    margin-inline: auto;
    /* 🔑 32px, not 20px — see the GUTTER note at the foot of this file. */
    padding: 10px var(--sc-gutter, 32px);
}

.sc-hdr__brand { display: flex; align-items: center; min-width: 0; }

/* custom_logo renders as <a class="custom-logo-link"><img class="custom-logo">
   🔴 The logo file (attachment 740) is DARK GREEN, and the header sits on a dark
      green hero — unfiltered it is almost invisible. Elementor's header solved
      this with filter: brightness(0) invert(1) at opacity .92, measured from the
      live header on 2026-11-13; the same treatment is applied here so the
      wordmark reads white.

   🔴 2026-11-16: "the FOOTER logo is fine unfiltered on #111" was MY ASSUMPTION
      and it was wrong. Measured off the chrome-comparison captures, the footer
      wordmark came out #798963 on #111 = 5.0:1, against Elementor's #BEBEBE =
      10.2:1 - half the contrast of the live site, and visibly dimmer beside it.
      Logos are exempt from WCAG so this was not a failure, just worse. The
      footer now gets the same treatment as the header. */
.sc-hdr__brand .custom-logo-link { display: block; line-height: 0; }
.sc-hdr__brand .custom-logo {
    display: block;
    width: auto;
    height: 48px;      /* measured 212 x 48 */
    max-width: 100%;
    filter: brightness(0) invert(1);
    opacity: .92;
}

.sc-hdr__title {
    font-family: "Lato", system-ui, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

/* --- primary nav --- */
.sc-hdr__nav { display: flex; }

.sc-hdr__menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-hdr__menu li { margin: 0; }

.sc-hdr__menu a {
    display: block;
    padding: 8px 14px;
    font-family: "Lato", system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, .85);
    transition: color .15s ease;
}

.sc-hdr__menu a:hover,
.sc-hdr__menu a:focus-visible,
.sc-hdr__menu .current-menu-item > a,
.sc-hdr__menu .current_page_item > a { color: #fff; }

.sc-hdr__menu a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }

/* --- submenus (depth 2) --- */
.sc-hdr__menu .sub-menu {
    position: absolute;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #111;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.sc-hdr__menu li { position: relative; }
.sc-hdr__menu li:hover > .sub-menu,
.sc-hdr__menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sc-hdr__menu .sub-menu a { text-transform: none; letter-spacing: 0; font-size: 14px; }

/* --- mobile toggle --- */
.sc-hdr__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sc-hdr__bars,
.sc-hdr__bars::before,
.sc-hdr__bars::after {
    display: block;
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}
.sc-hdr__bars { position: relative; }
.sc-hdr__bars::before,
.sc-hdr__bars::after { content: ""; position: absolute; left: 0; }
.sc-hdr__bars::before { top: -7px; }
.sc-hdr__bars::after { top: 7px; }

.sc-hdr__toggle[aria-expanded="true"] .sc-hdr__bars { background: transparent; }
.sc-hdr__toggle[aria-expanded="true"] .sc-hdr__bars::before { transform: translateY(7px) rotate(45deg); }
.sc-hdr__toggle[aria-expanded="true"] .sc-hdr__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
    .sc-hdr__toggle { display: block; }

    .sc-hdr__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: #111;
        padding: 8px 20px 20px;
    }
    .sc-hdr__nav.is-open { display: block; }

    .sc-hdr__menu { flex-direction: column; align-items: stretch; gap: 0; }
    .sc-hdr__menu a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .08); }

    /* submenus are plain nested lists on mobile, not hover panels */
    .sc-hdr__menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding: 0 0 0 16px;
    }
}

/* ============================================================
   FOOTER — #111, four columns, then a bottom bar
   ============================================================ */

.sc-ftr {
    background: #111111;
    color: rgba(255, 255, 255, .6);
    font-family: "Lato", system-ui, sans-serif;
}

.sc-ftr a { color: inherit; text-decoration: none; transition: color .15s ease; }
.sc-ftr a:hover,
.sc-ftr a:focus-visible { color: #fff; }
.sc-ftr a:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 3px; border-radius: 3px; }

.sc-ftr__inner {
    display: grid;
    /* measured: brand ~397px, each menu column ~195px */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: 1280px;
    margin-inline: auto;
    padding: 48px var(--sc-gutter, 32px);
}

/* --- brand column --- */
.sc-ftr__brand { min-width: 0; }

.sc-ftr__logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 100%;
    margin-bottom: 16px;
    /* Same knock-out as the header - see the note at the top of this file. */
    filter: brightness(0) invert(1);
    opacity: .92;
}

.sc-ftr__strap {
    margin: 0 0 20px;
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.6;
    color: #888888;
}

.sc-ftr__contact { list-style: none; margin: 0; padding: 0; }

.sc-ftr__contact-item {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .6);
}

/* --- menu columns --- */
.sc-ftr__col { min-width: 0; }

.sc-ftr__head {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
}

.sc-ftr__menu { list-style: none; margin: 0; padding: 0; }
.sc-ftr__menu li { margin: 0 0 10px; }
.sc-ftr__menu a { font-size: 14px; line-height: 1.4; }

/* --- bottom bar --- */
.sc-ftr__bar { border-top: 1px solid rgba(255, 255, 255, .08); }

.sc-ftr__bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    max-width: 1280px;
    margin-inline: auto;
    padding: 20px var(--sc-gutter, 32px);
}

.sc-ftr__copy {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .3);
}

.sc-ftr__legal-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sc-ftr__legal-menu a { font-size: 12px; color: rgba(255, 255, 255, .45); }

@media (max-width: 900px) {
    .sc-ftr__inner { grid-template-columns: 1fr 1fr; }
    .sc-ftr__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .sc-ftr__inner { grid-template-columns: 1fr; gap: 28px; }
    .sc-ftr__bar-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-hdr *,
    .sc-ftr * { transition: none !important; }
}

/* ============================================================
   BREADCRUMBS
   Output by sc_breadcrumbs(), which also stands in for the dead
   [rank_math_breadcrumb] shortcode left behind in Elementor
   template 403 when Rank Math was deleted.
   ============================================================ */

.sc-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #777;
}

.sc-breadcrumbs a { color: #225322; text-decoration: none; }
.sc-breadcrumbs a:hover,
.sc-breadcrumbs a:focus-visible { text-decoration: underline; }
.sc-breadcrumbs [aria-current="page"] { color: #777; }
.sc-breadcrumbs__sep { color: #bbb; }

/* ============================================================
   Accommodation single — wrappers the native template adds
   style.css already styles .sc-gallery-*, .sc-accom-layout,
   .sc-accom-sidebar, .sc-card and the rest. These are only the
   containers that had no desktop rules because the Elementor
   version supplied them as builder containers.
   ============================================================ */

/* breadcrumb strip: align with .sc-gallery (max 1216 + 32px inset)
   and with .sc-accom-layout below it. The <767px padding is already
   in style.css. */
.sc-breadcrumb {
    max-width: 1280px;
    margin: 14px auto 0;
    padding: 0 32px;
}

/* grid child of .sc-accom-layout — min-width:0 stops long words and
   wide children (tables, iframes) from blowing the column out */
.sc-accom-main { min-width: 0; }

/* the similar-accommodations band sits full width below the layout */
.sc-accom-similar { clear: both; }

/* The sidebar card already says "Book this accommodation" in .sc-booking-card-head,
   so MPHB's own <h2 class="mphb-reservation-form-title">Reservation Form</h2> is a
   duplicate heading. The Elementor widget suppressed it; so do we. */
.sc-booking-body .mphb-reservation-form-title { display: none !important; }

/* ============================================================
   Hero mosaic — adapt to how many gallery images actually exist
   -------------------------------------------------------------
   style.css lays the mosaic out as 3fr/2fr with a fixed 2x2 thumb
   grid. That assumes four gallery images. Audited 2026-11-16:
   four rooms have NONE, three have one, three have two — so most
   accommodation pages rendered a large blank white block to the
   right of the hero.

   The count class comes from single-mphb_room_type.php.
   ============================================================ */

/* no gallery at all -> the hero takes the full width */
.sc-gallery-grid--t0 { grid-template-columns: 1fr !important; }
.sc-gallery-grid--t0 .sc-gallery-hero { grid-column: 1 / -1; }

/* one or two thumbs -> stack them down the second column, no empty cells */
.sc-gallery-grid--t1 .sc-gallery-thumbs .gallery,
.sc-gallery-grid--t2 .sc-gallery-thumbs .gallery {
    grid-template-columns: 1fr !important;
}
.sc-gallery-grid--t1 .sc-gallery-thumbs .gallery { grid-template-rows: 446px !important; }
.sc-gallery-grid--t2 .sc-gallery-thumbs .gallery { grid-template-rows: 220px 220px !important; }

/* three thumbs -> let the third span both columns rather than leave a hole */
.sc-gallery-grid--t3 .sc-gallery-thumbs .gallery-item:nth-child(3) { grid-column: 1 / -1 !important; }

/* 🔴 The mosaic holds FOUR thumbs. Everything past the fourth is hidden here,
   not dropped in PHP — single-mphb_room_type.php renders the whole gallery so
   sc-lightbox.js can collect it (it reads every '.sc-gallery-thumbs a[href]').
   Hiding in CSS rather than slicing in PHP is what lets a visitor reach all 13
   of the Shepherd's Hut photos while the grid still shows four.

   display:none is right, not visibility/opacity: these must take no grid cell.
   Scoped to .sc-gallery-thumbs, which exists only on the accommodation single
   template, so this cannot reach another gallery on the site. */
.sc-gallery-thumbs .gallery-item:nth-child(n+5) { display: none !important; }


/* ════════════════════════════════════════════════════════
   SEARCH FORM BAND — native-pages/search-results.php
   ────────────────────────────────────────────────────────
   The results page gained MPHB's availability search on 2026-11-18, so a visitor
   landing there can change dates and party size. These are the MAIN-SITE styles
   for it; riat.css restyles the same band for the RIAT mini-site.

   🔴 Scoped to .sc-search-form-band, a class that exists on this one template.
      The site's other two copies of this form are styled through #hero-booking and
      .page-id-70, neither of which is reusable here — which is why this block
      exists rather than a shared one (ATEN rule 4: nothing global).
   ════════════════════════════════════════════════════════ */

.sc-search-form-band {
    background: #F4F6F2;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 28px 0;
}

.sc-search-form-band .sc-search-form-title {
    margin: 0 0 14px;
    font-family: "Lato", system-ui, sans-serif;
    font-size: 20px;
    text-align: center;
}

.sc-search-form-band .mphb_sc_search-wrapper { max-width: 1000px; margin-inline: auto; }

.sc-search-form-band .mphb-required-fields-tip { display: none; }

/* 🔴 THE SEARCH BUTTON WAS UNSTYLED — base.css AGAIN, FOR THE FOURTH TIME.
   Mark: "the button is unstyled". It rendered as a white box with a pink border
   and pink text, which is `assets/css/base.css`'s bare-element rule:

       [type=button],[type=submit],button {
           background: transparent; border: 1px solid #c36; color: #c36 }

   The same file turned the lightbox close button pink and the hero caption grey.
   It styles BARE ELEMENTS, so nothing in the markup or in this component's own
   CSS hints that a rule exists, and grepping the component name finds nothing.

   🔑 The site's other two copies of this form are styled through #hero-booking
      and .page-id-70, so neither reaches this band — which is exactly why it was
      left wearing the reset's default. Given the site's own green submit styling
      to match the Search button on the homepage hero. */
.sc-search-form-band input[type="submit"],
.sc-search-form-band button[type="submit"] {
    background: var(--sc-green, #225322);
    border: 1px solid var(--sc-green, #225322);
    color: #fff;
    font-family: "Lato", system-ui, sans-serif;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .18s;
}

.sc-search-form-band input[type="submit"]:hover,
.sc-search-form-band button[type="submit"]:hover {
    background: var(--sc-green-mid, #2d6b2d);
    border-color: var(--sc-green-mid, #2d6b2d);
    color: #fff;
}

/* The band is now the LAST thing on the page (it moved below the results on
   2026-11-19), so it needs its own breathing room above the footer. */
.sc-search-form-band {
    /* Mark, 2026-11-19: "The section at the bottom with the pickers should prob
       be a darker colour bg". It is the last band before the footer and it is an
       action, not more results — a darker ground separates it from the cards
       above and steps down towards the #111 footer instead of stopping dead. */
    background: #E7EDE7;
    padding-block: 48px;
    border-top: 1px solid rgba(0, 0, 0, .10);
    border-bottom: 0;
}

.sc-search-form-band .sc-search-form-title { color: var(--sc-text-heading, #2b2b2b); }

/* The inputs keep a white ground so the fields still read as fields against the
   darker band rather than merging into it. */
.sc-search-form-band input[type="text"],
.sc-search-form-band select { background: #fff; }


/* ── form layout ─────────────────────────────────────────
   🔑 MPHB emits every field as its own <p>, with a <br> between label and
      input. Left alone that is four full-width rows and a button — which is what
      it looked like on first render. The grid puts them on one line and the <br>
      is neutralised rather than removed, because the markup is the plugin's. */
.sc-search-form-band .mphb_sc_search-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}
.sc-search-form-band .mphb_sc_search-form > p { margin: 0; }
.sc-search-form-band .mphb_sc_search-form label { display: block; margin-bottom: 6px; }
.sc-search-form-band .mphb_sc_search-form br { display: none; }
.sc-search-form-band .mphb_sc_search-form input,
.sc-search-form-band .mphb_sc_search-form select { width: 100%; }
.sc-search-form-band .mphb_sc_search-form input[type="submit"] { width: auto; }

@media (max-width: 860px) {
    .sc-search-form-band .mphb_sc_search-form { grid-template-columns: 1fr 1fr; }
    .sc-search-form-band .mphb_sc_search-form input[type="submit"] { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 520px) {
    .sc-search-form-band .mphb_sc_search-form { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   THE GUTTER — one number for chrome and content
   ───────────────────────────────────────────────────────────────────────────
   Mark, 2026-11-19: "header on all pages should match the page width, so should
   the footer. Make them all the same, the optimal width."

   🔑 32px IS THE SITE'S OWN NUMBER — it was not chosen here. Measured across the
      homepage, a product page, /contact/ and the accommodation archive, every
      content container already resolves to x=112 on a 1440 viewport, i.e.
      max-width 1280 + 32px: .hero-inner, .section-inner, .sc-gallery,
      .sc-breadcrumb, .sc-accom-layout, .sc-similar-inner, .sc-contact-wrapper.
      The chrome was the only thing at 20px (x=100), and the ELEMENTOR header
      measured x=112 on all four surviving screengrabs. So this restores the
      original line rather than inventing one.

   Declared as a token so the header, the footer, the legal bar and the RIAT
   mini-site all read it from one place. riat.css maps its own --gutter onto it.

   🔴 The mobile step-down is not optional. 32px either side of a 390px phone
      leaves 326px of content, and the site's own mobile rules already drop
      content to 20px (.sc-accom-layout, .sc-gallery, .sc-breadcrumb all do).
      Chrome has to step down with them or the header stops lining up with the
      page exactly where there is least room to spare.
   ═══════════════════════════════════════════════════════════════════════════ */

:root { --sc-gutter: 32px; }

@media (max-width: 767px) {
    :root { --sc-gutter: 20px; }
}

/* ============================================================================
   COOKIE CONSENT — campsite skin
   ============================================================================
   🔴 CookieYes is a CONNECTED account, so the banner is rendered from
   cdn-cookieyes.com/client_data/<website_key>/banner.js and it writes its colours
   as INLINE style attributes on each element. That means:
     - the local `cky_banner_template` option and the `cky_banners` table are NOT
       what renders; editing them changes nothing on the page
     - a plain stylesheet rule loses to the inline style
   So the brand colours have to be applied with !important, which is the only
   thing that outranks an inline style.

   The RIAT surfaces get their own violet/gold skin in riat.css, scoped to
   body.sc-riat-chrome. This block is scoped to body:not(.sc-riat-chrome) so the
   two can never fight — specificity is then irrelevant between them.

   🔑 The banner is site-wide furniture, so a site-wide rule IS the correct scope
   here; this is not the unscoped-archive-stylesheet mistake CLAUDE.md rule 4 is
   about. Keeping it in site-chrome.css, with the rest of the shared chrome.

   ⏳ Set the same green in the CookieYes dashboard too, so the hosted config and
   the site agree — otherwise the dashboard preview shows blue for ever. */

body:not(.sc-riat-chrome) .cky-btn-accept {
    background-color: var(--sc-green, #225322) !important;
    border-color: var(--sc-green, #225322) !important;
    color: #fff !important;
}
body:not(.sc-riat-chrome) .cky-btn-accept:hover {
    background-color: var(--sc-green-mid, #3d6b2e) !important;
    border-color: var(--sc-green-mid, #3d6b2e) !important;
}
body:not(.sc-riat-chrome) .cky-btn-reject {
    background-color: var(--sc-green, #225322) !important;
    border-color: var(--sc-green, #225322) !important;
    color: #fff !important;
}
body:not(.sc-riat-chrome) .cky-btn-reject:hover {
    background-color: var(--sc-green-mid, #3d6b2e) !important;
    border-color: var(--sc-green-mid, #3d6b2e) !important;
}
body:not(.sc-riat-chrome) .cky-btn-customize,
body:not(.sc-riat-chrome) .cky-btn-preferences {
    background-color: transparent !important;
    border-color: var(--sc-green, #225322) !important;
    color: var(--sc-green, #225322) !important;
}
body:not(.sc-riat-chrome) .cky-btn-customize:hover,
body:not(.sc-riat-chrome) .cky-btn-preferences:hover {
    background-color: rgba(34, 83, 34, .08) !important;
}
body:not(.sc-riat-chrome) .cky-notice-des a.cky-policy,
body:not(.sc-riat-chrome) .cky-show-desc-btn,
body:not(.sc-riat-chrome) .cky-preference-content-wrapper .cky-show-desc-btn,
body:not(.sc-riat-chrome) .cky-btn-do-not-sell { color: var(--sc-green, #225322) !important; }

/* preference centre + the little revisit tab */
body:not(.sc-riat-chrome) .cky-btn-revisit-wrapper { background: var(--sc-green, #225322) !important; }
body:not(.sc-riat-chrome) .cky-switch input[type="checkbox"]:checked { background: var(--sc-green, #225322) !important; }
body:not(.sc-riat-chrome) .cky-preference-center .cky-btn-accept,
body:not(.sc-riat-chrome) .cky-prefrence-btn-wrapper .cky-btn-accept {
    background-color: var(--sc-green, #225322) !important;
    border-color: var(--sc-green, #225322) !important;
}
