/* Generated per-site theme stylesheet - see App\Support\Theme\ThemeCssBuilder. Do not hand-edit. */
@font-face {
    font-family: 'Barlow';
    src: url('/fonts/Barlow-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('/fonts/Barlow-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('/fonts/Barlow-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --site-ground: #ffffff;
    --site-ground-alt: #f4f3ee;
    --site-ink: #1f2124;
    --site-ink-muted: #55585d;
    --site-accent: #1f2124;
    --site-on-accent: #fff200;
    --site-line: #85878b;
    --site-band: #fff200;
    --site-on-band: #1f2124;
    --site-focus: #1f2124;
    --site-radius: 4px;
    --site-width: 1180px;
    --font-site: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

:root[data-theme="dark"] {
    --site-ground: #151515;
    --site-ground-alt: #1f1f1e;
    --site-ink: #ededea;
    --site-ink-muted: #a3a39e;
    --site-accent: #8fb0d0;
    --site-on-accent: #151515;
    --site-line: #6f6f6a;
    --site-band: #262624;
    --site-on-band: #ededea;
    --site-focus: #8fb0d0;
    --site-radius: 6px;
    --font-site: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Generated - see App\Support\Theme\BlockStylesheetBuilder. Do not hand-edit. */
/*
 * The `.sb-*` base primitives every tenant block builds on - demonstrated
 * in design/components/ThemeContract/preview.html (the hero/band pairing
 * across Base, Gravel and Fern) and design/components/BlockCtaBand's
 * README ("sb-band on site-band with site-on-band text; its sb-btn
 * reverses"). Reads only `--site-*` custom properties (ADR-0005: "every
 * block reads only the site-* slots and nothing else") - never a `--`
 * admin/platform variable, so one set of blocks can wear every theme.
 *
 * Font sizes/line-heights are the platform's fixed type scale
 * (design/tokens.json, the "Tenant base" group: site-h1/h2/body/small) -
 * "A theme changes faces, never sizes" (design/theme-contract.md), so
 * these are hard-coded here rather than generated as variables. Spacing
 * (design/tokens.json's "spacing" group, --space-N) is hard-coded the
 * same way, for the same reason this file states above: a `--space-*`
 * admin/platform variable is never defined anywhere a tenant page
 * actually links (ThemeCssBuilder emits only `--site-*` slots) - an
 * earlier `--space-N` read through `var()` here or in header.css/
 * footer.css, with no fallback, was a guaranteed-invalid value,
 * which drops the whole declaration it's in (padding/margin/gap all
 * collapsing to 0) rather than merely that one side. Caught via the
 * CI-only Northern Automotive screenshots this stream added, once the
 * block-CSS cache-key fix let this file reach a real page for the
 * first time.
 *
 * This is the shared foundation only. The 14 blocks themselves
 * (BlockHeader, BlockCards, BlockGallery, ...) are Blade views over the
 * content/block-registry model (ADR-0005) - that's Stream A's work, not
 * this build's.
 */
.sb {
    background: var(--site-ground);
    color: var(--site-ink);
    font-family: var(--font-site);
}

.sb-h1 {
    font-size: 40px;
    line-height: 46px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    color: var(--site-ink);
    /* Optional font-site-heading slot (design/theme-contract.md): falls
       back to the body face via the var() fallback itself when a theme
       never sets it - no PHP-side branching needed for existing themes
       to render exactly as before. */
    font-family: var(--font-site-heading, var(--font-site));
}

.sb-h2 {
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--site-ink);
    font-family: var(--font-site-heading, var(--font-site));
}

.sb-body {
    font-size: 17px;
    line-height: 27px;
    font-weight: 400;
    color: var(--site-ink);
    margin: 0;
}

.sb-small {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--site-ink-muted);
}

.sb-hero {
    background: var(--site-ground);
}

.sb-ground-alt {
    background: var(--site-ground-alt);
}

.sb-band {
    background: var(--site-band);
    color: var(--site-on-band);
}

.sb-band .sb-body,
.sb-band p,
.sb-band .sb-h1,
.sb-band .sb-h2,
.sb-band .sb-small,
.sb-band dt,
.sb-band dd {
    color: var(--site-on-band);
}

/* Stream N1: `background: band` (SectionBackground) can now put any
   block on `sb-band`, not just `cta`'s own hand-tuned markup - a plain
   link inside one needs to read against that dark fill too. `.sb-btn`
   already reverses below, so it's excluded here. */
.sb-band a:not(.sb-btn) {
    color: var(--site-on-band);
}

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-site);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--site-radius);
    padding: 10px 12px;
    background: var(--site-accent);
    color: var(--site-on-accent);
}

/* Belt and suspenders alongside every icon's own `width`/`height`
   attributes (resources/views/components/sb/*.blade.php): a button with
   an inline-SVG icon (actionbar's Call button today) still gets a sane
   size from CSS too, matching cards.css's `.sb-ico svg`. */
.sb-btn svg {
    width: 20px;
    height: 20px;
    flex: none;
}

/* Inside .sb-band, the button reverses per BlockCtaBand's contract. */
.sb-band .sb-btn {
    background: var(--site-on-band);
    color: var(--site-band);
}

/* `:not(.sb-btn)`, same exclusion as `.sb-band a:not(.sb-btn)` above and
   for the same reason: without it, this rule's (.sb, a) specificity
   (0,1,1) beats plain `.sb-btn`'s (0,1,0), silently overriding its own
   `color: var(--site-on-accent)` with the page's link colour instead -
   on a `.sb-btn` whose background is dark (`--site-accent`) and whose
   link colour also happens to be `--site-accent` (Northern Automotive's
   theme, and any theme where they match), that's invisible dark-on-dark
   button text. Caught via the CI-only Northern Automotive screenshots
   this stream added, once the block-CSS cache-key fix let this rule
   reach a real page for the first time. */
.sb a:not(.sb-btn) {
    color: var(--site-accent);
}

.sb a:focus-visible,
.sb-btn:focus-visible {
    outline: 2px solid var(--site-focus);
    outline-offset: 2px;
}

/*
 * Shared `.sb-*` scaffolding every v1 block renderer builds on, on top of
 * resources/css/components/SiteBlockBase.css's primitives (.sb, .sb-h1,
 * .sb-h2, .sb-body, .sb-small, .sb-band, .sb-btn, .sb-ground-alt).
 * Reads only `--site-*` custom properties (ADR-0005) - never a
 * hard-coded colour or font, and never a platform/admin variable.
 *
 * `.sb-media` is the one new primitive every block with an image shares
 * (hero/image/gallery/cards/logos): a fixed-ratio frame around the real
 * `<img>` the block renderer emits (App\Media\... srcset/width/height/
 * loading/fetchpriority - see resources/views/components/sb/image.blade.php).
 */
.sb-section {
    padding: 48px 24px;
    max-width: var(--site-width, 1100px);
    margin: 0 auto;
}

.sb-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

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

.sb-text > * + * {
    margin-top: 16px;
}

.sb-link {
    display: inline-block;
    color: var(--site-accent);
    font-weight: 600;
    text-decoration: underline;
}

.sb-media {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--site-radius);
    background: var(--site-ground-alt);
}

.sb-media__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-media--hero {
    aspect-ratio: 16 / 9;
}

/* Same shape as DataTable.css's admin-side `.da-sr` - visually hidden, still read by a screen reader. */
.sb-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.sb-media--4-3 {
    aspect-ratio: 4 / 3;
}

.sb-media--3-2 {
    aspect-ratio: 3 / 2;
}

.sb-media--square {
    aspect-ratio: 1 / 1;
}

/*
 * The phone-only sticky action bar (Stream N1, Northern Automotive
 * design canvas): Call plus one button, stuck to the bottom of the
 * screen. Off by default (App\Models\Brand::$actionbar_enabled); the
 * element always renders in markup when the setting is on, but only
 * `display`s on phones here - no JavaScript resize handling needed.
 */
.sb-actionbar {
    display: none;
}

@media (max-width: 767px) {
    .sb-actionbar {
        position: sticky;
        bottom: 0;
        z-index: 5;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: var(--site-ground);
        box-shadow: 0 -1px 0 0 var(--site-line);
    }

    .sb-actionbar .sb-btn {
        justify-content: center;
        justify-self: stretch;
    }

    .sb-actionbar .sb-btn--band {
        background: var(--site-band);
        color: var(--site-on-band);
    }
}

.sb-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .sb-cards--grid,
    .sb-cards--feature,
    .sb-cards--plain {
        grid-template-columns: repeat(3, 1fr);
    }

    .sb-cards--feature > .sb-card:first-child {
        grid-column: 1 / -1;
    }
}

.sb-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sb-card-body {
    display: block;
    margin-top: 12px;
}

.sb-card-title {
    display: block;
    font-weight: 600;
    color: var(--site-ink);
}

.sb-card-meta {
    display: block;
    margin-top: 4px;
}

/*
 * Stream N1 additions (Northern Automotive design canvas): an icon
 * tile (shown when an item has an icon), an optional visible link
 * label, and the `plain` layout that strips the tile's border/padding.
 */
.sb-ico {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--site-radius);
    background: var(--site-band);
    color: var(--site-on-band);
}

.sb-ico svg {
    width: 20px;
    height: 20px;
}

.sb-card--tile {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 24px;
    border-radius: var(--site-radius);
    background: var(--site-ground);
    box-shadow: inset 0 0 0 1px var(--site-line);
}

.sb-card--tile .sb-ico {
    margin-bottom: 2px;
}

.sb-card--tile .sb-card-body {
    margin-top: 0;
    display: grid;
    gap: 10px;
}

.sb-card-link {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--site-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sb-card--plain,
.sb-card--plain.sb-card--tile {
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.sb-swap-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 24px;
}

.sb-swap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    border-radius: var(--site-radius);
    overflow: hidden;
}

@media (min-width: 560px) {
    .sb-swap {
        grid-template-columns: 1fr 1fr;
    }
}

.sb-swap-was,
.sb-swap-now {
    padding: 24px;
}

.sb-swap-was {
    background: var(--site-ground-alt);
    color: var(--site-ink-muted);
}

.sb-swap-was .sb-body {
    color: var(--site-ink-muted);
}

.sb-swap-now {
    background: var(--site-ground);
}

.sb-swap-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sb-cta {
    padding: 40px 32px;
    text-align: center;
}

.sb-cta > * + * {
    margin-top: 20px;
}

.sb-faq {
    padding: 48px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.sb-faq details {
    border-bottom: 1px solid var(--site-line);
}

.sb-faq summary {
    padding: 16px 0;
    font-weight: 600;
    cursor: pointer;
    color: var(--site-ink);
}

.sb-faq summary::marker {
    color: var(--site-accent);
}

.sb-ans {
    padding: 0 0 16px;
    background: var(--site-ground-alt);
    margin: 0;
}

/*
 * design/components/BlockFooter - business details, the footer menu's
 * link list, then the copyright line and the Dori Media credit. Reads
 * site-* slots only (ADR-0005): sb-footer sits on sb-band (site-band
 * with site-on-band text, 00-shared.css), its sb-credit link matching
 * that same on-band colour at 14px. Spacing is hard-coded px, not read
 * from a `--space-N` platform variable through `var()`
 * (resources/css/components/SiteBlockBase.css's own docblock has the
 * full reasoning).
 */
.sb-footer {
    background: var(--site-band);
    color: var(--site-on-band);
}

.sb-footer-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: var(--site-width, 1100px);
    margin: 0 auto;
    padding: 32px 16px;
}

@media (min-width: 768px) {
    .sb-footer-cols {
        /* 4 columns (Gate 2 decision 4): business+address, contact, hours, pages. */
        grid-template-columns: repeat(4, 1fr);
    }
}

.sb-footer-cols a {
    display: block;
    color: var(--site-on-band);
    text-decoration: none;
}

.sb-footer-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--site-width, 1100px);
    margin: 0 auto;
    padding: 16px;
    border-top: 1px solid var(--site-line);
    font-size: 14px;
}

.sb-credit {
    color: var(--site-on-band);
    font-size: 14px;
    text-decoration: underline;
}

/* Shared by `contact` (.sb-form) and `glovebox_booking` (.sb-booking). */
.sb-field {
    margin-bottom: 16px;
}

.sb-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--site-ink);
}

.sb-input {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 16px;
    font-family: var(--font-site);
    color: var(--site-ink);
    background: var(--site-ground);
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
}

.sb-input:focus-visible {
    outline: 2px solid var(--site-focus);
    outline-offset: 2px;
}

/*
 * `contact`'s own form.sb-form, without the with_details card: capped
 * rather than spanning the whole section width (Stream Y). Inside a
 * card (.sb-card .sb-form) the card's own width is what matters, so
 * this cap is lifted there - the form fills the card instead.
 */
.sb-form {
    max-width: 640px;
}

.sb-card .sb-form {
    max-width: none;
}

/*
 * `contact`'s `with_details` layout (Stream Y, docs/CONTENT-SCHEMA.md
 * §4.1): the details card first in source order, so it's first when
 * this collapses to one column below 768px - a phone visitor sees
 * phone/address/hours before the form, deliberately reordering the
 * design canvas's own form-then-map-and-hours page.
 */
.sb-contact-grid {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .sb-contact-grid {
        grid-template-columns: minmax(260px, 1fr) minmax(320px, 2fr);
        align-items: start;
    }
}

.sb-contact-details {
    display: grid;
    gap: 12px;
}

.sb-contact-phone {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--site-ink);
    text-decoration: none;
}

.sb-contact-phone:hover,
.sb-contact-phone:focus-visible {
    text-decoration: underline;
}

/*
 * The `hp_field` honeypot (resources/views/components/blocks/partials/contact-form.blade.php):
 * visually hidden off-screen, never `display:none`/`visibility:hidden` -
 * some scripted submissions specifically skip a field hidden that way,
 * which defeats the trap. Its wrapper already carries `aria-hidden`,
 * and the input itself `tabindex="-1"`/`autocomplete="off"`, so this is
 * purely about keeping it out of sighted view - a real visitor never
 * sees or reaches it, by any of the three mechanisms together.
 */
.sb-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sb-booking {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: end;
}

.sb-booking .sb-field {
    flex: 1 1 160px;
    margin-bottom: 0;
}

.sb-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.sb-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .sb-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sb-gallery figcaption {
    margin-top: 8px;
}

/*
 * design/components/BlockHeader - logo/business name, the primary menu,
 * and the menu's last item as the main-action sb-btn. Reads site-* slots
 * only (ADR-0005). At phone width the nav collapses behind a checkbox-
 * driven toggle (no inline script - the platform CSP baseline allows no
 * inline scripts, ADR-0007), opening a full-width panel under the header.
 * Spacing is hard-coded px, not read from a `--space-N` platform
 * variable through `var()` (resources/css/components/SiteBlockBase.css's
 * own docblock has the full reasoning).
 */
.sb-header {
    padding: 12px 16px;
    background: var(--site-ground);
    border-bottom: 1px solid var(--site-line);
    position: relative;
}

/*
 * Stream N1: the header's content now centres to the theme's
 * `--site-width` slot (App\Support\Theme\ThemePresets, default 1100px -
 * the pre-Stream-N1 width every other block already used) like every
 * other block, instead of running full-bleed - `.sb-header` itself
 * stays unconstrained (background/border only) so `.sb-nav`'s phone
 * dropdown below still positions itself against it, full width, exactly
 * as before.
 */
.sb-header-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: var(--site-width, 1100px);
    margin-inline: auto;
}

.sb-logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--site-ink);
    text-decoration: none;
}

/* Stream N3: the logo image replacing the business-name text link. */
.sb-logo-img {
    display: block;
    max-height: 40px;
    width: auto;
}

.sb-nav-toggle-input {
    display: none;
}

.sb-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: var(--touch-min, 44px);
    height: var(--touch-min, 44px);
    color: var(--site-ink);
    cursor: pointer;
}

.sb-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sb-nav a {
    color: var(--site-ink);
    text-decoration: none;
    font-weight: 600;
}

.sb-nav a[aria-current='page'] {
    color: var(--site-accent);
}

.sb-nav a.sb-btn {
    color: var(--site-on-accent);
}

@media (max-width: 767px) {
    .sb-nav-toggle {
        display: flex;
    }

    .sb-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        background: var(--site-ground);
        border-bottom: 1px solid var(--site-line);
        z-index: 10;
    }

    .sb-nav-toggle-input:checked ~ .sb-nav {
        display: flex;
    }

    .sb-nav a {
        padding: 8px 0;
    }
}

.sb-hero__content {
    padding: 32px 24px 48px;
    text-align: left;
}

.sb-hero__content > * + * {
    margin-top: 16px;
}

/*
 * `layout: photo_panel` (Stream N1, Northern Automotive design canvas) -
 * the photo fills the frame, with the headline/line/button overlaid in
 * a panel on the band colour, rather than stacked below it. `short`
 * shrinks the frame height for a secondary page's hero.
 */
.sb-hero-panel {
    padding: 0 24px;
}

.sb-hero-frame {
    position: relative;
    max-width: var(--site-width, 1100px);
    margin-inline: auto;
}

.sb-hero-frame .sb-media--hero-panel {
    height: 520px;
}

.sb-hero-short .sb-hero-frame .sb-media--hero-panel {
    height: 380px;
}

.sb-hero-box {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 540px;
    display: grid;
    gap: 14px;
    padding: 32px;
    background: var(--site-band);
    color: var(--site-on-band);
    border-radius: var(--site-radius);
}

.sb-hero-box .sb-h1,
.sb-hero-box .sb-body {
    color: var(--site-on-band);
}

/*
 * `layout: split` (Gate 2 decision 5): reuses `.sb-split`/
 * `.sb-split--photo-right` (00-shared.css, image.css) for the grid and
 * the 1-column-under-768px collapse - this is the one extra rule those
 * need, since `.sb-hero__frame` (the framed-screenshot case) isn't an
 * `.sb-media` element the way `image_text`'s own photo is, so image.css's
 * `.sb-split--photo-right > .sb-media` ordering rule doesn't reach it.
 */
@media (min-width: 768px) {
    .sb-split--photo-right > .sb-hero__frame {
        order: 2;
    }

    .sb-split--photo-right > .sb-hero__content {
        order: 1;
    }
}

@media (max-width: 767px) {
    .sb-hero-panel {
        padding: 0;
    }

    .sb-hero-frame .sb-media--hero-panel,
    .sb-hero-short .sb-hero-frame .sb-media--hero-panel {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    .sb-hero-box {
        position: static;
        max-width: none;
        border-radius: 0;
        padding: 24px;
    }
}

@media (min-width: 768px) {
    .sb-split--photo-right > .sb-media {
        order: 2;
    }

    .sb-split--photo-right > .sb-text {
        order: 1;
    }
}

.sb-split--photo-only {
    grid-template-columns: 1fr;
}

.sb-posts {
    margin-top: 24px;
    border-top: 1px solid var(--site-line);
}

.sb-post {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid var(--site-line);
}

.sb-post-date {
    color: var(--site-ink-muted);
    font-size: 14px;
    min-width: 110px;
}

.sb-post-title {
    color: var(--site-ink);
    font-weight: 600;
    text-decoration: none;
}

.sb-post-title:hover {
    color: var(--site-accent);
}

/*
 * `logos` has no design/components/ reference yet (theme-contract.md:
 * "Card still to draw") - this follows the same `.sb-*`/`--site-*`-only
 * convention as every drawn block rather than waiting on a mockup.
 */
.sb-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    margin-top: 24px;
}

.sb-logo {
    display: block;
    width: 140px;
}

.sb-logo .sb-media {
    background: transparent;
    aspect-ratio: 3 / 2;
}

.sb-logo .sb-media__img {
    object-fit: contain;
}

.sb-hours {
    margin: 16px 0 0;
}

.sb-hours dt {
    color: var(--site-ink-muted);
    font-size: 14px;
}

.sb-hours dd {
    margin: 0 0 8px;
    color: var(--site-ink);
}

/*
 * The click-to-load Google Maps embed (Stream Y,
 * resources/views/components/blocks/partials/map-embed.blade.php,
 * public/js/map-embed.js) - shared by `map_and_hours` and `contact`'s
 * `with_details` details card.
 */
.sb-map {
    margin-top: 16px;
    border-radius: var(--site-radius);
    overflow: hidden;
}

.sb-map-placeholder {
    display: grid;
    gap: 12px;
    justify-items: start;
    padding: 24px;
    background: var(--site-ground-alt, var(--site-ground));
    box-shadow: inset 0 0 0 1px var(--site-line);
    border-radius: var(--site-radius);
}

.sb-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/*
 * `people` (Stream N1, Northern Automotive design canvas, engine key
 * `officials_grid`). `.sb-media--person` sets the photo's aspect ratio
 * (x-sb.image, resources/views/components/sb/image.blade.php);
 * `.sb-person-photo--placeholder` is the tidy stand-in shown when a
 * person has no photo yet.
 */
.sb-people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.sb-person {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.sb-media--person {
    aspect-ratio: 4 / 5;
}

.sb-person-photo--placeholder {
    aspect-ratio: 4 / 5;
    border-radius: var(--site-radius);
    background: var(--site-ground-alt);
    color: var(--site-ink-muted);
    display: grid;
    place-items: center;
    padding: 12px;
    box-sizing: border-box;
    text-align: center;
    font-size: 13px;
    line-height: 18px;
    box-shadow: inset 0 0 0 1px var(--site-line);
}

.sb-person-name {
    display: block;
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: var(--site-ink);
}

.sb-person-role {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--site-ink-muted);
}

.sb-person-text {
    display: grid;
    gap: 8px;
}

@media (min-width: 540px) {
    .sb-person {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .sb-people {
        grid-template-columns: minmax(0, 1fr);
    }
}

.sb-proof-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .sb-proof-group {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

.sb-proof {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sb-proof-num {
    font-size: 32px;
    line-height: 38px;
    font-weight: 700;
    color: var(--site-ink);
}

.sb-proof-text {
    color: var(--site-ink);
}

.sb-proof-src {
    color: var(--site-ink-muted);
}

.sb-reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .sb-reviews {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sb-review {
    margin: 0;
}

.sb-stars {
    color: var(--site-accent);
    letter-spacing: 2px;
}

.sb-review-src {
    display: block;
    margin-top: 12px;
    color: var(--site-ink-muted);
    font-size: 14px;
}

.sb-text--two-column {
    column-count: 1;
    column-gap: 32px;
}

@media (min-width: 768px) {
    .sb-text--two-column {
        column-count: 2;
    }
}

.sb-text ul,
.sb-text ol {
    padding-left: 20px;
}

/*
 * `layout: heading_beside_text` (Stream N1, Northern Automotive design
 * canvas) - the heading sits in its own column beside the body, rather
 * than over it. Distinct from `two_column` above, which flows one
 * heading over CSS-multicol body text. Below 768px this stacks like
 * any other `.sb-text` - no media query needed, since block-level
 * elements already stack by default.
 */
@media (min-width: 768px) {
    .sb-text--heading-beside {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 32px;
        align-items: start;
    }

    .sb-text--heading-beside .sb-h2 {
        margin-bottom: 0;
    }
}

/*
 * `.sb-frame` ("Screenshot in browser frame" - SiteFrame). The screenshot
 * always shows its top edge at full width: `object-position: top` on
 * `.sb-frame-img`, never object-fit's default centre crop, so a tall fold
 * capture keeps its header rather than losing it to whatever landed in
 * the middle.
 */
.sb-frame {
    margin: 0;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    overflow: hidden;
    background: var(--site-ground-alt);
}

.sb-frame-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--site-ground-alt);
    border-bottom: 1px solid var(--site-line);
}

.sb-frame-dots {
    display: inline-flex;
    gap: 6px;
}

.sb-frame-dots i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--site-line);
}

.sb-domain {
    font-size: 13px;
    color: var(--site-ink-muted);
}

.sb-frame-shot {
    display: block;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    background: var(--site-ground-alt);
}

.sb-frame-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.sb-frame-caption {
    display: block;
    margin-top: 8px;
}

/*
 * `stats` ("Numbers", Stream N1, Northern Automotive design canvas,
 * engine key `stats`) - a tray of 2-4 figures, always on the band
 * colour (resources/views/blocks/stats.blade.php's own docblock: fixed
 * to this block, not read from the generic `background` envelope
 * field). Reads only `--site-*` slots (ADR-0005).
 */
.sb-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 24px 0 0;
    border-radius: var(--site-radius);
    background: var(--site-band);
    color: var(--site-on-band);
}

.sb-fact {
    display: grid;
    gap: 2px;
    padding: 20px 24px;
    align-content: start;
}

.sb-fact + .sb-fact {
    box-shadow: inset 1px 0 0 0 var(--site-on-band);
}

.sb-fact dt {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--site-on-band);
}

.sb-fact dd {
    margin: 0;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    color: var(--site-on-band);
}

.sb-fact-note {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--site-on-band);
}

@media (max-width: 767px) {
    .sb-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sb-fact {
        padding: 16px;
    }

    .sb-fact:nth-child(3) {
        box-shadow: inset 0 1px 0 0 var(--site-on-band);
    }

    .sb-fact:nth-child(4) {
        box-shadow: inset 1px 0 0 0 var(--site-on-band), inset 0 1px 0 0 var(--site-on-band);
    }
}

/*
 * The top bar (Stream N1, Northern Automotive design canvas): phone,
 * "Open today", address and a short note, on the band colour. Off by
 * default (App\Models\Brand::$topbar_enabled).
 */
.sb-topbar {
    background: var(--site-band);
    color: var(--site-on-band);
    font-size: 14px;
    line-height: 20px;
    padding: 8px 24px;
}

.sb-topbar-in {
    max-width: var(--site-width, 1100px);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
}

.sb-topbar-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.sb-topbar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--site-on-band);
}

.sb-topbar svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.sb-topbar a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 767px) {
    .sb-topbar {
        padding: 8px 16px;
    }

    .sb-topbar-note {
        display: none;
    }
}
