/* Desktop check, 4 Dec 2026 (Abdullah's six faults from his laptop). Loaded on every page, last in <head>.
   It restyles; it does not change any words. Parts:
   1 About: the "Open to families of all faiths" note no longer covers the photo.
   2 Gallery: the Whole Child Conference cards show the real video pictures (site/images/yt).
   3 Book a visit: the classroom photo is a plain framed print, not a leaf shape.
   4 Forms: the open drop-down list is drawn in the site's own style (desk-v51.js builds it).
   5 Top bar: no solid green bar on any page; it is see-through over the photo, as on the home page. */

/* ---------- 5. Top bar (tablets and wide screens; phones have no bar) ---------- */
@media (width>=40.0625rem){
 html.js:has([data-hero-under]) .site-header[class]{margin-block-end:calc(-1 * (var(--over-h) + var(--strip-h) + 2px))}
 html.js:has([data-hero-under]) .site-header:not(.is-solid):not(:has(.full-menu.is-open)) .hdr-strip{background:linear-gradient(to bottom,#0a1712a6,#0a171200)}
 html.js:has([data-hero-under]) .site-header:not(.is-solid):not(:has(.full-menu.is-open)) .hdr-strip a{text-shadow:0 1px 6px #000000b3}
 html.js:has([data-hero-under]) .site-header:not(.is-solid):not(:has(.full-menu.is-open)) .hdr-strip :is(.hdr-strip__phone,.hdr-strip__home){border-inline-start-color:#ffffff59}
 /* once the cream header with its own Book a visit button is showing, the bar does not repeat it */
 .site-header.is-solid .hdr-strip__book{display:none}
 /* pages with no photo behind the header (thank you, page not found): the bar takes the page's own cream */
 html:not(:has([data-hero-under])) .site-header .hdr-strip[class]{background:none;color:var(--c-ink)}
 html:not(:has([data-hero-under])) .site-header .hdr-strip[class] a{color:var(--c-ink)}
 html:not(:has([data-hero-under])) .site-header .hdr-strip[class] :is(.hdr-strip__phone,.hdr-strip__home){border-inline-start-color:color-mix(in srgb,var(--c-ink) 25%,transparent)}
}

/* ---------- 1. About: Our Faith ---------- */
@media (width>=64rem){
 html .story__row--ethos[class] .open[class][class]{position:relative;inset:auto;grid-column:1/-1;grid-row:2;z-index:4;width:min(100% - 5rem,58rem);margin:-2.4rem auto 0;padding:1.6rem 2.2rem 1.5rem;transform:rotate(-.7deg);display:grid;grid-template-columns:minmax(11rem,.62fr) 1.6fr;column-gap:2.2rem;row-gap:.5rem;align-items:start}
 html .story__row--ethos[class] .open[class][class] .open__h{grid-column:1;grid-row:1/span 2;margin:0;align-self:center}
 html .story__row--ethos[class] .open[class][class]>p{grid-column:2;margin:0}
 html .story__row--ethos[class] .open[class][class]>.text-link{grid-column:2;justify-self:start}
 html .story__row--ethos[class] .open[class][class] .open__tape{inset-inline-start:50%;translate:-50% 0}
}

/* ---------- 2. Gallery: conference cards with the real video pictures ---------- */
.vcard[data-play="ZdEp11q6dbU"] .poster--type{background:#10231b url(/images/yt/ZdEp11q6dbU.jpg) center/cover no-repeat}
.vcard[data-play="abESMLrLxXk"] .poster--type{background:#10231b url(/images/yt/abESMLrLxXk.jpg) center/cover no-repeat}
.vcard[data-play="FUBj3tHZ8VU"] .poster--type{background:#10231b url(/images/yt/FUBj3tHZ8VU.jpg) center/cover no-repeat}
.vcard[data-play="q6CUZQOxwUI"] .poster--type{background:#10231b url(/images/yt/q6CUZQOxwUI.jpg) center/cover no-repeat}
.vcard[data-play="0euMO60_jTw"] .poster--type{background:#10231b url(/images/yt/0euMO60_jTw.jpg) center/cover no-repeat}
.vcard[data-play="9xhJ1FO8S7k"] .poster--type{background:#10231b url(/images/yt/9xhJ1FO8S7k.jpg) center/cover no-repeat}
.vcard[data-play] .poster--type .poster__type[class]{background:linear-gradient(to top,#07140fd9 0,#07140f73 30%,#07140f00 58%);text-shadow:0 1px 5px #000000a6}
.vcard[data-play] .poster--type .poster__series[class]{display:none}
.vcard[data-play] .poster--type .poster__speaker[class]{font-size:clamp(1.05rem,.95rem + .4vw,1.3rem)}
.vcard[data-play] .poster--type{transition:filter .2s ease}
.vcard[data-play]:hover .poster--type{filter:brightness(1.06)}

/* ---------- 3. Book a visit: a plain print, not a leaf ---------- */
html .visit .visit__photo[class]{width:min(84%,27rem)}
.visit__photo .leaf-img .leaf-img__clip[class]{clip-path:none!important;position:relative;border-radius:14px;border:.6rem solid var(--c-white);box-shadow:var(--shadow-lift,0 14px 30px #12372b2e);overflow:hidden;background:var(--c-white)}
.visit__photo .leaf-img .leaf-img__clip[class] img{display:block;border-radius:6px}
.visit__photo .leaf-img .leaf-img__backing[class]{clip-path:none!important;border-radius:18px;inset:0;width:auto;height:auto;transform:rotate(-5deg) translate(-.5rem,.45rem);background:var(--c-sunbeam)}

/* ---------- 4. Drop-down lists (desk-v51.js; mouse and keyboard screens only) ---------- */
.dsel{position:relative;display:block}
select.dsel__native{position:absolute!important;inset-inline-start:0;inset-block-end:0;width:100%!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;pointer-events:none}
.dsel__btn{display:flex;align-items:center;justify-content:space-between;gap:.8rem;width:100%;min-height:52px;padding:.7rem .9rem;background:var(--c-white);color:var(--c-ink);font:inherit;text-align:start;border:2px solid color-mix(in srgb,var(--c-ink) 55%,transparent);border-radius:6px;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}
.dsel__btn:hover,.dsel.is-open .dsel__btn{border-color:var(--c-ink)}
.dsel__btn:focus-visible{outline:3px solid var(--c-focus,var(--c-ink));outline-offset:1px;border-color:var(--c-ink);box-shadow:0 0 0 6px var(--c-focus-halo,#12372b26)}
.dsel__btn[aria-invalid=true]{border-color:var(--c-error);background:color-mix(in srgb,var(--c-pomegranate-tint) 40%,var(--c-white))}
.dsel__btn.is-empty .dsel__val{color:color-mix(in srgb,var(--c-ink) 68%,transparent)}
.dsel__val{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dsel__chev{flex:none;width:1rem;height:.65rem;color:var(--c-ink);transition:transform .2s ease}
.dsel.is-open .dsel__chev{transform:rotate(180deg)}
.dsel__list{position:absolute;z-index:60;inset-inline:0;top:calc(100% + .4rem);margin:0;padding:.4rem;list-style:none;max-height:min(19.5rem,46vh);overflow-y:auto;overscroll-behavior:contain;background:var(--c-white);border:1.5px solid color-mix(in srgb,var(--c-ink) 18%,transparent);border-radius:14px;box-shadow:0 18px 40px #12372b33,0 3px 8px #12372b1f;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--c-fern) 55%,transparent) transparent;animation:dsel-in .16s ease both}
.dsel.is-up .dsel__list{top:auto;bottom:calc(100% + .4rem)}
.dsel__list[hidden]{display:none}
@keyframes dsel-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.dsel__opt{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.6rem .8rem;border-radius:9px;color:var(--c-ink);line-height:1.3;cursor:pointer}
.dsel__opt.is-placeholder{color:color-mix(in srgb,var(--c-ink) 68%,transparent)}
.dsel__opt.is-active{background:var(--c-fern-tint)}
.dsel__opt[aria-selected=true]{font-weight:700;color:var(--c-fern-deep)}
.dsel__opt[aria-selected=true]::after{content:"";flex:none;width:1rem;height:.8rem;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13'%3E%3Cpath d='M1.6 7.2 5.8 11.2 14.4 1.8' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13'%3E%3Cpath d='M1.6 7.2 5.8 11.2 14.4 1.8' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.dsel__opt[aria-disabled=true]{opacity:.5;cursor:default}
@media (prefers-reduced-motion:reduce){.dsel__list{animation:none}.dsel__chev,.dsel__btn{transition:none}}
