/* SYCC theme components. Colours and type come from theme.json presets. */

:root {
  --sycc-blue: var(--wp--preset--color--blue, #4152C2);
  --sycc-navy: var(--wp--preset--color--navy, #1D2160);
  --sycc-ink: var(--wp--preset--color--ink, #15172B);
  --sycc-yellow: var(--wp--preset--color--yellow, #FFC93C);
  --sycc-mist: var(--wp--preset--color--mist, #F4F5FD);
  --sycc-lavender: var(--wp--preset--color--lavender, #ECEEFC);
  --sycc-line: var(--wp--preset--color--line, #DCE0F6);
  --sycc-muted: var(--wp--preset--color--muted, #3A3E5C);
  --sycc-subtle: #4B4F6E;
  --sycc-display: var(--wp--preset--font-family--display, 'Fraunces', Georgia, serif);
}

.sycc-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.sycc-display { font-family: var(--sycc-display); font-variation-settings: 'SOFT' 100; }
.sycc-empty { padding: 24px; border-radius: 16px; background: var(--sycc-mist); color: var(--sycc-muted); }

/* Skip link + focus */
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--sycc-yellow); color: var(--sycc-ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--sycc-yellow); outline-offset: 3px; }

/* --- Header ------------------------------------------------------------- */
.sycc-topbar { background: var(--sycc-navy); color: #DDE1FA; font-size: 14px; }
.sycc-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; }
.sycc-topbar a { color: var(--sycc-yellow); font-weight: 700; }

.sycc-header { background: #fff; border-bottom: 1px solid #E2E5F6; }
.sycc-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.sycc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sycc-ink); }
.sycc-brand img { width: 64px; height: 64px; display: block; }
.sycc-brand__name { display: flex; flex-direction: column; line-height: 1.15; font-size: 14px; color: var(--sycc-subtle); }
.sycc-brand__name .sycc-display { font-weight: 700; font-size: 19px; color: var(--sycc-ink); }

.sycc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.sycc-nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--sycc-ink); }
.sycc-nav a:hover { background: var(--sycc-mist); color: var(--sycc-blue); }
.sycc-nav a[aria-current="page"] { color: var(--sycc-blue); background: var(--sycc-lavender); font-weight: 700; }
.sycc-nav .sycc-nav__cta { margin-left: 8px; padding: 12px 20px; border-radius: 999px; background: var(--sycc-yellow); color: var(--sycc-ink); font-weight: 700; }
.sycc-nav .sycc-nav__cta:hover { background: #F5B800; color: var(--sycc-ink); }
.sycc-nav .sycc-nav__cta[aria-current="page"] { background: var(--sycc-blue); color: #fff; }

.sycc-menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 2px solid var(--sycc-line); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; color: var(--sycc-ink); cursor: pointer; }
.sycc-menu-toggle__bars, .sycc-menu-toggle__bars::before, .sycc-menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.sycc-menu-toggle__bars::before, .sycc-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.sycc-menu-toggle__bars::before { top: -6px; } .sycc-menu-toggle__bars::after { top: 6px; }

@media (max-width: 960px) {
  .sycc-menu-toggle { display: inline-flex; }
  .sycc-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .sycc-nav.is-open { display: flex; }
  .sycc-nav a { padding: 14px 12px; border-bottom: 1px solid var(--sycc-mist); }
  .sycc-nav .sycc-nav__cta { margin: 10px 0 0; text-align: center; }
}
/* Without JavaScript the menu stays visible. */
.no-js .sycc-nav { display: flex; }

/* --- Pills -------------------------------------------------------------- */
.sycc-pill { display: inline-block; font-size: 13px; line-height: 1.4; padding: 3px 11px; border-radius: 999px; background: var(--sycc-lavender); color: var(--sycc-blue); }
.sycc-pill--solid { background: var(--sycc-blue); color: #fff; font-weight: 700; }
.sycc-pill--yellow { background: #FFEDB8; color: #4A3700; font-weight: 700; }

/* --- Timetable ---------------------------------------------------------- */
.sycc-timetable { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.sycc-timetable__day { background: #fff; border: 1px solid var(--sycc-line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.sycc-timetable__dayname { margin: 0 0 2px; padding-bottom: 10px; border-bottom: 2px solid var(--sycc-lavender); font-family: var(--sycc-display); font-variation-settings: 'SOFT' 100; font-size: 21px; font-weight: 700; color: var(--sycc-blue); }
.sycc-timetable__item { display: flex; flex-direction: column; gap: 3px; }
.sycc-timetable__item + .sycc-timetable__item { padding-top: 14px; border-top: 1px solid var(--sycc-mist); }
.sycc-timetable__time { font-size: 14px; color: var(--sycc-subtle); }
.sycc-timetable__name { font-size: 17px; line-height: 1.3; }
.sycc-timetable__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sycc-timetable__none { margin: 0; color: var(--sycc-subtle); font-size: 15px; }

/* --- Cards (sessions & spaces) ------------------------------------------ */
.sycc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.sycc-filter { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid #A2A8D8; background: #fff; color: var(--sycc-ink); font: inherit; cursor: pointer; }
.sycc-filter:hover { border-color: var(--sycc-blue); }
.sycc-filter[aria-pressed="true"] { background: var(--sycc-yellow); border-color: var(--sycc-yellow); font-weight: 700; }
.sycc-filter-status { min-height: 1.5em; margin: 0 0 12px; color: var(--sycc-subtle); font-size: 15px; }

.sycc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.sycc-card { background: #fff; border: 1px solid var(--sycc-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.sycc-card[hidden] { display: none; }
.sycc-card__media { aspect-ratio: 16 / 7; background: var(--sycc-mist); }
.sycc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sycc-card__placeholder { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #DCE1F8 0 12px, #D2D8F5 12px 24px); }
.sycc-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sycc-card__when { display: flex; flex-wrap: wrap; gap: 8px; }
.sycc-card__title { margin: 0; font-family: var(--sycc-display); font-variation-settings: 'SOFT' 100; font-weight: 700; font-size: 25px; line-height: 1.15; }
.sycc-card__desc { margin: 0; color: var(--sycc-muted); flex: 1; }
.sycc-card__list { margin: 0; padding-left: 20px; color: var(--sycc-muted); }
.sycc-card__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid #E7E9F9; }
.sycc-card__facts dt { font-size: 13px; color: var(--sycc-subtle); text-transform: uppercase; letter-spacing: 1px; }
.sycc-card__facts dd { margin: 0; font-weight: 700; }
.sycc-card__cta { align-self: flex-start; margin-top: 4px; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--sycc-blue); font-weight: 700; text-decoration: none; }
.sycc-card__cta:hover { background: var(--sycc-blue); color: #fff; }

/* --- Contact panel ------------------------------------------------------ */
.sycc-contact-panel { display: flex; flex-direction: column; gap: 16px; }
.sycc-eyebrow { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; }
.sycc-eyebrow--blue { color: var(--sycc-blue); }
.sycc-callbox { background: var(--sycc-yellow); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.sycc-callbox__phone { font-weight: 800; font-size: 34px; color: var(--sycc-ink); text-decoration: none; }
.sycc-emailbox { border: 1px solid var(--sycc-line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.sycc-emailbox div { display: flex; flex-direction: column; gap: 2px; }
.sycc-emailbox__label { color: var(--sycc-subtle); font-size: 15px; }
.sycc-emailbox a { font-weight: 700; word-break: break-all; }
.sycc-social { display: flex; gap: 10px; }
.sycc-social a { flex: 1; text-align: center; padding: 12px; border-radius: 999px; border: 2px solid var(--sycc-blue); font-weight: 700; text-decoration: none; }

/* --- Footer ------------------------------------------------------------- */
.sycc-footer { background: var(--sycc-ink); color: #C9CDE8; font-size: 16px; }
.sycc-footer a { color: #C9CDE8; }
.sycc-footer a:hover { color: #fff; }
.sycc-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.sycc-footer__col { display: flex; flex-direction: column; gap: 8px; }
.sycc-footer__logo { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: block; margin-bottom: 6px; }
.sycc-footer__name { font-weight: 700; font-size: 20px; color: #fff; }
.sycc-footer address { font-style: normal; }
.sycc-footer__title { font-weight: 700; color: #fff; }
.sycc-footer .sycc-footer__strong { color: var(--sycc-yellow); }
.sycc-footer__base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid #2F3252; font-size: 14px; }
.sycc-footer__links { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- Section block styles (Group block → Styles) ------------------------- */
.is-style-sycc-card { background: #fff; border: 1px solid var(--sycc-line); border-radius: 20px; padding: 28px; }
.is-style-sycc-panel { background: var(--sycc-mist); border-radius: 18px; padding: 22px; }
.is-style-sycc-highlight { background: var(--sycc-yellow); color: var(--sycc-ink); border-radius: 22px; padding: 26px 28px; }
.is-style-sycc-outline { border: 2px solid var(--sycc-blue); border-radius: 22px; padding: 28px; }
.is-style-sycc-cream { background: var(--wp--preset--color--cream, #FFF6DB); border-radius: 28px; padding: 40px; }
.sycc-photo { border-radius: 24px; overflow: hidden; }
.sycc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Contact Form 7 in the theme's style */
.wpcf7 form { display: flex; flex-direction: column; gap: 18px; }
.wpcf7 label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.wpcf7 input:not([type="submit"]), .wpcf7 select, .wpcf7 textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 2px solid #A2A8D8; border-radius: 12px; background: #fff; color: var(--sycc-ink); width: 100%; box-sizing: border-box; }
.wpcf7 input[type="submit"] { align-self: flex-start; padding: 15px 30px; border-radius: 999px; border: none; background: var(--sycc-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.wpcf7 .sycc-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.wpcf7 .sycc-hint { margin: 0; font-size: 15px; font-weight: 400; color: var(--sycc-subtle); }
.sycc-card__good { margin: 0; color: var(--sycc-muted); }

/* --- Page sections built in the editor ------------------------------------ */
p.sycc-eyebrow { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.sycc-hero p.sycc-eyebrow { color: #FFDB7A; } /* brand yellow lightened to pass 4.5:1 on blue at small sizes */
p.sycc-eyebrow--blue { color: var(--sycc-blue); }
.sycc-hero .sycc-lead { color: #E1E5FB; max-width: 640px; margin-left: max(0px, calc((100% - 1200px) / 2)) !important; }
.sycc-hero .wp-block-column .sycc-lead { margin-left: 0 !important; }
.sycc-hero .wp-block-columns { align-items: center; }
.sycc-hero .is-style-sycc-highlight p.sycc-eyebrow { color: var(--sycc-ink); }
.sycc-hero .is-style-outline .wp-block-button__link { color: #fff; }
.is-style-sycc-card > .sycc-photo, .is-style-sycc-card > .wp-block-image { margin: 0; }
.is-style-sycc-card .sycc-photo { border-radius: 14px; aspect-ratio: 16 / 10; }
.wp-block-column > .sycc-photo { aspect-ratio: 4 / 3; margin: 0; }
.wp-block-columns { gap: 20px; }
.wp-block-column > .is-style-sycc-card, .wp-block-column > .is-style-sycc-panel, .wp-block-column > .is-style-sycc-outline, .wp-block-column > .is-style-sycc-cream { height: 100%; box-sizing: border-box; }
.is-style-sycc-card > :first-child, .is-style-sycc-panel > :first-child, .is-style-sycc-highlight > :first-child, .is-style-sycc-outline > :first-child, .is-style-sycc-cream > :first-child { margin-top: 0; }
.wp-block-buttons { gap: 12px; }
.sycc-checks { border: 0; padding: 0; margin: 0; }
.sycc-checks legend { font-weight: 700; margin-bottom: 8px; }
.sycc-checks .wpcf7-list-item { display: inline-block; margin: 0 16px 8px 0; }
.sycc-checks .wpcf7-list-item label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.sycc-checks input[type="checkbox"] { width: 20px; height: 20px; }
.sycc-gallery.wp-block-gallery { gap: 12px; }
.sycc-gallery .wp-block-image img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }

/* Form fields: same height and look in every browser (Safari and Firefox draw dates and selects their own way). */
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select { min-height: 52px; line-height: 1.4; -webkit-appearance: none; appearance: none; }
.wpcf7 select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%234152C2' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.wpcf7 input[type="date"] { display: flex; align-items: center; text-align: left; }
.wpcf7 input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.wpcf7 input[type="date"]::-webkit-datetime-edit { padding: 0; }
.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.75; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 select { height: 54px; box-sizing: border-box; }
.wpcf7 label > span:first-child .sycc-hint { display: inline; font-weight: 400; }

/* --- Seasonal looks (Settings → Centre details → Seasonal look) ------------------ */
.sycc-brand { position: relative; }
.sycc-poppy { position: absolute; left: 44px; top: -6px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }

/* --- Support us -------------------------------------------------------------- */
.sycc-donate { display: grid; gap: 12px; justify-items: start; }
.sycc-donate__btn {
  display: inline-block; padding: 16px 32px; border-radius: 999px; background: var(--sycc-yellow); color: var(--sycc-ink);
  font-weight: 700; font-size: 1.15rem; text-decoration: none; box-shadow: 0 2px 0 rgba(21,23,43,.15);
}
.sycc-donate__btn:hover, .sycc-donate__btn:focus-visible { background: #FFD766; }
.sycc-donate__note { margin: 0; color: var(--sycc-muted); }
.sycc-donate__admin { margin: 0; padding: 12px 14px; border: 2px dashed var(--sycc-blue); border-radius: 12px; font-size: 15px; }

/* --- News -------------------------------------------------------------------- */
.sycc-news__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.sycc-news__head h2 { margin: 0; }
.sycc-news__head a { font-weight: 700; }
.sycc-card__title a { color: inherit; text-decoration: none; }
.sycc-card__title a:hover, .sycc-card__title a:focus-visible { text-decoration: underline; }
.sycc-funders .wp-block-image img { max-height: 90px; width: auto; object-fit: contain; }

.sycc-news { padding-block: clamp(48px, 7vw, 88px); }
.sycc-topbar__links { display: inline-flex; flex-wrap: wrap; gap: 4px 20px; }

/* --- Seasonal magic -------------------------------------------------------------
   Decoration only: text keeps its colours and contrast. Animated effects stop for
   anyone who prefers reduced motion, or who presses "Pause animations". */
.sycc-hat { position: absolute; left: 30px; top: -16px; transform: rotate(14deg); filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.sycc-motion-toggle {
  font: inherit; font-size: 13px; color: #DDE1FA; background: transparent; border: 1px solid rgba(221,225,250,.45);
  border-radius: 999px; padding: 2px 12px; cursor: pointer;
}
.sycc-motion-toggle:hover, .sycc-motion-toggle:focus-visible { color: #fff; border-color: #fff; }
@media (max-width: 600px) { .sycc-motion-toggle .sycc-more { display: none; } }
.sycc-hero { position: relative; overflow: hidden; isolation: isolate; }
.sycc-hero > * { position: relative; z-index: 1; }
.sycc-magic { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Halloween: moonlit dusk, glowing pumpkin-orange buttons, spooky skyline above the footer. */
.sycc-season-halloween .sycc-hero {
  --moon-at: calc(100% - 140px) 64px; --moon: 34px;
  background:
    radial-gradient(circle at var(--moon-at), #FFF4C8 0 var(--moon), rgba(255,233,160,.30) calc(var(--moon) + 1px) calc(var(--moon) * 1.6), transparent calc(var(--moon) * 2.8)),
    linear-gradient(180deg, #1B1240 0%, #3B2360 55%, #5A2D5F 100%) !important;
}
/* Headers with a photo on the right: the moon rises in the gap between text and photo. */
.sycc-season-halloween .sycc-hero:has(.wp-block-column .wp-block-image) { --moon-at: 52% 52px; --moon: 28px; }
@media (max-width: 781px) {
  .sycc-season-halloween .sycc-hero,
  .sycc-season-halloween .sycc-hero:has(.wp-block-column .wp-block-image) { --moon-at: calc(100% - 34px) 30px; --moon: 15px; }
}
.sycc-season-halloween .wp-block-button__link:not(.has-white-background-color):hover,
.sycc-season-halloween .sycc-nav__cta:hover,
.sycc-season-halloween .sycc-donate__btn:hover { box-shadow: 0 0 0 3px #FF8A00, 0 0 24px rgba(255,138,0,.65); }
.sycc-season-halloween .sycc-footer { position: relative; }
.sycc-season-halloween .sycc-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -54px; height: 56px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='56' viewBox='0 0 640 56'%3E%3Cpath fill='%2315172B' d='M0 56V40C60 30 110 28 170 36S290 46 350 38 470 26 540 34 610 44 640 40V56Z'/%3E%3Cg fill='%2315172B'%3E%3Cpath d='M92 38V26a7 7 0 0 1 14 0v12z'/%3E%3Cpath d='M112 39V30a5 5 0 0 1 10 0v9z'/%3E%3Crect x='398' y='22' width='3' height='16' rx='1'/%3E%3Crect x='393' y='27' width='13' height='3' rx='1'/%3E%3Cpath d='M455 36V28a6 6 0 0 1 12 0v8z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%2315172B' stroke-width='3' stroke-linecap='round' d='M250 42V14M250 24l-12-10M250 20l14-12M250 30l10-6M238 14l-6-4M264 8l6-4'/%3E%3Cg fill='%23FF8A00'%3E%3Cellipse cx='180' cy='36' rx='7' ry='6'/%3E%3Cellipse cx='560' cy='35' rx='6' ry='5'/%3E%3C/g%3E%3Cg stroke='%232E7D32' stroke-width='2'%3E%3Cpath d='M180 30v-3M560 30v-3'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / 640px 56px;
}

/* Christmas: starry night with snow, twinkling lights, golden sparkle on buttons, snowy footer edge. */
.sycc-season-christmas .sycc-hero {
  background:
    radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 34% 62%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 58% 14%, #FFE9A0 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 76% 48%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 91% 30%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 46% 86%, #fff 50%, transparent 52%),
    linear-gradient(180deg, #101A4A 0%, #1D2160 50%, #2A3488 100%) !important;
}
.sycc-season-christmas .wp-block-button__link:not(.has-white-background-color):hover,
.sycc-season-christmas .sycc-nav__cta:hover,
.sycc-season-christmas .sycc-donate__btn:hover { box-shadow: 0 0 0 3px #FFE9A0, 0 0 26px rgba(255,214,102,.75); }
.sycc-season-christmas .sycc-footer { position: relative; }
.sycc-season-christmas .sycc-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18' viewBox='0 0 160 18'%3E%3Cpath fill='%23F4F7FF' d='M0 0H160V6C150 6 148 13 140 13S128 7 120 8 108 15 98 14 86 7 76 8 64 16 52 14 42 6 32 7 20 13 10 12 2 6 0 6Z'/%3E%3C/svg%3E") repeat-x left top / 160px 18px;
}

/* Remembrance: calm and respectful — a quiet field of poppies along the bottom of page headers. */
.sycc-season-remembrance .sycc-hero {
  background:
    linear-gradient(180deg, #2B3A9E 0%, #2E3480 100%) !important;
  padding-bottom: calc(var(--wp--preset--spacing--60, 64px) + 34px) !important;
}
.sycc-season-remembrance .sycc-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 0; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='46' viewBox='0 0 180 46'%3E%3Cg fill='%232E5A2E'%3E%3Cpath d='M0 46V34q20-6 45 0t45 0 45 0 45 0v12z'/%3E%3C/g%3E%3Cg stroke='%232E7D32' stroke-width='1.6'%3E%3Cpath d='M22 36V20M70 36V14M118 36V22M160 36V17'/%3E%3C/g%3E%3Cg fill='%23D2232A'%3E%3Ccircle cx='22' cy='17' r='6'/%3E%3Ccircle cx='70' cy='11' r='7'/%3E%3Ccircle cx='118' cy='19' r='5.5'/%3E%3Ccircle cx='160' cy='14' r='6.5'/%3E%3C/g%3E%3Cg fill='%2315172B'%3E%3Ccircle cx='22' cy='17' r='1.8'/%3E%3Ccircle cx='70' cy='11' r='2'/%3E%3Ccircle cx='118' cy='19' r='1.6'/%3E%3Ccircle cx='160' cy='14' r='1.9'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom;
}

/* Stillness: reduced-motion preference, or the visitor pressed "Pause animations". */
@media (prefers-reduced-motion: reduce) {
  .sycc-magic { display: none; }
}
.sycc-still .sycc-magic { display: none; }

/* --- Session photo slideshows -------------------------------------------------- */
.sycc-carousel { position: relative; }
.sycc-carousel__track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.sycc-carousel__track::-webkit-scrollbar { display: none; }
.sycc-carousel__track:focus-visible { outline: 3px solid var(--sycc-yellow); outline-offset: -3px; }
.sycc-carousel__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.sycc-carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--sycc-ink); font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 8px rgba(21,23,43,.25); display: grid; place-items: center; padding: 0 0 3px;
}
.sycc-carousel__btn[hidden] { display: none; }
.sycc-carousel__btn:hover { background: #fff; }
.sycc-carousel__btn:focus-visible { outline: 3px solid var(--sycc-yellow); outline-offset: 2px; }
.sycc-carousel__btn:disabled { opacity: 0; pointer-events: none; }
.sycc-carousel__btn--prev { left: 10px; }
.sycc-carousel__btn--next { right: 10px; }
.sycc-carousel__count {
  position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(21,23,43,.72); color: #fff; font-size: 13px; font-weight: 700;
}
@media (prefers-reduced-motion: reduce) { .sycc-carousel__track { scroll-behavior: auto; } }

.sycc-footer__hours { margin: 14px 0 0; }

/* --- Funders ------------------------------------------------------------------- */
.sycc-ukg {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
  padding: 24px 28px; margin-bottom: 40px; background: #fff; border: 1px solid var(--sycc-line); border-radius: 20px;
}
.sycc-ukg .sycc-ukg__logo { margin: 0; flex: 0 0 auto; }
.sycc-ukg .sycc-ukg__logo img { height: 56px; width: auto; display: block; }
.sycc-ukg p { margin: 0; flex: 1 1 280px; color: var(--sycc-muted); }
.sycc-funder-grid { gap: 20px; margin-top: 20px; }
.sycc-funder { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.sycc-funder .sycc-funder__logo {
  margin: 0 0 18px; height: 110px; display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #EEF0FA;
}
.sycc-funder .sycc-funder__logo img { max-height: 86px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.sycc-funder h3 { margin: 0 0 6px; font-size: 1.2rem; }
.sycc-funder p { margin: 0 0 12px; color: var(--sycc-muted); font-size: 16px; }
.sycc-funder .sycc-funder__link { margin-top: auto; margin-bottom: 0; font-weight: 700; }


/* Bonfire Night: smoky night sky for the fireworks, a bonfire glowing above the footer. */
.sycc-season-bonfire .sycc-hero {
  background:
    radial-gradient(120% 60% at 50% 115%, rgba(255,138,0,.28), transparent 60%),
    linear-gradient(180deg, #0E1233 0%, #1B1840 55%, #2B1D3F 100%) !important;
}
.sycc-season-bonfire .wp-block-button__link:not(.has-white-background-color):hover,
.sycc-season-bonfire .sycc-nav__cta:hover,
.sycc-season-bonfire .sycc-donate__btn:hover { box-shadow: 0 0 0 3px #FF8A00, 0 0 24px rgba(255,170,60,.6); }
.sycc-season-bonfire .sycc-footer { position: relative; }
.sycc-season-bonfire .sycc-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -62px; height: 64px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='64' viewBox='0 0 560 64'%3E%3Cpath fill='%2315172B' d='M0 64V52c40-4 90-6 140-2 30 2 70 2 100 0h80c30 2 70 2 100 0 50-4 100-2 140 2v12z'/%3E%3Cpath fill='%23FF8A00' d='M262 52c-10-14 2-24 0-40 12 10 18 22 16 32 6-6 6-16 3-26 16 12 22 28 12 36-6 2-24 2-31-2z'/%3E%3Cpath fill='%23FFC93C' d='M270 52c-5-9 1-15 0-24 8 6 11 13 10 19 3-3 3-8 1-13 9 7 11 16 6 20-4 1-13 1-17-2z'/%3E%3Cg stroke='%2315172B' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M246 58l58-12M252 46l52 12'/%3E%3C/g%3E%3Cg fill='%23FFC93C'%3E%3Ccircle cx='258' cy='8' r='1.8'/%3E%3Ccircle cx='290' cy='4' r='1.6'/%3E%3Ccircle cx='276' cy='14' r='1.4'/%3E%3Ccircle cx='300' cy='16' r='1.2'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / 560px 64px;
}

/* Easter: a soft lilac spring sky (dark enough for white text), blossom drifting, grass and eggs above the footer. */
.sycc-season-easter .sycc-hero {
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(255,214,231,.28), transparent 70%),
    linear-gradient(180deg, #4B3A92 0%, #5C46A0 55%, #6B4FA5 100%) !important;
}
.sycc-season-easter .wp-block-button__link:not(.has-white-background-color):hover,
.sycc-season-easter .sycc-nav__cta:hover,
.sycc-season-easter .sycc-donate__btn:hover { box-shadow: 0 0 0 3px #F7B6CF, 0 0 22px rgba(247,182,207,.7); }
.sycc-season-easter .sycc-footer { position: relative; }
.sycc-season-easter .sycc-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='40' viewBox='0 0 320 40'%3E%3Crect y='27' width='320' height='13' fill='%2315172B'/%3E%3Cpath fill='%2315172B' d='M0 40V28l6-8 4 8 6-10 5 10 7-9 4 9 8-8 5 8 7-10 4 10 6-8 6 8 8-9 4 9 7-8 5 8 6-10 5 10 8-8 4 8 6-9 6 9 7-8 5 8 6-10 4 10 8-9 5 9 6-8 5 8 7-10 5 10 6-8 6 8 8-9 4 9 6-8 5 8 7-10 5 10 6-8 6 8 7-9 5 9 6-8 5 8 7-10 4 10V40z'/%3E%3Cg%3E%3Cellipse cx='60' cy='23' rx='9' ry='12' fill='%23F7B6CF'/%3E%3Cellipse cx='170' cy='24' rx='9' ry='12' fill='%23A9E3D2'/%3E%3Cellipse cx='262' cy='23' rx='9' ry='12' fill='%23FFE08A'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='1.8' fill='none' opacity='.85'%3E%3Cpath d='M52 21q4-3 8 0t8 0M162 22q4-3 8 0t8 0M254 21q4-3 8 0t8 0'/%3E%3C/g%3E%3Cg fill='%23fff' opacity='.85'%3E%3Ccircle cx='60' cy='28' r='1.6'/%3E%3Ccircle cx='170' cy='29' r='1.6'/%3E%3Ccircle cx='262' cy='28' r='1.6'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / 320px 40px;
}

/* Room above the footer for its seasonal decoration, so it never sits on page text. */
.sycc-season-halloween .sycc-footer { margin-top: 54px; }
.sycc-season-bonfire .sycc-footer { margin-top: 62px; }
.sycc-season-easter .sycc-footer { margin-top: 38px; }

/* Cookie banner (Complianz): keep it compact on phones so it doesn't cover half the screen. */
@media (max-width: 600px) {
  .cmplz-cookiebanner.cmplz-show {
    padding: 14px 16px !important;
    row-gap: 8px !important;
    width: calc(100% - 16px) !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    border-radius: 14px !important;
  }
  .cmplz-cookiebanner .cmplz-header { position: absolute !important; top: 8px; right: 8px; min-height: 0 !important; margin: 0 !important; }
  .cmplz-cookiebanner .cmplz-header .cmplz-logo,
  .cmplz-cookiebanner .cmplz-header .cmplz-title { display: none !important; }
  .cmplz-cookiebanner .cmplz-body, .cmplz-cookiebanner .cmplz-message { padding-right: 30px !important; }
  .cmplz-cookiebanner .cmplz-body .cmplz-message,
  .cmplz-cookiebanner .cmplz-message { font-size: 13px !important; line-height: 1.45 !important; margin: 0 !important; }
  .cmplz-cookiebanner .cmplz-body { max-height: none !important; }
  .cmplz-cookiebanner .cmplz-buttons { flex-direction: row !important; flex-wrap: wrap !important; gap: 6px !important; }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    flex: 1 1 0 !important; min-width: 0 !important; width: auto !important;
    height: auto !important; min-height: 38px !important; padding: 8px 6px !important;
    font-size: 13px !important; line-height: 1.2 !important; margin: 0 !important; white-space: normal !important;
  }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:not([style*="block"]) { flex: 0 0 0 !important; }
  .cmplz-cookiebanner .cmplz-documents { font-size: 12px !important; margin: 0 !important; }
  .cmplz-cookiebanner .cmplz-divider { display: none !important; }
}
