/* Sunshine theme styles. Colors, fonts, spacing and radii come only from theme.json tokens. */
:root {
	--sun-icon-line: var(--wp--preset--color--contrast);
	--sun-icon-accent: var(--wp--preset--color--accent);
	--sun-icon-bg: var(--wp--preset--color--surface);
	--sun-bar-h: 76px;
	--sun-ico-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7c5-.6 11-.6 16 0M4 12c5 .5 11 .5 16 0M4 17c3.5-.5 6.5-.5 10 0'/%3E%3C/svg%3E");
	--sun-ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h3l1.7 4.3-2.2 1.3a10.5 10.5 0 0 0 6.4 6.4l1.3-2.2 4.3 1.7v3a2 2 0 0 1-2.1 2A16.5 16.5 0 0 1 4 5.6a2 2 0 0 1 2-2.1z'/%3E%3C/svg%3E");
	--sun-ico-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6c4 4.2 8 8 12 12M18 6c-4.2 4-8 8-12 12'/%3E%3C/svg%3E");
	--sun-ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.2c5-.5 10-.5 15 0M14 7.2l5 5-5 4.8'/%3E%3C/svg%3E");
}
.sun-icon { display: inline-block; vertical-align: middle; flex: none; color: var(--sun-icon-line); }
.has-text-color .sun-icon, .sun-icon-block.has-text-color .sun-icon { color: inherit; }
.sun-icon-block { display: block; line-height: 0; }
.sun-icon-block.aligncenter { text-align: center; }
.sun-mask::before { content: ""; display: inline-block; width: 1.25em; height: 1.25em; background: currentColor; -webkit-mask: var(--sun-mask) center / contain no-repeat; mask: var(--sun-mask) center / contain no-repeat; flex: none; }

/* Skip link and focus */
.skip-link.screen-reader-text:focus { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); border-radius: var(--wp--custom--radius--sm); padding: 0.75rem 1rem; z-index: 100001; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }

/* Eyebrow */
.is-style-eyebrow { font-size: 0.8125rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--label); margin-bottom: 0.5rem !important; }

/* Cards and frames */
.is-style-card { background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--md); padding: var(--wp--preset--spacing--50); }
.wp-block-image.is-style-arch img { border-radius: 999px 999px var(--wp--custom--radius--lg) var(--wp--custom--radius--lg) !important; }
.wp-block-image.is-style-circle img { border-radius: 50% !important; aspect-ratio: 1; object-fit: cover; }
.wp-block-image img { height: auto; }

/* Chips (age links) */
.wp-block-buttons.is-style-chips { gap: 0.5rem; }
.wp-block-buttons.is-style-chips .wp-block-button__link { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); padding: 0.7rem 1.05rem; font-size: 0.9375rem; min-height: var(--wp--custom--tap); display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; border: 1px solid var(--wp--preset--color--line); }
.wp-block-buttons.is-style-chips .wp-block-button__link:hover { border-color: var(--wp--preset--color--primary); }
.wp-block-button__link { min-height: var(--wp--custom--tap); display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; }
.sun-btn-call .wp-block-button__link { --sun-mask: var(--sun-ico-phone); }
.sun-btn-call .wp-block-button__link::before { content: ""; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--sun-mask) center / contain no-repeat; mask: var(--sun-mask) center / contain no-repeat; }
.sun-link-arrow a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; }
.sun-link-arrow a::after { content: ""; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--sun-ico-arrow) center / contain no-repeat; mask: var(--sun-ico-arrow) center / contain no-repeat; transition: transform .15s; }
.sun-link-arrow a:hover::after { transform: translateX(3px); }

/* Sun and cloud shapes (decorative) */
.sun-shapes { position: relative; isolation: isolate; }
.sun-shapes::before { content: ""; position: absolute; z-index: -1; width: min(70vw, 420px); aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--accent); right: -12%; top: -6%; }
.sun-shapes > .sun-cloud { position: absolute; z-index: -1; }
.sun-doodle { pointer-events: none; }

/* Header */
.sun-header { position: relative; z-index: 20; }
.sun-header .wp-block-site-logo img { width: 168px; height: auto; }
@media (max-width: 781px) {
	.sun-header .sun-desktop-only { display: none !important; }
	.sun-header .wp-block-site-logo img { width: 150px; }
}

/* Phone bar: Menu, Call, Book a tour, all within thumb reach */
.sun-bottom-bar { display: none; }
@media (max-width: 781px) {
	body { padding-bottom: calc(var(--sun-bar-h) + env(safe-area-inset-bottom)); }
	.sun-bottom-bar { display: flex; position: fixed; z-index: 50; left: 0.5rem; right: 0.5rem; bottom: calc(0.5rem + env(safe-area-inset-bottom)); gap: 0.4rem; padding: 0.45rem; background: var(--wp--preset--color--surface); border-radius: 22px; box-shadow: var(--wp--preset--shadow--card); align-items: stretch; margin: 0 !important; }
	.sun-bottom-bar > * { margin: 0 !important; }
	.sun-bottom-bar .wp-block-buttons { flex: 1; display: flex; flex-wrap: nowrap; gap: 0.4rem; }
	.sun-bottom-bar .wp-block-button { flex: 1; margin: 0; }
	.sun-bottom-bar .wp-block-button.sun-btn-book { flex: 1.45; }
	.sun-bottom-bar .wp-block-button__link { width: 100%; height: 52px; padding: 0 0.6rem; border-radius: 16px; font-size: 0.9375rem; }
	.sun-bottom-bar .wp-block-navigation__responsive-container-open { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 60px; height: 52px; border-radius: 16px; font-size: 0.6875rem; font-weight: 700; color: var(--wp--preset--color--contrast); background: transparent; }
	.sun-bottom-bar .wp-block-navigation__responsive-container-open::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--sun-ico-menu) center / contain no-repeat; mask: var(--sun-ico-menu) center / contain no-repeat; }
	/* the menu opens upward as a sheet */
	.sun-bottom-bar .wp-block-navigation__responsive-container.is-menu-open { background: color-mix(in srgb, var(--wp--preset--color--primary-deep) 50%, transparent) !important; padding: 0 !important; animation: none; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation__responsive-close { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; max-height: 82vh; overflow: auto; background: var(--wp--preset--color--surface); border-radius: 28px 28px 0 0; padding: 1.25rem 1.25rem calc(var(--sun-bar-h) + 1.5rem + env(safe-area-inset-bottom)); }
	.sun-bottom-bar .is-menu-open .wp-block-navigation__responsive-dialog { position: static; margin: 0; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation__responsive-container-close { position: absolute; top: 0.9rem; right: 1rem; width: 44px; height: 44px; border-radius: 999px; background: var(--wp--preset--color--base); display: flex; align-items: center; justify-content: center; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3rem !important; align-items: stretch !important; gap: 0 !important; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation__container { gap: 0 !important; align-items: stretch !important; width: 100%; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); }
	.sun-bottom-bar .is-menu-open .wp-block-navigation-item__content { display: flex !important; align-items: center; min-height: 52px; font-size: 1.0625rem; width: 100%; padding: 0.25rem 0.25rem !important; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation-submenu { border: 0 !important; padding: 0 0 0.5rem 0 !important; box-sizing: border-box; max-width: 100%; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation-submenu .wp-block-navigation__submenu-container { padding-left: 0.75rem !important; box-sizing: border-box; max-width: 100%; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation-submenu .wp-block-navigation-item { border: 0; }
	.sun-bottom-bar .is-menu-open .wp-block-navigation-submenu .wp-block-navigation-item__content { min-height: 44px; font-size: 1rem; font-weight: 500; }
}

/* Desktop navigation */
.sun-header .wp-block-navigation .wp-block-navigation__submenu-container { border-radius: var(--wp--custom--radius--md); border: 1px solid var(--wp--preset--color--line) !important; box-shadow: var(--wp--preset--shadow--card); padding: 0.5rem; }
.sun-header .wp-block-navigation-item__content { text-decoration: none; }

/* Sections */
.sun-band-dark { color: var(--wp--preset--color--on-primary); }
.sun-band-dark :where(h1,h2,h3,h4) { color: var(--wp--preset--color--on-primary); }
.sun-band-dark .is-style-eyebrow { color: var(--wp--preset--color--accent); }
.sun-band-dark .sun-icon { color: var(--wp--preset--color--on-primary); }
.sun-feature { display: flex; gap: 0.9rem; align-items: flex-start; }
.sun-feature .sun-icon-block { flex: none; background: var(--wp--preset--color--surface); border-radius: 14px; padding: 10px; }
.sun-feature h3 { font-size: 1.1875rem !important; margin: 0.15rem 0 0.25rem; }
.sun-feature p { margin: 0; color: var(--wp--preset--color--muted); font-size: 0.9375rem; line-height: 1.5; }
.sun-step-num { flex: 0 0 2.5rem; width: 2.5rem; height: 2.5rem; aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; margin: 0 !important; }
.wp-block-details summary { font-weight: 700; cursor: pointer; min-height: var(--wp--custom--tap); display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--sun-ico-arrow) center / contain no-repeat; mask: var(--sun-ico-arrow) center / contain no-repeat; transform: rotate(90deg); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(-90deg); }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); }

/* Footer */
.sun-footer a { color: inherit; }
.sun-footer .wp-block-navigation-item__content { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Visibility helpers */
@media (max-width: 781px) { .sun-hide-phone { display: none !important; } }
@media (min-width: 782px) { .sun-hide-desktop { display: none !important; } }

/* Homepage hero */
.sun-hero { position: relative; overflow: hidden; isolation: isolate; }
.sun-hero::before { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--wp--preset--color--accent); width: 520px; height: 520px; right: -140px; top: -170px; }
.sun-hero .wp-block-image { position: relative; }
.sun-hero-doodle { position: absolute; z-index: 2; right: -6px; top: -26px; }
.sun-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }
.sun-facts p { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
@media (max-width: 781px) {
	.sun-hero::before { width: 300px; height: 300px; right: -120px; top: -110px; }
	.sun-hero .wp-block-columns { gap: var(--wp--preset--spacing--50); }
	.sun-hero .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
	.sun-hero-doodle { display: none; }
}
.sun-photo-row .wp-block-image img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--wp--custom--radius--md) !important; }
@media (max-width: 781px) {
	.sun-photo-row { display: grid !important; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem !important; padding-bottom: 0.25rem; }
	.sun-photo-row > * { scroll-snap-align: start; margin: 0 !important; }
}
.sun-bottom-bar .is-menu-open .wp-block-navigation__responsive-container-close { width: auto !important; padding: 0 1rem; font-weight: 700; font-size: 0.9375rem; }
.sun-bottom-bar .is-menu-open .wp-block-navigation-item__content:focus-visible { outline-offset: -2px; border-radius: var(--wp--custom--radius--sm); }
.wp-site-blocks > main { margin-top: 0; }
@media (min-width: 782px) { .wp-site-blocks .sun-bottom-bar { display: none !important; } }
.wp-site-blocks > * { margin-block-start: 0; }
/* Cards keep a hairline edge so they still read on a white page */
.is-style-card { border: 1px solid var(--wp--preset--color--line); }
.sun-feature .sun-icon-block { border: 1px solid var(--wp--preset--color--line); }
.has-soft-1-background-color + .wp-block-group:not(.has-background), .wp-block-group.alignfull:not(.has-background) + .wp-block-group.alignfull:not(.has-background):not(.sun-hero) { border-top: 1px solid var(--wp--preset--color--line); }
/* Phone: the sun sits behind the photo, never behind text (contrast) */
@media (max-width: 781px) {
	.sun-hero::before { display: none; }
	.sun-hero .wp-block-image { isolation: isolate; }
	.sun-hero .wp-block-image::before { content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--accent); right: -10%; top: -12%; }
}

/* Desktop header: the longer menu items (class sun-sheet-only on the menu link) stay in the phone menu and footer only. */
.sun-header .sun-sheet-only { display: none !important; }
.sun-header .wp-block-button__link { white-space: nowrap; }
@media (max-width: 1180px) {
	.sun-header .wp-block-navigation { gap: 0.9rem !important; font-size: 0.9375rem; }
	.sun-header .wp-block-site-logo img { width: 140px !important; height: auto; }
}
@media (max-width: 960px) {
	.sun-header .wp-block-navigation { gap: 0.6rem !important; font-size: 0.875rem; }
	.sun-header .wp-block-button__link { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* Real photos (2026-11-03): keep faces in frame when a slot crops a portrait photo */
.ssc-img:not(.ssc-img--art) { object-position: 50% 30%; }
.wp-block-image.is-style-arch img { object-position: 50% 12%; }

/* Life at Sunshine (owner 2026-11-03: make it prominent): soft band, mosaic with one large feature photo, CTA */
.sun-life { background: var(--wp--preset--color--base, #fff); }
.sun-life > h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.sun-life__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); margin-top: var(--wp--preset--spacing--50); }
.sun-life__grid .wp-block-image { margin: 0; }
.sun-life__grid .wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
.sun-life__grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: var(--wp--custom--radius--lg, 20px); display: block; }
.sun-life__cta { margin-top: var(--wp--preset--spacing--50); }
.sun-life__note { margin-top: .5rem; font-size: .95rem; opacity: .8; }
@media (max-width: 781px) { .sun-life__grid { grid-template-columns: repeat(2, 1fr); } }

/* At a glance (homepage, 2026-11-03; modelled on the old site's strip): age chips, photo with an hours badge, trust tiles */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sun-glance { background: linear-gradient(180deg, var(--wp--preset--color--base, #fff) 0%, var(--wp--preset--color--soft, #fbf6f1) 100%); }
.sun-ages { list-style: none; margin: 0 0 var(--wp--preset--spacing--50); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sun-ages a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px; border: 1px solid rgba(23, 37, 58, .12); border-radius: 18px; background: #fff; text-decoration: none; color: inherit; text-align: center; transition: border-color .2s, transform .2s; }
.sun-ages a:hover, .sun-ages a:focus-visible { border-color: var(--wp--preset--color--accent, #ee9a6f); transform: translateY(-2px); }
.sun-ages strong { font-family: var(--wp--preset--font-family--heading, inherit); font-size: 1.05rem; }
.sun-ages span { font-size: .92rem; opacity: .75; }
.sun-glance__photo { position: relative; margin: 0; }
.sun-glance__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 18px 40px rgba(23, 37, 58, .12); }
.sun-glance__badge { position: absolute; left: 18px; bottom: 18px; margin: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; background: #fff; border-radius: 18px; box-shadow: 0 8px 24px rgba(23, 37, 58, .14); line-height: 1.15; }
.sun-glance__badge strong { display: block; font-size: 1.35rem; }
.sun-glance__badge span span { display: block; font-size: .95rem; }
.sun-glance__sun { width: 30px; height: 30px; flex: none; fill: #f5a623; stroke: #f5a623; }
.sun-glance .ssc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sun-glance__cta { margin-top: var(--wp--preset--spacing--40); }
@media (max-width: 781px) {
  .sun-ages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin-right: calc(-1 * var(--wp--style--root--padding-right, 16px)); }
  .sun-ages li { flex: 0 0 auto; scroll-snap-align: start; }
  .sun-ages a { padding: 12px 18px; }
  .sun-glance__badge { left: 12px; bottom: 12px; padding: 10px 14px 10px 12px; }
  .sun-glance__badge strong { font-size: 1.15rem; }
  .sun-glance .sun-glance__cta { display: none !important; }
  .sun-glance .ssc-facts { gap: 8px; }
  .sun-glance .ssc-facts li > a, .sun-glance .ssc-facts li:not(:has(> a)) { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .sun-glance .ssc-facts strong { font-size: 16px; }
  .sun-glance .ssc-facts small { font-size: 13.5px; }
}

/* A day at Sunshine (2026-11-03): one card per age, jump chips reuse .sun-ages */
.sun-ages--jump { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sun-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: var(--wp--preset--spacing--50) 0; }
.sun-day { background: #fff; border: 1px solid rgba(23, 37, 58, .1); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); scroll-margin-top: 90px; }
.sun-day header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid rgba(23, 37, 58, .08); padding-bottom: 10px; margin-bottom: 10px; }
.sun-day h3 { margin: 0; }
.sun-day header p { margin: 0; font-size: .92rem; opacity: .7; }
.sun-day__list { list-style: none; margin: 0; padding: 0; }
.sun-day__list li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(23, 37, 58, .08); }
.sun-day__list li:last-child { border-bottom: 0; }
.sun-day__list time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--wp--preset--color--accent-strong, #b4532a); }
.sun-day__note { margin: 10px 0 0; font-size: .92rem; opacity: .8; }
@media (max-width: 781px) { .sun-days { grid-template-columns: 1fr; } .sun-ages--jump { display: flex; } }

/* Our team without photos (owner 2026-11-03): smaller initials, quiet meta lines */
.ssc-team__ph { width: 76px !important; height: 76px !important; font-size: 26px !important; letter-spacing: .02em; }
.ssc-team__meta { font-size: 13.5px; opacity: .75; margin: .25em 0 0 !important; }

/* Wide screens (owner 2026-11-03: "a lot of wasted space"): Sunshine pages use the full design width (1180px)
   instead of the 44rem text column, and tour booking becomes side by side on desktop: choose on the left,
   your details on the right, so everything is on one screen with no scrolling between steps. */
.wp-block-post-content > .ssc-page { max-width: none !important; width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
/* The booking widget lays itself out from the space it actually has (container query), not the screen width:
   side by side when it has the full page width, stacked when it sits in a half-width panel (Enrollment page). */
.ssc-booking { container-type: inline-size; container-name: booking; }
@media (min-width: 1024px) {
  .ssc-wrap:has(.ssc-booking) { max-width: 1180px !important; }
  .ssc-book { grid-template-columns: minmax(0, 1fr) !important; }
  .ssc-book__aside { position: static !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssc-hero--page:has(+ .ssc-section .ssc-booking) { padding-top: 18px !important; padding-bottom: 14px !important; }
  .ssc-hero--page:has(+ .ssc-section .ssc-booking) h1 { font-size: clamp(30px, 2.6vw, 38px) !important; margin-bottom: 4px; }
  .ssc-hero--page:has(+ .ssc-section .ssc-booking) .ssc-lead { font-size: 16px; margin: 0; }
  .ssc-hero--page:has(+ .ssc-section .ssc-booking) .ssc-crumbs { margin-bottom: 4px; }
  .ssc-section:has(.ssc-booking) { padding-top: 12px !important; padding-bottom: 32px !important; }
  .ssc-booking { padding: 22px 26px !important; }
}
/* Tablets: comfortable two-column chips and times without the phone wizard */
@media (min-width: 782px) and (max-width: 1023px) {
  .ssc-wrap:has(.ssc-booking) { max-width: 900px !important; }
}
/* Desktop booking on one screen (owner: "one single glance, minimum clicks"), only when the widget is wide */
@container booking (min-width: 820px) {
  .ssc-booking__flow { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); column-gap: clamp(24px, 3vw, 48px); align-items: start; }
  .ssc-booking__flow > [data-step="program"], .ssc-booking__flow > [data-step="date"], .ssc-booking__flow > [data-step="time"] { grid-column: 1; }
  .ssc-booking__flow > form[data-step="details"] { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 96px; margin-top: 0 !important; padding: 20px 22px !important; border-radius: 22px; background: var(--wp--preset--color--soft, #f7f4ef); border: 1px solid rgba(23, 37, 58, .08); }
  .ssc-booking__flow > .ssc-wiz-nav { display: none !important; }
  .ssc-step { margin: 0 0 14px !important; }
  .ssc-step__title { font-size: 16px !important; margin: 0 0 8px !important; }
  [data-step="program"] .ssc-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ssc-chip { min-height: 0; padding: 7px 12px; }
  .ssc-chip__sub { font-size: 12.5px; }
  .ssc-date { flex-basis: 66px; padding: 6px 4px 6px; }
  .ssc-times { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .ssc-times__group { display: none; }
  .ssc-time { min-height: 40px; }
  .ssc-times__other { margin-top: 10px; flex-wrap: nowrap; padding: 6px 10px 6px 12px; font-size: 13.5px; }
  .ssc-times__other .ssc-btn { padding: 6px 12px; min-height: 0; font-size: 13.5px; white-space: nowrap; }
  form[data-step="details"] .ssc-field { margin-bottom: 10px; }
  form[data-step="details"] .ssc-more { margin: 4px 0 8px; }
  form[data-step="details"] .ssc-fineprint, form[data-step="details"] .ssc-muted { font-size: 12.5px; }
  form[data-step="details"] .ssc-grid-2 > .ssc-field:nth-child(3) { grid-column: 1 / -1; }
}
.ssc-times__group { font-size: 12px !important; }
@media (min-width: 1024px) and (max-height: 820px) {
  .ssc-hero--page:has(+ .ssc-section .ssc-booking) .ssc-lead { display: none; }
}

/* Parenting articles (blog), owner 2026-11-03 */
.ssc-blog-intro{max-width:46rem;color:var(--wp--preset--color--muted);font-size:1.075rem;margin-bottom:var(--wp--preset--spacing--50)}
.blog .wp-block-post-template,.archive .wp-block-post-template{gap:var(--wp--preset--spacing--50) var(--wp--preset--spacing--40)}
.blog .wp-block-post-featured-image img,.archive .wp-block-post-featured-image img{border-radius:18px;object-position:50% 30%}
.ssc-post-cat,.ssc-post-meta .taxonomy-category{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin:.9rem 0 .25rem}
.ssc-post-cat a,.ssc-post-meta .taxonomy-category a{text-decoration:none;color:var(--wp--preset--color--primary,#c2410c)}
.ssc-post-meta{gap:.75rem;align-items:baseline}
.single-post .wp-block-post-featured-image img{border-radius:22px;object-position:50% 30%}
.single-post .wp-block-post-content{font-size:1.075rem;line-height:1.7}
.single-post .wp-block-post-content h2{margin-top:2.2rem}
.ssc-post-cta{margin-top:2.5rem;padding:1.1rem 1.3rem;border-radius:16px;background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);font-weight:600}
h3.ssc-sources{margin-top:2.5rem;font-size:1rem;text-transform:uppercase;letter-spacing:.06em;color:var(--wp--preset--color--muted)}
.ssc-sources-list{font-size:.92rem;padding-left:1.1rem}
.ssc-sources-list li{margin:.35rem 0}
.ssc-post-more{margin-top:var(--wp--preset--spacing--50)}
.blog .wp-block-query-pagination,.archive .wp-block-query-pagination{gap:.5rem;margin-top:var(--wp--preset--spacing--50);font-weight:600}
.blog .wp-block-query-pagination-numbers .page-numbers{display:inline-block;min-width:2.4rem;padding:.45rem .6rem;border-radius:999px;text-align:center;border:1px solid var(--wp--preset--color--line);text-decoration:none;margin-right:.35rem}
.blog .wp-block-query-pagination-numbers .current{background:var(--wp--preset--color--contrast);color:var(--wp--preset--color--base);border-color:transparent}

/* ==========================================================================
   Responsive layout pass (owner 2026-11-03: "the layout should be dynamic for every screen size")
   ========================================================================== */
/* Blog: title and intro share the article grid's left edge at every width */
.ssc-blog-head{max-width:75rem;margin-inline:auto!important}
.ssc-blog-head .ssc-blog-intro{margin-left:0!important;margin-right:0!important;max-width:46rem}
.blog .wp-block-post-template,.archive .wp-block-post-template,.search .wp-block-post-template{display:grid!important;grid-template-columns:1fr!important}
@media (min-width:600px){.blog .wp-block-post-template,.archive .wp-block-post-template,.search .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (min-width:1024px){.blog .wp-block-post-template,.archive .wp-block-post-template,.search .wp-block-post-template{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Card lists: columns chosen from the number of cards, and a short last row is centered instead of a lone card on the left */
@media (min-width:600px){
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team){display:flex!important;flex-wrap:wrap;justify-content:center;--cols:2;--g:18px;gap:var(--g)!important;grid-template-columns:none!important}
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team)>*{flex:0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols));max-width:calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols));min-width:0;box-sizing:border-box;margin:0!important}
}
@media (min-width:768px){
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(3):last-child),
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(5):last-child),
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(6):last-child),
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(9):last-child),
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(10)){--cols:3}
}
@media (min-width:1100px){
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(4):last-child),
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(7):last-child),
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(8):last-child){--cols:4}
 :is(.ssc-cards,.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list,.ssc-team):has(>:nth-child(10)){--cols:5}
}
@media (min-width:1200px){
 :is(.ssc-features,.ssc-tiles,.ssc-menu-facts,.ssc-steps-list):has(>:nth-child(5):last-child){--cols:5}
}
/* Facts strip: 4 facts never split 3 + 1 */
@media (min-width:600px) and (max-width:1099px){.ssc-facts:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Food menu: the week's 5 days in one row once there is room */
@media (min-width:1000px){.ssc-menu__days{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}}
/* Age chips on small phones: 2 x 2 instead of a cut-off row */
@media (max-width:599px){.sun-ages{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;margin-right:0!important}.sun-ages--jump{grid-template-columns:repeat(3,minmax(0,1fr))!important}.sun-ages li{min-width:0!important}.sun-ages a{padding:12px 8px!important}}
/* Footer: the long link list flows into two columns on wider screens */
@media (min-width:1200px){.sun-footer-links{columns:2;column-gap:28px}}
