/* ═══════════════════════════════════════════════════════════════════
   ORION SDA CHURCH — PAGE BUILDER SECTIONS
   Loaded only on pages built in the admin (Announcements → New page).
   Sections recreated from the homepage reuse style.css directly; this
   file adds backgrounds, heroes, grids, video players and the rest.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page shell ─────────────────────────────────────────────────── */
.pb-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.pb-solid .pb-main { padding-top: 92px; }
body.pb-solid .nav, .nav.nav--solid { background-color: rgba(10,10,10,0.94); backdrop-filter: blur(12px); border-bottom-color: rgba(255,255,255,0.08); }
.pb-draft-pill {
  position: fixed; z-index: 1001; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  margin: 0; padding: 0.55rem 1.1rem; border-radius: 999px;
  background: #fdf3e2; color: #7a4a0b; font-size: 0.8125rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* ── Section spacing & backgrounds ─────────────────────────────── */
.pb-sec { position: relative; padding: var(--section-py) 0; }
.pb-sec.pb-bg-white { background: var(--brand-bg,white); }
.pb-sec.pb-bg-paper { background: var(--c-off-white); }
.pb-sec.pb-bg-dark { background: var(--c-black); color: var(--c-white); }
.pb-bg-dark .section-headline,
.pb-bg-dark .service-title,
.pb-bg-dark .ministry-title,
.pb-bg-dark .event-title,
.pb-bg-dark .announce-title { color: var(--c-white); }
.pb-bg-dark .section-sub,
.pb-bg-dark .section-body,
.pb-bg-dark .contact-value,
.pb-bg-dark .ministry-desc { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 70%,transparent); }
.pb-bg-dark .ministry-card-inner, .pb-bg-dark .service-card-inner:not(.featured):not(.dark) { background: var(--c-charcoal); border-color: rgba(255,255,255,0.08); }
.pb-bg-dark .post-body { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 80%,transparent); }
.pb-bg-dark .post-body h2, .pb-bg-dark .post-body h3 { color: var(--c-white); }
.pb-bg-dark .post-body blockquote { background: var(--c-charcoal); color: var(--c-white); }
.pb-bg-dark .btn-primary { background: var(--c-white); color: var(--c-black); }
.pb-bg-dark .btn-outline { color: var(--c-white); }

.pb-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 760px; }
.pb-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.pb-head .section-headline { margin-bottom: 0.75rem; }
.pb-head--center .section-sub { margin-left: auto; margin-right: auto; }
.pb-more { font-style: normal; font-size: 0.8125rem; font-weight: 600; color: var(--c-blue); margin-top: auto; padding-top: 0.75rem; }
.pb-more-row { margin: 2.5rem 0 0; text-align: center; }
.pb-card-link { display: block; color: inherit; height: 100%; }

/* Homepage sections placed on a builder page keep their own padding */
.services.pb-sec, .calendar.pb-sec, .ministries.pb-sec, .contact.pb-sec, .announce.pb-sec, .giving.pb-sec, .mission.pb-sec { padding: var(--section-py) 0; }

/* ── Heroes ─────────────────────────────────────────────────────── */
.pb-hero, .pb-slideshow { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--c-black); color: var(--c-white); padding: 0; }
.pb-hero.pb-h-tall { min-height: 72vh; }
/* Full-screen heroes fill the screen *below* the pinned ticker + menu bar (--mm-chrome, assets/site-header.css),
   and above the phone tab bar, so no part of the photo or headline is pushed out of view. Set on body so the
   "viewing as" bar's taller --mm-chrome (assets/impersonate.css) is included. */
body { --pb-fill: calc(100svh - var(--mm-chrome, 125px)); }
@media (max-width: 820px) { body.has-tabbar { --pb-fill: calc(100svh - var(--mm-chrome, 109px) - 84px - env(safe-area-inset-bottom)); } }
body .pb-hero.pb-h-full, body .pb-slideshow { min-height: calc(100vh - var(--mm-chrome, 125px)); min-height: var(--pb-fill); }
.pb-hero.pb-h-short { min-height: 44vh; }
.pb-hero-media, .pb-slide { position: absolute; inset: 0; }
.pb-hero-media img, .pb-hero-media video, .pb-slide-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}
.pb-hero-media iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.pb-shade { position: absolute; inset: 0; z-index: 1; }
/* Cropped hero photos were framed by hand in the admin cropper: keep their center. */
.pb-hero-media img.is-cropped, .pb-slide-img.is-cropped { object-position: center; }
@media (max-width: 1199px) and (orientation: portrait) { .pb-panel.has-crop-tablet { background-image: var(--pb-bg-tablet) !important; } }
@media (max-width: 767px) and (orientation: portrait) { .pb-panel.has-crop-mobile { background-image: var(--pb-bg-mobile) !important; } }
.pb-ov-dark .pb-shade { background: linear-gradient(to right, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.15) 100%), linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%); }
.pb-ov-blue .pb-shade { background: linear-gradient(120deg, rgba(10,10,10,0.88) 0%, rgba(29,78,216,0.55) 100%); }
.pb-ov-light .pb-shade { background: linear-gradient(to right, rgba(253,251,247,0.95) 0%, rgba(253,251,247,0.75) 55%, rgba(253,251,247,0.2) 100%); }
.pb-hero-inner, .pb-slide-copy { position: relative; z-index: 2; padding-top: clamp(2.5rem, 8vh, 5rem) !important; padding-bottom: clamp(4rem, 10vh, 7rem) !important; }
.pb-hero-title { max-width: 14ch; margin-bottom: 1.5rem; }
.pb-hero-title em, .pb-panel-title em { font-family: var(--f-script); font-style: normal; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--c-blue-light); font-size: 0.8em; }
.pb-hero .eyebrow-pill, .pb-slideshow .eyebrow-pill { margin-bottom: 1.5rem; }
.pb-hero .hero-actions, .pb-slideshow .hero-actions, .pb-panel .hero-actions { flex-wrap: wrap !important; gap: 1rem !important; margin-top: 2rem !important; }
.pb-hero .hero-btn, .pb-slideshow .hero-btn, .pb-panel .hero-btn { margin-top: 0; }
/* Hero buttons match the homepage hero: Sabbath-blue primary, frosted ghost */
.pb-hero .btn-primary, .pb-slideshow .btn-primary, .pb-panel .btn-primary { background: var(--c-blue) !important; color: white !important; border: none !important; }
.pb-hero .btn-ghost, .pb-slideshow .btn-ghost, .pb-panel .btn-ghost { background: rgba(255,255,255,0.1) !important; color: white !important; border: 1px solid rgba(255,255,255,0.4) !important; backdrop-filter: blur(10px); }
.pb-align-center .pb-hero-inner { text-align: center; }
.pb-align-center .pb-hero-title, .pb-align-center .hero-sub { margin-left: auto; margin-right: auto; }
.pb-align-center .hero-actions { justify-content: center !important; }
.pb-ov-light, .pb-ov-light .hero-headline { color: var(--c-black); }
.pb-ov-light .hero-sub { color: var(--pb-ink,#4a4643); }
.pb-ov-light .eyebrow-pill.inverse { background: rgba(0,0,0,0.06); color: var(--c-charcoal); border-color: rgba(0,0,0,0.1); }
.pb-ov-light .btn-ghost { color: var(--c-black) !important; border-color: rgba(0,0,0,0.25) !important; background: transparent !important; }
.pb-ov-light .pb-hero-title em { color: var(--c-blue); }

/* Slideshow */
.pb-slides { position: absolute; inset: 0; }
.pb-slide { opacity: 0; transition: opacity 1.4s ease-in-out; display: flex; align-items: flex-end; }
.pb-slide.is-active { opacity: 1; z-index: 1; }
.pb-slide .pb-slide-copy { width: 100%; }
.pb-slide:not(.is-active) .pb-slide-copy > * { opacity: 0; transform: translateY(1.5rem); }
.pb-slide-copy > * { transition: opacity 0.9s var(--ease-smooth) 0.3s, transform 0.9s var(--ease-smooth) 0.3s; }
.pb-slide-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.75rem; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; max-width: 1380px; margin: 0 auto; }
.pb-dots { display: flex; gap: 0.5rem; }
.pb-dots button { width: 2.5rem; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,0.28); cursor: pointer; overflow: hidden; }
.pb-dots button span { display: block; height: 100%; width: 0; background: var(--c-white); }
.pb-dots button.active span { animation: pbDot var(--pb-int, 7000ms) linear forwards; }
.pb-slideshow.is-paused .pb-dots button.active span, .pb-slideshow.no-autoplay .pb-dots button.active span { animation: none; width: 100%; }
@keyframes pbDot { to { width: 100%; } }
.pb-arrows { display: flex; gap: 0.5rem; }
.pb-arrow { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: var(--c-white); font-size: 1rem; cursor: pointer; display: grid; place-items: center; }
.pb-arrow:hover { background: rgba(255,255,255,0.16); }
.pb-pause i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pb-slideshow.is-paused .pb-pause i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* Photo panel */
.pb-panel { display: flex; align-items: center; min-height: 64vh; background-color: var(--c-black); background-size: cover; background-position: center; color: var(--c-white); text-align: center; }
.pb-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.78)); }
.pb-panel-inner { position: relative; z-index: 1; }
.pb-panel-title { color: var(--c-white); font-size: clamp(3rem, 7vw, 6rem); margin-left: auto; margin-right: auto; }
.pb-panel .hero-sub { margin: 0 auto; }
.pb-panel .hero-actions { justify-content: center !important; }
.pb-panel .eyebrow-pill { margin-left: auto; margin-right: auto; }

/* ── Grids & cards ──────────────────────────────────────────────── */
.pb-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.pb-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.pb-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.pb-cards, .pb-numgrid, .pb-tiles, .pb-vgrid, .pb-stats { display: grid; gap: 1.25rem; }
.pb-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem; background: var(--brand-bg,white); border: 1px solid rgba(0,0,0,0.06); color: inherit; transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-smooth); }
.pb-bg-white .pb-card { background: var(--c-off-white); }
.pb-bg-dark .pb-card { background: var(--c-charcoal); border-color: rgba(255,255,255,0.08); }
a.pb-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.pb-card-media { display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--pb-dark-2,#1c1c1c), var(--pb-dark-2,#2a2a2a)); overflow: hidden; }
.pb-card-media:empty { display: none; }
.pb-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-smooth); }
a.pb-card:hover .pb-card-media img { transform: scale(1.04); }
.pb-card-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem 1.625rem 1.75rem; flex: 1; }
.pb-card-eyebrow { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold-dark); }
.pb-card-body strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; }
.pb-card-body > span { font-size: 0.9375rem; line-height: 1.6; color: var(--pb-muted,#5a5754); }
.pb-bg-dark .pb-card-body > span { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 65%,transparent); }

.pb-numcard { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem; border-radius: 1.5rem; background: var(--c-off-white); border: 1px solid rgba(0,0,0,0.06); color: inherit; transition: background 0.4s var(--ease-out), color 0.4s, transform 0.35s var(--ease-spring); }
.pb-bg-paper .pb-numcard { background: var(--brand-bg,white); }
.pb-numcard:hover { background: var(--c-black); color: var(--c-white); transform: translateY(-4px); }
.pb-numcard:hover p { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 70%,transparent); }
.pb-numcard-n { font-family: var(--f-display); font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--c-blue); }
.pb-numcard h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }
.pb-numcard p { font-size: 0.9375rem; line-height: 1.6; color: var(--pb-muted,#5a5754); transition: color 0.4s; }

.pb-tile { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.25rem 1.375rem; border-radius: 1rem; background: var(--brand-bg,white); border: 1px solid rgba(0,0,0,0.07); color: inherit; transition: border-color 0.25s, transform 0.3s var(--ease-spring); }
.pb-bg-white .pb-tile { background: var(--c-off-white); }
.pb-tile:hover { border-color: var(--c-blue); transform: translateY(-2px); }
.pb-tile b { font-weight: 600; font-size: 1rem; padding-right: 1.25rem; }
.pb-tile small { font-size: 0.8125rem; color: var(--pb-muted,#6b665e); line-height: 1.5; }
.pb-ext { position: absolute; top: 1rem; right: 1.125rem; color: var(--c-blue); }
.pb-hub-group + .pb-hub-group { margin-top: 2.25rem; }
.pb-hub-label { margin: 0 0 0.875rem; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-gold-dark); }

/* Photo rail */
.pb-rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 40px 1rem; scrollbar-width: thin; }
.pb-rail-card { flex: none; width: clamp(240px, 28vw, 380px); margin: 0; scroll-snap-align: start; }
.pb-rail-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1.5rem; }
.pb-rail-card figcaption { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--pb-muted,#5a5754); }

/* ── Text ───────────────────────────────────────────────────────── */
.pb-reading .section-headline { margin-bottom: 2rem; }
.pb-prose { margin-bottom: 0.5rem; }
.pb-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pb-split-head { position: sticky; top: 110px; }
.pb-text .btn-primary { margin-top: 2rem; }
.pb-img-right .about-image-col { order: 2; }
.pb-text .about-text-col .post-body { margin-top: 0.5rem; }

/* Scripture / quote */
.pb-quote { text-align: center; color: var(--c-white); background-size: cover; background-position: center; }
.pb-quote--dark { background-color: var(--c-black); }
.pb-quote--blue { background: linear-gradient(135deg, #1d4ed8, var(--pb-dark,#0a0a0a) 130%); }
.pb-quote--photo { background-color: var(--c-black); }
.pb-quote--photo::before { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,0.72); }
.pb-quote-inner { position: relative; }
.pb-quote-mark { display: block; font-family: var(--f-display); font-size: 7rem; line-height: 0.6; height: 3rem; color: var(--c-blue-light); }
.pb-quote--blue .pb-quote-mark { color: rgba(255,255,255,0.5); }
.pb-quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.pb-quote-attr { margin: 2rem 0 0; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; }
.pb-quote-attr b { font-family: var(--f-script); font-size: 1.75rem; font-weight: 700; color: var(--c-blue-light); }
.pb-quote--blue .pb-quote-attr b { color: white; }
.pb-quote-attr span { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 60%,transparent); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.6875rem; font-weight: 600; }

/* Stats */
.pb-stat { padding: 1.75rem 1.5rem; border-top: 2px solid var(--c-black); }
.pb-bg-dark .pb-stat { border-color: var(--c-blue-light); }
.pb-stat strong { display: block; font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.75rem); font-weight: 900; line-height: 0.9; }
.pb-stat-label { display: block; margin-top: 0.75rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold-dark); }
.pb-bg-dark .pb-stat-label { color: var(--c-blue-light); }
.pb-stat p { margin: 0.5rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--pb-muted,#5a5754); }
.pb-bg-dark .pb-stat p { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 65%,transparent); }

/* Timeline */
.pb-steps { display: grid; }
.pb-step { display: grid; grid-template-columns: 180px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; align-items: baseline; padding: 1.75rem 0; border-top: 1px solid rgba(0,0,0,0.1); }
.pb-bg-dark .pb-step { border-color: rgba(255,255,255,0.1); }
.pb-step-label { font-family: var(--f-display); font-size: 1.75rem; font-weight: 900; color: var(--c-blue); }
.pb-step h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }
.pb-step p { margin: 0; font-size: 0.9375rem; line-height: 1.7; color: var(--pb-muted,#5a5754); }
.pb-bg-dark .pb-step p { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 65%,transparent); }

/* Testimonies */
.pb-testimonies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pb-testimony { margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 1.5rem; background: var(--brand-bg,white); border: 1px solid rgba(0,0,0,0.06); }
.pb-bg-white .pb-testimony { background: var(--c-off-white); }
.pb-bg-dark .pb-testimony { background: var(--c-charcoal); border-color: rgba(255,255,255,0.08); }
.pb-testimony-mark { font-family: var(--f-display); font-size: 4rem; line-height: 0.5; height: 1.5rem; color: var(--c-blue); }
.pb-testimony blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.65; }
.pb-testimony figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 0.15rem; }
.pb-testimony figcaption b { font-weight: 600; }
.pb-testimony figcaption small { font-size: 0.8125rem; color: var(--pb-muted,#8a8580); }

/* FAQ */
.pb-faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pb-faq-wrap .pb-head { position: sticky; top: 110px; }
.pb-faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.pb-bg-dark .pb-faq-item { border-color: rgba(255,255,255,0.1); }
.pb-faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.375rem 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.pb-faq-item summary::-webkit-details-marker { display: none; }
.pb-faq-item summary i { position: relative; width: 1.75rem; height: 1.75rem; flex: none; border-radius: 50%; background: rgba(0,0,0,0.06); }
.pb-bg-dark .pb-faq-item summary i { background: rgba(255,255,255,0.08); }
.pb-faq-item summary i::before, .pb-faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s; }
.pb-faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.pb-faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.pb-faq-a p { margin: 0 0 1.5rem; font-size: 0.9375rem; line-height: 1.75; color: var(--pb-muted,#5a5754); max-width: 62ch; }
.pb-bg-dark .pb-faq-a p { color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 70%,transparent); }

/* Ticker */
.pb-ticker { overflow: hidden; padding: 1.75rem 0; background: var(--c-off-white); border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
.pb-ticker--dark { background: var(--c-black); color: var(--c-white); }
.pb-ticker-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: pbTicker 38s linear infinite; }
.pb-ticker span { font-family: var(--f-display); font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 900; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.pb-ticker span.is-out { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.pb-ticker--dark span.is-out { -webkit-text-stroke-color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 70%,transparent); }
.pb-ticker i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c-blue); flex: none; }
@keyframes pbTicker { to { transform: translateX(-50%); } }

/* ── Video ──────────────────────────────────────────────────────── */
.pb-player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 1.75rem; background: #111; color: var(--c-white); cursor: pointer; }
.pb-facade { position: absolute; inset: 0; }
.pb-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-smooth); }
.pb-facade iframe, .pb-facade video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pb-player:hover .pb-facade img { transform: scale(1.03); }
.pb-player-body { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.5rem); background: linear-gradient(to top, rgba(10,10,10,0.85), rgba(10,10,10,0) 60%); }
.pb-player.is-playing .pb-player-body { display: none; }
.pb-player-body h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; text-transform: uppercase; line-height: 1; }
.pb-player-body p { margin: 0.5rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 75%,transparent); max-width: 56ch; }
.pb-player-meta { margin: 0 0 0.5rem !important; font-size: 0.6875rem !important; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-blue-light) !important; }
.pb-player-meta:empty { display: none; }
.pb-play { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 0; background: var(--c-white); cursor: pointer; display: grid; place-items: center; transition: transform 0.3s var(--ease-spring); }
.pb-play i { width: 0; height: 0; border-left: 16px solid var(--c-black); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.pb-player:hover .pb-play { transform: scale(1.08); }
.pb-player--empty { display: grid; place-items: center; cursor: default; }
.pb-player--empty .pb-player-body { position: static; background: none; justify-content: center; text-align: center; color: color-mix(in srgb,var(--pb-light,rgb(247,245,240)) 60%,transparent); }

.pb-playlist { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 1.25rem; align-items: start; }
.pb-list { border-radius: 1.5rem; background: var(--brand-bg,white); border: 1px solid rgba(0,0,0,0.07); overflow: hidden; color: var(--c-charcoal); }
.pb-bg-dark .pb-list { background: var(--c-charcoal); border-color: rgba(255,255,255,0.08); color: var(--c-white); }
.pb-list-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; font-size: 0.8125rem; border-bottom: 1px solid rgba(0,0,0,0.07); }
.pb-bg-dark .pb-list-head { border-color: rgba(255,255,255,0.08); }
.pb-list-head span { color: var(--pb-muted,#8a8580); }
.pb-list ol { list-style: none; margin: 0; padding: 0.5rem; max-height: 440px; overflow-y: auto; }
.pb-item { width: 100%; display: flex; align-items: center; gap: 0.875rem; padding: 0.625rem; border: 0; border-radius: 0.875rem; background: transparent; color: inherit; text-align: left; cursor: pointer; font-family: var(--f-body); }
.pb-item:hover { background: rgba(0,0,0,0.04); }
.pb-bg-dark .pb-item:hover { background: rgba(255,255,255,0.05); }
.pb-item.is-active { background: color-mix(in srgb,var(--pb-tint,rgb(37,99,235)) 10%,transparent); }
.pb-thumb { position: relative; flex: none; width: 88px; aspect-ratio: 16 / 9; border-radius: 0.5rem; overflow: hidden; background: #222; }
.pb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pb-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.pb-item-text b { font-weight: 600; font-size: 0.875rem; line-height: 1.35; }
.pb-item-text small { font-size: 0.75rem; color: var(--pb-muted,#8a8580); }
.pb-num { font-family: var(--f-display); font-weight: 800; color: #b3ada4; }

.pb-vcard { margin: 0; cursor: pointer; }
.pb-vcard-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 1.25rem; overflow: hidden; background: #111; }
.pb-vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-smooth); }
.pb-vcard:hover .pb-vcard-media img { transform: scale(1.04); }
.pb-vcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.pb-vcard.has-frame .pb-mini-play { display: none; }
.pb-mini-play { position: absolute; left: 50%; top: 50%; width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; border-radius: 50%; background: rgba(255,255,255,0.92); }
.pb-mini-play::after { content: ""; position: absolute; left: 1.4rem; top: 1.05rem; border-left: 13px solid var(--c-black); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.pb-vcard figcaption { margin-top: 0.875rem; font-weight: 600; font-size: 1rem; }

/* ── Connect section on a builder page ─────────────────────────── */
.pb-connect .connect { margin-top: 0; padding-top: 0; border-top: 0; }

/* Visit section without the map */
.pb-contact-solo { grid-template-columns: 1fr; max-width: 760px; }

/* ── Custom minimal footer ─────────────────────────────────────── */
.pb-foot-min { padding: 2rem 0; }
.pb-foot-min-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.pb-foot-min-inner nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.pb-foot-min .footer-logo-img { height: 42px; width: auto; }

/* ── Scroll reveal for grids that render after script.js (none needed: script.js observes .reveal-up) ── */

@media (max-width: 1024px) {
  .pb-cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .pb-testimonies { grid-template-columns: repeat(2, 1fr); }
  .pb-playlist { grid-template-columns: 1fr; }
  .pb-step { grid-template-columns: 120px 1fr; }
  .pb-step p { grid-column: 2; }
}
@media (max-width: 768px) {
  body.pb-solid .pb-main { padding-top: 80px; }
  .pb-cols-2, .pb-cols-3, .pb-cols-4 { grid-template-columns: 1fr !important; }
  .pb-tiles.pb-cols-4 { grid-template-columns: 1fr 1fr !important; }
  .pb-split, .pb-faq-wrap { grid-template-columns: 1fr; }
  .pb-split-head, .pb-faq-wrap .pb-head { position: static; }
  .pb-testimonies { grid-template-columns: 1fr; }
  .pb-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .pb-step p { grid-column: auto; }
  .pb-slide-ui { padding: 0 20px; }
  .pb-rail { padding: 0 20px 1rem; }
  .pb-img-right .about-image-col { order: -1; }
  .pb-play { width: 3.5rem; height: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-ticker-track { animation: none; }
  .pb-hero-media img, .pb-slide-img { animation: none; }
}

/* ---------- Full-screen welcome (render_section_landing) ----------
   One big centered headline over a full-screen photo, a button below. Fills the screen under the ticker and menu bar.
   Buttons follow the Brand style guide (shape: --brand-radius-btn, pill by default; colours: --brand-*).
   After Mobbin: GoFundMe and Circle (huge centered headline over one call to action), Squarespace (centered headline on a photo). */
.pb-land { position: relative; display: grid; place-items: center; min-height: calc(100vh - var(--mm-chrome, 125px)); min-height: var(--pb-fill); padding: 0; overflow: hidden; isolation: isolate; color: #fff; text-align: center; background: var(--brand-dark, #170a24); }
.pb-land-media { z-index: 0; }
.pb-land-wash { position: absolute; inset: 0; z-index: 1; }
.pb-land--haze .pb-land-wash { background: linear-gradient(180deg, rgba(24, 20, 28, 0.34) 0%, rgba(24, 20, 28, 0.26) 50%, rgba(24, 20, 28, 0.5) 100%), rgba(255, 255, 255, 0.1); }
.pb-land--haze .pb-land-media img, .pb-land--haze .pb-land-media video { filter: saturate(0.88); }
.pb-land--dark .pb-land-wash { background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.42) 50%, rgba(10, 10, 10, 0.7) 100%); }
.pb-land--brand .pb-land-wash { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-primary, #241236) 55%, transparent), color-mix(in srgb, var(--brand-dark, #170a24) 75%, transparent)); }
.pb-land--none .pb-land-wash { background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35)); }
.pb-land-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: min(1240px, calc(100% - 48px)); padding: clamp(72px, 12vh, 140px) 0 clamp(96px, 14vh, 160px); }
.pb-land-eyebrow { margin: 0 0 22px; font: 700 13px/1.2 var(--brand-font-body, "DM Sans", system-ui, sans-serif); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.9; }
.pb-page .pb-land-title { margin: 0; font-family: var(--brand-font-heading, "DM Sans", system-ui, sans-serif); font-weight: 700; font-style: normal; line-height: 1.02; letter-spacing: -0.025em; text-transform: none; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.22); }
.pb-land--xl .pb-land-title { font-size: clamp(52px, 9.2vw, 150px); }
.pb-land--l .pb-land-title { font-size: clamp(44px, 7vw, 108px); }
.pb-land--m .pb-land-title { font-size: clamp(38px, 5.2vw, 76px); }
.pb-land-text { max-width: 640px; margin: 24px 0 0; font: 400 clamp(18px, 1.8vw, 24px)/1.5 var(--brand-font-body, "DM Sans", system-ui, sans-serif); opacity: 0.94; }
.pb-land-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(40px, 9vh, 104px); }
.pb-land-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 30px; border-radius: var(--brand-radius-btn, 999px); font: 500 18px/1 var(--brand-font-body, "DM Sans", system-ui, sans-serif); letter-spacing: 0.01em; text-decoration: none; transition: transform 0.2s, filter 0.2s, box-shadow 0.2s, background 0.2s; }
.pb-land-btn--primary { background: var(--brand-primary, #241236); color: var(--brand-on-primary, #fff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.22); }
.pb-land-btn--accent { background: var(--brand-accent, #d9b24c); color: var(--brand-on-accent, #14110b); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22); }
.pb-land-btn--light { background: #fff; color: var(--brand-text, #1d1a21); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.pb-land-btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pb-land-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.pb-land-btn--ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.pb-land-btn:focus-visible, .pb-land-cue:focus-visible { outline: 3px solid var(--brand-accent, #d9b24c); outline-offset: 4px; }
.pb-land-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.pb-land-btn:hover .pb-land-arrow { transform: translateX(3px); }
.pb-land-cue { position: absolute; left: 50%; bottom: 22px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; color: #fff; opacity: 0.85; animation: pbLandBob 2.4s ease-in-out infinite; }
.pb-land-cue svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pbLandBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.pb-land-anchor { display: block; height: 0; scroll-margin-top: var(--mm-chrome, 125px); }
@media (max-width: 640px) {
  .pb-land-inner { width: calc(100% - 40px); }
  .pb-land--xl .pb-land-title { font-size: clamp(46px, 13vw, 72px); }
  .pb-land--l .pb-land-title { font-size: clamp(40px, 11vw, 60px); }
  .pb-land-btn { min-height: 52px; padding: 0 24px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .pb-land-cue { animation: none; } .pb-land-btn, .pb-land-arrow { transition: none; } }

/* ---------- Homepage highlights (render_section_homepage): the homepage's own styles come from assets/home.css ---------- */
.pb-sec.pb-homepage { padding: 0; }
.pb-homepage .tile-grid { display: grid; }
.pb-homepage .feature-tile { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.pb-homepage .feature-tile a, .pb-homepage .feature-tile img { display: block; width: 100%; }
.pb-homepage .feature-tile span { line-height: 1.15; }
