/* Facility pages use their own block templates. This theme layer loads after them. */
body.hb-site {
    --breeze-ink: #214f50;
    --breeze-mist: #edf7f8;
    --breeze-leaf: #eff6e9;
    --breeze-gold: #c6ad78;
    --breeze-edge: #cbdedb;
    --ink: var(--breeze-ink);
    --paper: #fff;
    --manor-ink: var(--breeze-ink);
    --rule: var(--breeze-edge);
    --breeze-wash: linear-gradient(108deg, #fff 17%, #edf7f9 69%, #f1f6e9);
}

/* The header has its own light surface even over a full-width cover. */
body.hb-site .hb-header,
html:root :is(body.hb-site.hb-home, body.hb-site .hb-home):has(.hb-main > :is(.hb-hero, .tks-hero, .tkb-hero):first-child) header.hb-header {
    position: relative;
    inset: auto;
    color: var(--breeze-ink);
    border: 0;
    border-bottom: 1px solid var(--breeze-edge);
    background: var(--breeze-wash);
    box-shadow: none;
}
body.hb-site .hb-header .hb-header-row { max-width: 1600px; }
body.hb-site .hb-header .hb-brand::before { content: none; }

/* Match the home cover selectors used for legacy and editable headers. */
:is(body.hb-site.hb-home, body.hb-site .hb-home):has(.hb-main > :is(.hb-hero, .tks-hero, .tkb-hero):first-child) .hb-header .hb-menu :is(a, a:last-child),
:is(body.hb-site.hb-home, body.hb-site .hb-home):has(.hb-main > :is(.hb-hero, .tks-hero, .tkb-hero):first-child) .hb-header :is(.hb-brand, .hb-brand small, .hb-block-brand-name strong, .hb-mark),
body.hb-site .hb-header :is(.hb-brand, .hb-block-brand-name strong, .hb-mark) {
    color: var(--breeze-ink);
    text-shadow: none;
}
:is(body.hb-site.hb-home, body.hb-site .hb-home):has(.hb-main > :is(.hb-hero, .tks-hero, .tkb-hero):first-child) .hb-block-header .hb-block-mark img[src$="/ripple.svg"],
body.hb-site .hb-header .hb-brand .hb-block-mark img[src$="/ripple.svg"] {
    transform: none;
    filter: brightness(0) saturate(100%) invert(39%) sepia(19%) saturate(933%) hue-rotate(126deg);
}
body.hb-site .hb-header .hb-header-row :is(.hb-toggle, .hb-menu > a:last-child, .hb-menu p:last-child > a),
:is(body.hb-site.hb-home, body.hb-site .hb-home):has(.hb-main > :is(.hb-hero, .tks-hero, .tkb-hero):first-child) .hb-header :is(.hb-toggle, .hb-menu > a:last-child, .hb-menu p:last-child > a) {
    border: 1px solid #8dac9e;
    border-radius: 2rem;
    background: #f5faf4;
    color: var(--breeze-ink);
    box-shadow: none;
    text-shadow: none;
}
body.hb-site .hb-header .hb-menu a:hover { text-decoration: underline; text-underline-offset: .32em; }

:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-hero, .tks-hero, .tkb-hero) {
    min-height: clamp(480px, 37vw, 660px);
    padding-block: clamp(62px, 6vw, 104px) clamp(90px, 8vw, 138px);
    --breeze-shade: linear-gradient(90deg, rgb(26 66 65 / 87%), rgb(36 73 65 / 72%) 27%, rgb(45 82 76 / 33%) 52%, transparent 76%);
    --breeze-thread: rgb(240 253 252 / 53%);
    --breeze-silk: rgb(208 236 237 / 29%);
}
:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-hero, .tks-hero)::before,
:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main .tkb-hero .wp-block-cover__background {
    background:
        radial-gradient(ellipse 77% 31% at 18% 108%, transparent calc(100% - 1px), var(--breeze-thread) 100%, transparent calc(100% + 1px)),
        radial-gradient(ellipse 79% 34% at 17% 111%, var(--breeze-silk) 96%, transparent 100%),
        var(--breeze-shade);
}
:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-hero, .tks-hero, .tkb-hero)::after {
    filter: brightness(0) invert(1) drop-shadow(0 -5px 0 rgb(225 246 247 / 62%));
}
:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-hero-copy, .tks-copy, .tkb-hero) :is(.hb-place, .tkb-kicker) {
    display: flex;
    align-items: center;
    gap: .9em;
    margin-bottom: 1.2em;
    letter-spacing: .21em;
}
:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-place, .tkb-kicker)::before {
    content: "";
    width: 2.5em;
    height: 1px;
    background: #d8eee0;
}
:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-hero, .tks-hero, .tkb-hero) :is(.hb-action a, .wp-block-button__link) {
    gap: 1.25em;
    padding-inline: 1.4em;
    background: #fbfef8;
    color: #204e4d;
    border-color: #d7c8a9;
}
:is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-hero, .tks-hero, .tkb-hero) :is(.hb-action a, .wp-block-button__link)::after {
    content: "";
    display: block;
    position: static;
    width: .52em;
    height: .52em;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    background: none;
    transform: rotate(45deg);
}

body.hb-site .hb-main :is(.hb-discover, .tkb-section):has(.hb-photo-paths) { background: #f6faf8; }
body.hb-site .hb-main .hb-photo-paths .hb-photo-path {
    --story-ink: var(--breeze-ink);
    --story-copy: #364e49;
    --story-gold: var(--breeze-gold);
}
body.hb-site .hb-main .hb-photo-paths .hb-photo-meal {
    --story-paper: var(--breeze-mist);
    background-image: linear-gradient(118deg, #eaf5f7, #f7fbfa 78%);
}
body.hb-site .hb-main .hb-photo-paths .hb-photo-welcome {
    --story-paper: var(--breeze-leaf);
    background-image: linear-gradient(115deg, #f8fbf2, var(--breeze-leaf));
}
body.hb-site .hb-main .hb-photo-paths .hb-photo-path::before { border: 0; }
body.hb-site .hb-main .hb-photo-paths .hb-photo-path .hb-path-photo {
    background: #fff;
    border-color: #cab994;
    outline-color: #c8be9d;
    box-shadow: 0 14px 36px -25px rgb(36 83 77 / 42%);
}
body.hb-site .hb-main .hb-photo-paths .hb-photo-lead .hb-path-photo { background: linear-gradient(140deg, #fff 55%, #f1f8f3); }
body.hb-site .hb-main .hb-photo-paths p.hb-gallery-caption { background: var(--breeze-leaf); }
body.hb-site .hb-main .hb-photo-paths .hb-photo-path .hb-story-button .wp-block-button__link {
    --enamel-edge: var(--breeze-gold);
    color: var(--breeze-ink);
    background: #fff;
    border-radius: 2rem;
    min-height: 48px;
    box-shadow: none;
}
body.hb-site .hb-main .hb-photo-paths .hb-photo-path .hb-story-button .wp-block-button__link:hover { background: #f0f8f4; }

body.hb-site .hb-main .hb-visit .hb-practical { border-color: #aebfb3; box-shadow: none; }
body.hb-site .hb-main .hb-visit .hb-practical .hb-pickup-note { background: linear-gradient(112deg, #fff, #f2f7ed); }
body.hb-site .hb-main .hb-visit .hb-practical .hb-hours-note { background: linear-gradient(108deg, #30575a, #3a6767); }
body.hb-site .hb-main .hb-visit-entry {
    --entry-ground: #315f5e;
    --entry-arrow: #e1f2e7;
}
body.hb-site .hb-main .hb-visit-entry + .hb-visit-entry {
    --entry-ground: #deeff0;
    --entry-ink: #254e50;
    --entry-copy: #365754;
    --entry-arrow: #fff;
    --entry-arrow-ink: #365f62;
}
body.hb-site .hb-main :is(.hb-titleband, .tks-page-intro) {
    background: var(--breeze-wash);
    border-color: var(--breeze-edge);
    box-shadow: none;
}
body.hb-site .hb-main :is(.hb-titleband, .tks-page-intro):not(.hb-publication-head) h1::after {
    background: linear-gradient(90deg, #63a4aa, #b7c59c 65%, transparent) left center / 100% 1px no-repeat;
}
body.hb-site footer.hb-colophon {
    background: linear-gradient(112deg, #294e50, #315753 65%, #365c51);
    border-top: 1px solid #94b6ac;
    box-shadow: none;
}
@media (max-width: 960px) {
    :is(body.hb-site.hb-home, body.hb-site .hb-home):has(.hb-main > :is(.hb-hero, .tks-hero, .tkb-hero):first-child) .hb-header .hb-menu,
    body.hb-site .hb-header .hb-menu {
        color: var(--breeze-ink);
        border-color: var(--breeze-edge);
        background: #f9fdfb;
    }
}
@media (max-width: 600px) {
    :is(body.hb-site.hb-home, body.hb-site .hb-home) .hb-main :is(.hb-hero, .tks-hero, .tkb-hero) {
        min-height: clamp(445px, 120vw, 510px);
        padding-block: 64px 76px;
        --breeze-shade: linear-gradient(90deg, rgb(27 63 63 / 90%), rgb(38 75 69 / 74%) 46%, rgb(45 78 70 / 24%) 93%);
    }
}
@media (forced-colors: active) {
    body.hb-site .hb-main .hb-photo-paths .hb-photo-path .hb-story-button .wp-block-button__link { border-color: ButtonText; }
}
