.yfs-flexible-sections{background:#f6f9fd;padding:clamp(44px,7vw,90px) 0}.yfs-container{display:grid;gap:clamp(22px,4vw,38px)}.yfs-section{background:#fff;border:1px solid rgb(34 51 92 / .1);border-radius:30px;box-shadow:0 24px 60px rgb(24 38 72 / .09);overflow:hidden;padding:clamp(24px,4vw,46px)}.yfs-style-light{background:linear-gradient(135deg,#fff,#f4f7fb)}.yfs-style-white{background:#fff}.yfs-style-plain{background:#fff0;border:0;border-radius:0;box-shadow:none;padding-left:0;padding-right:0}.yfs-style-navy,.yfs-style-gold{color:#fff}.yfs-style-navy{background:linear-gradient(135deg,#213760,#132340)}.yfs-style-gold{background:linear-gradient(135deg,#c39235,#9f7627)}.yfs-style-navy .yfs-eyebrow,.yfs-style-gold .yfs-eyebrow{color:#fff0c9}.yfs-width-narrow{margin-left:auto;margin-right:auto;max-width:900px}.yfs-width-normal{margin-left:auto;margin-right:auto;max-width:1240px}.yfs-width-wide{max-width:none}.yfs-spacing-compact{padding-top:clamp(18px,3vw,30px);padding-bottom:clamp(18px,3vw,30px)}.yfs-spacing-large{padding-top:clamp(42px,6vw,72px);padding-bottom:clamp(42px,6vw,72px)}.yfs-align-center{text-align:center}.yfs-type-text_image{align-items:center;display:grid;gap:clamp(24px,4vw,46px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.yfs-image-w-35.yfs-type-text_image{grid-template-columns:minmax(0,1.45fr) minmax(0,.7fr)}.yfs-image-w-40.yfs-type-text_image{grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr)}.yfs-image-w-60.yfs-type-text_image{grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr)}.yfs-image-w-65.yfs-type-text_image{grid-template-columns:minmax(0,.7fr) minmax(0,1.45fr)}.yfs-layout-image_right .yfs-media{order:2}.yfs-layout-image_right .yfs-copy{order:1}.yfs-layout-image_left .yfs-media{order:1}.yfs-layout-image_left .yfs-copy{order:2}.yfs-media{margin:0}.yfs-media img{border-radius:24px;display:block;object-fit:cover;width:100%}.yfs-image-h-small .yfs-media img{height:260px}.yfs-image-h-medium .yfs-media img{height:380px}.yfs-image-h-large .yfs-media img{height:500px}.yfs-image-h-xl .yfs-media img{height:620px}.yfs-image-h-auto .yfs-media img{height:auto}.yfs-image-fit-contain .yfs-media img{object-fit:contain}.yfs-copy{align-self:center}.yfs-copy-header{margin-left:auto;margin-right:auto;max-width:900px}.yfs-align-center .yfs-copy-header{text-align:center}.yfs-eyebrow{color:#c39235;font-size:.78rem;font-weight:900;letter-spacing:.15em;margin:0 0 11px;text-transform:uppercase}.yfs-copy h2{color:inherit;font-size:clamp(1.8rem,4vw,2.9rem);letter-spacing:-.035em;line-height:1.08;margin:0 0 15px}.yfs-content p,.yfs-content ul,.yfs-content ol,.yfs-card-text p,.yfs-faq-item p{color:inherit;font-size:1rem;line-height:1.75;margin:0 0 14px}.yfs-content>*:last-child,.yfs-card-text>*:last-child,.yfs-faq-item>div>*:last-child{margin-bottom:0}.yfs-buttons{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.yfs-align-center .yfs-buttons{justify-content:center}.yfs-button{align-items:center;border-radius:999px;display:inline-flex;font-weight:900;justify-content:center;line-height:1;padding:15px 24px;text-decoration:none;transition:transform .18s ease,opacity .18s ease}.yfs-button:hover{opacity:.92;transform:translateY(-1px)}.yfs-button-size-small{font-size:.9rem;padding:12px 18px}.yfs-button-size-large{font-size:1.05rem;padding:18px 30px}.yfs-button-primary,.yfs-card-link.yfs-button-primary{background:#c39235;color:#fff}.yfs-button-navy,.yfs-card-link.yfs-button-navy{background:#192b54;color:#fff}.yfs-button-white,.yfs-card-link.yfs-button-white{background:#fff;color:#192b54}.yfs-button-outline,.yfs-card-link.yfs-button-outline{background:#fff0;border:2px solid currentColor;color:inherit}.yfs-card-grid,.yfs-gallery-grid{display:grid;gap:22px;margin-top:28px}.yfs-cols-1{grid-template-columns:minmax(0,1fr)}.yfs-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.yfs-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.yfs-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.yfs-card{background:rgb(255 255 255 / .95);border:1px solid rgb(34 51 92 / .1);border-radius:22px;color:inherit;display:flex;flex-direction:column;overflow:hidden;padding:18px;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.yfs-card:hover{box-shadow:0 14px 34px rgb(24 38 72 / .1);color:inherit;transform:translateY(-2px)}.yfs-card-style-bordered .yfs-card{box-shadow:none}.yfs-card-style-flat .yfs-card{background:#fff0;border:0;box-shadow:none;padding:0}.yfs-card-style-overlay .yfs-card{background:#18294f;color:#fff;padding:0;position:relative}.yfs-card img{border-radius:16px;display:block;height:220px;margin-bottom:16px;object-fit:cover;width:100%}.yfs-card-image-h-small .yfs-card img{height:150px}.yfs-card-image-h-medium .yfs-card img{height:220px}.yfs-card-image-h-large .yfs-card img{height:300px}.yfs-card-image-h-xl .yfs-card img{height:380px}.yfs-card-image-h-auto .yfs-card img{height:auto}.yfs-card-image-fit-contain .yfs-card img{object-fit:contain}.yfs-card-body{display:flex;flex:1;flex-direction:column}.yfs-card h3{color:inherit;font-size:1.22rem;line-height:1.2;margin:0 0 9px}.yfs-card-link{align-self:flex-start;border-radius:999px;font-weight:900;margin-top:auto;padding:10px 15px}.yfs-card-align-center .yfs-card{text-align:center}.yfs-card-align-center .yfs-card-link{align-self:center}.yfs-style-navy .yfs-card,.yfs-style-gold .yfs-card{background:rgb(255 255 255 / .12);border-color:rgb(255 255 255 / .2)}.yfs-faq-list{display:grid;gap:12px;margin:28px auto 0;max-width:920px}.yfs-faq-item{background:rgb(255 255 255 / .94);border:1px solid rgb(34 51 92 / .11);border-radius:17px;color:#213760;overflow:hidden}.yfs-faq-item summary{cursor:pointer;font-weight:900;list-style:none;padding:19px 21px}.yfs-faq-item summary::-webkit-details-marker{display:none}.yfs-faq-item summary::after{content:'+';float:right;font-weight:900}.yfs-faq-item[open] summary::after{content:'–'}.yfs-faq-item>div{border-top:1px solid rgb(34 51 92 / .1);padding:0 21px 19px}.yfs-notice-inner{align-items:flex-start;display:flex;gap:18px}.yfs-notice-icon{align-items:center;background:rgb(195 146 53 / .14);border-radius:999px;display:inline-flex;font-size:28px;height:56px;justify-content:center;min-width:56px}.yfs-type-notice{border-left:7px solid #c39235}.yfs-notice-warning{border-left-color:#d97706}.yfs-notice-important{border-left-color:#b42318}.yfs-notice-success{border-left-color:#07875f}.yfs-gallery-item{margin:0}.yfs-gallery-item img{border-radius:20px;display:block;height:220px;object-fit:cover;width:100%}.yfs-gallery-image-h-small .yfs-gallery-item img{height:160px}.yfs-gallery-image-h-medium .yfs-gallery-item img{height:240px}.yfs-gallery-image-h-large .yfs-gallery-item img{height:330px}.yfs-gallery-image-h-xl .yfs-gallery-item img{height:430px}.yfs-gallery-image-h-auto .yfs-gallery-item img{height:auto}.yfs-gallery-image-fit-contain .yfs-gallery-item img{object-fit:contain}.yfs-gallery-item figcaption{color:inherit;font-size:.92rem;margin-top:9px;opacity:.82}@media(max-width:980px){.yfs-type-text_image,.yfs-image-w-35.yfs-type-text_image,.yfs-image-w-40.yfs-type-text_image,.yfs-image-w-60.yfs-type-text_image,.yfs-image-w-65.yfs-type-text_image,.yfs-cols-2,.yfs-cols-3,.yfs-cols-4{grid-template-columns:1fr}.yfs-layout-image_right .yfs-media,.yfs-layout-image_right .yfs-copy,.yfs-layout-image_left .yfs-media,.yfs-layout-image_left .yfs-copy{order:initial}.yfs-align-center .yfs-copy-header{text-align:left}.yfs-align-center .yfs-buttons{justify-content:flex-start}.yfs-image-h-small .yfs-media img,.yfs-image-h-medium .yfs-media img,.yfs-image-h-large .yfs-media img,.yfs-image-h-xl .yfs-media img{height:auto;max-height:520px}}@media(max-width:540px){.yfs-flexible-sections{padding:32px 0}.yfs-section{border-radius:21px;padding:19px}.yfs-media img,.yfs-card img,.yfs-gallery-item img{border-radius:15px}.yfs-buttons{align-items:stretch;flex-direction:column}.yfs-button{width:100%}.yfs-notice-inner{flex-direction:column}}/* =========================================================
   YATELEY SCHOOL REDESIGN DEMO
   BASE DESIGN SYSTEM
========================================================= */

:root {
  --ys-navy: #062b46;
  --ys-navy-dark: #031b2d;
  --ys-navy-soft: #0b3d63;
  --ys-red: #e53935;
  --ys-red-dark: #c62828;
  --ys-white: #ffffff;
  --ys-cream: #f6f3ee;
  --ys-light: #f4f7fb;
  --ys-border: #dce4ec;
  --ys-text: #172231;
  --ys-muted: #657384;
  --ys-gold: #d7a84f;
  --ys-font-body: "Lato", "Aptos", Arial, Helvetica, sans-serif;

  --ys-shadow-sm: 0 10px 25px rgba(3, 27, 45, 0.08);
  --ys-shadow-md: 0 18px 45px rgba(3, 27, 45, 0.14);
  --ys-shadow-lg: 0 30px 80px rgba(3, 27, 45, 0.22);

  --ys-radius-sm: 12px;
  --ys-radius-md: 20px;
  --ys-radius-lg: 30px;

  --ys-transition: 0.28s ease;
}

/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--ys-white);
  color: var(--ys-text);
  font-family: var(--ys-font-body);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ys-font-body);
}

::selection {
  background: var(--ys-red);
  color: var(--ys-white);
}

/* =========================================================
   GLOBAL LAYOUT
========================================================= */

.ys-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ys-section {
  padding: 100px 0;
  position: relative;
}

.ys-section-label,
.ys-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ys-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ys-section-label::before,
.ys-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ys-red);
  border-radius: 99px;
}

.ys-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.ys-section-heading.centered {
  justify-content: center;
  text-align: center;
}

.ys-section-heading h2,
.ys-card-heading h2 {
  color: var(--ys-navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.ys-section-heading p,
.ys-card-heading p {
  margin-bottom: 8px;
}

.ys-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ys-red);
  font-weight: 800;
  transition: var(--ys-transition);
}

.ys-link-arrow::after {
  content: "→";
  transition: var(--ys-transition);
}

.ys-link-arrow:hover {
  color: var(--ys-red-dark);
}

.ys-link-arrow:hover::after {
  transform: translateX(5px);
}

/* =========================================================
   BUTTONS
========================================================= */

.ys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--ys-transition),
    box-shadow var(--ys-transition),
    background var(--ys-transition),
    color var(--ys-transition),
    border-color var(--ys-transition);
  white-space: nowrap;
}

.ys-btn:hover {
  transform: translateY(-3px);
}

.ys-btn-red {
  background: var(--ys-red);
  color: var(--ys-white);
  box-shadow: 0 14px 28px rgba(229, 57, 53, 0.28);
}

.ys-btn-red:hover {
  background: var(--ys-red-dark);
  box-shadow: 0 18px 36px rgba(229, 57, 53, 0.36);
}

.ys-btn-dark {
  background: var(--ys-navy);
  color: var(--ys-white);
  box-shadow: var(--ys-shadow-sm);
}

.ys-btn-dark:hover {
  background: var(--ys-navy-dark);
  box-shadow: var(--ys-shadow-md);
}

.ys-btn-light {
  background: var(--ys-white);
  color: var(--ys-navy);
  border: 1px solid var(--ys-border);
}

.ys-btn-light:hover {
  border-color: var(--ys-navy);
}

.ys-btn-outline {
  color: var(--ys-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.ys-btn-outline:hover {
  background: var(--ys-white);
  color: var(--ys-navy);
}

.ys-btn-outline-dark {
  color: var(--ys-navy);
  border: 1px solid var(--ys-border);
}

.ys-btn-outline-dark:hover {
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-btn-glass {
  color: var(--ys-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.ys-btn-glass:hover {
  background: var(--ys-white);
  color: var(--ys-navy);
}

/* =========================================================
   PRELOADER - PREMIUM SCHOOL INTRO
========================================================= */

.ys-preloader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #031b2d !important;
  background:
    radial-gradient(circle at center, rgba(229, 57, 53, 0.08), transparent 45%),
    linear-gradient(135deg, #031b2d 0%, #062b46 100%) !important;
  transition: opacity 0.8s ease, visibility 0.8s ease !important;
}

.ys-preloader.hide {
  opacity: 0 !important;
  visibility: hidden !important;
}

.ys-preloader-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
}

.ys-preloader-logo {
  width: 170px !important;
  height: 170px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 0;
  transform: translateY(32px) scale(0.82);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: ysCrestReveal 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.ys-preloader-title {
  margin-top: 26px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  overflow: hidden !important;
}

.ys-preloader-title span {
  color: #ffffff !important;
  font-size: clamp(28px, 4vw, 54px) !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: ysTextReveal 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.ys-preloader-title i {
  width: 150px !important;
  height: 4px !important;
  display: block !important;
  border-radius: 99px !important;
  background: #e53935 !important;
  box-shadow: 0 0 24px rgba(229, 57, 53, 0.55) !important;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: ysLineReveal 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes ysCrestReveal {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.82);
  }

  35% {
    opacity: 1;
    transform: translateY(0) scale(1.04);
  }

  65% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ysTextReveal {
  0%,
  22% {
    opacity: 0;
    transform: translateY(24px);
  }

  55%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ysLineReveal {
  0%,
  38% {
    opacity: 0;
    transform: scaleX(0);
  }

  72%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* =========================================================
   REVEAL ANIMATION BASE
========================================================= */

.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   COMMON CARDS / UTILITIES
========================================================= */

.ys-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.ys-card-heading a {
  color: var(--ys-red);
  font-weight: 800;
  font-size: 14px;
}

.ys-big-quote {
  display: block;
  color: var(--ys-red);
  font-size: 82px;
  line-height: 0.8;
  font-family: var(--ys-font-body);
}

.ys-dot-blue,
.ys-dot-red {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 99px;
}

.ys-dot-blue {
  background: var(--ys-navy-soft);
}

.ys-dot-red {
  background: var(--ys-red);
}

/* =========================================================
   BACK TO TOP
========================================================= */

.ys-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ys-red);
  color: var(--ys-white);
  box-shadow: var(--ys-shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--ys-transition);
}

.ys-back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ys-back-to-top:hover {
  background: var(--ys-red-dark);
  transform: translateY(-4px);
}

.is-touching {
  transform: scale(0.98) !important;
}

body.ys-loading {
  overflow: hidden;
}

.ys-skip-preloader .ys-preloader {
  display: none !important;
}

/* =========================================================
   MOBILE HORIZONTAL OVERFLOW GUARD
========================================================= */

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  .ys-container,
  .ys-header,
  .ys-header-inner,
  main,
  section,
  footer,
  .ys-footer,
  .ys-mobile-menu,
  .ys-mobile-overlay {
    max-width: 100vw;
    overflow-x: clip;
  }
}
/* =========================================================
   Header and Navigation
========================================================= */

.ys-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(3, 27, 45, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.ys-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 36px rgba(3, 27, 45, 0.08);
}

.ys-header .ys-container {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
}

.ys-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  transition: min-height 0.25s ease;
}

.ys-header.scrolled .ys-header-inner {
  min-height: 66px;
}

.ys-brand,
.ys-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ys-navy, #031b2d);
  text-decoration: none;
}

.ys-brand {
  flex: 0 0 auto;
}

.ys-brand-crest {
  width: auto;
  height: 44px;
  aspect-ratio: 1 / 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  transition: height 0.25s ease;
}

.ys-header.scrolled .ys-brand-crest {
  height: 38px;
}

.ys-brand-text,
.ys-mobile-brand span {
  color: var(--ys-navy, #031b2d);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.ys-brand-text {
  display: flex;
  flex-direction: column;
}

/* Desktop navigation */
.ys-desktop-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.ys-nav-item {
  --nav-accent: var(--ys-red, #e53935);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  transition: min-height 0.25s ease;
}

.ys-header.scrolled .ys-nav-item {
  min-height: 66px;
}

.ys-nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 16px;
  pointer-events: auto;
}

.ys-nav-item[data-nav-theme="years"] {
  --nav-accent: #0e7c6e;
}

.ys-nav-item[data-nav-theme="parents"] {
  --nav-accent: #1d4ed8;
}

.ys-nav-item[data-nav-theme="wellbeing"] {
  --nav-accent: #c0392b;
}

.ys-nav-item[data-nav-theme="community"] {
  --nav-accent: #166534;
}

.ys-nav-item[data-nav-theme="contact"] {
  --nav-accent: var(--ys-red, #e53935);
}

.ys-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border-radius: 12px;
  color: var(--ys-navy, #031b2d);
  font-family: var(--ys-font-body);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.22px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.ys-header.scrolled .ys-nav-link {
  min-height: 40px;
}

.ys-nav-item.has-dropdown > .ys-nav-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.5;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ys-nav-link::before {
  display: none;
}

.ys-nav-item:hover > .ys-nav-link,
.ys-nav-item:focus-within > .ys-nav-link {
  background: rgba(3, 27, 45, 0.055);
  box-shadow: inset 0 -2px 0 var(--nav-accent);
  color: var(--nav-accent);
}

.ys-nav-item:hover > .ys-nav-link::after,
.ys-nav-item:focus-within > .ys-nav-link::after {
  opacity: 1;
  transform: rotate(225deg) translate(-1px, -1px);
}

.ys-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  width: min(820px, calc(100vw - 48px));
  max-height: calc(100vh - 102px);
  padding: 16px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(6, 43, 70, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(3, 27, 45, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transform-origin: top center;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.ys-nav-item:hover .ys-dropdown,
.ys-nav-item:focus-within .ys-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ys-dropdown--single {
  width: 380px;
}

.ys-nav-item[data-nav-theme="community"] .ys-dropdown {
  width: min(1080px, calc(100vw - 48px));
}

.ys-nav-item:nth-last-child(-n+3) .ys-dropdown {
  right: 0;
  left: auto;
  transform: translateY(8px);
}

.ys-nav-item:nth-last-child(-n+3):hover .ys-dropdown,
.ys-nav-item:nth-last-child(-n+3):focus-within .ys-dropdown {
  transform: translateY(0);
}

.ys-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2px 4px 13px;
  border-bottom: 1px solid rgba(6, 43, 70, 0.08);
}

.ys-dropdown-head strong {
  color: var(--nav-accent);
  font-family: var(--ys-font-body);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.35px;
}

.ys-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding-top: 13px;
}

.ys-nav-item[data-nav-theme="community"] .ys-dropdown-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ys-dropdown--single .ys-dropdown-grid {
  grid-template-columns: 1fr;
}

.ys-dropdown-group {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 14px;
  background: #f7f9fc;
  border-left: 3px solid var(--nav-accent);
}

.ys-dropdown-group p {
  margin: 0 0 9px;
  color: var(--ys-navy, #031b2d);
  font-family: var(--ys-font-body);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.15px;
  text-transform: uppercase;
}

.ys-dropdown-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  padding: 8px 10px;
  color: #203246;
  font-family: var(--ys-font-body);
  font-size: 14.5px;
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ys-dropdown-group a::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.ys-dropdown-group a:hover,
.ys-dropdown-group a:focus-visible {
  background: #ffffff;
  color: var(--nav-accent);
  transform: translateX(3px);
}

.ys-dropdown-group a:hover::after,
.ys-dropdown-group a:focus-visible::after {
  opacity: 1;
  transform: translateX(2px) rotate(45deg);
}

/* Mobile base */
.ys-menu-toggle,
.ys-mobile-overlay,
.ys-mobile-menu {
  display: none;
}

.ys-menu-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .ys-header .ys-container {
    width: min(1180px, calc(100% - 28px));
  }

  .ys-header-inner {
    min-height: 78px;
  }

  .ys-header.scrolled .ys-header-inner {
    min-height: 64px;
  }

  .ys-desktop-nav {
    display: none;
  }

  .ys-brand-crest {
    height: 44px;
  }

  .ys-header.scrolled .ys-brand-crest {
    height: 38px;
  }

  .ys-brand-text,
  .ys-mobile-brand span {
    font-size: 24px;
  }

  .ys-menu-toggle {
    position: relative;
    z-index: 10002;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--ys-navy, #031b2d);
    box-shadow: 0 12px 26px rgba(3, 27, 45, 0.18);
    cursor: pointer;
  }

  .ys-menu-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .ys-menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .ys-menu-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .ys-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .ys-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .ys-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .ys-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: block;
    background: rgba(3, 27, 45, 0.56);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  .ys-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .ys-mobile-menu {
    --drawer-pad: 16px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    width: min(430px, 94vw);
    height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    background: #f4f7fb;
    box-shadow: -24px 0 70px rgba(3, 27, 45, 0.18);
    transform: translateX(105%);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ys-mobile-menu.active {
    transform: translateX(0);
  }

  .ys-mobile-menu-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 78px;
    padding: 14px var(--drawer-pad);
    background: #ffffff;
    border-bottom: 1px solid rgba(6, 43, 70, 0.08);
  }

  .ys-mobile-brand {
    min-width: 0;
  }

  .ys-mobile-brand img {
    width: auto;
    height: 40px;
    flex: 0 0 auto;
  }

  .ys-mobile-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ys-mobile-close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 14px;
    background: rgba(3, 27, 45, 0.06);
    color: var(--ys-navy, #031b2d);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .ys-mobile-close:hover,
  .ys-mobile-close:focus-visible {
    background: var(--ys-navy, #031b2d);
    color: #ffffff;
  }

  .ys-mobile-menu-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px var(--drawer-pad) calc(24px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at top right, rgba(14, 124, 110, 0.12), transparent 34%),
      linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    scrollbar-width: thin;
    scrollbar-color: rgba(3, 27, 45, 0.22) transparent;
  }

  .ys-mobile-menu-kicker {
    margin: 0 0 12px;
    padding: 0 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .ys-mobile-home-link,
  .ys-mobile-nav-head {
    --nav-accent: var(--ys-red, #e53935);
    position: relative;
    display: grid;
    align-items: center;
    min-height: 58px;
    margin-bottom: 10px;
    border: 1px solid rgba(3, 27, 45, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(3, 27, 45, 0.06);
  }

  .ys-mobile-home-link[data-nav-theme="home"] {
    --nav-accent: var(--ys-red, #e53935);
  }

  .ys-mobile-home-link[data-nav-theme="contact"] {
    --nav-accent: var(--ys-red, #e53935);
  }

  .ys-mobile-nav-group[data-nav-theme="years"] .ys-mobile-nav-head,
  .ys-mobile-nav-group[data-nav-theme="years"] .ys-mobile-subnav {
    --nav-accent: #0e7c6e;
  }

  .ys-mobile-nav-group[data-nav-theme="parents"] .ys-mobile-nav-head,
  .ys-mobile-nav-group[data-nav-theme="parents"] .ys-mobile-subnav {
    --nav-accent: #1d4ed8;
  }

  .ys-mobile-nav-group[data-nav-theme="wellbeing"] .ys-mobile-nav-head,
  .ys-mobile-nav-group[data-nav-theme="wellbeing"] .ys-mobile-subnav {
    --nav-accent: #c0392b;
  }

  .ys-mobile-nav-group[data-nav-theme="community"] .ys-mobile-nav-head,
  .ys-mobile-nav-group[data-nav-theme="community"] .ys-mobile-subnav {
    --nav-accent: #166534;
  }

  .ys-mobile-home-link {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
    color: var(--ys-navy, #031b2d);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
    overflow: hidden;
  }

  .ys-mobile-home-link::before,
  .ys-mobile-nav-head::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: var(--nav-accent);
  }

  .ys-mobile-home-link::after {
    content: "->";
    color: var(--nav-accent);
    font-size: 15px;
    font-weight: 900;
  }

  .ys-mobile-nav-group {
    margin: 0;
  }

  .ys-mobile-nav-head {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 0 10px 0 18px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .ys-mobile-nav-head > a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    color: var(--ys-navy, #031b2d);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.12;
    text-decoration: none;
  }

  .ys-mobile-nav-head small {
    color: #6b7280;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
  }

  .ys-mobile-dropdown-toggle {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 13px;
    background: rgba(3, 27, 45, 0.06);
    color: var(--ys-navy, #031b2d);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .ys-mobile-dropdown-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, -2px);
    transition: transform 0.2s ease;
  }

  .ys-mobile-nav-group.active .ys-mobile-nav-head {
    background: var(--ys-navy, #031b2d);
    border-color: var(--ys-navy, #031b2d);
    box-shadow: 0 14px 32px rgba(3, 27, 45, 0.13);
  }

  .ys-mobile-nav-group.active .ys-mobile-nav-head > a,
  .ys-mobile-nav-group.active .ys-mobile-nav-head small {
    color: #ffffff;
  }

  .ys-mobile-nav-group.active .ys-mobile-dropdown-toggle {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }

  .ys-mobile-nav-group.active .ys-mobile-dropdown-toggle::before {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .ys-mobile-subnav {
    --nav-accent: var(--ys-red, #e53935);
    display: none;
    padding: 0 0 12px 14px;
  }

  .ys-mobile-nav-group.active .ys-mobile-subnav {
    display: block;
  }

  .ys-mobile-subnav-section {
    padding: 4px 0 8px;
  }

  .ys-mobile-subnav-section p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 6px;
    color: var(--nav-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .ys-mobile-subnav-section p::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
  }

  .ys-mobile-subnav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin: 0 0 6px;
    padding: 9px 12px 9px 16px;
    color: #203246;
    font-size: 14px;
    font-weight: 780;
    line-height: 1.22;
    text-decoration: none;
    border: 1px solid rgba(3, 27, 45, 0.05);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  .ys-mobile-subnav a::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--nav-accent);
  }

  .ys-mobile-subnav a:hover,
  .ys-mobile-subnav a:focus-visible,
  .ys-mobile-subnav a:active {
    background: #ffffff;
    color: var(--nav-accent);
    transform: translateX(3px);
  }
}

@media (max-width: 430px) {
  .ys-header .ys-container {
    width: calc(100% - 24px);
  }

  .ys-header-inner {
    min-height: 72px;
  }

  .ys-brand {
    gap: 9px;
  }

  .ys-brand-crest {
    height: 38px;
  }

  .ys-brand-text,
  .ys-mobile-brand span {
    font-size: 20px;
  }

  .ys-menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .ys-mobile-menu {
    --drawer-pad: 12px;
    width: 94vw;
  }

  .ys-mobile-menu-header {
    min-height: 72px;
  }

  .ys-mobile-brand img {
    height: 36px;
  }

  .ys-mobile-close {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .ys-mobile-menu-body {
    padding-top: 14px;
  }

  .ys-mobile-home-link,
  .ys-mobile-nav-head {
    min-height: 54px;
    margin-bottom: 8px;
    border-radius: 16px;
  }

  .ys-mobile-home-link,
  .ys-mobile-nav-head > a {
    font-size: 15.5px;
  }

  .ys-mobile-nav-head {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 8px;
    padding-left: 16px;
  }

  .ys-mobile-dropdown-toggle {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .ys-mobile-subnav {
    padding-left: 10px;
  }

  .ys-mobile-subnav a {
    min-height: 40px;
    padding: 8px 10px 8px 14px;
    font-size: 13.4px;
    border-radius: 13px;
  }
}
/* =========================================================
   1. HERO SECTION - PREMIUM IMAGE SLIDER REDESIGN
========================================================= */

/* =========================================================
   2. VALUES TABS & VALUE BOX
========================================================= */

.ys-value-box-badge,
.ys-value-box-content ul,
#ysValueBoxList {
  display: none !important;
}

.ys-hero-value-box {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  min-height: auto !important;
  padding: 26px !important;
  border-radius: 22px !important;
  color: #ffffff !important;
  background: rgba(6, 43, 70, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  overflow: hidden !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.ys-hero-value-box::before {
  content: "" !important;
  position: absolute !important;
  right: -46px !important;
  top: -46px !important;
  width: 115px !important;
  height: 115px !important;
  border-radius: 50% !important;
  background: rgba(229, 57, 53, 0.32) !important;
  filter: blur(10px) !important;
  pointer-events: none !important;
}

.ys-hero-value-box::after {
  content: "" !important;
  position: absolute !important;
  left: 24px !important;
  right: 24px !important;
  bottom: 0 !important;
  height: 3px !important;
  border-radius: 99px 99px 0 0 !important;
  background: var(--ys-red) !important;
}

.ys-value-box-content {
  position: relative !important;
  z-index: 2 !important;
}

.ys-value-box-label {
  margin-bottom: 7px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 1.3px !important;
  text-transform: uppercase !important;
}

.ys-value-box-content h2 {
  max-width: 100% !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
  font-size: 25px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.8px !important;
}

.ys-value-box-content p:not(.ys-value-box-label) {
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ys-hero-value-box.is-changing,
.ys-hero-value-box.is-active {
  opacity: 1 !important;
  animation: none !important;
}

/* Values tabs */
.ys-values-tabs-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 8 !important;
  margin-top: -64px !important;
  padding: 0 !important;
  background: transparent !important;
}

.ys-values-tabs-section .ys-container {
  width: min(1480px, calc(100% - 36px)) !important;
}

.ys-values-tab-card {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 10px !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(220, 228, 236, 0.9) !important;
  box-shadow: 0 20px 50px rgba(3, 27, 45, 0.14) !important;
  backdrop-filter: blur(14px) !important;
  overflow: hidden !important;
}

.ys-value-pill {
  position: relative !important;
  min-width: 0 !important;
  min-height: 56px !important;
  padding: 0 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border-radius: 17px !important;
  background: #ffffff !important;
  color: var(--ys-navy) !important;
  border: 1px solid rgba(6, 43, 70, 0.07) !important;
  box-shadow: 0 7px 16px rgba(3, 27, 45, 0.05) !important;
  overflow: hidden !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease !important;
}

.ys-value-pill:hover,
.ys-value-pill:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px rgba(3, 27, 45, 0.1) !important;
  outline: none !important;
}

.ys-value-pill strong {
  color: inherit !important;
  font-size: 21px !important;
  font-weight: 950 !important;
  letter-spacing: -1px !important;
  line-height: 1 !important;
}

.ys-value-pill span {
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.ys-value-pill::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 7px !important;
  height: 3px !important;
  border-radius: 99px !important;
  background: var(--ys-red) !important;
  transform: scaleX(0) !important;
  transition: transform 0.22s ease !important;
}

.ys-value-pill.active {
  background: var(--ys-navy) !important;
  color: #ffffff !important;
  border-color: var(--ys-navy) !important;
}

.ys-value-pill.active::after {
  transform: scaleX(1) !important;
}

/* =========================================================
   3. HEADTEACHER WELCOME SECTION
========================================================= */

.ys-welcome-section {
  background:
    radial-gradient(circle at top left, rgba(229, 57, 53, 0.06), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%) !important;
}

.ys-welcome-modern-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: end;
  padding: 54px;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.95);
  box-shadow: 0 28px 80px rgba(3, 27, 45, 0.1);
  overflow: hidden;
}

.ys-welcome-modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--ys-red);
}

.ys-welcome-modern-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(6, 43, 70, 0.06);
  pointer-events: none;
}

.ys-welcome-modern-content {
  position: relative;
  z-index: 2;
  max-width: 830px;
}

.ys-welcome-modern-content h2 {
  margin-bottom: 12px;
  color: var(--ys-navy);
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.ys-welcome-modern-content h3 {
  margin-bottom: 24px;
  color: var(--ys-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.ys-welcome-modern-content p {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--ys-muted);
  font-size: 17px;
  line-height: 1.75;
}

.ys-welcome-modern-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.ys-ofsted-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fdecec;
  color: #f44336;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.2px;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ys-ofsted-badge:hover {
  background: #f44336;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(244, 67, 54, 0.22);
}

.ys-welcome-headteacher-card {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 14px;
  border-radius: 26px;
  background: var(--ys-light);
  border: 1px solid var(--ys-border);
  box-shadow: 0 18px 42px rgba(3, 27, 45, 0.1);
}

.ys-welcome-headteacher-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}

.ys-welcome-headteacher-card div {
  padding: 16px 8px 6px;
  text-align: center;
}

.ys-welcome-headteacher-card strong {
  display: block;
  color: var(--ys-navy);
  font-size: 18px;
  font-weight: 950;
}

.ys-welcome-headteacher-card span {
  display: block;
  margin-top: 4px;
  color: var(--ys-muted);
  font-size: 14px;
  font-weight: 850;
}

/* =========================================================
   5. DASHBOARD: CALENDAR + RESULTS
========================================================= */

.ys-dashboard-section {
  background: linear-gradient(180deg, var(--ys-light), var(--ys-white));
}

.ys-dashboard-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
}

.ys-calendar-card,
.ys-results-card {
  padding: 34px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
}

.ys-mini-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.ys-calendar-day {
  min-height: 116px;
  padding: 14px;
  border-radius: 18px;
  background: var(--ys-light);
  border: 1px solid transparent;
  transition: var(--ys-transition);
}

.ys-calendar-day:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.22);
  background: var(--ys-white);
  box-shadow: var(--ys-shadow-sm);
}

.ys-calendar-day strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ys-navy);
  font-size: 14px;
}

.ys-calendar-day span {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--ys-white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.ys-event-blue {
  background: var(--ys-navy-soft);
}

.ys-event-red {
  background: var(--ys-red);
}

.ys-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: var(--ys-muted);
  font-size: 14px;
  font-weight: 700;
}

.ys-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ys-results-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
}

.ys-results-stats div {
  min-height: 132px;
  padding: 20px;
  border-radius: 22px;
  background: var(--ys-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--ys-transition);
}

.ys-results-stats div:hover {
  background: var(--ys-navy);
  color: var(--ys-white);
  transform: translateY(-5px);
}

.ys-results-stats strong {
  display: block;
  color: var(--ys-red);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1px;
}

.ys-results-stats span {
  margin-top: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.ys-results-card>p {
  color: var(--ys-muted);
  font-size: 16px;
}

/* =========================================================
   6. TESTIMONIALS
========================================================= */

.ys-testimonials-section {
  padding: 100px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(229, 57, 53, 0.18), transparent 32%),
    var(--ys-navy-dark);
  color: var(--ys-white);
  overflow: hidden;
}

.ys-testimonial-wrapper {
  position: relative;
}

.ys-testimonial-wrapper::before {
  content: "Y";
  position: absolute;
  right: -30px;
  top: -90px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 360px;
  font-weight: 900;
  line-height: 1;
}

.ys-testimonial-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 36px;
}

.ys-testimonial-heading h2 {
  color: var(--ys-white);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.ys-testimonial-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ys-testimonial-card {
  padding: 30px;
  border-radius: var(--ys-radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  transition: var(--ys-transition);
}

.ys-testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

.ys-testimonial-card p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
}

.ys-testimonial-card strong {
  display: block;
  color: var(--ys-white);
}

.ys-testimonial-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* =========================================================
   7. NEWS
========================================================= */

.ys-news-section {
  background: var(--ys-white);
}

.ys-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.ys-news-card {
  overflow: hidden;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
  transition: var(--ys-transition);
}

.ys-news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ys-shadow-md);
}

.ys-news-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.ys-news-card:hover img {
  transform: scale(1.07);
}

.ys-news-body {
  padding: 24px;
}

.ys-news-body span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--ys-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ys-news-body h3 {
  margin-bottom: 10px;
  color: var(--ys-navy);
  font-size: 22px;
  line-height: 1.2;
}

.ys-news-body p {
  color: var(--ys-muted);
  font-size: 14px;
}

.ys-news-body a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--ys-red);
  font-weight: 900;
}

/* =========================================================
   8. AWARDS
========================================================= */

.ys-awards-section {
  padding: 58px 0;
  background: var(--ys-light);
  border-top: 1px solid var(--ys-border);
  border-bottom: 1px solid var(--ys-border);
  text-align: center;
}

.ys-awards-section p {
  margin-bottom: 22px;
  color: var(--ys-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ys-awards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ys-awards-row span {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ys-white);
  color: var(--ys-navy);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--ys-shadow-sm);
  border: 1px solid var(--ys-border);
}

/* =========================================================
   9. FINAL CTA
========================================================= */

.ys-final-cta {
  padding: 72px 0;
  background: var(--ys-white);
}

.ys-final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  border-radius: var(--ys-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.22), transparent 35%),
    var(--ys-navy);
  color: var(--ys-white);
  box-shadow: var(--ys-shadow-lg);
}

.ys-final-cta h2 {
  max-width: 680px;
  color: var(--ys-white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.3px;
}

.ys-final-cta-inner>div:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   10. GLOBAL RESPONSIVE ADJUSTMENTS
========================================================= */

@media (max-width: 1180px) {

  .ys-dashboard-grid,
  .ys-testimonial-grid,
  .ys-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .ys-welcome-modern-card {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .ys-welcome-headteacher-card {
    width: min(100%, 360px);
    justify-self: start;
  }

  .ys-welcome-headteacher-card img {
    height: 280px;
  }

  .ys-dashboard-grid,
  .ys-testimonial-grid,
  .ys-news-grid {
    grid-template-columns: 1fr;
  }

  .ys-mini-calendar {
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 680px) {

  /* Welcome */
  .ys-welcome-section {
    padding: 58px 0 !important;
  }

  .ys-welcome-modern-card {
    padding: 30px 22px 24px;
    border-radius: 26px;
  }

  .ys-welcome-modern-card::before {
    width: 5px;
  }

  .ys-welcome-modern-content h2 {
    font-size: 32px;
    line-height: 1.06;
    letter-spacing: -1px;
  }

  .ys-welcome-modern-content h3 {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .ys-welcome-modern-content p {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.65;
  }

  .ys-welcome-modern-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .ys-welcome-modern-actions .ys-btn,
  .ys-ofsted-badge {
    width: 100%;
  }

  .ys-ofsted-badge {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }

  .ys-welcome-headteacher-card {
    max-width: 260px !important;
    margin: 10px auto 0 !important;
    padding: 10px !important;
    border-radius: 20px !important;
  }

  .ys-welcome-headteacher-card img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #ffffff !important;
    border-radius: 16px !important;
  }

  .ys-welcome-headteacher-card div {
    padding: 10px 6px 4px !important;
  }

  .ys-welcome-headteacher-card strong {
    font-size: 15px !important;
  }

  .ys-welcome-headteacher-card span {
    font-size: 12px !important;
  }

  /* Other sections */
  .ys-calendar-card,
  .ys-results-card {
    padding: 24px;
    border-radius: 24px;
  }

  .ys-results-stats {
    grid-template-columns: 1fr;
  }

  .ys-testimonials-section {
    padding: 70px 0;
  }

  .ys-testimonial-card {
    padding: 24px;
  }

  .ys-news-card img {
    height: 210px;
  }

  .ys-awards-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ys-awards-row span {
    width: 100%;
  }

  .ys-final-cta {
    padding: 52px 0;
  }

  .ys-final-cta-inner {
    padding: 28px;
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ys-final-cta h2 {
    font-size: 30px;
  }

  .ys-final-cta-inner>div:last-child {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .ys-final-cta-inner .ys-btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .ys-welcome-modern-card {
    padding: 26px 18px 20px;
  }

  .ys-welcome-modern-content h2 {
    font-size: 29px;
  }

  .ys-welcome-headteacher-card {
    max-width: 235px !important;
  }

  .ys-welcome-headteacher-card img {
    height: 200px !important;
  }
}

/* =========================================================
   11. JOIN US - INFINITE EVENT ROLLING SECTION
========================================================= */

.ys-join-events-section {
  padding: 88px 0 100px;
  background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
  overflow: hidden;
}

.ys-join-events-wrap {
  width: min(1680px, calc(100% - 40px));
  margin: 0 auto;
}

.ys-join-events-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
}

.ys-join-events-header h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--ys-navy);
  margin-bottom: 12px;
}

.ys-join-events-header p:last-child {
  max-width: 700px;
  color: var(--ys-muted);
  font-size: 18px;
  line-height: 1.6;
}

.ys-join-events-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ys-join-event-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(6, 43, 70, 0.12);
  background: #ffffff;
  color: var(--ys-navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(6, 43, 70, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ys-join-event-arrow:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--ys-red, #ef3f3a);
  border-color: var(--ys-red, #ef3f3a);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(239, 63, 58, 0.35);
}

.ys-join-events-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}

.ys-join-events-track {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 22px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

.ys-join-event-card {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.95);
  box-shadow: 0 14px 36px rgba(3, 27, 45, 0.08);
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ys-join-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(3, 27, 45, 0.16);
  border-color: rgba(229, 57, 53, 0.32);
}

.ys-join-event-image-shell {
  position: relative;
  padding: 16px 16px 0 !important;
}

.ys-join-event-image {
  width: 100% !important;
  height: 190px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #e9f0f5 !important;
}

.ys-join-event-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 20px !important;
}

.ys-join-event-card:hover .ys-join-event-image img {
  transform: scale(1.08);
}

.ys-join-event-tag {
  display: none !important;
}

.ys-join-event-body {
  flex: 1;
  padding: 22px 24px 18px;
}

.ys-join-event-date {
  margin-bottom: 10px;
  color: var(--ys-red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ys-join-event-body h3 {
  margin-bottom: 10px;
  color: var(--ys-navy);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.6px;
}

.ys-join-event-body p:last-child {
  color: var(--ys-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ys-join-event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--ys-border);
  color: var(--ys-navy);
  font-size: 13px;
  font-weight: 850;
}

.ys-join-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Modal */
.ys-join-event-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ys-join-event-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ys-join-event-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 27, 45, 0.72);
  backdrop-filter: blur(9px);
}

.ys-join-event-modal-box {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.ys-join-event-modal.active .ys-join-event-modal-box {
  transform: translateY(0) scale(1);
}

.ys-join-event-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ys-navy);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ys-join-event-modal-close:hover {
  background: var(--ys-red);
  transform: rotate(90deg);
}

.ys-join-event-modal-image {
  min-height: 420px;
  background: #eef3f7;
}

.ys-join-event-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-join-event-modal-content {
  padding: 42px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 47, 79, 0.28) transparent;
}

.ys-join-event-modal-content::-webkit-scrollbar {
  width: 8px;
}

.ys-join-event-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.ys-join-event-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 47, 79, 0.25);
  border-radius: 999px;
}

.ys-event-detail-content {
  max-width: 760px;
}

.ys-event-detail-content h4 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ys-navy, #002f4f);
}

.ys-event-detail-content p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.8;
  color: #657789;
}

.ys-event-detail-content strong {
  color: #263746;
  font-weight: 850;
}

.ys-event-detail-content a {
  color: var(--ys-red, #f53b37);
  font-weight: 850;
  text-decoration: none;
}

.ys-event-detail-content a:hover {
  text-decoration: underline;
}

.ys-event-video-box {
  margin-top: 34px;
  width: 100%;
  max-width: 820px;
}

.ys-event-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #001f35;
  box-shadow: 0 26px 70px rgba(0, 47, 79, 0.22);
}

.ys-event-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ys-event-contact-list,
.ys-event-social-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: -4px 0 28px;
}

.ys-event-contact-list a,
.ys-event-social-list a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ys-red, #f53b37);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.ys-event-contact-list a:hover,
.ys-event-social-list a:hover {
  color: var(--ys-navy, #002f4f);
  transform: translateX(5px);
}

.ys-event-contact-list span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 59, 55, 0.1);
  font-size: 14px;
}

.ys-event-social-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--ys-red, #f53b37);
  box-shadow: 0 0 0 6px rgba(245, 59, 55, 0.1);
}

@media (max-width: 900px) {
  .ys-join-events-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
  }

  .ys-join-events-header h2 {
    font-size: 42px;
  }

  .ys-join-event-modal-box {
    max-height: 92vh;
  }

  .ys-join-event-modal-content {
    max-height: 92vh;
  }

  .ys-event-detail-content {
    max-width: 100%;
  }

  .ys-event-detail-content h4 {
    font-size: 25px;
    margin-bottom: 15px;
  }

  .ys-event-detail-content p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .ys-event-video-box {
    margin-top: 24px;
  }

  .ys-event-video-frame {
    border-radius: 17px;
  }

  .ys-event-contact-list a,
  .ys-event-social-list a {
    font-size: 15px;
    word-break: break-word;
  }
}

@media (max-width: 680px) {
  .ys-join-events-section {
    padding: 50px 0 60px !important;
  }

  .ys-join-events-wrap {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .ys-join-events-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
  }

  .ys-join-events-header h2 {
    font-size: 30px;
    line-height: 1.06;
    letter-spacing: -1px;
    margin-bottom: 6px;
  }

  .ys-join-events-header p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }

  .ys-join-events-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    align-self: flex-start;
  }

  .ys-join-event-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 1;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .ys-join-event-arrow:hover,
  .ys-join-event-arrow:active {
    background: var(--ys-red, #ef3f3a) !important;
    border-color: var(--ys-red, #ef3f3a) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(239, 63, 58, 0.4);
  }

  .ys-join-events-slider {
    overflow: hidden !important;
    width: 100% !important;
  }

  .ys-join-events-track {
    gap: 16px !important;
  }

  .ys-join-event-card {
    flex: 0 0 285px !important;
    width: 285px !important;
    min-width: 285px !important;
    min-height: 345px;
    border-radius: 28px;
  }

  .ys-join-event-image-shell {
    padding: 14px 14px 0 !important;
  }

  .ys-join-event-image {
    height: 145px !important;
    border-radius: 18px !important;
  }

  .ys-join-event-image img {
    border-radius: 18px !important;
  }

  .ys-join-event-body {
    padding: 16px 16px 12px;
  }

  .ys-join-event-date {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .ys-join-event-body h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .ys-join-event-body p:last-child {
    font-size: 13px;
    line-height: 1.5;
  }

  .ys-join-event-meta {
    padding: 12px 16px 16px;
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ys-join-event-modal {
    padding: 10px;
    align-items: end;
  }

  .ys-join-event-modal-box {
    grid-template-columns: 1fr;
    border-radius: 24px 24px 0 0;
    max-height: 88vh;
    overflow-y: auto;
  }

  .ys-join-event-modal-image {
    min-height: 180px;
    max-height: 200px;
  }

  .ys-join-event-modal-content {
    padding: 22px 18px 20px;
  }
}

@media (max-width: 520px) {
  .ys-event-detail-content h4 {
    font-size: 22px;
  }

  .ys-event-detail-content p {
    font-size: 14.5px;
  }

  .ys-event-contact-list,
  .ys-event-social-list {
    gap: 9px;
    margin-bottom: 22px;
  }
}

/* =========================================================
   12. EXAM RESULTS SECTION + PDF POPUP
========================================================= */

.ys-results-release-section {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.ys-results-release-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.ys-results-release-header h2 {
  margin-bottom: 12px;
  color: var(--ys-navy);
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.04;
  letter-spacing: -1.8px;
}

.ys-results-release-header>p:last-child {
  color: var(--ys-muted);
  font-size: 16px;
  line-height: 1.6;
}

.ys-results-release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.ys-result-release-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  min-height: 330px;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.95);
  box-shadow: 0 18px 48px rgba(3, 27, 45, 0.08);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ys-result-release-card:hover {
  transform: translateY(-7px);
  border-color: rgba(229, 57, 53, 0.28);
  box-shadow: 0 28px 70px rgba(3, 27, 45, 0.15);
}

.ys-result-release-image {
  height: 100%;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: #edf3f7;
}

.ys-result-release-image img {
  width: 100%;
  max-width: 170px;
  height: 250px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(3, 27, 45, 0.12);
  transition: transform 0.45s ease;
}

.ys-result-release-card:hover .ys-result-release-image img {
  transform: scale(1.04);
}

.ys-result-release-content {
  padding: 34px 34px 34px 10px;
}

.ys-result-release-content span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.09);
  color: var(--ys-red);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ys-result-release-content h3 {
  margin-bottom: 12px;
  color: var(--ys-navy);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -1px;
}

.ys-result-release-content p {
  margin-bottom: 22px;
  color: var(--ys-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ys-result-release-btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ys-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(3, 27, 45, 0.18);
  transition: background 0.25s ease, transform 0.25s ease;
}

.ys-result-release-btn:hover {
  background: var(--ys-red);
  transform: translateY(-2px);
}

/* Modal */
.ys-result-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ys-result-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ys-result-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 27, 45, 0.78);
  backdrop-filter: blur(10px);
}

.ys-result-modal-box {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  max-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  overflow: hidden;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.ys-result-modal.active .ys-result-modal-box {
  transform: translateY(0) scale(1);
}

.ys-result-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ys-navy);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ys-result-modal-close:hover {
  background: var(--ys-red);
  transform: rotate(90deg);
}

.ys-result-modal-preview {
  min-height: 650px;
  max-height: 90vh;
  padding: 22px;
  background: #202124;
  overflow-y: auto;
}

.ys-result-modal-preview iframe {
  width: 100%;
  height: 650px;
  display: block;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

.ys-result-page-list {
  display: grid;
  gap: 26px;
}

.ys-result-page {
  width: min(720px, 100%);
  margin: 0 auto;
}

.ys-result-page-number {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  opacity: 0.75;
}

.ys-result-page img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.ys-result-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 42px;
  background: #ffffff;
}

.ys-result-modal-content>p:first-child {
  margin-bottom: 12px;
  color: var(--ys-red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ys-result-modal-content h3 {
  margin-bottom: 16px;
  color: var(--ys-navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -1.2px;
}

.ys-result-modal-content h3+p {
  margin-bottom: 28px;
  color: var(--ys-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ys-result-modal-content .ys-btn {
  width: fit-content;
}

@media (max-width: 1100px) {
  .ys-results-release-grid {
    grid-template-columns: 1fr;
  }

  .ys-result-release-card {
    grid-template-columns: 230px 1fr;
  }

  .ys-result-modal-box {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }

  .ys-result-modal-preview {
    min-height: auto;
  }

  .ys-result-modal-preview iframe {
    height: 62vh;
  }

  .ys-result-modal-content {
    padding: 32px;
  }
}

@media (max-width: 760px) {
  .ys-results-release-section {
    padding: 56px 0 64px;
  }

  .ys-results-release-header {
    margin-bottom: 26px;
  }

  .ys-results-release-header h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .ys-results-release-header>p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }

  .ys-results-release-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ys-result-release-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 24px;
  }

  .ys-result-release-image {
    min-height: auto;
    padding: 18px 18px 0;
    background: #ffffff;
  }

  .ys-result-release-image img {
    max-width: 180px;
    height: 230px;
  }

  .ys-result-release-content {
    padding: 22px 20px 24px;
  }

  .ys-result-release-content h3 {
    font-size: 25px;
  }

  .ys-result-release-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .ys-result-release-btn {
    width: 100%;
  }

  .ys-result-modal {
    padding: 10px;
    align-items: end;
  }

  .ys-result-modal-box {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
  }

  .ys-result-modal-preview {
    max-height: 56vh;
    min-height: auto;
    padding: 14px;
    background: #202124;
  }

  .ys-result-modal-preview iframe {
    height: 52vh;
    border-radius: 14px;
  }

  .ys-result-page-list {
    gap: 18px;
  }

  .ys-result-page-number {
    font-size: 12px;
  }

  .ys-result-page img {
    border-radius: 10px;
  }

  .ys-result-modal-content {
    padding: 22px 20px 24px;
  }

  .ys-result-modal-content h3 {
    font-size: 25px;
  }

  .ys-result-modal-content h3+p {
    font-size: 14px;
    line-height: 1.6;
  }

  .ys-result-modal-content .ys-btn {
    width: 100%;
  }

  .ys-result-modal-close {
    right: 12px;
    top: 12px;
    width: 38px;
    height: 38px;
    font-size: 25px;
  }
}

/* =========================================================
   13. TESTIMONIALS - PREMIUM SMOOTH BOARD
========================================================= */

.ys-testimonials-flip-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.11), transparent 28%),
    linear-gradient(135deg, #031d33 0%, #08324f 48%, #074d67 100%);
  overflow: hidden;
}

.ys-testimonials-flip-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.ys-testimonials-copy {
  color: #ffffff;
  max-width: 470px;
}

.ys-testimonials-copy h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -1.6px;
}

.ys-testimonials-copy>p:last-of-type {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.72;
}

.ys-testimonials-board-wrap {
  position: relative;
}

.ys-testimonial-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ys-testimonial-counter {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 1.5px;
}

.ys-testimonial-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ys-testimonial-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ys-navy);
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ys-testimonial-arrow:hover {
  transform: translateY(-2px);
  background: var(--ys-red);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(229, 57, 53, 0.22);
}

.ys-testimonial-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ys-testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ys-testimonial-dot:hover {
  transform: scale(1.2);
}

.ys-testimonial-dot.active {
  width: 30px;
  background: var(--ys-red);
}

.ys-testimonial-stage {
  position: relative;
  overflow: visible;
}

.ys-testimonial-flip-card {
  position: relative;
  min-height: 465px;
  padding: 34px 34px 28px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(221, 229, 237, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.23), 0 10px 30px rgba(3, 27, 45, 0.08);
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  transform: translate3d(0, 0, 0) scale(1);
  backface-visibility: hidden;
}

.ys-testimonial-flip-card.is-flipping {
  animation: ysTestimonialFlipClean 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.ys-testimonial-flip-card.is-sliding-next {
  animation: ysTestimonialSlideNext 0.52s cubic-bezier(0.22, 0.75, 0.24, 1) both;
}

.ys-testimonial-flip-card.is-sliding-prev {
  animation: ysTestimonialSlidePrev 0.52s cubic-bezier(0.22, 0.75, 0.24, 1) both;
}

@keyframes ysTestimonialFlipClean {
  0% {
    transform: rotateY(0deg);
  }

  49% {
    transform: rotateY(90deg);
  }

  50% {
    transform: rotateY(-90deg);
  }

  100% {
    transform: rotateY(0deg);
  }
}

@keyframes ysTestimonialSlideNext {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  42% {
    opacity: 0;
    transform: translate3d(-34px, 8px, 0) scale(0.975);
    filter: blur(4px);
  }

  58% {
    opacity: 0;
    transform: translate3d(34px, 8px, 0) scale(0.975);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes ysTestimonialSlidePrev {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  42% {
    opacity: 0;
    transform: translate3d(34px, 8px, 0) scale(0.975);
    filter: blur(4px);
  }

  58% {
    opacity: 0;
    transform: translate3d(-34px, 8px, 0) scale(0.975);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.ys-testimonial-card-glow {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 72, 60, 0.18), rgba(255, 72, 60, 0) 70%);
  pointer-events: none;
}

.ys-testimonial-card-head {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}

.ys-testimonial-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 72, 60, 0.1);
  color: var(--ys-red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.ys-testimonial-quote-mark {
  margin-bottom: 4px;
  color: rgba(4, 42, 70, 0.12);
  font-size: 68px;
  font-weight: 950;
  line-height: 1;
}

.ys-testimonial-quote {
  position: relative;
  z-index: 2;
  min-height: 205px;
  margin-bottom: 30px;
  color: #304659;
  font-size: 20px;
  line-height: 1.78;
  letter-spacing: -0.2px;
}

.ys-testimonial-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(215, 223, 231, 0.88);
}

.ys-testimonial-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3f7;
  border: 4px solid #ffffff;
  box-shadow: 0 14px 30px rgba(3, 27, 45, 0.18);
}

.ys-testimonial-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ys-testimonial-meta h3 {
  margin-bottom: 4px;
  color: var(--ys-navy);
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.ys-testimonial-meta p {
  color: #6d7f90;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .ys-testimonials-flip-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ys-testimonials-copy {
    max-width: 720px;
  }
}

@media (max-width: 768px) {

  .ys-testimonial-flip-card.is-sliding-next,
  .ys-testimonial-flip-card.is-sliding-prev {
    animation-duration: 0.45s;
  }

  @keyframes ysTestimonialSlideNext {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }

    42% {
      opacity: 0;
      transform: translate3d(-18px, 6px, 0) scale(0.98);
      filter: blur(3px);
    }

    58% {
      opacity: 0;
      transform: translate3d(18px, 6px, 0) scale(0.98);
      filter: blur(3px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes ysTestimonialSlidePrev {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }

    42% {
      opacity: 0;
      transform: translate3d(18px, 6px, 0) scale(0.98);
      filter: blur(3px);
    }

    58% {
      opacity: 0;
      transform: translate3d(-18px, 6px, 0) scale(0.98);
      filter: blur(3px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }
}

@media (max-width: 760px) {
  .ys-testimonials-flip-section {
    padding: 52px 0 56px !important;
  }

  .ys-testimonials-copy h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .ys-testimonials-copy>p:last-of-type {
    font-size: 14px;
    line-height: 1.6;
  }

  .ys-testimonial-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ys-testimonial-counter {
    text-align: center;
    font-size: 12px;
  }

  .ys-testimonial-controls {
    justify-content: center;
    gap: 10px;
  }

  .ys-testimonial-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .ys-testimonial-dot {
    width: 9px;
    height: 9px;
  }

  .ys-testimonial-dot.active {
    width: 22px;
  }

  .ys-testimonial-flip-card {
    min-height: auto !important;
    padding: 22px 18px 18px !important;
    border-radius: 24px !important;
  }

  .ys-testimonial-chip {
    min-height: 32px;
    font-size: 10px;
    letter-spacing: 0.7px;
  }

  .ys-testimonial-quote-mark {
    margin-bottom: 0 !important;
    font-size: 44px !important;
    line-height: 0.8 !important;
  }

  .ys-testimonial-quote {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 22px !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
  }

  .ys-testimonial-footer {
    margin-top: 0 !important;
    padding-top: 18px !important;
    gap: 12px;
  }

  .ys-testimonial-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-width: 3px;
  }

  .ys-testimonial-meta h3 {
    font-size: 21px;
  }

  .ys-testimonial-meta p {
    font-size: 10px;
    letter-spacing: 1.8px;
  }
}

@media (max-width: 420px) {
  .ys-testimonial-flip-card {
    padding: 20px 16px 16px !important;
  }

  .ys-testimonial-quote {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }

  .ys-testimonial-meta h3 {
    font-size: 20px;
  }
}

/* =========================================================
   14. LIVE SCHOOL CALENDAR SECTION
========================================================= */

.ys-calendar-embed-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at top left, rgba(229, 57, 53, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.ys-calendar-embed-card {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.95);
  box-shadow: 0 26px 76px rgba(3, 27, 45, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ys-calendar-embed-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 57, 53, 0.22);
  box-shadow: 0 34px 90px rgba(3, 27, 45, 0.16);
}

.ys-calendar-embed-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 16px 26px 10px;
}

.ys-calendar-embed-content h2 {
  margin-bottom: 14px;
  color: var(--ys-navy);
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -1.8px;
}

.ys-calendar-embed-content>p:last-of-type {
  max-width: 460px;
  margin-bottom: 28px;
  color: var(--ys-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ys-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ys-calendar-frame-wrap {
  position: relative !important;
  min-height: 620px !important;
  background: #f4f7fb !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  border: 1px solid rgba(220, 228, 236, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.ys-calendar-frame-wrap::before {
  content: "Loading school calendar..." !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--ys-navy) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #f7fafc, #eef3f7) !important;
  z-index: 1 !important;
}

.ys-calendar-frame {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 640px;
  min-height: 620px !important;
  display: block;
  border: 0 !important;
  background: #ffffff !important;
}

.ys-calendar-embed-card:active {
  transform: scale(0.995);
}

@media (max-width: 980px) {
  .ys-calendar-embed-card {
    grid-template-columns: 1fr;
  }

  .ys-calendar-embed-content {
    padding: 10px 4px 0;
  }
}

@media (max-width: 680px) {
  .ys-calendar-embed-section {
    padding: 60px 0;
  }

  .ys-calendar-embed-card {
    padding: 18px;
    border-radius: 26px;
    gap: 22px;
  }

  .ys-calendar-embed-content h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .ys-calendar-embed-content>p:last-of-type {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
  }

  .ys-calendar-actions {
    flex-direction: column;
  }

  .ys-calendar-actions .ys-btn {
    width: 100%;
  }

  .ys-calendar-frame-wrap {
    min-height: 520px !important;
    border-radius: 22px !important;
  }

  .ys-calendar-frame {
    height: 520px;
    min-height: 520px !important;
  }
}

/* =========================================================
   15. AWARDS & ACCREDITATIONS - LOGO ONLY CLEAN STYLE
========================================================= */

.ys-awards-premium-section {
  padding: 84px 0;
  background:
    radial-gradient(circle at top left, rgba(229, 57, 53, 0.05), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  overflow: hidden;
}

.ys-awards-premium-header {
  max-width: 780px;
  margin-bottom: 38px;
}

.ys-awards-premium-header h2 {
  margin-bottom: 14px;
  color: var(--ys-navy);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.ys-awards-premium-header>p:last-child {
  max-width: 700px;
  color: var(--ys-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ys-awards-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ys-award-logo-card {
  position: relative;
  height: 170px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.95);
  box-shadow: 0 14px 34px rgba(3, 27, 45, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.ys-award-logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.11), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(244, 247, 251, 0.65));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.ys-award-logo-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(229, 57, 53, 0.28);
  box-shadow: 0 28px 64px rgba(3, 27, 45, 0.15);
}

.ys-award-logo-card:hover::before {
  opacity: 1;
}

.ys-award-logo-card:active {
  transform: scale(0.97);
}

.ys-award-logo-card img {
  position: relative;
  z-index: 2;
  max-width: 82%;
  max-height: 92px;
  display: block;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.ys-award-logo-card:hover img {
  transform: scale(1.08);
}

.ys-award-logo-card img[alt="Hampshire County Council"],
.ys-award-logo-card img[alt="Investors in People"] {
  max-width: 90%;
  max-height: 82px;
}

.ys-award-logo-card img[alt="Ofsted Good Provider"],
.ys-award-logo-card img[alt="Design Mark"],
.ys-award-logo-card img[alt="FFT Attendance Award"] {
  max-height: 110px;
}

@media (max-width: 980px) {
  .ys-awards-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ys-award-logo-card {
    height: 160px;
  }
}

@media (max-width: 680px) {
  .ys-awards-premium-section {
    padding: 58px 0;
  }

  .ys-awards-premium-header {
    margin-bottom: 26px;
  }

  .ys-awards-premium-header h2 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .ys-awards-premium-header>p:last-child {
    font-size: 14px;
    line-height: 1.6;
  }

  .ys-awards-premium-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 18px;
  }

  .ys-awards-premium-grid::-webkit-scrollbar {
    display: none;
  }

  .ys-award-logo-card {
    flex: 0 0 210px;
    height: 140px;
    padding: 22px;
    border-radius: 22px;
    scroll-snap-align: start;
  }

  .ys-award-logo-card img {
    max-width: 88%;
    max-height: 82px;
  }

  .ys-award-logo-card:active {
    transform: scale(0.96);
    box-shadow: 0 20px 46px rgba(3, 27, 45, 0.14);
  }
}

/* =========================================================
   16. COMPACT MODERN FOOTER
========================================================= */

.ys-footer {
  --footer-blue: #2335c2;
  --footer-red: #d2232a;
  padding: 54px 0 0;
  background: #2335c2;
  color: #ffffff;
  overflow: hidden;
}

.ys-footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 42px;
  padding-bottom: 38px;
}

.ys-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #ffffff;
  text-decoration: none;
}

.ys-footer-logo:hover span {
  color: #ffffff;
}

.ys-footer-logo img {
  width: 62px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
}

.ys-footer-logo span {
  color: #ffffff;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.8px;
}

.ys-footer-brand p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.7;
}

.ys-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.ys-footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.ys-footer-social a:hover {
  background: #e53935;
  border-color: #e53935;
  color: #ffffff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 22px rgba(229, 57, 53, 0.45);
}

.ys-footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}

.ys-footer h3 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
}

.ys-footer-link-grid {
  display: grid;
  gap: 10px;
}

.ys-footer-link-grid a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.ys-footer-link-grid a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.ys-footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ys-footer-contact li {
  margin-bottom: 14px;
}

.ys-footer-contact strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.ys-footer-contact span,
.ys-footer-contact a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.22s ease;
}

.ys-footer-contact a:hover {
  color: #ffffff;
}

.ys-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.ys-footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.ys-footer-bottom div {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ys-footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.22s ease;
}

.ys-footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .ys-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .ys-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .ys-footer {
    padding-top: 42px;
  }

  .ys-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 30px;
  }

  .ys-footer-logo img {
    width: 54px;
  }

  .ys-footer-logo span {
    font-size: 24px;
  }

  .ys-footer-brand p {
    font-size: 14px;
    line-height: 1.6;
  }

  .ys-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ys-footer-bottom div {
    gap: 12px;
  }
}

/* =========================================================
   17. VALUES ORBIT SECTION — LUXURY DEEP NAVY DARK WHEEL
========================================================= */

.ys-values-orbit-section {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(6, 24, 38, 0.04), transparent 45%),
    radial-gradient(ellipse at 85% 75%, var(--active-soft, rgba(239, 63, 58, 0.05)), transparent 45%),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 50%, #f4f8fc 100%);
  overflow: hidden;
  transition: background 0.5s ease;
}

/* Background Watermark */
.ys-values-orbit-section::before {
  content: "VALUES";
  position: absolute;
  top: 15px;
  right: -20px;
  color: rgba(6, 43, 70, 0.025);
  font-size: clamp(90px, 14vw, 220px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -6px;
  pointer-events: none;
  user-select: none;
}

/* ——— Grid Layout ——— */

.ys-values-orbit-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.ys-values-orbit-wheel-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ——— The Dark Midnight Navy Wheel ——— */

.ys-values-orbit-wheel {
  --orbit-size: 570px;
  --orbit-radius: 185px;
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  border-radius: 50%;
  padding: 12px;
  background:
    radial-gradient(circle at center, var(--active-soft, rgba(239, 63, 58, 0.12)), transparent 55%),
    radial-gradient(circle at 35% 22%, #0f324d 0%, transparent 45%),
    radial-gradient(circle at 75% 78%, #092033 0%, transparent 50%),
    linear-gradient(145deg, #092033 0%, #061826 50%, #030d16 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 100px rgba(6, 24, 38, 0.35),
    0 15px 35px rgba(3, 13, 22, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 80px rgba(0, 0, 0, 0.45);
  isolation: isolate;
  transition: background 0.5s ease;
}

/* Orbit track ring — glowing dashed track where pills travel */
.ys-values-orbit-wheel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit-radius) * 2);
  height: calc(var(--orbit-radius) * 2);
  margin-left: calc(var(--orbit-radius) * -1);
  margin-top: calc(var(--orbit-radius) * -1);
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 25px rgba(255, 255, 255, 0.06),
    inset 0 0 25px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* Inner decorative ring */
.ys-values-orbit-wheel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit-radius) * 2 - 76px);
  height: calc(var(--orbit-radius) * 2 - 76px);
  margin-left: calc((var(--orbit-radius) * 2 - 76px) / -2);
  margin-top: calc((var(--orbit-radius) * 2 - 76px) / -2);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* ——— Value Pill Segments (Frosted Dark Glass Cards) ——— */

.ys-values-orbit-segment {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 148px;
  height: 52px;
  margin-left: -74px;
  margin-top: -26px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 60%),
    #0a2236;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--segment-color) 60%, rgba(255, 255, 255, 0.25));
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translate3d(var(--pos-x, 0px), var(--pos-y, 0px), 0);
  transform-origin: center center;
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
  backface-visibility: hidden;
  z-index: 3;
}

/* Pill text */
.ys-values-orbit-segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.ys-values-orbit-segment:hover,
.ys-values-orbit-segment:focus-visible {
  border-color: var(--segment-color);
  box-shadow:
    0 14px 32px color-mix(in srgb, var(--segment-color) 40%, transparent),
    0 4px 10px rgba(0, 0, 0, 0.30);
  filter: brightness(1.15);
  outline: none;
}

/* ——— Active Pill (Vibrant Illuminated Fill) ——— */

.ys-values-orbit-segment.active {
  width: 168px;
  height: 60px;
  margin-left: -84px;
  margin-top: -30px;
  font-size: 17px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, transparent 60%),
    var(--segment-color);
  color: #ffffff;
  border-color: #ffffff;
  transform: translate3d(var(--pos-x, 0px), var(--pos-y, 0px), 0) scale(1.08);
  box-shadow:
    0 0 0 3px #ffffff,
    0 14px 40px color-mix(in srgb, var(--segment-color) 55%, transparent),
    0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 6;
}

.ys-values-orbit-segment.active span {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Active Ring Glow */
.ys-values-orbit-segment.active::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--segment-color) 50%, transparent);
  animation: ysValueRingPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ysValueRingPulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

/* ——— Center Crest Badge ——— */

.ys-values-orbit-center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ys-values-orbit-center-inner {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(150deg, #0e2e47 0%, #061826 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 8px #061826,
    0 0 0 9px rgba(255, 255, 255, 0.10),
    0 18px 45px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
}

.ys-values-orbit-center-inner img {
  width: 88px !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  margin: 0 !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.ys-values-orbit-center-inner strong {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ——— Content Column ——— */

.ys-values-orbit-content-col .ys-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ys-values-orbit-content-col h2 {
  margin-bottom: 18px;
  color: var(--ys-navy);
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -2.2px;
}

.ys-values-orbit-intro {
  margin-bottom: 32px;
  color: #4a6378;
  font-size: 17.5px;
  line-height: 1.76;
}

/* ——— Panel Card (Clean Luxury Design) ——— */

.ys-values-orbit-panel {
  position: relative;
  min-height: 220px;
  padding: 38px 44px 36px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(6, 43, 70, 0.08);
  border-top: 3.5px solid var(--active-color, #ef3f3a);
  box-shadow:
    0 20px 50px rgba(6, 43, 70, 0.06),
    0 2px 8px rgba(6, 43, 70, 0.02);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.25s ease;
}

.ys-values-orbit-panel.is-changing {
  transform: translateY(2px);
  opacity: 0.80;
}

/* Watermark Number in Top Right */
.ys-values-panel-num {
  position: absolute;
  top: 14px;
  right: 28px;
  color: color-mix(in srgb, var(--active-color, #ef3f3a) 14%, transparent);
  font-size: 84px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -3px;
  pointer-events: none;
  user-select: none;
  transition: color 0.4s ease;
}

.ys-values-orbit-panel h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  color: var(--active-color, #ef3f3a);
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.4px;
  transition: color 0.4s ease;
}

.ys-values-orbit-panel p {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0;
  color: #4a6378;
  font-size: 17px;
  line-height: 1.76;
}

/* Hidden items */
.ys-values-orbit-panel-item[hidden] {
  display: none !important;
}

/* ——— Navigation Controls ——— */

.ys-values-orbit-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.ys-values-orbit-arrow {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(6, 43, 70, 0.10);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ys-navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 43, 70, 0.05);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ys-values-orbit-arrow:hover {
  transform: translateY(-2px) scale(1.06);
  background: var(--active-color, var(--ys-red));
  border-color: var(--active-color, var(--ys-red));
  color: #ffffff;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--active-color, var(--ys-red)) 35%, transparent);
}

.ys-values-orbit-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ys-values-orbit-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 43, 70, 0.14);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, width 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}

.ys-values-orbit-dot.active {
  width: 32px;
  border-radius: 999px;
  background: var(--active-color, var(--ys-red));
  box-shadow: 0 3px 12px color-mix(in srgb, var(--active-color, var(--ys-red)) 40%, transparent);
}

/* ——— Responsive: Tablet ——— */

@media (max-width: 1180px) {
  .ys-values-orbit-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ys-values-orbit-content-col {
    max-width: 700px;
    margin: 0 auto;
  }

  .ys-values-orbit-wheel {
    --orbit-size: 500px;
    --orbit-radius: 155px;
  }

  .ys-values-orbit-segment {
    width: 136px;
    height: 48px;
    margin-left: -68px;
    margin-top: -24px;
    font-size: 14.5px;
  }

  .ys-values-orbit-segment.active {
    width: 154px;
    height: 54px;
    margin-left: -77px;
    margin-top: -27px;
    font-size: 16px;
  }

  .ys-values-orbit-center-inner {
    width: 155px;
    height: 155px;
  }

  .ys-values-orbit-center-inner img {
    width: 76px !important;
  }
}

/* ——— Responsive: Mobile (Android & iOS) ——— */

@media (max-width: 680px) {
  .ys-values-orbit-section {
    padding: 50px 0 58px;
  }

  .ys-values-orbit-section::before {
    top: 10px;
    right: -10px;
    font-size: 58px;
    letter-spacing: -2px;
  }

  .ys-values-orbit-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .ys-values-orbit-content-col {
    display: contents;
  }

  .ys-values-orbit-content-col .ys-section-label {
    order: 1;
    margin-bottom: 0;
  }

  .ys-values-orbit-content-col h2 {
    order: 2;
    margin-bottom: 4px;
    font-size: 28px;
    line-height: 1.06;
    letter-spacing: -1px;
  }

  .ys-values-orbit-intro {
    order: 3;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.58;
    color: #526b7e;
  }

  .ys-values-orbit-wheel-col {
    order: 4;
    width: 100%;
    margin: 6px 0 10px;
  }

  .ys-values-orbit-panel {
    order: 5;
  }

  .ys-values-orbit-controls {
    order: 6;
  }

  /* Wheel & Orbit Proportions — Open & Uncongested */
  .ys-values-orbit-wheel {
    --orbit-size: min(360px, calc(100vw - 24px));
    --orbit-radius: 118px;
    padding: 8px;
  }

  .ys-values-orbit-segment {
    width: 96px;
    height: 38px;
    margin-left: -48px;
    margin-top: -19px;
    font-size: 11.5px;
    font-weight: 800;
    border-width: 1px;
  }

  .ys-values-orbit-segment.active {
    width: 108px;
    height: 42px;
    margin-left: -54px;
    margin-top: -21px;
    font-size: 12px;
    box-shadow:
      0 0 0 2px #ffffff,
      0 8px 24px color-mix(in srgb, var(--segment-color) 45%, transparent);
  }

  /* Compact Center Badge to open up central orbit space */
  .ys-values-orbit-center-inner {
    width: 104px;
    height: 104px;
    padding: 8px;
    gap: 3px;
    border-width: 1.5px;
    box-shadow:
      0 0 0 6px #061826,
      0 0 0 7px rgba(255, 255, 255, 0.10),
      0 10px 25px rgba(0, 0, 0, 0.35);
  }

  .ys-values-orbit-center-inner img {
    width: 52px !important;
  }

  .ys-values-orbit-center-inner strong {
    font-size: 7.5px;
    letter-spacing: 0.8px;
  }

  /* Uncongested Description Panel Card — Fixed Height Steady Layout */
  .ys-values-orbit-panel {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 22px 22px;
    border-radius: 20px;
    border-top-width: 3px;
    box-sizing: border-box;
  }

  .ys-values-orbit-panel-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .ys-values-panel-num {
    font-size: 52px;
    top: 8px;
    right: 16px;
    opacity: 0.65;
    letter-spacing: -2px;
  }

  .ys-values-orbit-panel h3 {
    font-size: clamp(26px, 6.5vw, 32px);
    margin-bottom: 8px;
    letter-spacing: -1px;
  }

  .ys-values-orbit-panel p {
    font-size: 14.5px;
    line-height: 1.62;
  }

  .ys-values-orbit-controls {
    justify-content: center;
    margin-top: 8px;
    gap: 12px;
  }

  .ys-values-orbit-arrow {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

/* ——— Responsive: Small Mobile (iPhone SE / Compact Android) ——— */

@media (max-width: 390px) {
  .ys-values-orbit-wheel {
    --orbit-size: min(320px, calc(100vw - 20px));
    --orbit-radius: 102px;
  }

  .ys-values-orbit-segment {
    width: 86px;
    height: 34px;
    margin-left: -43px;
    margin-top: -17px;
    font-size: 10px;
  }

  .ys-values-orbit-segment.active {
    width: 96px;
    height: 38px;
    margin-left: -48px;
    margin-top: -19px;
    font-size: 10.5px;
  }

  .ys-values-orbit-center-inner {
    width: 92px;
    height: 92px;
  }

  .ys-values-orbit-center-inner img {
    width: 46px !important;
  }

  .ys-values-orbit-center-inner strong {
    font-size: 6.5px;
  }

  .ys-values-orbit-panel {
    height: 185px !important;
    min-height: 185px !important;
    max-height: 185px !important;
    padding: 20px 18px 18px;
  }

  .ys-values-panel-num {
    font-size: 46px;
    top: 6px;
    right: 12px;
  }
}

@media (min-width: 1024px) {
  .ys-values-orbit-content-col h2 {
    max-width: none !important;
    width: 100%;
    font-size: clamp(44px, 3.8vw, 64px) !important;
    line-height: 1;
    letter-spacing: -2px;
  }
}

@supports not (color: color-mix(in srgb, red 50%, transparent)) {
  .ys-values-orbit-segment {
    border-color: rgba(6, 43, 70, 0.15);
  }

  .ys-values-orbit-segment.active {
    box-shadow: 0 0 0 3px #ffffff, 0 12px 36px rgba(239, 63, 58, 0.35);
  }
}

@media (max-width: 760px) {
  .ys-hero-clean {
    padding-top: 110px !important;
  }

  .ys-hero-clean .ys-container {
    padding-top: 0 !important;
  }

  .ys-hero-clean .ys-badge {
    max-width: calc(100vw - 32px) !important;
    width: fit-content !important;
    margin: 0 auto 22px auto !important;
    padding: 10px 18px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    font-size: 12px !important;
    letter-spacing: 1.4px !important;
  }
}

/* ─────────────────────────────────────────────
   1 ── HERO: Dark navy overlay on school image
   The single biggest change — turns the hero from
   generic white to a striking premium dark landing
───────────────────────────────────────────── */
.ys-hero-clean {
  background:
    linear-gradient(to right,
      rgba(9, 20, 38, 0.95) 0%,
      rgba(9, 20, 38, 0.88) 40%,
      rgba(9, 20, 38, 0.60) 66%,
      rgba(9, 20, 38, 0.22) 100%),
    url("/wp-content/themes/yateley-template/assets/images/yateleyschool.png") center / cover no-repeat !important;
}

/* ─────────────────────────────────────────────
   2 ── HERO: Badge — frosted glass on dark
───────────────────────────────────────────── */
.ys-hero-clean .ys-badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20) !important;
  border-radius: 999px !important;
}

/* ─────────────────────────────────────────────
   3 ── HERO: Title — white, serif authority
───────────────────────────────────────────── */
.ys-hero-clean .ys-title {
  color: #ffffff !important;
  font-family: var(--ys-font-body) !important;
  text-shadow: none !important;
}

/* Red highlight word stays vivid — works well on dark */
.ys-hero-clean .ys-highlight {
  color: #f05272 !important;
}

/* ─────────────────────────────────────────────
   4 ── HERO: Description — soft white
───────────────────────────────────────────── */
.ys-hero-clean .ys-desc {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 400 !important;
  text-shadow: none !important;
}

/* ─────────────────────────────────────────────
   5 ── HERO: Floating cards — keep white on dark
   White cards pop beautifully on the navy overlay
───────────────────────────────────────────── */
.ys-hero-clean .ys-floating-card,
.ys-hero-clean .ys-floating-stat {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28) !important;
}

.ys-hero-clean .ys-stat-num {
  color: #1e3a8a !important;
}

.ys-hero-clean .ys-stat-label,
.ys-hero-clean .ys-floating-card strong {
  color: #1e3a8a !important;
}

/* ─────────────────────────────────────────────
   6 ── VALUES TABS: Bridge between dark hero
   and the light values orbit section below
───────────────────────────────────────────── */
.ys-values-tabs-section {
  background: linear-gradient(180deg,
      #0b1a2e 0%,
      #0b1a2e 40%,
      transparent 100%) !important;
  padding-bottom: 40px !important;
}

/* Tab pills on dark background — keep white card style */
.ys-values-tab-card {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

/* ─────────────────────────────────────────────
   7 ── VALUES ORBIT: Refine the light section
   Slightly warmer grey so transition from dark
   hero doesn't feel cold/abrupt
───────────────────────────────────────────── */
.ys-values-orbit-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(225, 29, 72, 0.06), transparent 26%),
    radial-gradient(circle at 92% 86%, rgba(6, 43, 70, 0.08), transparent 30%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%) !important;
}

/* ─────────────────────────────────────────────
   8 ── RESPONSIVE: Tablet hero
───────────────────────────────────────────── */
@media (max-width: 992px) {
  .ys-hero-clean {
    background:
      linear-gradient(to bottom,
        rgba(9, 20, 38, 0.93) 0%,
        rgba(9, 20, 38, 0.86) 50%,
        rgba(9, 20, 38, 0.78) 100%),
      url("/wp-content/themes/yateley-template/assets/images/yateleyschool.png") center / cover no-repeat !important;
  }
}

/* ─────────────────────────────────────────────
   9 ── RESPONSIVE: Mobile hero
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .ys-hero-clean {
    background:
      linear-gradient(180deg,
        rgba(9, 20, 38, 0.94) 0%,
        rgba(9, 20, 38, 0.88) 100%),
      url("/wp-content/themes/yateley-template/assets/images/yateleyschool.png") center / cover no-repeat !important;
  }

  .ys-hero-clean .ys-badge {
    background: rgba(255, 255, 255, 0.14) !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   HEADTEACHER WELCOME — DARK NAVY (CLASSIC BOX LAYOUT)
========================================================= */

/* 1 ── Solid Dark Background & Top Overlap Fix */
.ys-welcome-section {
  position: relative !important;
  z-index: 20 !important;
  margin-top: -80px !important;
  /* Pulls up over the hero */
  padding: 100px 0 100px !important;
  background: #0b1a2e !important;
  /* Solid dark navy */
  border: none !important;
  overflow: visible !important;
}

/* Kill inherited artifacts */
.ys-welcome-section::before,
.ys-welcome-section::after {
  display: none !important;
}

/* 2 ── Main Card (Replicating the Left-Stripe Box Design) */
.ys-welcome-section .ys-welcome-modern-card {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: 1fr 280px !important;
  /* Perfect width for the photo card */
  gap: 50px !important;
  align-items: center !important;

  /* The Box Design */
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-left: 6px solid #d4a84b !important;
  /* The signature gold left stripe */
  border-radius: 24px !important;
  padding: 50px 60px !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2) !important;

  /* Entrance Animation */
  opacity: 0;
  transform: translateY(20px);
  animation: ysFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.1s;
}

/* Subtle decorative circle inside the card */
.ys-welcome-section .ys-welcome-modern-card::after {
  content: "" !important;
  position: absolute !important;
  top: -50px !important;
  right: -50px !important;
  width: 200px !important;
  height: 200px !important;
  border-radius: 50% !important;
  background: rgba(212, 168, 75, 0.03) !important;
  pointer-events: none !important;
  display: block !important;
}

.ys-welcome-section .ys-welcome-modern-card::before {
  display: none !important;
  /* Hide old red line artifact */
}

/* 3 ── Typography */
.ys-welcome-section .ys-section-label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #d4a84b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
}

.ys-welcome-section .ys-section-label::before {
  content: "" !important;
  display: inline-block !important;
  width: 36px !important;
  height: 2px !important;
  background: #d4a84b !important;
}

.ys-welcome-section .ys-welcome-modern-content h2 {
  color: #ffffff !important;
  font-family: var(--ys-font-body) !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.1 !important;
  margin-bottom: 16px !important;
}

.ys-welcome-section .ys-welcome-modern-content h3 {
  color: #d4a84b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 24px !important;
}

.ys-welcome-section .ys-welcome-modern-content p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
}

/* 4 ── Refined Buttons */
.ys-welcome-modern-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 32px !important;
}

.ys-welcome-section .ys-btn-dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #d4a84b !important;
  color: #0b1a2e !important;
  font-weight: 800 !important;
  padding: 0 28px !important;
  min-height: 48px !important;
  border-radius: 999px !important;
  /* Pill shape */
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.ys-welcome-section .ys-btn-dark:hover {
  background: #e6bd63 !important;
  transform: translateY(-2px) !important;
}

.ys-welcome-section .ys-ofsted-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-weight: 700 !important;
  padding: 0 28px !important;
  min-height: 48px !important;
  border-radius: 999px !important;
  /* Pill shape */
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.ys-welcome-section .ys-ofsted-badge:hover {
  background: rgba(212, 168, 75, 0.15) !important;
  border-color: #d4a84b !important;
  color: #d4a84b !important;
}

/* 5 ── Headteacher Photo Layout (Replicating Image Structure) */
.ys-welcome-section .ys-welcome-headteacher-card {
  position: relative !important;
  display: block !important;
  background: rgba(255, 255, 255, 0.04) !important;
  /* Inner card background */
  border: 1px solid rgba(212, 168, 75, 0.2) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  /* Even padding all around */
  margin: 0 !important;
  text-align: center !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2) !important;

  opacity: 0;
  transform: translateY(30px);
  animation: ysFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
}

/* Photo Styling - Fits neatly inside the box */
.ys-welcome-section .ys-welcome-headteacher-card img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 12px !important;
  /* Softer corners inside the card */
  margin-bottom: 16px !important;
  /* Space between photo and text */
  display: block !important;
  border: none !important;
  /* Removed thick border */
  box-shadow: none !important;
}

/* Text Container - Sitting natively below the image */
.ys-welcome-section .ys-welcome-headteacher-card div {
  position: static !important;
  transform: none !important;
  background: transparent !important;
  padding: 4px 0 8px 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.ys-welcome-section .ys-welcome-headteacher-card strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}

.ys-welcome-section .ys-welcome-headteacher-card span {
  display: block !important;
  color: #d4a84b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* 6 ── Keyframe Animations */
@keyframes ysFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 7 ── Responsive Fixes for Tablet & Mobile */
@media (max-width: 980px) {
  .ys-welcome-section .ys-welcome-modern-card {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 40px !important;
  }

  .ys-welcome-section .ys-welcome-headteacher-card {
    width: 100% !important;
    max-width: 320px !important;
    /* Restricts width so it doesn't stretch */
    margin: 0 auto !important;
  }
}

@media (max-width: 680px) {
  .ys-welcome-section {
    margin-top: -60px !important;
    padding: 80px 0 !important;
  }

  .ys-welcome-section .ys-welcome-modern-card {
    padding: 30px 24px !important;
    border-left-width: 4px !important;
    /* Slightly thinner line on mobile */
  }

  .ys-welcome-section .ys-welcome-modern-content h2 {
    font-size: 30px !important;
  }

  /* Mobile Button Fixes */
  .ys-welcome-modern-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .ys-welcome-section .ys-btn-dark,
  .ys-welcome-section .ys-ofsted-badge {
    width: 100% !important;
  }

  /* Fixed Mobile Photo Size */
  .ys-welcome-section .ys-welcome-headteacher-card {
    max-width: 250px !important;
    /* Keeps the card perfectly sized */
    padding: 12px !important;
    margin-top: 20px !important;
  }

  .ys-welcome-section .ys-welcome-headteacher-card img {
    height: 240px !important;
    /* Slightly taller box */
    object-fit: contain !important;
    /* FORCES the entire image to show without zooming/cropping */
    background: #ffffff !important;
    /* Fills the background with white so there are no empty gaps */
    border-radius: 5px !important;
    margin-bottom: 8px !important;
  }

  .ys-welcome-section .ys-welcome-headteacher-card strong {
    font-size: 16px !important;
  }

  .ys-welcome-section .ys-welcome-headteacher-card span {
    font-size: 11px !important;
  }
}

/* =========================
   DESKTOP FULL-SCREEN FIX
========================= */
@media (min-width: 993px) {
  .ys-hero-clean {
    padding-bottom: 180px !important;
    /* Pushes the overlapping welcome section below the fold */
  }
}

:root {
  --ys-text-dark: #0f172a;
  --ys-brand-red: #e11d48;
  --ys-brand-red-hover: #be123c;
  --ys-brand-blue: #1e3a8a;
}

.ys-hero-clean {
  position: relative;
  background:
    linear-gradient(to right,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.90) 42%,
      rgba(255, 255, 255, 0.58) 68%,
      rgba(255, 255, 255, 0.38) 100%),
    url("/wp-content/themes/yateley-template/assets/images/yateleyschool.png") center / cover no-repeat !important;
  padding: 80px 0 115px;
  overflow: hidden;
  font-family: var(--ys-font-body);
}

.ys-hero-clean,
.ys-hero-clean * {
  box-sizing: border-box;
}

.ys-hero-clean .ys-container {
  width: min(90%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 60px;
  min-height: 85vh;
}

/* =========================
   HERO CONTENT
========================= */

.ys-hero-clean .ys-badge {
  display: inline-block;
  background: rgba(30, 58, 138, 0.09) !important;
  color: var(--ys-brand-blue) !important;
  padding: 9px 19px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.08);
}

.ys-hero-clean .ys-title {
  font-family: var(--ys-font-body) !important;
  font-size: clamp(44px, 5vw, 68px) !important;
  color: var(--ys-text-dark) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -1.4px;
  margin: 0 0 24px !important;
  text-shadow: none !important;
}

.ys-hero-clean .ys-highlight {
  color: var(--ys-brand-red) !important;
}

.ys-hero-clean .ys-desc {
  font-size: clamp(16px, 1.45vw, 18px) !important;
  line-height: 1.75 !important;
  color: #334155 !important;
  font-weight: 550 !important;
  max-width: 540px;
  margin: 0 0 36px !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.ys-hero-clean .ys-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ys-hero-clean .ys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ys-hero-clean .ys-btn-primary {
  background: linear-gradient(135deg, var(--ys-brand-red), #f43f5e) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(225, 29, 72, 0.24) !important;
}

.ys-hero-clean .ys-btn-primary:hover {
  background: linear-gradient(135deg, var(--ys-brand-red-hover), var(--ys-brand-red)) !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(225, 29, 72, 0.32) !important;
}

.ys-hero-clean .ys-btn-staff {
  background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.28) !important;
}

.ys-hero-clean .ys-btn-staff:hover {
  background: linear-gradient(135deg, #172554, #1e3a8a) !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(30, 58, 138, 0.38) !important;
}

/* =========================
   HERO VISUAL
========================= */

.ys-hero-clean .ys-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ys-hero-clean .ys-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ys-hero-clean .ys-blob-glow {
  position: absolute;
  inset: -8%;
  background: linear-gradient(135deg,
      rgba(225, 29, 72, 0.22) 0%,
      rgba(30, 58, 138, 0.24) 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 1;
  filter: blur(26px);
  animation: ysMorph 10s ease-in-out infinite alternate-reverse;
}

.ys-hero-clean .ys-blob-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 42% 58% 64% 36% / 43% 45% 55% 57%;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
  z-index: 2;
  animation: ysMorph 8s ease-in-out infinite alternate;
  background: #dbeafe;
}

.ys-hero-clean .ys-hero-image-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ys-hero-clean .ys-blob-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 950ms ease, transform 5200ms ease;
  will-change: opacity, transform;
}

.ys-hero-clean .ys-blob-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.ys-hero-clean .ys-blob-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(225, 29, 72, 0.10));
  mix-blend-mode: multiply;
  z-index: 4;
  pointer-events: none;
}

/* =========================
   FLOATING CARDS
========================= */

.ys-hero-clean .ys-floating-card,
.ys-hero-clean .ys-floating-stat {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.ys-hero-clean .card-top-left {
  top: 5%;
  left: -12%;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: ysFloatSoft 5s ease-in-out infinite reverse;
}

.ys-hero-clean .card-bottom-right {
  bottom: 1%;
  right: -10%;
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: ysFloatSoft 4.5s ease-in-out infinite;
}

.ys-hero-clean .ys-stat-icon {
  font-size: 25px;
  background: rgba(30, 58, 138, 0.08);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.ys-hero-clean .ys-stat-info {
  display: flex;
  flex-direction: column;
}

.ys-hero-clean .ys-stat-num {
  font-weight: 900;
  color: var(--ys-brand-blue);
  font-size: 22px;
  line-height: 1.05;
}

.ys-hero-clean .ys-stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
  white-space: nowrap;
}

.ys-hero-clean .ys-floating-card strong {
  color: var(--ys-brand-blue) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

.ys-hero-clean .ys-dots {
  display: flex;
  gap: 7px;
}

.ys-hero-clean .ys-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--ys-brand-red);
}

.ys-hero-clean .ys-dots span:nth-child(2) {
  background-color: var(--ys-brand-blue);
}

.ys-hero-clean .ys-dots span:nth-child(3) {
  background-color: #fbbf24;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes ysMorph {
  0% {
    border-radius: 42% 58% 64% 36% / 43% 45% 55% 57%;
  }

  50% {
    border-radius: 58% 42% 38% 62% / 54% 36% 64% 46%;
  }

  100% {
    border-radius: 48% 52% 58% 42% / 40% 56% 44% 60%;
  }
}

@keyframes ysFloatSoft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {
  .ys-hero-clean {
    padding: 72px 0 86px;
    background:
      linear-gradient(to bottom,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.91) 48%,
        rgba(255, 255, 255, 0.72) 100%),
      url("/wp-content/themes/yateley-template/assets/images/yateleyschool.png") center / cover no-repeat !important;
  }

  .ys-hero-clean .ys-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 44px;
    min-height: auto;
  }

  .ys-hero-clean .ys-actions {
    justify-content: center;
  }

  .ys-hero-clean .ys-desc {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ys-hero-clean .ys-hero-content {
    order: 1;
  }

  .ys-hero-clean .ys-hero-visual {
    order: 2;
    margin-top: 4px;
  }

  .ys-hero-clean .ys-image-wrapper {
    max-width: 390px;
  }

  .ys-hero-clean .card-top-left {
    left: 0;
    top: -2%;
  }

  .ys-hero-clean .card-bottom-right {
    right: 0;
    bottom: -2%;
  }
}


@media (prefers-reduced-motion: reduce) {

  .ys-hero-clean .ys-blob-shape,
  .ys-hero-clean .ys-blob-glow,
  .ys-hero-clean .ys-floating-card,
  .ys-hero-clean .ys-floating-stat,
  .ys-hero-clean .ys-blob-img {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   JOIN US EVENTS - DARK PREMIUM OVERRIDE
   Targets the actual PHP classes:
   .ys-join-events-section / .ys-join-event-card
========================================================= */

.ys-join-events-section {
  position: relative !important;
  padding: 104px 0 112px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 185, 75, 0.13), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(229, 57, 53, 0.16), transparent 32%),
    linear-gradient(135deg, #061826 0%, #082033 44%, #04111d 100%) !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.ys-join-events-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  opacity: 0.32 !important;
  mask-image: linear-gradient(to bottom, black, transparent 88%) !important;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%) !important;
  z-index: -2 !important;
}

.ys-join-events-section::after {
  content: "" !important;
  position: absolute !important;
  right: -180px !important;
  bottom: -210px !important;
  width: 520px !important;
  height: 520px !important;
  border-radius: 50% !important;
  background: rgba(242, 185, 75, 0.12) !important;
  filter: blur(24px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

.ys-join-events-wrap {
  position: relative !important;
  z-index: 2 !important;
  width: min(1560px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.ys-join-events-header {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 32px !important;
  margin-bottom: 42px !important;
}

.ys-join-events-header>div {
  max-width: 820px !important;
}

.ys-join-events-header .ys-section-label,
.ys-join-events-header p:first-child {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  margin: 0 0 16px !important;
  color: #f2b94b !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
}

.ys-join-events-header .ys-section-label::before,
.ys-join-events-header p:first-child::before {
  content: "" !important;
  width: 38px !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: linear-gradient(90deg, #f2b94b, #ef4444) !important;
}

.ys-join-events-header h2 {
  max-width: 820px !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(44px, 5vw, 78px) !important;
  line-height: 0.96 !important;
  letter-spacing: -3.4px !important;
  text-wrap: balance !important;
}

.ys-join-events-header p:last-child {
  max-width: 720px !important;
  margin: 18px 0 0 !important;
  color: rgba(226, 237, 247, 0.76) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* Slider */
.ys-join-events-slider {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  padding: 6px 0 14px !important;
  mask-image: linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%) !important;
}

.ys-join-events-track {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  width: max-content !important;
  will-change: transform !important;
  animation: ysJoinInfiniteScroll var(--ys-join-scroll-duration, 48s) linear infinite !important;
}



/* Card */
.ys-join-event-card {
  position: relative !important;
  flex: 0 0 372px !important;
  width: 372px !important;
  min-width: 372px !important;
  min-height: 505px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  border-radius: 34px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.055)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  transform: translateZ(0) !important;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s ease,
    border-color 0.34s ease,
    background 0.34s ease !important;
}

.ys-join-event-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 26% 0%, rgba(242, 185, 75, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(229, 57, 53, 0.15), transparent 46%) !important;
  opacity: 0 !important;
  transition: opacity 0.34s ease !important;
}

.ys-join-event-card:hover,
.ys-join-event-card:focus-visible {
  transform: translateY(-12px) scale(1.018) !important;
  border-color: rgba(242, 185, 75, 0.44) !important;
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(242, 185, 75, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.13) !important;
  outline: none !important;
}

.ys-join-event-card:hover::before,
.ys-join-event-card:focus-visible::before {
  opacity: 1 !important;
}

/* Image */
.ys-join-event-image-shell {
  position: relative !important;
  z-index: 3 !important;
  padding: 16px 16px 0 !important;
}

.ys-join-event-image {
  position: relative !important;
  width: 100% !important;
  height: 218px !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background: #10283b !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28) !important;
}

.ys-join-event-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background:
    linear-gradient(to bottom, rgba(4, 17, 29, 0.02) 0%, rgba(4, 17, 29, 0.16) 48%, rgba(4, 17, 29, 0.78) 100%) !important;
  pointer-events: none !important;
}

.ys-join-event-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 26px !important;
  transform: scale(1.01) !important;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease !important;
  will-change: transform !important;
}

.ys-join-event-card:hover .ys-join-event-image img,
.ys-join-event-card:focus-visible .ys-join-event-image img {
  transform: scale(1.1) !important;
  filter: saturate(1.14) contrast(1.04) !important;
}

/* Body */
.ys-join-event-body {
  position: relative !important;
  z-index: 4 !important;
  flex: 1 !important;
  padding: 24px 25px 18px !important;
}

.ys-join-event-date {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  margin: 0 0 14px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(242, 185, 75, 0.12) !important;
  border: 1px solid rgba(242, 185, 75, 0.22) !important;
  color: #f2b94b !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
}

.ys-join-event-body h3 {
  margin: 0 0 13px !important;
  color: #ffffff !important;
  font-size: 26px !important;
  line-height: 1.08 !important;
  letter-spacing: -0.9px !important;
  text-wrap: balance !important;
}

.ys-join-event-body p:last-child {
  margin: 0 !important;
  color: rgba(226, 237, 247, 0.74) !important;
  font-size: 14.5px !important;
  line-height: 1.68 !important;
}

/* Meta */
.ys-join-event-meta {
  position: relative !important;
  z-index: 4 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
  gap: 10px !important;
  padding: 18px 25px 25px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.105) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.ys-join-event-meta span {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.105) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

.ys-join-event-meta span:first-child {
  color: #f8d48a !important;
}

.ys-join-event-meta a.ys-register-btn {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--ys-red) 0%, var(--ys-red-dark) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.2) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.ys-join-event-meta a.ys-register-btn:hover {
  background: linear-gradient(135deg, #ff4d49 0%, var(--ys-red) 100%) !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4) !important;
  color: #ffffff !important;
}

.ys-join-event-meta a.ys-register-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

/* =========================================================
   DARK MODAL OVERRIDE
========================================================= */

.ys-join-event-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.ys-join-event-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.ys-join-event-modal-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(2, 10, 18, 0.84) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.ys-join-event-modal-box {
  position: relative !important;
  z-index: 2 !important;
  width: min(1040px, 100%) !important;
  max-height: 90vh !important;
  display: grid !important;
  grid-template-columns: 0.95fr 1.05fr !important;
  overflow: hidden !important;
  border-radius: 36px !important;
  background:
    linear-gradient(145deg, rgba(11, 34, 52, 0.98), rgba(5, 18, 30, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transform: translateY(22px) scale(0.96) !important;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.ys-join-event-modal.active .ys-join-event-modal-box {
  transform: translateY(0) scale(1) !important;
}

.ys-join-event-modal-close {
  position: absolute !important;
  right: 18px !important;
  top: 18px !important;
  z-index: 6 !important;
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.13) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  font-size: 28px !important;
  line-height: 1 !important;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease !important;
}

.ys-join-event-modal-close:hover,
.ys-join-event-modal-close:focus-visible {
  background: #f2b94b !important;
  color: #061826 !important;
  transform: rotate(90deg) scale(1.05) !important;
  outline: none !important;
}

.ys-join-event-modal-image {
  position: relative !important;
  min-height: 470px !important;
  background: #10283b !important;
}

.ys-join-event-modal-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(5, 18, 30, 0.86), rgba(5, 18, 30, 0.05)) !important;
  pointer-events: none !important;
}

.ys-join-event-modal-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

.ys-join-event-modal-content {
  padding: 52px 50px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(242, 185, 75, 0.55) transparent !important;
}

.ys-join-event-modal-content::-webkit-scrollbar {
  width: 8px !important;
}

.ys-join-event-modal-content::-webkit-scrollbar-track {
  background: transparent !important;
}

.ys-join-event-modal-content::-webkit-scrollbar-thumb {
  background: rgba(242, 185, 75, 0.45) !important;
  border-radius: 999px !important;
}

.ys-event-detail-content {
  max-width: 760px !important;
}

.ys-event-detail-content h4 {
  margin: 0 0 18px !important;
  color: #ffffff !important;
  font-size: clamp(28px, 3vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -1.4px !important;
}

.ys-event-detail-content p {
  margin: 0 0 22px !important;
  color: rgba(226, 237, 247, 0.78) !important;
  font-size: 16.5px !important;
  line-height: 1.82 !important;
}

.ys-event-detail-content strong {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.ys-event-detail-content a {
  color: #f2b94b !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ys-event-detail-content a:hover {
  text-decoration: underline !important;
}

.ys-event-video-frame {
  border-radius: 24px !important;
  background: #001f35 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32) !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
  .ys-join-events-section {
    padding: 86px 0 92px !important;
  }

  .ys-join-events-header {
    display: block !important;
    margin-bottom: 30px !important;
  }

  .ys-join-events-header h2 {
    font-size: clamp(40px, 8vw, 64px) !important;
    letter-spacing: -2.3px !important;
  }

  .ys-join-event-card {
    flex-basis: 340px !important;
    width: 340px !important;
    min-width: 340px !important;
    min-height: 480px !important;
  }

  .ys-join-event-image {
    height: 200px !important;
  }

  .ys-join-event-modal-box {
    grid-template-columns: 1fr !important;
    width: min(720px, 100%) !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }

  .ys-join-event-modal-image {
    min-height: 280px !important;
    max-height: 300px !important;
  }

  .ys-join-event-modal-content {
    max-height: none !important;
  }
}

/* =========================================================
   MOBILE - TOUCH FRIENDLY
========================================================= */

@media (max-width: 680px) {
  .ys-join-events-section {
    padding: 72px 0 82px !important;
  }

  .ys-join-events-wrap {
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .ys-join-events-header {
    margin-bottom: 24px !important;
  }

  .ys-join-events-header .ys-section-label,
  .ys-join-events-header p:first-child {
    margin-bottom: 12px !important;
    font-size: 10.5px !important;
    letter-spacing: 2px !important;
  }

  .ys-join-events-header .ys-section-label::before,
  .ys-join-events-header p:first-child::before {
    width: 28px !important;
  }

  .ys-join-events-header h2 {
    max-width: 350px !important;
    font-size: clamp(36px, 11vw, 48px) !important;
    line-height: 0.98 !important;
    letter-spacing: -2px !important;
  }

  .ys-join-events-header p:last-child {
    max-width: 350px !important;
    margin-top: 14px !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
  }

  .ys-join-events-slider {
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 8px 0 24px !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;
    scrollbar-width: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .ys-join-events-slider::-webkit-scrollbar {
    display: none !important;
  }

  .ys-join-events-track {
    gap: 16px !important;
    animation: none !important;
    transform: none !important;
    width: max-content !important;
  }

  .ys-join-event-card {
    flex: 0 0 calc(100vw - 42px) !important;
    width: calc(100vw - 42px) !important;
    min-width: calc(100vw - 42px) !important;
    min-height: 452px !important;
    border-radius: 30px !important;
    scroll-snap-align: center !important;
  }

  .ys-join-event-card:hover,
  .ys-join-event-card:focus-visible {
    transform: none !important;
  }

  .ys-join-event-card:active {
    transform: scale(0.985) !important;
    border-color: rgba(242, 185, 75, 0.38) !important;
  }

  .ys-join-event-image-shell {
    padding: 14px 14px 0 !important;
  }

  .ys-join-event-image {
    height: 190px !important;
    border-radius: 24px !important;
  }

  .ys-join-event-image img {
    border-radius: 24px !important;
  }

  .ys-join-event-body {
    padding: 20px 20px 14px !important;
  }

  .ys-join-event-date {
    min-height: 28px !important;
    margin-bottom: 12px !important;
    font-size: 10px !important;
  }

  .ys-join-event-body h3 {
    margin-bottom: 10px !important;
    font-size: 23px !important;
    line-height: 1.1 !important;
  }

  .ys-join-event-body p:last-child {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  .ys-join-event-meta {
    grid-template-columns: 1fr !important;
    padding: 14px 20px 22px !important;
  }

  .ys-join-event-meta span {
    justify-content: flex-start !important;
    min-height: 38px !important;
    text-align: left !important;
  }

  .ys-join-event-meta a.ys-register-btn {
    min-height: 38px !important;
    font-size: 11px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .ys-join-event-modal {
    align-items: end !important;
    padding: 10px !important;
  }

  .ys-join-event-modal-box {
    width: 100% !important;
    max-height: 90dvh !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 28px 28px 0 0 !important;
    overflow-y: auto !important;
    transform: translateY(28px) scale(0.98) !important;
  }

  .ys-join-event-modal.active .ys-join-event-modal-box {
    transform: translateY(0) scale(1) !important;
  }

  .ys-join-event-modal-image {
    min-height: 210px !important;
    max-height: 220px !important;
  }

  .ys-join-event-modal-content {
    padding: 28px 22px 26px !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  .ys-event-detail-content h4 {
    font-size: clamp(25px, 8vw, 34px) !important;
    letter-spacing: -1px !important;
  }

  .ys-event-detail-content p {
    font-size: 14.5px !important;
    line-height: 1.72 !important;
  }

  .ys-join-event-modal-close {
    right: 14px !important;
    top: 14px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 380px) {
  .ys-join-event-card {
    flex-basis: calc(100vw - 30px) !important;
    width: calc(100vw - 30px) !important;
    min-width: calc(100vw - 30px) !important;
  }

  .ys-join-event-image {
    height: 176px !important;
  }

  .ys-join-event-body h3 {
    font-size: 21px !important;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {

  .ys-join-events-track,
  .ys-join-event-card,
  .ys-join-event-image img,
  .ys-join-event-modal,
  .ys-join-event-modal-box,
  .ys-join-event-modal-close {
    animation: none !important;
    transition: none !important;
  }

  .ys-join-events-slider {
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   JOIN EVENTS - MOBILE SIZE + POPUP FIX OVERRIDE
   Paste BELOW the dark event override
========================================================= */

@media (max-width: 680px) {
  .ys-join-events-section {
    padding: 64px 0 72px !important;
  }

  .ys-join-events-wrap {
    width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .ys-join-events-header {
    margin-bottom: 22px !important;
  }

  .ys-join-events-header h2 {
    max-width: 320px !important;
    font-size: 36px !important;
    line-height: 1.02 !important;
    letter-spacing: -1.4px !important;
  }

  .ys-join-events-header p:last-child {
    max-width: 330px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .ys-join-events-slider {
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 8px 0 26px !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 18px !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    scrollbar-width: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .ys-join-events-slider::-webkit-scrollbar {
    display: none !important;
  }

  .ys-join-events-track {
    gap: 16px !important;
    animation: none !important;
    transform: none !important;
    width: max-content !important;
    padding-right: 18px !important;
  }

  .ys-join-event-card {
    flex: 0 0 305px !important;
    width: 305px !important;
    min-width: 305px !important;
    min-height: 415px !important;
    border-radius: 28px !important;
    scroll-snap-align: start !important;
  }

  .ys-join-event-card:hover,
  .ys-join-event-card:focus-visible {
    transform: none !important;
  }

  .ys-join-event-card:active {
    transform: scale(0.985) !important;
    border-color: rgba(242, 185, 75, 0.38) !important;
  }

  .ys-join-event-image-shell {
    padding: 12px 12px 0 !important;
  }

  .ys-join-event-image {
    height: 150px !important;
    border-radius: 22px !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24) !important;
  }

  .ys-join-event-image img {
    border-radius: 22px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .ys-join-event-body {
    padding: 18px 18px 12px !important;
  }

  .ys-join-event-date {
    min-height: 27px !important;
    margin-bottom: 11px !important;
    padding: 0 11px !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }

  .ys-join-event-body h3 {
    margin-bottom: 9px !important;
    font-size: 21px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.6px !important;
  }

  .ys-join-event-body p:last-child {
    font-size: 13.5px !important;
    line-height: 1.58 !important;
  }

  .ys-join-event-meta {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px 18px 18px !important;
  }

  .ys-join-event-meta span {
    min-height: 36px !important;
    justify-content: flex-start !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
    text-align: left !important;
  }

  .ys-join-event-meta a.ys-register-btn {
    min-height: 36px !important;
    font-size: 12px !important;
    padding: 7px 12px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Smaller phones */
@media (max-width: 380px) {
  .ys-join-events-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .ys-join-event-card {
    flex-basis: 285px !important;
    width: 285px !important;
    min-width: 285px !important;
    min-height: 395px !important;
  }

  .ys-join-event-image {
    height: 140px !important;
  }

  .ys-join-event-body h3 {
    font-size: 19px !important;
  }

  .ys-join-event-body p:last-child {
    font-size: 13px !important;
  }
}

/* =========================================================
   MOBILE POPUP FIX
========================================================= */

@media (max-width: 680px) {
  .ys-join-event-modal {
    align-items: center !important;
    padding: 14px !important;
  }

  .ys-join-event-modal-box {
    width: min(100%, 390px) !important;
    max-height: 88dvh !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: #061826 !important;
  }

  .ys-join-event-modal-image {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 185px !important;
    max-height: 185px !important;
    overflow: hidden !important;
    background: #10283b !important;
  }

  .ys-join-event-modal-image img {
    width: 100% !important;
    height: 185px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .ys-join-event-modal-content {
    flex: 1 1 auto !important;
    padding: 24px 22px 26px !important;
    max-height: calc(88dvh - 185px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ys-event-detail-content {
    max-width: 100% !important;
  }

  .ys-event-detail-content h4 {
    margin-bottom: 13px !important;
    font-size: 26px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.8px !important;
  }

  .ys-event-detail-content p {
    margin-bottom: 17px !important;
    font-size: 14.2px !important;
    line-height: 1.68 !important;
  }

  .ys-event-detail-content h4:not(:first-child) {
    margin-top: 22px !important;
  }

  .ys-join-event-modal-close {
    right: 12px !important;
    top: 12px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(6, 24, 38, 0.72) !important;
    color: #ffffff !important;
    z-index: 20 !important;
  }
}

@media (max-width: 380px) {
  .ys-join-event-modal {
    padding: 10px !important;
  }

  .ys-join-event-modal-box {
    width: min(100%, 360px) !important;
    max-height: 88dvh !important;
  }

  .ys-join-event-modal-image,
  .ys-join-event-modal-image img {
    height: 165px !important;
    min-height: 165px !important;
    max-height: 165px !important;
  }

  .ys-join-event-modal-content {
    max-height: calc(88dvh - 165px) !important;
    padding: 22px 19px 24px !important;
  }

  .ys-event-detail-content h4 {
    font-size: 23px !important;
  }

  .ys-event-detail-content p {
    font-size: 13.8px !important;
  }
}

/* =========================================================
   JOIN EVENTS - MOBILE CARD META + MODAL HEADER VISIBILITY FIX
   Paste at very bottom of home.css
========================================================= */

/* Fix card meta visibility and stop bottom overlap */
@media (max-width: 680px) {
  .ys-join-event-card {
    min-height: 440px !important;
    padding-bottom: 0 !important;
  }

  .ys-join-event-body {
    padding-bottom: 16px !important;
  }

  .ys-join-event-meta {
    position: relative !important;
    z-index: 8 !important;
    margin-top: auto !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .ys-join-event-meta span {
    color: rgba(255, 255, 255, 0.92) !important;
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
  }

  .ys-join-event-meta span:first-child {
    color: #f8d48a !important;
  }
}

/* Fix popup top title/date/tag colors */
.ys-join-event-modal-content>p,
.ys-join-event-modal-content>.ys-join-event-date,
.ys-join-event-modal-content>span,
.ys-join-event-modal-content .ys-join-event-date {
  color: #f2b94b !important;
  opacity: 1 !important;
}

.ys-join-event-modal-content>h3,
.ys-join-event-modal-content>h2,
.ys-join-event-modal-content .ys-join-event-title {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* If JS injects modal title/date directly */
.ys-join-event-modal-content>p:first-child {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 28px !important;
  margin: 0 0 10px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: rgba(242, 185, 75, 0.12) !important;
  border: 1px solid rgba(242, 185, 75, 0.22) !important;
  color: #f2b94b !important;
  font-size: 10.5px !important;
  font-weight: 950 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

.ys-join-event-modal-content>h3 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  line-height: 1.05 !important;
  letter-spacing: -1.2px !important;
}

.ys-join-event-modal-content>h3+p {
  margin: 0 0 22px !important;
  color: rgba(226, 237, 247, 0.76) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* Modal actual detail content */
.ys-event-detail-content h4 {
  color: #ffffff !important;
  opacity: 1 !important;
}

.ys-event-detail-content p {
  color: rgba(226, 237, 247, 0.82) !important;
  opacity: 1 !important;
}

.ys-event-detail-content strong {
  color: #ffffff !important;
}

/* Mobile popup arrangement */
@media (max-width: 680px) {
  .ys-join-event-modal {
    align-items: center !important;
    padding: 14px !important;
  }

  .ys-join-event-modal-box {
    width: min(100%, 390px) !important;
    max-height: 88dvh !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #061826 !important;
  }

  .ys-join-event-modal-image {
    min-height: 175px !important;
    max-height: 175px !important;
    height: 175px !important;
  }

  .ys-join-event-modal-image img {
    height: 175px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .ys-join-event-modal-content {
    max-height: calc(88dvh - 175px) !important;
    padding: 22px 22px 28px !important;
    overflow-y: auto !important;
    background: #061826 !important;
  }

  .ys-join-event-modal-content>p:first-child {
    margin-bottom: 10px !important;
    font-size: 10px !important;
  }

  .ys-join-event-modal-content>h3 {
    display: block !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
    font-size: 25px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.8px !important;
  }

  .ys-join-event-modal-content>h3+p {
    margin-bottom: 20px !important;
    color: rgba(226, 237, 247, 0.78) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .ys-event-detail-content h4 {
    margin: 22px 0 12px !important;
    color: #ffffff !important;
    font-size: 25px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.8px !important;
  }

  .ys-event-detail-content h4:first-child {
    margin-top: 0 !important;
  }

  .ys-event-detail-content p {
    margin-bottom: 16px !important;
    color: rgba(226, 237, 247, 0.82) !important;
    font-size: 14.2px !important;
    line-height: 1.68 !important;
  }

  .ys-join-event-modal-close {
    background: rgba(6, 24, 38, 0.82) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
  }
}

/* =========================================================
   JOIN EVENTS - REMOVE TIME/AUDIENCE META INSIDE POPUP ONLY
   Keeps the card meta visible, removes duplicate popup meta
========================================================= */

.ys-join-event-modal .ys-join-event-meta,
.ys-join-event-modal .ys-event-modal-meta,
.ys-join-event-modal .ys-join-event-modal-meta,
.ys-join-event-modal-content .ys-join-event-meta,
.ys-join-event-modal-content .ys-event-modal-meta,
.ys-join-event-modal-content .ys-join-event-modal-meta {
  display: none !important;
}

@media (max-width: 680px) {
  .ys-join-events-slider {
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    scrollbar-width: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .ys-join-events-slider::-webkit-scrollbar {
    display: none !important;
  }

  .ys-join-events-track {
    animation: none !important;
    transform: none !important;
    width: max-content !important;
  }

  .ys-join-event-card {
    scroll-snap-align: start !important;
  }
}

/* =========================================================
   JOIN EVENTS - MOBILE SMOOTH CONTINUOUS ANIMATION
   Add at the very bottom of home.css
========================================================= */

@media (max-width: 680px) {
  .ys-join-events-slider {
    overflow: hidden !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: auto !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    scrollbar-width: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .ys-join-events-slider::-webkit-scrollbar {
    display: none !important;
  }

  .ys-join-events-track {
    animation: none !important;
    transform: translate3d(0, 0, 0);
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  .ys-join-event-card {
    flex-shrink: 0 !important;
    scroll-snap-align: none !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  .ys-join-event-card:hover,
  .ys-join-event-card:focus-visible {
    transform: translateZ(0) !important;
  }

  .ys-join-event-card:active {
    transform: scale(0.985) translateZ(0) !important;
  }
}

/* =========================================================
   JOIN EVENTS - FINAL MOBILE ANIMATION FIX
========================================================= */

@media (max-width: 680px) {
  .ys-join-events-slider {
    overflow: hidden !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: auto !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    scrollbar-width: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .ys-join-events-slider::-webkit-scrollbar {
    display: none !important;
  }

  .ys-join-events-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: none !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  .ys-join-event-card {
    flex-shrink: 0 !important;
    scroll-snap-align: none !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
}

@media (max-width: 680px) {
  .ys-join-events-slider {
    overflow: hidden !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: auto !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    scrollbar-width: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    cursor: grab !important;
  }

  .ys-join-events-slider.is-dragging {
    cursor: grabbing !important;
  }

  .ys-join-events-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: none !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  .ys-join-event-card {
    flex-shrink: 0 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    touch-action: pan-y !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  .ys-join-event-card img,
  .ys-join-event-image,
  .ys-join-event-image-shell {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
  }
}

/* =========================================================
   TESTIMONIALS - PREMIUM COMMUNITY SPOTLIGHT REDESIGN
   Paste at bottom of home.css
========================================================= */

.ys-testimonials-flip-section {
  position: relative !important;
  padding: 118px 0 128px !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 185, 75, 0.13), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(239, 68, 68, 0.16), transparent 32%),
    linear-gradient(135deg, #061826 0%, #082033 48%, #04111d 100%) !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.ys-testimonials-flip-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) !important;
  background-size: 52px 52px !important;
  opacity: 0.28 !important;
  mask-image: linear-gradient(to bottom, black, transparent 88%) !important;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%) !important;
  z-index: -2 !important;
}

.ys-testimonials-flip-section::after {
  content: "Y" !important;
  position: absolute !important;
  right: -44px !important;
  top: 20px !important;
  color: rgba(255, 255, 255, 0.035) !important;
  font-size: clamp(220px, 28vw, 470px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

.ys-testimonials-flip-section .ys-container {
  width: min(1420px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.ys-testimonials-flip-layout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.25fr) !important;
  align-items: center !important;
  gap: clamp(48px, 6vw, 98px) !important;
}

.ys-testimonials-copy {
  position: relative !important;
  z-index: 3 !important;
  max-width: 520px !important;
}

.ys-testimonials-copy .ys-section-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  margin: 0 0 18px !important;
  color: #f2b94b !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
}

.ys-testimonials-copy .ys-section-label::before {
  content: "" !important;
  width: 38px !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: linear-gradient(90deg, #f2b94b, #ef4444) !important;
}

.ys-testimonials-copy h2 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(48px, 5.6vw, 82px) !important;
  line-height: 0.96 !important;
  letter-spacing: -3.4px !important;
  text-wrap: balance !important;
}

.ys-testimonials-copy>p:last-child {
  max-width: 470px !important;
  margin: 24px 0 0 !important;
  color: rgba(226, 237, 247, 0.76) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* Right board */
.ys-testimonials-board-wrap {
  position: relative !important;
  z-index: 3 !important;
  min-width: 0 !important;
}

.ys-testimonials-board-wrap::before {
  content: "" !important;
  position: absolute !important;
  left: -38px !important;
  right: 44px !important;
  top: 92px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(242, 185, 75, 0.34), transparent) !important;
  opacity: 0.85 !important;
  pointer-events: none !important;
}

.ys-testimonials-board-wrap::after {
  content: "" !important;
  position: absolute !important;
  right: -60px !important;
  bottom: -70px !important;
  width: 280px !important;
  height: 280px !important;
  border-radius: 50% !important;
  background: rgba(242, 185, 75, 0.11) !important;
  filter: blur(18px) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.ys-testimonial-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
}

.ys-testimonial-counter {
  min-width: 86px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: 3px !important;
}

.ys-testimonial-controls {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.ys-testimonial-arrow {
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease !important;
}

.ys-testimonial-arrow:hover,
.ys-testimonial-arrow:focus-visible {
  background: #f2b94b !important;
  color: #061826 !important;
  border-color: rgba(242, 185, 75, 0.8) !important;
  transform: translateY(-2px) scale(1.04) !important;
  outline: none !important;
}

.ys-testimonial-dots {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
}

.ys-testimonial-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.24) !important;
  border: 0 !important;
  cursor: pointer !important;
  transition:
    width 0.24s ease,
    background 0.24s ease,
    transform 0.24s ease !important;
}

.ys-testimonial-dot.active {
  width: 32px !important;
  background: #ef4444 !important;
}

.ys-testimonial-dot:hover {
  transform: scale(1.2) !important;
}

/* Stage */
.ys-testimonial-stage {
  position: relative !important;
  min-height: 510px !important;
  display: flex !important;
  align-items: center !important;
}

.ys-testimonial-stage::before {
  content: "" !important;
  position: absolute !important;
  left: -54px !important;
  top: 28px !important;
  width: 260px !important;
  height: 260px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 52%, transparent 53%),
    linear-gradient(135deg, rgba(242, 185, 75, 0.36), rgba(239, 68, 68, 0.24)) !important;
  opacity: 0.14 !important;
  pointer-events: none !important;
}

.ys-testimonial-stage::after {
  content: "" !important;
  position: absolute !important;
  right: 42px !important;
  bottom: -24px !important;
  width: 160px !important;
  height: 160px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  pointer-events: none !important;
}

/* Card */
.ys-testimonial-flip-card {
  position: relative !important;
  width: min(720px, 100%) !important;
  min-height: 450px !important;
  padding: 48px 50px 42px !important;
  border-radius: 42px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 92% 10%, rgba(239, 68, 68, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.96)) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  color: #062b46 !important;
  transform: translateZ(0) !important;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease !important;
}

.ys-testimonial-flip-card:hover {
  transform: translateY(-8px) translateZ(0) !important;
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.ys-testimonial-card-glow {
  position: absolute !important;
  right: -90px !important;
  top: -100px !important;
  width: 260px !important;
  height: 260px !important;
  border-radius: 50% !important;
  background: rgba(239, 68, 68, 0.16) !important;
  filter: blur(12px) !important;
  pointer-events: none !important;
}

.ys-testimonial-card-head {
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 34px !important;
}

.ys-testimonial-chip {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: rgba(239, 68, 68, 0.11) !important;
  color: #ef4444 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
}

.ys-testimonial-quote-mark {
  position: relative !important;
  z-index: 2 !important;
  height: 48px !important;
  margin-bottom: 16px !important;
  color: rgba(6, 43, 70, 0.09) !important;
  font-size: 118px !important;
  font-weight: 950 !important;
  line-height: 0.7 !important;
  font-family: var(--ys-font-body) !important;
}

.ys-testimonial-quote {
  position: relative !important;
  z-index: 2 !important;
  min-height: 148px !important;
  margin: 0 !important;
  color: #17364b !important;
  font-size: clamp(20px, 1.55vw, 25px) !important;
  line-height: 1.62 !important;
  font-weight: 650 !important;
  letter-spacing: -0.35px !important;
}

.ys-testimonial-footer {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-top: 42px !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(6, 43, 70, 0.1) !important;
}

.ys-testimonial-avatar {
  width: 76px !important;
  height: 76px !important;
  flex: 0 0 76px !important;
  border-radius: 50% !important;
  padding: 5px !important;
  background: linear-gradient(135deg, #f2b94b, #ef4444) !important;
  box-shadow: 0 18px 34px rgba(6, 43, 70, 0.18) !important;
}

.ys-testimonial-avatar img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  filter: grayscale(1) contrast(1.08) !important;
  background: #ffffff !important;
}

.ys-testimonial-meta h3 {
  margin: 0 !important;
  color: #061826 !important;
  font-size: 24px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: -0.7px !important;
}

.ys-testimonial-meta p {
  margin: 7px 0 0 !important;
  color: rgba(6, 43, 70, 0.62) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
}

/* JS animation classes from your existing script */
.ys-testimonial-flip-card.is-sliding-next {
  animation: ysTestimonialNext 0.52s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.ys-testimonial-flip-card.is-sliding-prev {
  animation: ysTestimonialPrev 0.52s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@keyframes ysTestimonialNext {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  42% {
    opacity: 0;
    transform: translateX(-34px) scale(0.98);
  }

  43% {
    opacity: 0;
    transform: translateX(34px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes ysTestimonialPrev {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  42% {
    opacity: 0;
    transform: translateX(34px) scale(0.98);
  }

  43% {
    opacity: 0;
    transform: translateX(-34px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .ys-testimonials-flip-layout {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  .ys-testimonials-copy {
    max-width: 760px !important;
  }

  .ys-testimonial-stage {
    min-height: auto !important;
  }

  .ys-testimonial-flip-card {
    width: 100% !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {
  .ys-testimonials-flip-section {
    padding: 76px 0 86px !important;
  }

  .ys-testimonials-flip-section .ys-container {
    width: min(100% - 28px, 520px) !important;
  }

  .ys-testimonials-flip-layout {
    gap: 30px !important;
  }

  .ys-testimonials-copy h2 {
    max-width: 340px !important;
    font-size: 39px !important;
    line-height: 1.02 !important;
    letter-spacing: -1.6px !important;
  }

  .ys-testimonials-copy>p:last-child {
    max-width: 340px !important;
    margin-top: 16px !important;
    font-size: 14.5px !important;
    line-height: 1.62 !important;
  }

  .ys-testimonial-topbar {
    align-items: center !important;
    margin-bottom: 16px !important;
  }

  .ys-testimonial-counter {
    font-size: 11px !important;
    letter-spacing: 2px !important;
  }

  .ys-testimonial-controls {
    gap: 8px !important;
  }

  .ys-testimonial-arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 17px !important;
  }

  .ys-testimonial-dots {
    gap: 6px !important;
  }

  .ys-testimonial-dot {
    width: 7px !important;
    height: 7px !important;
  }

  .ys-testimonial-dot.active {
    width: 22px !important;
  }

  .ys-testimonial-stage::before,
  .ys-testimonial-stage::after,
  .ys-testimonials-board-wrap::before {
    display: none !important;
  }

  .ys-testimonial-flip-card {
    min-height: auto !important;
    padding: 28px 22px 24px !important;
    border-radius: 30px !important;
  }

  .ys-testimonial-card-head {
    margin-bottom: 24px !important;
  }

  .ys-testimonial-chip {
    min-height: 32px !important;
    padding: 0 13px !important;
    font-size: 10.5px !important;
  }

  .ys-testimonial-quote-mark {
    height: 34px !important;
    margin-bottom: 12px !important;
    font-size: 78px !important;
  }

  .ys-testimonial-quote {
    min-height: 124px !important;
    font-size: 16.5px !important;
    line-height: 1.62 !important;
    font-weight: 650 !important;
  }

  .ys-testimonial-footer {
    margin-top: 28px !important;
    padding-top: 20px !important;
    gap: 14px !important;
  }

  .ys-testimonial-avatar {
    width: 62px !important;
    height: 62px !important;
    flex-basis: 62px !important;
  }

  .ys-testimonial-meta h3 {
    font-size: 20px !important;
  }

  .ys-testimonial-meta p {
    font-size: 10px !important;
    letter-spacing: 2.2px !important;
  }
}

@media (max-width: 380px) {
  .ys-testimonials-flip-section .ys-container {
    width: calc(100% - 22px) !important;
  }

  .ys-testimonials-copy h2 {
    font-size: 35px !important;
  }

  .ys-testimonial-flip-card {
    padding: 25px 19px 22px !important;
  }

  .ys-testimonial-quote {
    font-size: 15.5px !important;
  }
}

/* =========================================================
   TESTIMONIALS - DARK THEME CLEAN SINGLE CARD
   Paste at very bottom of home.css
========================================================= */

.ys-testimonials-story-section {
  position: relative !important;
  padding: 100px 0 112px !important;
  background:
    radial-gradient(circle at 10% 18%, rgba(242, 185, 75, 0.13), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(239, 68, 68, 0.15), transparent 32%),
    linear-gradient(135deg, #061826 0%, #082033 46%, #04111d 100%) !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.ys-testimonials-story-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) !important;
  background-size: 52px 52px !important;
  opacity: 0.28 !important;
  mask-image: linear-gradient(to bottom, black, transparent 88%) !important;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%) !important;
  z-index: -2 !important;
}

.ys-testimonials-story-section::after {
  content: "TESTIMONIALS" !important;
  position: absolute !important;
  left: 50% !important;
  top: 42px !important;
  transform: translateX(-50%) !important;
  color: rgba(255, 255, 255, 0.035) !important;
  font-size: clamp(80px, 10vw, 170px) !important;
  font-weight: 950 !important;
  letter-spacing: -6px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.ys-testimonials-story-shell {
  width: min(1220px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

/* Heading */
.ys-testimonials-story-heading {
  max-width: 780px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
}

.ys-testimonials-story-heading .ys-section-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
  color: #f2b94b !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 2.2px !important;
  text-transform: uppercase !important;
}

.ys-testimonials-story-heading .ys-section-label::before,
.ys-testimonials-story-heading .ys-section-label::after {
  content: "" !important;
  width: 30px !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: linear-gradient(90deg, #f2b94b, #ef4444) !important;
}

.ys-testimonials-story-heading h2 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(48px, 5.5vw, 82px) !important;
  line-height: 0.95 !important;
  letter-spacing: -3px !important;
  text-transform: uppercase !important;
}

.ys-testimonials-story-heading>p:last-child {
  max-width: 560px !important;
  margin: 18px auto 0 !important;
  color: rgba(226, 237, 247, 0.74) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Remove portrait rail */
.ys-story-line,
.ys-story-portraits {
  display: none !important;
}

/* Controls */
.ys-testimonials-story-controls {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  margin: 0 0 32px !important;
}

.ys-story-arrow {
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.11) !important;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24) !important;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.ys-story-arrow:hover,
.ys-story-arrow:focus-visible {
  background: #f2b94b !important;
  color: #061826 !important;
  border-color: rgba(242, 185, 75, 0.85) !important;
  transform: translateY(-2px) scale(1.04) !important;
  outline: none !important;
}

.ys-story-dots {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ys-story-dot {
  width: 10px !important;
  height: 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.24) !important;
  cursor: pointer !important;
  transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease !important;
}

.ys-story-dot.active {
  width: 32px !important;
  background: #ef4444 !important;
}

.ys-story-dot:hover {
  transform: scale(1.15) !important;
}

/* Stage */
.ys-testimonials-story-stage {
  position: relative !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Main testimonial card */
.ys-story-active-card {
  position: relative !important;
  z-index: 2 !important;
  width: min(980px, 100%) !important;
  min-height: 360px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 48px !important;
  padding: 48px 58px !important;
  border-radius: 42px !important;
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.052)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  transition: transform 0.35s ease, opacity 0.35s ease !important;
  will-change: transform, opacity !important;
}

.ys-story-active-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 46px !important;
  bottom: 46px !important;
  width: 6px !important;
  border-radius: 0 99px 99px 0 !important;
  background: linear-gradient(180deg, #f2b94b, #ef4444) !important;
}

.ys-story-active-card::after {
  content: "“" !important;
  position: absolute !important;
  right: 46px !important;
  top: 18px !important;
  color: rgba(255, 255, 255, 0.055) !important;
  font-size: 170px !important;
  font-family: var(--ys-font-body) !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

/* Image */
.ys-story-active-image {
  width: 230px !important;
  height: 230px !important;
  border-radius: 50% !important;
  padding: 14px !important;
  background: linear-gradient(135deg, #f2b94b, #ef4444) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 0 12px rgba(255, 255, 255, 0.045) !important;
}

.ys-story-active-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  filter: none !important;
  background: #ffffff !important;
}

/* Content */
.ys-story-active-content {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
}

.ys-story-chip {
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 16px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(242, 185, 75, 0.12) !important;
  border: 1px solid rgba(242, 185, 75, 0.22) !important;
  color: #f2b94b !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
}

.ys-story-active-content h3 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -1.2px !important;
  text-transform: uppercase !important;
}

.ys-story-role {
  margin: 8px 0 22px !important;
  color: rgba(226, 237, 247, 0.72) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
}

.ys-story-quote {
  max-width: 650px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(20px, 1.8vw, 26px) !important;
  line-height: 1.48 !important;
  font-style: italic !important;
  letter-spacing: -0.35px !important;
}

.ys-story-link {
  margin-top: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #f2b94b !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.ys-story-link:hover {
  color: #ffffff !important;
}

/* Card change animation */
.ys-story-active-card.is-next {
  animation: ysStoryDarkNext 0.52s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.ys-story-active-card.is-prev {
  animation: ysStoryDarkPrev 0.52s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@keyframes ysStoryDarkNext {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }

  42% {
    opacity: 0;
    transform: translate3d(-28px, 0, 0) scale3d(0.985, 0.985, 1);
  }

  43% {
    opacity: 0;
    transform: translate3d(28px, 0, 0) scale3d(0.985, 0.985, 1);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

@keyframes ysStoryDarkPrev {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }

  42% {
    opacity: 0;
    transform: translate3d(28px, 0, 0) scale3d(0.985, 0.985, 1);
  }

  43% {
    opacity: 0;
    transform: translate3d(-28px, 0, 0) scale3d(0.985, 0.985, 1);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .ys-story-active-card {
    grid-template-columns: 190px minmax(0, 1fr) !important;
    gap: 30px !important;
    padding: 42px 38px !important;
  }

  .ys-story-active-image {
    width: 180px !important;
    height: 180px !important;
  }

  .ys-story-quote {
    font-size: 20px !important;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .ys-testimonials-story-section {
    padding: 70px 0 82px !important;
  }

  .ys-testimonials-story-section::after {
    top: 38px !important;
    font-size: 62px !important;
    letter-spacing: -2px !important;
  }

  .ys-testimonials-story-shell {
    width: min(100% - 26px, 520px) !important;
  }

  .ys-testimonials-story-heading {
    margin-bottom: 24px !important;
  }

  .ys-testimonials-story-heading .ys-section-label {
    font-size: 10.5px !important;
    letter-spacing: 1.8px !important;
  }

  .ys-testimonials-story-heading .ys-section-label::before,
  .ys-testimonials-story-heading .ys-section-label::after {
    width: 24px !important;
  }

  .ys-testimonials-story-heading h2 {
    font-size: 39px !important;
    line-height: 0.98 !important;
    letter-spacing: -1.5px !important;
  }

  .ys-testimonials-story-heading>p:last-child {
    margin-top: 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .ys-testimonials-story-controls {
    gap: 12px !important;
    margin-bottom: 22px !important;
  }

  .ys-story-arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 24px !important;
  }

  .ys-story-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .ys-story-dot.active {
    width: 24px !important;
  }

  .ys-story-active-card {
    width: 100% !important;
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 30px 24px 28px !important;
    border-radius: 34px !important;
    text-align: left !important;
  }

  .ys-story-active-card::before {
    top: 28px !important;
    bottom: 28px !important;
    width: 5px !important;
  }

  .ys-story-active-card::after {
    right: 24px !important;
    top: 14px !important;
    font-size: 90px !important;
  }

  .ys-story-active-image {
    width: 145px !important;
    height: 145px !important;
    margin: 0 auto !important;
    padding: 10px !important;
  }

  .ys-story-chip {
    margin-bottom: 13px !important;
    font-size: 10px !important;
  }

  .ys-story-active-content h3 {
    font-size: 25px !important;
  }

  .ys-story-role {
    margin-bottom: 17px !important;
    font-size: 13px !important;
  }

  .ys-story-quote {
    font-size: 16.5px !important;
    line-height: 1.55 !important;
  }

  .ys-story-link {
    margin-top: 22px !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   1. UNIVERSAL BLOB CROP FIX (iOS Safari, iOS Chrome, Android)
========================================================= */
.ys-hero-clean .ys-blob-shape {
  overflow: hidden !important;
  /* Forces Apple browsers to clip the image to the blob shape */
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  mask-image: radial-gradient(white, black) !important;

  /* Forces hardware acceleration to stop glitching during animations */
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;

  /* Forces Chrome to respect the parent boundaries */
  isolation: isolate !important;
  z-index: 1 !important;
}

.ys-hero-clean .ys-hero-image-slider {
  border-radius: inherit !important;
  overflow: hidden !important;
  /* Removed transforms here to prevent iOS Chrome from breaking the mask */
}


/* =========================================================
   2. BULLETPROOF MOBILE HERO (Catches ALL phones up to 767px)
========================================================= */
@media (max-width: 767px) {
  .ys-hero-clean {
    padding-top: 110px !important;
  }

  /* GRID layout completely stops the Android right-shift bug */
  .ys-hero-clean .ys-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
  }

  .ys-hero-clean .ys-hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Center text perfectly */
  .ys-hero-clean .ys-badge {
    margin: 0 auto 16px auto !important;
  }

  .ys-hero-clean .ys-title {
    font-size: clamp(30px, 9vw, 38px) !important;
    margin-bottom: 12px !important;
  }

  .ys-hero-clean .ys-desc {
    margin: 0 auto 20px auto !important;
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  /* Sleek, compact side-by-side Intranet buttons on mobile */
  .ys-hero-clean .ys-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 310px !important;
    margin: 0 auto 16px !important;
  }

  .ys-hero-clean .ys-btn {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    min-height: 40px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
  }

  /* Blob Size and Centering */
  .ys-hero-clean .ys-image-wrapper {
    max-width: 360px !important;
    width: 95% !important;
    margin: 0 auto !important;
  }

  .ys-hero-clean .card-bottom-right {
    /* 1. Goal: Narrower and Slimmer (less 'fat') */
    width: max-content !important;
    padding: 6px 14px !important;
    /* REDUCED vertical/horizontal padding for a slim look */
    border-radius: 10px !important;
    /* Slightly tighter corner radius fits the slimmer look */

    /* Child element text needs to be smaller to make the box truly narrow */
    font-size: 11px !important;

    /* 2. Goal: Further Right and Further Down */
    right: 0px !important;
    /* Pushed to the absolute edge of the image wrapper */
    left: auto !important;
    bottom: 10px !important;
    /* Pushed FURTHER DOWN closer to the bottom edge of the blob */

    /* 3. Goal: Maintain working features (do not touch) */
    transform: none !important;
    animation: ysFloatSoft 4.5s ease-in-out infinite !important;
    z-index: 10 !important;
  }

  .ys-hero-clean .card-bottom-right strong {
    font-size: 11px !important;
    margin: 0 !important;
  }
}

/* =========================================================
   EDITABLE TESTIMONIAL FIX - KEEP ORIGINAL OLD SIZING
   Works with .ys-testimonial-slide wrapper
========================================================= */

/* Keep original card size/design from old CSS */
/* Keep original card size/design from old CSS */
.ys-testimonials-story-section .ys-story-active-card {
  width: min(980px, 100%) !important;
  height: 400px !important;
  min-height: 400px !important;
  padding: 0 !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Hide all slides by default */
.ys-testimonials-story-section .ys-testimonial-slide {
  display: none !important;
}

/* Active slide becomes the original card internal grid */
.ys-testimonials-story-section .ys-testimonial-slide.active {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 44px 58px !important;
  box-sizing: border-box !important;

  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  align-items: center !important;
  align-content: center !important;
  gap: 48px !important;

  position: relative !important;
  z-index: 2 !important;
}

/* Keep original image sizing */
.ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-image {
  width: 230px !important;
  height: 230px !important;
  border-radius: 50% !important;
  padding: 14px !important;
  margin: 0 !important;
  background: linear-gradient(135deg, #f2b94b, #ef4444) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 0 12px rgba(255, 255, 255, 0.045) !important;
}

.ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  filter: none !important;
  background: #ffffff !important;
}

/* Keep original content sizing */
.ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-content {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
}

.ys-testimonials-story-section .ys-testimonial-slide .ys-story-chip {
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 14px !important;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  background: rgba(242, 185, 75, 0.12) !important;
  border: 1px solid rgba(242, 185, 75, 0.22) !important;
  color: #f2b94b !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  width: fit-content !important;
  white-space: nowrap !important;
}

.ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-content h3 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(28px, 2.8vw, 42px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: -1.2px !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.ys-testimonials-story-section .ys-testimonial-slide .ys-story-role {
  margin: 6px 0 18px !important;
  color: rgba(226, 237, 247, 0.72) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

.ys-testimonials-story-section .ys-testimonial-slide .ys-story-quote {
  max-width: 650px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(19px, 1.6vw, 24px) !important;
  line-height: 1.45 !important;
  font-style: italic !important;
  letter-spacing: -0.35px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Theme Content Editor wrappers should not break layout */
.ys-testimonials-story-section .ys-testimonial-slide .tce-editable,
.ys-testimonials-story-section .ys-testimonial-slide [data-editable] {
  display: inline !important;
  max-width: 100% !important;
  white-space: inherit !important;
  word-break: inherit !important;
  overflow-wrap: inherit !important;
}

.ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-image .tce-editable,
.ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-image [data-editable] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

/* Tablet: match old CSS with fixed height */
@media (max-width: 900px) {
  .ys-testimonials-story-section .ys-story-active-card {
    height: 410px !important;
    min-height: 410px !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide.active {
    height: 100% !important;
    min-height: 100% !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    gap: 28px !important;
    padding: 36px 32px !important;
    align-content: center !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-image {
    width: 170px !important;
    height: 170px !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide .ys-story-quote {
    font-size: 19px !important;
  }
}

/* Mobile: match old CSS with fixed height */
@media (max-width: 680px) {
  .ys-testimonials-story-section .ys-story-active-card {
    height: 480px !important;
    min-height: 480px !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide.active {
    height: 100% !important;
    min-height: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 28px 22px 24px !important;
    text-align: left !important;
    align-content: center !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-image {
    width: 135px !important;
    height: 135px !important;
    margin: 0 auto !important;
    padding: 8px !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide .ys-story-chip {
    margin-bottom: 10px !important;
    font-size: 10px !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide .ys-story-active-content h3 {
    font-size: 23px !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide .ys-story-role {
    margin-bottom: 12px !important;
    font-size: 13px !important;
  }

  .ys-testimonials-story-section .ys-testimonial-slide .ys-story-quote {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
  }
}
/* =========================================================
   INNER PAGE SECTIONS
   About / Joining / Learning / News
========================================================= */

/* -------------------------
   Values
------------------------- */

.ys-values-section {
  background: var(--ys-light);
}

.ys-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.ys-value-card {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
  transition: var(--ys-transition);
}

.ys-value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ys-shadow-md);
  border-color: rgba(229, 57, 53, 0.28);
}

.ys-value-card span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.1);
  font-size: 24px;
}

.ys-value-card h3 {
  margin-bottom: 10px;
  color: var(--ys-navy);
  font-size: 21px;
  line-height: 1.2;
}

.ys-value-card p {
  color: var(--ys-muted);
  font-size: 15px;
}

/* -------------------------
   Timeline
------------------------- */

.ys-timeline-section {
  background: var(--ys-white);
}

.ys-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.ys-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 31px;
  height: 2px;
  background: linear-gradient(90deg, var(--ys-red), var(--ys-navy-soft));
}

.ys-timeline-item {
  position: relative;
  padding: 72px 22px 24px;
  border-radius: var(--ys-radius-md);
  background: var(--ys-light);
  border: 1px solid var(--ys-border);
  transition: var(--ys-transition);
}

.ys-timeline-item::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ys-red);
  border: 5px solid var(--ys-white);
  box-shadow: 0 0 0 5px rgba(229, 57, 53, 0.12);
  z-index: 2;
}

.ys-timeline-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--ys-shadow-md);
  background: var(--ys-white);
}

.ys-timeline-item span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--ys-red);
  font-weight: 950;
  font-size: 18px;
}

.ys-timeline-item h3 {
  margin-bottom: 8px;
  color: var(--ys-navy);
  font-size: 21px;
}

.ys-timeline-item p {
  color: var(--ys-muted);
  font-size: 14px;
}

/* -------------------------
   Numbers
------------------------- */

.ys-numbers-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(229, 57, 53, 0.08), transparent 35%),
    var(--ys-light);
}

.ys-numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.ys-number-card {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
  text-align: center;
  transition: var(--ys-transition);
}

.ys-number-card:hover {
  transform: translateY(-8px);
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-number-card strong,
.ys-number-card span {
  color: var(--ys-red);
  font-size: 38px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -1.2px;
}

.ys-number-card p {
  margin-top: 12px;
  color: inherit;
  font-size: 14px;
  font-weight: 850;
}

/* -------------------------
   Facilities
------------------------- */

.ys-facilities-section {
  background: var(--ys-white);
}

.ys-facilities-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 20px;
}

.ys-facility-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ys-radius-lg);
  box-shadow: var(--ys-shadow-sm);
}

.ys-facility-card.large {
  grid-row: span 2;
}

.ys-facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.ys-facility-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 27, 45, 0.88), rgba(3, 27, 45, 0.05));
}

.ys-facility-card:hover img {
  transform: scale(1.08);
}

.ys-facility-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: var(--ys-white);
}

.ys-facility-card h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.ys-facility-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* -------------------------
   Student Life
------------------------- */

.ys-life-section {
  background: var(--ys-light);
}

.ys-life-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}

.ys-life-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
}

.ys-life-image {
  min-height: 520px;
  overflow: hidden;
}

.ys-life-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-life-content {
  padding: 42px;
}

.ys-life-content h2,
.ys-safeguarding-card h2 {
  margin-bottom: 18px;
  color: var(--ys-navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.4px;
}

.ys-life-content p:not(.ys-section-label),
.ys-safeguarding-card p:not(.ys-section-label) {
  color: var(--ys-muted);
  font-size: 16px;
}

.ys-life-features {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.ys-life-features div {
  padding: 16px;
  border-radius: 18px;
  background: var(--ys-light);
}

.ys-life-features strong {
  display: block;
  color: var(--ys-navy);
}

.ys-life-features span {
  color: var(--ys-muted);
  font-size: 14px;
}

.ys-safeguarding-card {
  padding: 36px;
  border-radius: var(--ys-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.12), transparent 34%),
    var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
}

.ys-safeguarding-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.ys-safeguarding-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  background: var(--ys-light);
  color: var(--ys-navy);
  font-weight: 850;
  transition: var(--ys-transition);
}

.ys-safeguarding-list a:hover {
  background: var(--ys-navy);
  color: var(--ys-white);
  transform: translateX(5px);
}

/* =========================================================
   JOINING PAGE
========================================================= */

.ys-admission-journey-section {
  background: var(--ys-light);
}

.ys-journey-card {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  padding: 36px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-md);
}

.ys-journey-intro h2 {
  margin-bottom: 14px;
  color: var(--ys-navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.ys-journey-intro p:not(.ys-section-label) {
  color: var(--ys-muted);
}

.ys-journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ys-journey-steps article {
  position: relative;
  padding: 24px 18px;
  border-radius: 22px;
  background: var(--ys-light);
  transition: var(--ys-transition);
}

.ys-journey-steps article:hover {
  transform: translateY(-7px);
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-journey-steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--ys-red);
  font-size: 14px;
  font-weight: 950;
}

.ys-journey-steps h3 {
  margin-bottom: 8px;
  color: inherit;
  font-size: 20px;
}

.ys-journey-steps p {
  color: inherit;
  font-size: 14px;
}

/* -------------------------
   Open Events
------------------------- */

.ys-open-events-section {
  background: var(--ys-white);
}

.ys-open-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ys-open-event-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
  transition: var(--ys-transition);
}

.ys-open-event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ys-shadow-md);
  border-color: rgba(229, 57, 53, 0.25);
}

.ys-open-date {
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ys-navy);
  color: var(--ys-white);
  text-align: center;
}

.ys-open-date span,
.ys-open-date small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.ys-open-date strong {
  color: var(--ys-red);
  font-size: 30px;
  line-height: 1;
}

.ys-open-event-card h3 {
  margin-bottom: 4px;
  color: var(--ys-navy);
  font-size: 22px;
  line-height: 1.2;
}

.ys-open-time {
  color: var(--ys-red);
  font-weight: 850;
}

.ys-open-event-card p {
  margin: 8px 0 12px;
  color: var(--ys-muted);
  font-size: 14px;
}

/* -------------------------
   Entry Cards
------------------------- */

.ys-entry-section {
  background: var(--ys-light);
}

.ys-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ys-entry-card {
  overflow: hidden;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
}

.ys-entry-image {
  height: 300px;
  overflow: hidden;
}

.ys-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.ys-entry-card:hover .ys-entry-image img {
  transform: scale(1.07);
}

.ys-entry-content {
  padding: 34px;
}

.ys-entry-content h2,
.ys-apply-card h2,
.ys-download-card h2,
.ys-faq-card h2 {
  margin-bottom: 16px;
  color: var(--ys-navy);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.ys-entry-content p:not(.ys-section-label),
.ys-apply-card p:not(.ys-section-label) {
  color: var(--ys-muted);
}

.ys-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  list-style: none;
}

.ys-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ys-navy);
  font-weight: 800;
}

.ys-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ys-red);
  font-weight: 950;
}

/* -------------------------
   Apply / Downloads / FAQ
------------------------- */

.ys-apply-section {
  background: var(--ys-white);
}

.ys-apply-grid,
.ys-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ys-apply-card,
.ys-download-card,
.ys-faq-card,
.ys-parent-quote {
  padding: 36px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
}

.ys-apply-options,
.ys-download-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.ys-apply-options a,
.ys-download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--ys-light);
  transition: var(--ys-transition);
}

.ys-apply-options a:hover,
.ys-download-list a:hover {
  background: var(--ys-navy);
  color: var(--ys-white);
  transform: translateX(5px);
}

.ys-apply-options span,
.ys-download-list strong {
  color: inherit;
  font-weight: 900;
}

.ys-apply-options strong,
.ys-download-list em {
  color: var(--ys-red);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.ys-download-list span {
  display: block;
  color: var(--ys-muted);
  font-size: 13px;
}

.ys-download-list a:hover span {
  color: rgba(255, 255, 255, 0.72);
}

/* FAQ */

.ys-faq-section {
  background: var(--ys-light);
}

.ys-accordion {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.ys-accordion-item {
  overflow: hidden;
  border-radius: 18px;
  background: var(--ys-light);
  border: 1px solid var(--ys-border);
}

.ys-accordion-btn {
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ys-navy);
  font-size: 16px;
  font-weight: 900;
  text-align: left;
}

.ys-accordion-btn span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ys-white);
  color: var(--ys-red);
  flex: 0 0 auto;
  transition: var(--ys-transition);
}

.ys-accordion-item.active .ys-accordion-btn span {
  transform: rotate(45deg);
  background: var(--ys-red);
  color: var(--ys-white);
}

.ys-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.ys-accordion-content p {
  padding: 0 20px 20px;
  color: var(--ys-muted);
}

.ys-parent-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.1), transparent 35%),
    var(--ys-white);
}

.ys-parent-quote p {
  margin-bottom: 24px;
  color: var(--ys-navy);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 800;
}

.ys-parent-quote strong {
  display: block;
  color: var(--ys-navy);
}

.ys-parent-quote span {
  color: var(--ys-muted);
}

/* =========================================================
   LEARNING PAGE
========================================================= */

.ys-learning-links-section {
  position: relative;
  z-index: 5;
  margin-top: -42px;
  padding: 0 0 70px;
}

.ys-learning-links-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-lg);
}

.ys-learning-links-card a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--ys-border);
  transition: var(--ys-transition);
}

.ys-learning-links-card a:last-child {
  border-right: 0;
}

.ys-learning-links-card a:hover {
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-learning-links-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.1);
  flex: 0 0 auto;
}

.ys-learning-links-card strong {
  display: block;
  color: inherit;
  font-size: 16px;
}

.ys-learning-links-card small {
  color: var(--ys-muted);
  font-weight: 800;
}

.ys-learning-links-card a:hover small {
  color: rgba(255, 255, 255, 0.72);
}

/* Calendar dashboard */

.ys-learning-dashboard-section {
  background: var(--ys-light);
  padding-top: 30px;
}

.ys-learning-dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}

.ys-full-calendar-card,
.ys-upcoming-events-card,
.ys-info-card,
.ys-resource-card {
  padding: 32px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
}

.ys-calendar-controls {
  display: flex;
  gap: 8px;
}

.ys-calendar-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ys-light);
  color: var(--ys-navy);
  font-weight: 900;
  transition: var(--ys-transition);
}

.ys-calendar-controls button:hover {
  background: var(--ys-red);
  color: var(--ys-white);
}

.ys-calendar-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--ys-light);
}

.ys-calendar-tabs button {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ys-muted);
  font-weight: 900;
}

.ys-calendar-tabs button.active {
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
}

.ys-calendar-grid > strong {
  color: var(--ys-muted);
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
}

.ys-calendar-grid > div {
  min-height: 92px;
  padding: 10px;
  border-radius: 14px;
  background: var(--ys-light);
  border: 1px solid transparent;
  transition: var(--ys-transition);
}

.ys-calendar-grid > div:hover {
  background: var(--ys-white);
  border-color: rgba(229, 57, 53, 0.25);
  box-shadow: var(--ys-shadow-sm);
}

.ys-calendar-grid > div.muted {
  color: #a8b3bf;
}

.ys-calendar-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--ys-navy);
  font-weight: 950;
}

.ys-calendar-grid em {
  display: inline-flex;
  padding: 5px 7px;
  border-radius: 8px;
  background: var(--ys-navy-soft);
  color: var(--ys-white);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.ys-calendar-grid em.red {
  background: var(--ys-red);
}

.ys-calendar-grid .active-day {
  background: var(--ys-navy);
}

.ys-calendar-grid .active-day span {
  color: var(--ys-white);
}

/* Upcoming list */

.ys-upcoming-list {
  display: grid;
  gap: 14px;
}

.ys-upcoming-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: var(--ys-light);
  transition: var(--ys-transition);
}

.ys-upcoming-list article:hover {
  transform: translateX(5px);
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-event-date-box {
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-event-date-box.red {
  background: var(--ys-red);
}

.ys-event-date-box span {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1px;
}

.ys-event-date-box strong {
  margin-top: -12px;
  font-size: 26px;
  line-height: 1;
}

.ys-upcoming-list h3 {
  color: inherit;
  font-size: 18px;
}

.ys-upcoming-list p {
  color: inherit;
  font-size: 13px;
  opacity: 0.78;
}

.ys-upcoming-list small {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.12);
  color: var(--ys-red);
  font-weight: 900;
}

.ys-upcoming-list article:hover small {
  background: rgba(255, 255, 255, 0.15);
  color: var(--ys-white);
}

/* Info cards */

.ys-info-section {
  background: var(--ys-white);
}

.ys-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ys-info-card h2 {
  margin-bottom: 22px;
  color: var(--ys-navy);
  font-size: 32px;
  line-height: 1.1;
}

.ys-term-list,
.ys-school-day-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.ys-term-list div,
.ys-school-day-list div {
  padding: 16px;
  border-radius: 16px;
  background: var(--ys-light);
}

.ys-term-list strong,
.ys-school-day-list strong {
  display: block;
  color: var(--ys-navy);
}

.ys-term-list span,
.ys-school-day-list span {
  display: block;
  color: var(--ys-muted);
}

.ys-term-list small {
  display: block;
  color: var(--ys-red);
  font-weight: 850;
}

.ys-parent-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}

.ys-parent-links-grid a {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--ys-light);
  color: var(--ys-navy);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: var(--ys-transition);
}

.ys-parent-links-grid a:hover {
  background: var(--ys-red);
  color: var(--ys-white);
  transform: translateY(-4px);
}

/* Resources */

.ys-resources-section {
  background: var(--ys-light);
}

.ys-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ys-resource-card {
  transition: var(--ys-transition);
}

.ys-resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ys-shadow-md);
}

.ys-resource-card span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.1);
  font-size: 24px;
}

.ys-resource-card h3 {
  margin-bottom: 10px;
  color: var(--ys-navy);
  font-size: 22px;
}

.ys-resource-card p {
  color: var(--ys-muted);
}

.ys-resource-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ys-red);
  font-weight: 900;
}

/* Enrichment */

.ys-enrichment-section {
  background: var(--ys-white);
}

.ys-enrichment-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 270px;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 20px;
  scrollbar-width: none;
}

.ys-enrichment-row::-webkit-scrollbar {
  display: none;
}

.ys-enrichment-card {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: var(--ys-radius-lg);
  scroll-snap-align: start;
  box-shadow: var(--ys-shadow-sm);
}

.ys-enrichment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.ys-enrichment-card:hover img {
  transform: scale(1.08);
}

.ys-enrichment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 27, 45, 0.88), transparent 65%);
}

.ys-enrichment-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  color: var(--ys-white);
}

.ys-enrichment-card h3 {
  font-size: 22px;
  line-height: 1.15;
}

.ys-enrichment-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   NEWS PAGE
========================================================= */

.ys-results-summary-section {
  position: relative;
  z-index: 5;
  margin-top: -45px;
  padding: 0 0 80px;
}

.ys-results-summary-card {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 30px;
  padding: 34px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-lg);
}

.ys-results-summary-intro h2 {
  margin-bottom: 14px;
  color: var(--ys-navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.ys-results-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ys-results-summary-grid div {
  min-height: 150px;
  padding: 18px;
  border-radius: 20px;
  background: var(--ys-light);
  text-align: center;
  transition: var(--ys-transition);
}

.ys-results-summary-grid div:hover {
  transform: translateY(-6px);
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-results-summary-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 25px;
}

.ys-results-summary-grid strong {
  display: block;
  color: var(--ys-red);
  font-size: 28px;
  line-height: 1;
}

.ys-results-summary-grid p {
  margin-top: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 850;
}

/* Featured news */

.ys-featured-news-section {
  background: var(--ys-white);
}

.ys-featured-news-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 28px;
}

.ys-featured-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-white);
  border: 1px solid var(--ys-border);
  box-shadow: var(--ys-shadow-sm);
}

.ys-featured-story-image {
  min-height: 430px;
  overflow: hidden;
}

.ys-featured-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-featured-story-content {
  padding: 38px;
}

.ys-news-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--ys-red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ys-featured-story-content small {
  display: block;
  margin-bottom: 14px;
  color: var(--ys-muted);
  font-weight: 800;
}

.ys-featured-story-content h2 {
  margin-bottom: 16px;
  color: var(--ys-navy);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.ys-featured-story-content p {
  margin-bottom: 24px;
  color: var(--ys-muted);
}

.ys-latest-list {
  padding: 30px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-light);
  border: 1px solid var(--ys-border);
}

.ys-news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.ys-news-tabs button,
.ys-filter-chips button {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ys-white);
  color: var(--ys-muted);
  font-size: 13px;
  font-weight: 900;
  transition: var(--ys-transition);
}

.ys-news-tabs button.active,
.ys-news-tabs button:hover,
.ys-filter-chips button.active,
.ys-filter-chips button:hover {
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-latest-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ys-border);
}

.ys-latest-item img {
  width: 82px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
}

.ys-latest-item span {
  color: var(--ys-red);
  font-size: 12px;
  font-weight: 950;
}

.ys-latest-item h3 {
  color: var(--ys-navy);
  font-size: 16px;
  line-height: 1.25;
}

/* Filter */

.ys-news-filter-section {
  background: var(--ys-white);
  padding: 10px 0 20px;
}

.ys-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* News page grid */

.ys-news-page-grid-section {
  background: var(--ys-white);
  padding-top: 40px;
}

.ys-news-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ys-news-card.hidden {
  display: none;
}

/* Achievements */

.ys-achievements-section {
  background: var(--ys-light);
}

.ys-achievements-intro {
  max-width: 680px;
  margin-bottom: 34px;
}

.ys-achievements-intro h2 {
  margin-bottom: 16px;
  color: var(--ys-navy);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -1.6px;
}

.ys-achievements-intro h2 span {
  color: var(--ys-red);
}

.ys-achievements-intro p:not(.ys-section-label) {
  margin-bottom: 24px;
  color: var(--ys-muted);
  font-size: 17px;
}

.ys-achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ys-achievement-card {
  position: relative;
  overflow: hidden;
  height: 330px;
  border-radius: var(--ys-radius-lg);
  box-shadow: var(--ys-shadow-sm);
}

.ys-achievement-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.ys-achievement-card:hover img {
  transform: scale(1.08);
}

.ys-achievement-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 27, 45, 0.9), transparent 62%);
}

.ys-achievement-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  color: var(--ys-white);
}

.ys-achievement-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--ys-red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ys-achievement-card h3 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.15;
}

.ys-achievement-card a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 900;
}

/* Reports */

.ys-reports-section {
  background: var(--ys-white);
}

.ys-reports-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
}

.ys-reports-intro {
  padding: 34px;
  border-radius: var(--ys-radius-lg);
  background: var(--ys-light);
}

.ys-reports-intro h2 {
  margin-bottom: 16px;
  color: var(--ys-navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.ys-reports-intro p:not(.ys-section-label) {
  margin-bottom: 20px;
  color: var(--ys-muted);
}

.ys-report-list {
  display: grid;
  gap: 12px;
}

.ys-report-list a {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--ys-light);
  border: 1px solid var(--ys-border);
  transition: var(--ys-transition);
}

.ys-report-list a:hover {
  transform: translateX(6px);
  background: var(--ys-navy);
  color: var(--ys-white);
}

.ys-report-list a > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ys-red);
  color: var(--ys-white);
  font-size: 12px;
  font-weight: 950;
}

.ys-report-list strong {
  display: block;
  color: inherit;
}

.ys-report-list small {
  color: var(--ys-muted);
}

.ys-report-list a:hover small {
  color: rgba(255, 255, 255, 0.7);
}

.ys-report-list em {
  color: var(--ys-red);
  font-style: normal;
  font-weight: 950;
}

/* News quote */

.ys-news-quote-section {
  padding: 100px 0;
  background:
    radial-gradient(circle at top left, rgba(229, 57, 53, 0.16), transparent 32%),
    var(--ys-navy-dark);
}

.ys-news-quote-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px;
  border-radius: var(--ys-radius-lg);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ys-white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  backdrop-filter: blur(14px);
}

.ys-news-quote-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 800;
}

.ys-news-quote-card strong {
  display: block;
  color: var(--ys-white);
}

.ys-news-quote-card span:not(.ys-big-quote) {
  color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   REUSABLE INNER PAGE TEMPLATE SYSTEM
========================================================= */

.ys-inner-main {
  min-height: 60vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(229, 57, 53, 0.055), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 48%, #f4f7fb 100%);
}

.ys-inner-hero {
  position: relative;
  padding: 148px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(215, 168, 79, 0.24), transparent 28%),
    radial-gradient(circle at 14% 24%, rgba(229, 57, 53, 0.16), transparent 30%),
    linear-gradient(135deg, #061826 0%, #082033 46%, #04111d 100%);
  color: #ffffff;
}

.ys-inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.26;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.ys-inner-hero .ys-container {
  position: relative;
  z-index: 2;
}

.ys-inner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--ys-gold, #d7a84f);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.ys-inner-eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ys-gold, #d7a84f), var(--ys-red, #e53935));
}

.ys-inner-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(46px, 7vw, 94px);
  line-height: 0.95;
  letter-spacing: -3.5px;
}

.ys-inner-hero p:not(.ys-inner-eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(226, 237, 247, 0.82);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.7;
  font-weight: 600;
}

.ys-headteacher-hero-actions .ys-btn-red,
.ys-vv-hero-actions .ys-btn-red,
.ys-governors-hero-actions .ys-btn-red,
.ys-staff-hero-actions .ys-btn-red,
.ys-policies-hero-actions .ys-btn-primary,
.ys-compliance-hero-actions .ys-btn-primary,
.ys-info-hero-actions .ys-info-primary-link {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #f43f3b;
  color: #ffffff;
  border: 1px solid #f43f3b;
  box-shadow: 0 14px 30px rgba(244, 63, 59, 0.28);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ys-headteacher-hero-actions .ys-btn-red:hover,
.ys-vv-hero-actions .ys-btn-red:hover,
.ys-governors-hero-actions .ys-btn-red:hover,
.ys-staff-hero-actions .ys-btn-red:hover,
.ys-policies-hero-actions .ys-btn-primary:hover,
.ys-compliance-hero-actions .ys-btn-primary:hover,
.ys-info-hero-actions .ys-info-primary-link:hover {
  background: #d63532;
  border-color: #d63532;
  box-shadow: 0 18px 38px rgba(244, 63, 59, 0.36);
}

.ys-inner-content-section,
.ys-section-card-grid-section {
  padding: 72px 0 96px;
}

.ys-inner-content-card {
  width: 100%;
  padding: clamp(26px, 4vw, 52px);
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.96);
  box-shadow: 0 26px 76px rgba(3, 27, 45, 0.09);
}

.ys-inner-content {
  max-width: 890px;
  color: #24384a;
  font-size: 17px;
  line-height: 1.78;
}

.ys-inner-content > *:first-child {
  margin-top: 0;
}

.ys-inner-content > *:last-child {
  margin-bottom: 0;
}

.ys-inner-content h2,
.ys-inner-content h3,
.ys-inner-content h4 {
  margin: 1.45em 0 0.55em;
  color: var(--ys-navy, #062b46);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ys-inner-content h2 {
  font-size: clamp(30px, 3.6vw, 48px);
}

.ys-inner-content h3 {
  font-size: clamp(24px, 2.8vw, 34px);
}

.ys-inner-content p,
.ys-inner-content ul,
.ys-inner-content ol {
  margin-bottom: 1.1em;
}

.ys-inner-content ul,
.ys-inner-content ol {
  padding-left: 1.2em;
}

.ys-inner-content a {
  color: var(--ys-red, #e53935);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ys-inner-content img,
.ys-inner-content iframe,
.ys-inner-content embed,
.ys-inner-content object {
  max-width: 100%;
}

.ys-inner-content iframe,
.ys-inner-content embed,
.ys-inner-content object {
  border: 0;
}

.ys-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.ys-page-links a,
.ys-page-links span {
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ys-light, #f4f7fb);
  color: var(--ys-navy, #062b46);
  font-weight: 900;
}

.ys-page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.ys-section-directory-shell {
  margin-bottom: 34px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(220, 228, 236, 0.96);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 26px 76px rgba(3, 27, 45, 0.08);
}

.ys-section-directory-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(220, 228, 236, 0.96);
}

.ys-section-directory-head h2 {
  margin: 0;
  color: var(--ys-green, #006b3f);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ys-section-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ys-section-directory-card {
  position: relative;
  min-height: 100%;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(220, 228, 236, 0.72);
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 57, 53, 0.07), transparent 24%),
    #f5f8fb;
  overflow: hidden;
}

.ys-section-directory-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ys-green, #006b3f), var(--ys-gold, #d7a84f));
}

.ys-section-directory-card h3 {
  margin: 0 0 20px;
  color: var(--ys-navy, #062b46);
  font-size: clamp(21px, 1.6vw, 28px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ys-section-directory-card nav {
  display: grid;
  gap: 12px;
}

.ys-section-directory-card a {
  display: block;
  padding: 4px 0 4px 14px;
  color: #1d3245;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.22;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ys-section-directory-card a:hover,
.ys-section-directory-card a:focus-visible {
  color: var(--ys-red, #e53935);
  outline: none;
  transform: translateX(3px);
}

.ys-page-card {
  position: relative;
  min-height: 210px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.08), transparent 34%),
    #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.96);
  box-shadow: 0 14px 34px rgba(3, 27, 45, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ys-page-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 5px;
  border-radius: 0 99px 99px 0;
  background: linear-gradient(180deg, var(--ys-gold, #d7a84f), var(--ys-red, #e53935));
}

.ys-page-card span {
  position: relative;
  z-index: 2;
  color: var(--ys-navy, #062b46);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.7px;
}

.ys-page-card p {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  color: var(--ys-muted, #657384);
  font-size: 15px;
  line-height: 1.55;
}

.ys-page-card::after {
  content: ">";
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin-top: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ys-navy, #062b46);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  transition: background 0.28s ease, transform 0.28s ease;
}

.ys-page-card:hover,
.ys-page-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(229, 57, 53, 0.28);
  box-shadow: 0 28px 70px rgba(3, 27, 45, 0.14);
  outline: none;
}

.ys-page-card:hover::after,
.ys-page-card:focus-visible::after {
  background: var(--ys-red, #e53935);
  transform: translateX(4px);
}



.ys-section-landing-content {
  margin-top: 8px;
}

.ys-standard-layout,
.ys-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.ys-standard-feature-image {
  margin: calc(clamp(26px, 4vw, 52px) * -1) calc(clamp(26px, 4vw, 52px) * -1) 34px;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  background: #e9eff5;
}

.ys-standard-feature-image img {
  width: 100%;
  height: min(420px, 46vw);
  min-height: 260px;
  object-fit: cover;
}

.ys-related-links,
.ys-contact-details {
  position: sticky;
  top: 112px;
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(220, 228, 236, 0.96);
  box-shadow: 0 18px 45px rgba(3, 27, 45, 0.08);
}

.ys-related-links h2 {
  margin: 0 0 16px;
  color: var(--ys-navy, #062b46);
  font-size: 24px;
  line-height: 1.12;
}

.ys-related-links a,
.ys-contact-details div {
  display: block;
  padding: 16px;
  border-radius: 18px;
  background: var(--ys-light, #f4f7fb);
}

.ys-related-links a + a,
.ys-contact-details div + div {
  margin-top: 12px;
}

.ys-related-links span,
.ys-contact-details span {
  display: block;
  color: var(--ys-navy, #062b46);
  font-weight: 950;
  line-height: 1.2;
}

.ys-related-links p,
.ys-contact-details p,
.ys-contact-details a {
  display: block;
  margin: 8px 0 0;
  color: var(--ys-muted, #657384);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 750;
}

.ys-related-links a {
  transition: background 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.ys-related-links a:hover,
.ys-related-links a:focus-visible {
  background: var(--ys-navy, #062b46);
  transform: translateX(4px);
  outline: none;
}

.ys-related-links a:hover span,
.ys-related-links a:focus-visible span,
.ys-related-links a:hover p,
.ys-related-links a:focus-visible p {
  color: #ffffff;
}

.ys-documents-note {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(215, 168, 79, 0.18), transparent 32%),
    var(--ys-light, #f4f7fb);
  border-left: 5px solid var(--ys-gold, #d7a84f);
}

.ys-documents-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ys-navy, #062b46);
  font-size: 20px;
  font-weight: 950;
}

.ys-documents-note p {
  margin: 0;
  color: var(--ys-muted, #657384);
}

.ys-contact-layout {
  grid-template-columns: 340px minmax(0, 1fr);
}

.ys-contact-details {
  order: 0;
}

.ys-contact-details a {
  color: var(--ys-red, #e53935);
}

@media (max-width: 1024px) {
  .ys-section-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ys-page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ys-standard-layout,
  .ys-contact-layout {
    grid-template-columns: 1fr;
  }

  .ys-related-links,
  .ys-contact-details {
    position: static;
  }

  .ys-contact-details {
    order: -1;
  }
}

@media (max-width: 680px) {
  .ys-inner-hero {
    padding: 116px 0 48px;
  }

  .ys-inner-eyebrow {
    margin-bottom: 14px;
    font-size: 10.5px;
    letter-spacing: 1.7px;
  }

  .ys-inner-eyebrow::before {
    width: 28px;
  }

  .ys-inner-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1;
    letter-spacing: -1.7px;
  }

  .ys-inner-hero p:not(.ys-inner-eyebrow) {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.62;
  }

  .ys-inner-content-section,
  .ys-section-card-grid-section {
    padding: 42px 0 64px;
  }

  .ys-inner-content-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .ys-inner-content {
    font-size: 15px;
    line-height: 1.68;
  }

  .ys-page-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .ys-section-directory-shell {
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 24px;
  }

  .ys-section-directory-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .ys-section-directory-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ys-section-directory-card {
    padding: 22px;
    border-radius: 20px;
  }

  .ys-section-directory-card h3 {
    margin-bottom: 16px;
    font-size: 21px;
  }

  .ys-section-directory-card a {
    font-size: 17px;
  }

  .ys-page-card {
    min-height: 170px;
    padding: 23px 22px;
    border-radius: 22px;
  }

  .ys-page-card span {
    font-size: 21px;
  }

  .ys-standard-feature-image {
    margin: -24px -20px 24px;
    border-radius: 24px 24px 0 0;
  }

  .ys-standard-feature-image img {
    height: 240px;
    min-height: 220px;
  }

  .ys-related-links,
  .ys-contact-details {
    padding: 18px;
    border-radius: 22px;
  }
}
.ys-parents-page{--parents-navy:#061826;--parents-blue:#22335c;--parents-red:#f43f3b;--parents-gold:#f2b94b;--parents-muted:#5f7183;--parents-border:rgba(220, 228, 236, 0.95);background:#f6f9fc;color:#10283b;overflow-x:hidden;}.ys-parents-page *, .ys-parents-page *::before, .ys-parents-page *::after{box-sizing:border-box;}.ys-parents-page .ys-container{width:min(1400px, calc(100% - 48px));margin:0 auto;}.ys-parents-hero{position:relative;min-height:85vh;display:flex;align-items:center;padding:160px 0 170px;background:radial-gradient(circle at 76% 18%, rgba(215, 168, 79, 0.22), transparent 28%), radial-gradient(circle at 14% 24%, rgba(229, 57, 53, 0.16), transparent 30%), linear-gradient(135deg, #061826 0%, #082033 46%, #04111d 100%);color:#ffffff;overflow:hidden;}.ys-parents-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);background-size:32px 32px;opacity:0.55;}.ys-parents-hero::after{content:none;display:none;}.ys-parents-hero .ys-container{position:relative;z-index:2;}.ys-parents-hero .ys-parents-eyebrow{display:none;}.ys-parents-eyebrow{display:inline-flex;align-items:center;gap:13px;margin:0 0 18px;color:var(--parents-gold);font-size:13px;font-weight:950;letter-spacing:2px;text-transform:uppercase;}.ys-parents-eyebrow::before{content:"";width:40px;height:3px;border-radius:99px;background:linear-gradient(90deg, var(--parents-gold), var(--parents-red));}.ys-parents-hero h1{max-width:980px;margin:0;color:#ffffff;font-size:clamp(56px, 7.4vw, 112px);font-weight:950;line-height:0.94;letter-spacing:-0.04em;}.ys-parents-hero p:not(.ys-parents-eyebrow){max-width:760px;margin:26px 0 0;color:rgba(235, 243, 249, 0.86);font-size:clamp(18px, 1.45vw, 22px);line-height:1.6;}.ys-parents-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:38px;}.ys-parents-primary, .ys-parents-secondary, .ys-parents-tool-links a, .ys-parents-info-card a{min-height:50px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:13px;font-weight:950;letter-spacing:1px;text-decoration:none;text-transform:uppercase;transition:transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;}.ys-parents-primary{padding:0 28px;background:var(--parents-red);color:#ffffff;border:1px solid var(--parents-red);box-shadow:0 18px 42px rgba(244, 63, 59, 0.28);}.ys-parents-secondary{padding:0 28px;color:#f8d48a;border:1px solid rgba(242, 185, 75, 0.34);background:rgba(255, 255, 255, 0.065);}button.ys-parents-primary, button.ys-parents-secondary{font-family:inherit;cursor:pointer;}.ys-parents-primary:hover, .ys-parents-primary:focus-visible{transform:translateY(-3px);background:#d63532;border-color:#d63532;box-shadow:0 22px 48px rgba(244, 63, 59, 0.38);}.ys-parents-secondary:hover, .ys-parents-secondary:focus-visible{transform:translateY(-3px);background:var(--parents-gold);color:var(--parents-navy);border-color:var(--parents-gold);}.ys-parents-content-section{padding:0 0 116px;background:radial-gradient(circle at 8% 8%, rgba(244, 63, 59, 0.055), transparent 28%), radial-gradient(circle at 92% 20%, rgba(242, 185, 75, 0.08), transparent 30%), #f6f9fc;}.ys-parents-content-section>.ys-container>*:first-child{margin-top:-74px;position:relative;z-index:4;}.ys-parents-overview, .ys-parents-tools, .ys-parents-editor-content{position:relative;display:grid;grid-template-columns:minmax(0, 1fr) minmax(280px, 0.38fr);gap:34px;align-items:center;padding:clamp(34px, 5vw, 62px);border-radius:20px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 22px 60px rgba(6, 24, 38, 0.075);overflow:hidden;}.ys-parents-overview::after, .ys-parents-tools::after, .ys-parents-editor-content::after{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg, var(--parents-red), var(--parents-gold), var(--parents-blue));}.ys-parents-overview h2, .ys-parents-tools h2{margin:0;color:var(--parents-navy);font-size:clamp(34px, 4.4vw, 62px);font-weight:950;line-height:1.02;letter-spacing:-0.04em;}.ys-parents-overview p:not(.ys-parents-eyebrow), .ys-parents-tools p, .ys-parents-info-card p, .ys-parents-wp-content{margin:16px 0 0;color:var(--parents-muted);font-size:16.5px;line-height:1.68;}.ys-parents-contact-card{display:grid;gap:12px;padding:28px;border-radius:18px;background:linear-gradient(135deg, var(--parents-navy), var(--parents-blue));color:#ffffff;}.ys-parents-contact-card span{color:var(--parents-gold);font-size:13px;font-weight:950;letter-spacing:1.3px;text-transform:uppercase;}.ys-parents-contact-card a{color:#ffffff;font-size:18px;font-weight:850;line-height:1.35;text-decoration:none;overflow-wrap:anywhere;}.ys-parents-contact-card p{margin:0;color:rgba(235, 243, 249, 0.82);font-size:15px;line-height:1.6;}.ys-parents-card-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:22px;margin-top:28px;}.ys-key-info-grid{grid-template-columns:repeat(3, minmax(0, 1fr));gap:16px;}.ys-key-info-card{position:relative;min-height:0;display:grid;grid-template-columns:58px minmax(0, 1fr);gap:18px;align-items:start;padding:22px;border-radius:18px;background:#ffffff;border:1px solid var(--parents-border);overflow:hidden;transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;}.ys-key-info-card:hover{transform:translateY(-3px);border-color:rgba(244, 63, 59, 0.18);box-shadow:0 16px 38px rgba(6, 24, 38, 0.08);}.ys-key-info-card::after{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg, var(--parents-red), var(--parents-gold));pointer-events:none;}.ys-key-info-card-top{position:relative;z-index:1;display:flex;align-items:flex-start;flex-direction:column;gap:10px;}.ys-key-info-card-top>span{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:14px;background:var(--parents-navy);color:#ffffff;font-size:13px;font-weight:950;letter-spacing:0.8px;}.ys-key-info-card-top strong{min-height:26px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;background:rgba(244, 63, 59, 0.08);color:var(--parents-red);font-size:10px;font-weight:950;letter-spacing:0.65px;text-transform:uppercase;}.ys-key-info-card h3, .ys-key-info-card p, .ys-key-info-card a{grid-column:2;}.ys-key-info-card h3{margin-top:0;font-size:clamp(21px, 2vw, 28px);line-height:1.08;}.ys-key-info-card p{margin-top:8px;font-size:15px;line-height:1.58;}.ys-key-info-card a{justify-self:start;min-height:40px;margin-top:2px;padding:0 16px;font-size:11px;}.ys-key-info-card>span{display:none;}.ys-parents-uniform-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:22px;margin-top:28px;}.ys-parents-absence-checklist{display:grid;grid-template-columns:minmax(0, 0.58fr) minmax(280px, 0.42fr);gap:28px;align-items:center;margin-top:28px;padding:clamp(30px, 4.4vw, 48px);border-radius:20px;background:radial-gradient(circle at 100% 0%, rgba(244, 63, 59, 0.09), transparent 34%), #ffffff;border:1px solid var(--parents-border);box-shadow:0 18px 50px rgba(6, 24, 38, 0.065);}.ys-parents-absence-checklist h2{margin:0;color:var(--parents-navy);font-size:clamp(30px, 3.6vw, 52px);font-weight:950;line-height:1.04;letter-spacing:-0.04em;}.ys-parents-absence-checklist ul{display:grid;gap:12px;padding:0;margin:0;list-style:none;}.ys-parents-absence-checklist li{position:relative;padding:15px 18px 15px 48px;border-radius:14px;background:#f8fafc;border:1px solid var(--parents-border);color:var(--parents-navy);font-size:16px;font-weight:850;line-height:1.35;}.ys-parents-absence-checklist li::before{content:"";position:absolute;left:18px;top:50%;width:12px;height:12px;border-radius:99px;background:var(--parents-red);transform:translateY(-50%);box-shadow:0 0 0 5px rgba(244, 63, 59, 0.12);}.ys-parents-info-card{min-height:280px;display:flex;flex-direction:column;align-items:flex-start;padding:28px;border-radius:18px;background:radial-gradient(circle at 100% 0%, rgba(34, 51, 92, 0.08), transparent 34%), #ffffff;border:1px solid var(--parents-border);box-shadow:0 16px 42px rgba(6, 24, 38, 0.055);}.ys-parents-info-card>span{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:rgba(244, 63, 59, 0.1);color:var(--parents-red);font-size:12px;font-weight:950;letter-spacing:0.8px;text-transform:uppercase;}.ys-parents-info-card h3{margin:24px 0 0;color:var(--parents-navy);font-size:clamp(24px, 2vw, 30px);font-weight:950;line-height:1.08;letter-spacing:-0.03em;}.ys-parents-info-card a{margin-top:auto;padding:0 18px;min-height:42px;background:var(--parents-red);color:#ffffff;box-shadow:0 12px 28px rgba(244, 63, 59, 0.18);}.ys-parents-info-card a:hover, .ys-parents-info-card a:focus-visible, .ys-parents-tool-links a:hover, .ys-parents-tool-links a:focus-visible{transform:translateY(-3px);background:#d63532;outline:none;}.ys-parents-tools, .ys-parents-editor-content{margin-top:28px;}.ys-parents-tool-links{display:grid;gap:12px;}.ys-parents-tool-links a{justify-content:flex-start;min-height:48px;padding:0 20px;background:#f8fafc;border:1px solid var(--parents-border);color:var(--parents-navy);}.ys-parents-tool-links a:hover, .ys-parents-tool-links a:focus-visible{color:#ffffff;}.ys-parents-editor-content{grid-template-columns:1fr;}.ys-parents-pdf-panel{margin-top:28px;padding:clamp(30px, 4.4vw, 52px);border-radius:20px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 22px 60px rgba(6, 24, 38, 0.075);}.ys-parents-pdf-head{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:28px;align-items:end;}.ys-parents-pdf-head h2{margin:0;color:var(--parents-navy);font-size:clamp(34px, 4.4vw, 62px);font-weight:950;line-height:1.02;letter-spacing:-0.04em;}.ys-parents-pdf-head p:not(.ys-parents-eyebrow){max-width:760px;margin:16px 0 0;color:var(--parents-muted);font-size:16.5px;line-height:1.68;}.ys-parents-pdf-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;}.ys-parents-pdf-viewer{height:min(78vh, 820px);min-height:560px;margin-top:28px;border-radius:16px;overflow:hidden;background:#f8fafc;border:1px solid var(--parents-border);}.ys-parents-pdf-viewer object, .ys-parents-pdf-viewer iframe{width:100%;height:100%;display:block;border:0;}.ys-parents-pdf-viewer p{margin:0;padding:28px;color:var(--parents-muted);font-size:16px;line-height:1.6;}.ys-parents-pdf-viewer a{color:var(--parents-red);font-weight:900;}.ys-parents-image-pdf-preview{position:relative;width:min(760px, 100%);display:block;margin:30px auto 0;padding:12px;border:1px solid var(--parents-border);border-radius:18px;background:#f8fafc;box-shadow:0 20px 48px rgba(6, 24, 38, 0.08);cursor:zoom-in;overflow:hidden;}.ys-parents-image-pdf-preview img{width:100%;height:auto;display:block;border-radius:12px;background:#ffffff;}.ys-parents-image-pdf-preview span{position:absolute;right:24px;bottom:24px;min-height:36px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;background:rgba(6, 24, 38, 0.9);color:#ffffff;font-size:11px;font-weight:950;letter-spacing:0.75px;text-transform:uppercase;}.ys-admissions-page .ys-parents-hero{min-height:78vh;}.ys-admissions-link-panel, .ys-admissions-routes, .ys-admissions-events, .ys-admissions-documents, .ys-admissions-policy-panel, .ys-admissions-video-panel{margin-top:28px;padding:clamp(30px, 4.4vw, 52px);border-radius:20px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 22px 60px rgba(6, 24, 38, 0.075);}.ys-admissions-section-head{max-width:900px;}.ys-admissions-section-head h2, .ys-admissions-policy-panel h2{margin:0;color:var(--parents-navy);font-size:clamp(34px, 4.4vw, 62px);font-weight:950;line-height:1.02;letter-spacing:-0.04em;}.ys-admissions-section-head p:not(.ys-parents-eyebrow), .ys-admissions-policy-panel p{margin:16px 0 0;color:var(--parents-muted);font-size:16.5px;line-height:1.68;}.ys-admissions-overview p+p{margin-top:12px;}.ys-admissions-contact-card a:first-of-type{font-size:15px;}.ys-admissions-quick-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));gap:20px;margin-top:28px;}.ys-admissions-quick-card{position:relative;min-height:190px;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:36px 28px 48px;border-radius:20px;background:#ffffff;border:1px solid rgba(0, 0, 0, 0.05);box-shadow:0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);color:var(--parents-navy);text-decoration:none;overflow:hidden;transition:transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;z-index:1;}.ys-admissions-quick-card::after{content:'\2192';position:absolute;bottom:24px;right:28px;width:34px;height:34px;border-radius:50%;background:rgba(244, 63, 59, 0.08);color:var(--parents-red);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:bold;transition:background 0.3s ease, color 0.3s ease, transform 0.3s ease;}.ys-admissions-quick-card:hover, .ys-admissions-quick-card:focus-visible{transform:translateY(-6px);box-shadow:0 20px 40px rgba(244, 63, 59, 0.08);border-color:rgba(244, 63, 59, 0.25);outline:none;}.ys-admissions-quick-card .ys-admissions-quick-number{font-size:13px;font-weight:850;color:var(--parents-red);background:rgba(244, 63, 59, 0.08);padding:4px 10px;border-radius:999px;letter-spacing:0.5px;margin-bottom:16px;pointer-events:none;transition:background 0.3s ease, color 0.3s ease;}.ys-admissions-route-card .ys-admissions-route-badge, .ys-admissions-event-card span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:rgba(244, 63, 59, 0.1);color:var(--parents-red);font-size:11px;font-weight:950;letter-spacing:0.85px;text-transform:uppercase;}.ys-admissions-quick-card strong{margin-top:0;color:var(--parents-navy);font-size:20px;font-weight:900;line-height:1.25;word-break:break-word;transition:color 0.3s ease;}.ys-admissions-quick-card em{color:var(--parents-muted);font-size:14.5px;font-style:normal;font-weight:500;line-height:1.5;margin-top:12px;}.ys-admissions-quick-card:hover strong{color:var(--parents-red);}.ys-admissions-quick-card:hover .ys-admissions-quick-number{background:var(--parents-red);color:#ffffff;}.ys-admissions-quick-card:hover::after{background:var(--parents-red);color:#ffffff;transform:translateX(4px);}.ys-admissions-route-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));gap:32px;margin-top:45px;width:100%;max-width:100%;box-sizing:border-box;}.ys-admissions-route-card{min-height:auto;display:flex;flex-direction:column;align-items:flex-start;padding:42px 36px;border-radius:24px;background:#ffffff;border:1px solid rgba(244, 63, 59, 0.08);box-shadow:0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);transition:transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;position:relative;overflow:hidden;width:100%;max-width:100%;min-width:0;box-sizing:border-box;}.ys-admissions-route-card::before{content:'';position:absolute;top:0;left:0;width:100%;height:5px;background:linear-gradient(90deg, var(--parents-red), #ff7b78, var(--parents-navy));opacity:0.8;transition:opacity 0.4s ease, height 0.4s ease;}.ys-admissions-route-card:hover{transform:translateY(-8px);box-shadow:0 25px 50px rgba(244, 63, 59, 0.09), 0 4px 12px rgba(244, 63, 59, 0.03);border-color:rgba(244, 63, 59, 0.25);}.ys-admissions-route-card:hover::before{height:7px;}@media (max-width:768px){.ys-admissions-route-grid{grid-template-columns:1fr !important;gap:20px;margin-top:24px;}.ys-admissions-route-card{padding:26px 20px !important;width:100% !important;max-width:100% !important;box-sizing:border-box !important;}.ys-admissions-quick-card{padding:24px 20px 42px;}}.ys-pdf-icon-fallback{width:100%;height:100%;min-height:220px;display:flex;align-items:center;justify-content:center;background:#f8fafc;color:#cbd5e1;}.ys-pdf-icon-fallback svg{width:64px;height:64px;}.ys-admissions-route-card h3, .ys-admissions-event-card h3, .ys-admissions-doc-card h3, .ys-admissions-video-grid h3{margin:20px 0 0;color:var(--parents-navy);font-size:clamp(22px, 2vw, 26px);font-weight:950;line-height:1.25;letter-spacing:-0.02em;word-break:break-word;}.ys-admissions-event-card p, .ys-admissions-doc-card p{margin:14px 0 24px;color:var(--parents-muted);font-size:15.5px;line-height:1.62;}.ys-admissions-route-card p{margin:16px 0 28px;color:var(--parents-muted);font-size:15.5px;line-height:1.65;flex:1 1 auto;text-align:left;overflow-wrap:break-word;word-wrap:break-word;word-break:normal;}.ys-admissions-route-card p a{color:var(--parents-red);text-decoration:none;font-weight:700;border-bottom:1.5px solid rgba(244, 63, 59, 0.2);padding-bottom:1px;transition:color 0.25s ease, border-bottom-color 0.25s ease;overflow-wrap:anywhere;word-break:normal;}.ys-admissions-route-card p a:hover{color:var(--parents-navy);border-bottom-color:var(--parents-navy);}.ys-admissions-route-card p strong{color:var(--parents-navy);font-weight:800;}.ys-admissions-route-card .ys-admissions-route-cta{min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin-top:auto;padding:0 24px;border-radius:999px;background:var(--parents-red);color:#ffffff;font-size:12px;font-weight:950;letter-spacing:0.9px;text-decoration:none;text-transform:uppercase;box-shadow:0 10px 24px rgba(244, 63, 59, 0.2);transition:background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;align-self:flex-start;}.ys-admissions-route-card .ys-admissions-route-cta::after{content:'\2192';margin-left:8px;display:inline-block;transition:transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);font-size:13px;font-weight:bold;}.ys-admissions-route-card .ys-admissions-route-cta:hover{background:var(--parents-navy);box-shadow:0 12px 28px rgba(13, 27, 42, 0.25);transform:translateY(-2px);}.ys-admissions-route-card .ys-admissions-route-cta:hover::after{transform:translateX(4px);}.ys-admissions-doc-card a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;margin-top:auto;padding:0 18px;border-radius:999px;background:var(--parents-red);color:#ffffff;font-size:11px;font-weight:950;letter-spacing:0.75px;text-decoration:none;text-transform:uppercase;box-shadow:0 12px 28px rgba(244, 63, 59, 0.18);}.ys-admissions-event-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:20px;margin-top:28px;}.ys-admissions-event-card{display:grid;grid-template-columns:190px minmax(0, 1fr);gap:22px;align-items:stretch;padding:18px;border-radius:18px;background:#f8fafc;border:1px solid var(--parents-border);}.ys-admissions-event-card figure{min-height:220px;margin:0;border-radius:14px;overflow:hidden;background:#dbe6ee;}.ys-admissions-event-card img{width:100%;height:100%;display:block;object-fit:cover;}.ys-admissions-event-card dl{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:10px;margin:20px 0 0;}.ys-admissions-event-card dl div{padding:14px;border-radius:14px;background:#ffffff;border:1px solid var(--parents-border);}.ys-admissions-event-card dt{margin:0 0 5px;color:var(--parents-red);font-size:10px;font-weight:950;letter-spacing:0.8px;text-transform:uppercase;}.ys-admissions-event-card dd{margin:0;color:var(--parents-navy);font-size:15px;font-weight:900;line-height:1.25;}.ys-admissions-event-card dl a.ys-admissions-register-btn{display:block !important;padding:14px !important;border-radius:14px !important;background:linear-gradient(135deg, var(--ys-red) 0%, var(--ys-red-dark) 100%) !important;border:1px solid rgba(255, 255, 255, 0.15) !important;text-decoration:none !important;box-shadow:0 4px 12px rgba(229, 57, 53, 0.18) !important;transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;cursor:pointer !important;}.ys-admissions-event-card dl a.ys-admissions-register-btn dt{color:rgba(255, 255, 255, 0.8) !important;margin:0 0 5px !important;font-size:10px !important;font-weight:950 !important;letter-spacing:0.8px !important;text-transform:uppercase !important;}.ys-admissions-event-card dl a.ys-admissions-register-btn dd{color:#ffffff !important;margin:0 !important;font-size:15px !important;font-weight:900 !important;line-height:1.25 !important;}.ys-admissions-event-card dl a.ys-admissions-register-btn:hover{background:linear-gradient(135deg, #ff4d49 0%, var(--ys-red) 100%) !important;transform:translateY(-2px) scale(1.02) !important;box-shadow:0 6px 18px rgba(229, 57, 53, 0.35) !important;}.ys-admissions-event-card dl a.ys-admissions-register-btn:active{transform:translateY(0) scale(0.98) !important;}.ys-admissions-doc-grid{display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));gap:18px;margin-top:28px;}.ys-admissions-doc-card{display:flex;flex-direction:column;min-height:100%;padding:14px;border-radius:18px;background:#f8fafc;border:1px solid var(--parents-border);}.ys-admissions-doc-preview{position:relative;width:100%;aspect-ratio:0.72;display:block;padding:0;border:0;border-radius:14px;background:#ffffff;overflow:hidden;cursor:zoom-in;}.ys-admissions-doc-preview img{width:100%;height:100%;display:block;object-fit:cover;}.ys-admissions-doc-preview span{position:absolute;left:12px;right:12px;bottom:12px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:999px;background:rgba(6, 24, 38, 0.9);color:#ffffff;font-size:10px;font-weight:950;letter-spacing:0.7px;text-transform:uppercase;}.ys-admissions-doc-card>div{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:18px 6px 4px;}.ys-admissions-doc-card h3{margin-top:0;font-size:22px;}.ys-admissions-policy-panel{display:grid;grid-template-columns:minmax(0, 0.72fr) minmax(280px, 0.28fr);gap:26px;align-items:center;}.ys-admissions-policy-links{display:grid;gap:12px;}.ys-admissions-policy-links a{display:grid;gap:6px;padding:20px;border-radius:16px;background:linear-gradient(135deg, var(--parents-navy), var(--parents-blue));color:#ffffff;text-decoration:none;}.ys-admissions-policy-links strong{font-size:18px;font-weight:950;line-height:1.2;}.ys-admissions-policy-links span{color:rgba(235, 243, 249, 0.8);font-size:14.5px;line-height:1.5;}.ys-admissions-video-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:22px;margin-top:28px;}.ys-admissions-video-grid article{padding:18px;border-radius:18px;background:#f8fafc;border:1px solid var(--parents-border);}.ys-admissions-video-grid h3{margin:0 0 16px;}.ys-admissions-video-grid iframe{width:100%;aspect-ratio:16 / 9;display:block;border:0;border-radius:14px;background:#061826;}.ys-parents-transport-gallery{margin-top:28px;padding:clamp(30px, 4.4vw, 52px);border-radius:20px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 22px 60px rgba(6, 24, 38, 0.075);}.ys-parents-transport-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:22px;margin-top:28px;}.ys-parents-transport-card{display:grid;gap:18px;padding:20px;border-radius:18px;background:#f8fafc;border:1px solid var(--parents-border);overflow:hidden;}.ys-parents-transport-card-wide{grid-column:1 / -1;}.ys-parents-transport-card-head{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;justify-content:space-between;}.ys-parents-transport-card-head span{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border-radius:999px;background:rgba(244, 63, 59, 0.1);color:var(--parents-red);font-size:12px;font-weight:950;letter-spacing:0.8px;text-transform:uppercase;}.ys-parents-transport-card-head h3{margin:0;color:var(--parents-navy);font-size:clamp(21px, 2vw, 28px);font-weight:950;line-height:1.08;letter-spacing:-0.03em;}.ys-parents-transport-preview{position:relative;display:block;width:100%;padding:0;border-radius:14px;background:#ffffff;border:1px solid rgba(220, 228, 236, 0.95);overflow:auto;cursor:zoom-in;font:inherit;text-align:left;}.ys-parents-transport-preview>span{position:absolute;right:14px;bottom:14px;min-height:34px;display:inline-flex;align-items:center;padding:0 14px;border-radius:999px;background:rgba(6, 24, 38, 0.88);color:#ffffff;font-size:11px;font-weight:950;letter-spacing:0.7px;text-transform:uppercase;}.ys-parents-transport-card img{width:100%;height:auto;display:block;}.ys-parents-transport-card:not(.ys-parents-transport-card-wide) img{max-height:760px;object-fit:contain;background:#ffffff;}.ys-parents-lost-steps{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:22px;margin-top:28px;}.ys-parents-lost-step{position:relative;min-height:230px;padding:30px 28px;border-radius:20px;background:linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, rgba(244, 63, 59, 0.42), rgba(242, 185, 75, 0.28), rgba(34, 51, 92, 0.28)) border-box;border:1px solid transparent;box-shadow:0 16px 42px rgba(6, 24, 38, 0.07);overflow:hidden;}.ys-parents-lost-step::after{content:"";position:absolute;inset:auto -40px -58px auto;width:150px;height:150px;border-radius:999px;background:rgba(244, 63, 59, 0.06);pointer-events:none;}.ys-parents-lost-step .ys-parents-step-num{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px;background:rgba(244, 63, 59, 0.11);color:var(--parents-red);font-size:15px;font-weight:950;}.ys-parents-lost-step h3{margin:22px 0 12px;color:var(--parents-navy);font-size:23px;font-weight:950;line-height:1.15;letter-spacing:-0.02em;}.ys-parents-lost-step p{margin:0;color:var(--parents-muted);font-size:16px;line-height:1.65;}.ys-parents-sheet-panel{margin-top:32px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:linear-gradient(135deg, rgba(34, 51, 92, 0.05), transparent 36%), #ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.09);}.ys-parents-sheet-frame{margin-top:26px;padding:12px;border-radius:18px;background:linear-gradient(#f8fafc, #f8fafc) padding-box, linear-gradient(135deg, rgba(244, 63, 59, 0.42), rgba(242, 185, 75, 0.3), rgba(34, 51, 92, 0.38)) border-box;border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.9);}.ys-parents-sheet-frame iframe{width:100%;height:min(78vh, 760px);min-height:540px;display:block;border:0;border-radius:12px;background:#ffffff;}.ys-parents-tool-spotlight, .ys-parents-payment-hero{display:grid;grid-template-columns:0.42fr 0.58fr;gap:32px;align-items:center;margin-bottom:30px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:linear-gradient(135deg, rgba(244, 63, 59, 0.08), transparent 34%), #ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.09);}.ys-parents-payment-hero{grid-template-columns:0.62fr 0.38fr;}.ys-parents-tool-spotlight h2, .ys-parents-payment-hero h2{margin:0;color:var(--parents-navy);font-size:clamp(36px, 4vw, 56px);font-weight:950;line-height:1.04;letter-spacing:-0.035em;}.ys-parents-tool-spotlight p:not(.ys-parents-eyebrow), .ys-parents-payment-hero p:not(.ys-parents-eyebrow){margin:20px 0 0;color:var(--parents-muted);font-size:17px;line-height:1.7;}.ys-parents-tool-spotlight .ys-parents-primary, .ys-parents-payment-hero .ys-parents-primary{margin-top:28px;}.ys-parents-tool-logo, .ys-parents-payment-logo{display:flex;align-items:center;justify-content:center;min-height:260px;padding:30px;border-radius:20px;background:radial-gradient(circle at 20% 20%, rgba(242, 185, 75, 0.16), transparent 34%), linear-gradient(135deg, #f8fafc, #ffffff);border:1px solid rgba(220, 228, 236, 0.95);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.8);}.ys-parents-tool-logo img{width:min(300px, 100%);height:auto;display:block;}.ys-parents-payment-logo img{width:min(260px, 100%);height:auto;display:block;border-radius:8px;}.ys-parents-resource-panel{margin-top:32px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.08);}.ys-parents-resource-grid{display:grid;grid-template-columns:repeat(6, minmax(0, 1fr));gap:16px;margin-top:28px;}.ys-parents-resource-card{min-height:150px;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;padding:18px 12px;border-radius:16px;background:#f8fafc;border:1px solid rgba(220, 228, 236, 0.95);color:var(--parents-navy);text-align:center;text-decoration:none;transition:transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;}.ys-parents-resource-card:hover, .ys-parents-resource-card:focus-visible{transform:translateY(-4px);border-color:rgba(244, 63, 59, 0.35);box-shadow:0 18px 38px rgba(6, 24, 38, 0.09);outline:none;}.ys-parents-resource-card img{width:82px;height:82px;object-fit:contain;display:block;}.ys-parents-resource-card span{color:var(--parents-navy);font-size:14px;font-weight:950;line-height:1.25;}.ys-school-day-panel, .ys-term-dates-panel{margin-top:30px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.08);}.ys-school-day-timeline{display:grid;gap:0;margin-top:30px;overflow:hidden;border:1px solid var(--parents-border);border-radius:20px;background:#ffffff;box-shadow:0 20px 54px rgba(6, 24, 38, 0.08);}.ys-school-day-table-head{display:grid;grid-template-columns:210px minmax(0, 1fr) 180px;gap:0;align-items:center;padding:0;background:linear-gradient(135deg, rgba(6, 24, 38, 0.98), rgba(34, 51, 92, 0.98));color:rgba(255, 255, 255, 0.82);font-size:12px;font-weight:950;letter-spacing:1px;text-transform:uppercase;}.ys-school-day-table-head span{padding:18px 22px;}.ys-school-day-table-head span+span{border-left:1px solid rgba(255, 255, 255, 0.12);}.ys-school-day-item{display:grid;grid-template-columns:72px 138px minmax(0, 1fr) 180px;gap:0;align-items:stretch;padding:0;background:#ffffff;border:0;border-top:1px solid var(--parents-border);transition:transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;}.ys-school-day-item:hover{transform:none;background:#f8fafc;box-shadow:inset 4px 0 0 var(--parents-red);}.ys-school-day-item>*{min-height:76px;display:flex;align-items:center;padding:16px 22px;}.ys-school-day-item>*+*{border-left:1px solid rgba(220, 228, 236, 0.8);}.ys-school-day-number{width:auto;height:auto;display:inline-flex;align-items:center;justify-content:center;align-self:stretch;border-radius:0;background:var(--parents-navy);color:#ffffff;font-size:12px;font-weight:950;letter-spacing:1px;}.ys-school-day-break .ys-school-day-number{background:var(--parents-gold);color:var(--parents-navy);}.ys-school-day-after .ys-school-day-number{background:var(--parents-red);}.ys-school-day-item h3{margin:0;color:var(--parents-navy);font-size:21px;font-weight:950;}.ys-school-day-item p{margin:0;color:var(--parents-muted);font-size:15px;font-weight:800;}.ys-school-day-item time{color:var(--parents-navy);font-size:28px;font-weight:950;white-space:nowrap;background:#f8fafc;}.ys-school-day-break time, .ys-school-day-break .ys-school-day-duration{background:rgba(242, 185, 75, 0.13);}.ys-school-day-after time, .ys-school-day-after .ys-school-day-duration{background:rgba(244, 63, 59, 0.08);}.ys-timetable-tabs{display:inline-flex;gap:8px;background:#f1f5f9;padding:6px;border-radius:999px;border:1px solid var(--parents-border);}.ys-timetable-tab-btn{font-family:inherit;font-size:13px;font-weight:950;letter-spacing:0.5px;text-transform:uppercase;color:var(--parents-muted);background:transparent;border:none;padding:10px 22px;border-radius:999px;cursor:pointer;transition:all 0.25s ease;}.ys-timetable-tab-btn:hover{color:var(--parents-navy);}.ys-timetable-tab-btn.active[data-tab="normal"]{background:var(--parents-navy);color:#ffffff;box-shadow:0 4px 12px rgba(6, 24, 38, 0.15);}.ys-timetable-tab-btn.active[data-tab="exam"]{background:#1b5e37;color:#ffffff;box-shadow:0 4px 12px rgba(27, 94, 55, 0.25);}.ys-timetable-pane{display:none;}.ys-timetable-pane.active{display:block;animation:ysFadeIn 0.4s ease forwards;}@keyframes ysFadeIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}.ys-school-day-exam{background:#ffffff !important;border-color:#1b5e37 !important;}.ys-school-day-exam .ys-school-day-table-head{background:linear-gradient(135deg, #145229, #1b5e37);color:#ffffff;}.ys-school-day-exam .ys-school-day-table-head span+span{border-left-color:rgba(255, 255, 255, 0.15);}.ys-school-day-exam .ys-school-day-item{background:#ffffff;border-top-color:var(--parents-border);}.ys-school-day-exam .ys-school-day-item:hover{background:#f8fafc;box-shadow:inset 4px 0 0 #1b5e37;}.ys-school-day-exam .ys-school-day-item>*{border-left-color:rgba(220, 228, 236, 0.8);}.ys-school-day-exam .ys-school-day-number{background:#1b5e37;color:#ffffff;}.ys-school-day-exam .ys-school-day-item h3{color:var(--parents-navy);}.ys-school-day-exam .ys-school-day-item p{color:var(--parents-muted);}.ys-school-day-exam .ys-school-day-item time{background:#f8fafc;color:var(--parents-navy);}.ys-school-day-exam .ys-school-day-break .ys-school-day-number, .ys-school-day-exam .ys-school-day-lunch .ys-school-day-number{background:var(--parents-gold) !important;color:var(--parents-navy) !important;}.ys-school-day-exam .ys-school-day-break h3, .ys-school-day-exam .ys-school-day-lunch h3{color:var(--parents-navy) !important;}.ys-school-day-exam .ys-school-day-break time, .ys-school-day-exam .ys-school-day-lunch time{color:var(--parents-navy) !important;background:rgba(242, 185, 75, 0.13) !important;}.ys-school-day-exam .ys-school-day-break .ys-school-day-duration, .ys-school-day-exam .ys-school-day-lunch .ys-school-day-duration{background:rgba(242, 185, 75, 0.13) !important;color:var(--parents-navy) !important;}.ys-school-day-exam .ys-school-day-break:hover, .ys-school-day-exam .ys-school-day-lunch:hover{box-shadow:inset 4px 0 0 var(--parents-gold) !important;}@media (max-width:767px){.ys-parents-pdf-actions{justify-content:flex-start;}}@media (max-width:575px){.ys-timetable-tabs{display:flex;width:100%;}.ys-timetable-tab-btn{flex:1;text-align:center;padding:10px 8px;font-size:11px;}}.ys-parents-contact-card strong{color:#ffffff;font-size:18px;font-weight:850;line-height:1.35;}.ys-term-dates-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:22px;margin-top:30px;}.ys-term-date-card{min-height:520px;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;background:#f8fafc;border:1px solid var(--parents-border);}.ys-term-date-preview{height:310px;overflow:hidden;background:#ffffff;border-bottom:1px solid var(--parents-border);padding:18px;}.ys-term-date-preview img{width:100%;height:100%;display:block;object-fit:contain;object-position:center;border-radius:10px;background:#ffffff;box-shadow:0 12px 28px rgba(6, 24, 38, 0.08);}.ys-term-date-card-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:28px;}.ys-term-date-card-content>span{color:var(--parents-red);font-size:12px;font-weight:950;letter-spacing:1.4px;text-transform:uppercase;}.ys-term-date-card-content h3{margin:14px 0 0;color:var(--parents-navy);font-size:26px;font-weight:950;line-height:1.15;}.ys-term-date-card-content p{margin:14px 0 24px;color:var(--parents-muted);font-size:16px;line-height:1.65;}.ys-term-date-card-content .ys-parents-primary{margin-top:auto;border:1px solid var(--parents-red);}.ys-parent-media-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:clamp(12px, 3vw, 30px);}.ys-parent-media-modal.active{display:flex;}.ys-parent-media-modal-overlay{position:absolute;inset:0;background:rgba(3, 27, 45, 0.82);backdrop-filter:blur(8px);}.ys-parent-media-modal-box{position:relative;z-index:1;width:min(1180px, 100%);max-height:92vh;display:flex;flex-direction:column;overflow:hidden;border-radius:24px;background:#ffffff;box-shadow:0 34px 90px rgba(0, 0, 0, 0.36);}.ys-parent-media-modal-head{flex:0 0 auto;min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid var(--parents-border);}.ys-parent-media-modal-head>div:first-child{min-width:0;}.ys-parent-media-modal-head span{display:block;color:var(--parents-red);font-size:11px;font-weight:950;letter-spacing:0.9px;text-transform:uppercase;}.ys-parent-media-modal-head h2{max-width:100%;margin:5px 0 0;color:var(--parents-navy);font-size:clamp(20px, 2.6vw, 32px);font-weight:950;line-height:1.12;letter-spacing:-0.04em;overflow-wrap:anywhere;}.ys-parent-media-modal-head>div:last-child{display:flex;align-items:center;gap:8px;flex:0 0 auto;}.ys-parent-media-modal-head a, .ys-parent-media-modal-head button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:950;}.ys-parent-media-modal-head a{padding:0 16px;background:var(--parents-red);color:#ffffff;font-size:11px;letter-spacing:0.7px;text-decoration:none;text-transform:uppercase;}.ys-parent-media-modal-head button{width:40px;padding:0;border:1px solid var(--parents-border);background:#ffffff;color:var(--parents-navy);cursor:pointer;font-size:25px;line-height:1;}.ys-parent-media-modal-viewer{flex:1 1 auto;height:min(78vh, 760px);display:flex;align-items:flex-start;justify-content:center;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:18px;background:#e8eef3;}.ys-parent-media-frame{width:100%;height:100%;min-height:680px;border:0;background:#ffffff;}.ys-parent-media-image{max-width:100%;height:auto;display:block;border-radius:14px;background:#ffffff;box-shadow:0 18px 48px rgba(6, 24, 38, 0.18);}.ys-parent-media-modal[data-media-active-type="image"] .ys-parent-media-modal-box{width:min(1120px, 100%);max-height:calc(100vh - 36px);}.ys-parent-media-modal[data-media-active-type="image"] .ys-parent-media-modal-viewer{height:auto;max-height:calc(100vh - 126px);align-items:center;background:#f4f8fb;}.ys-parent-media-modal[data-media-active-type="image"] .ys-parent-media-image{width:auto;max-width:100%;max-height:calc(100vh - 166px);object-fit:contain;}.ys-parent-media-modal-loading{margin:auto;color:var(--parents-muted);font-size:15px;font-weight:800;}.ys-exam-metrics-panel, .ys-exam-release-panel, .ys-query-pathways-panel, .ys-events-calendar-panel{margin-top:30px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.08);}.ys-exam-metrics-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:18px;margin-top:30px;}.ys-exam-metric-card{min-height:170px;display:flex;flex-direction:column;justify-content:center;padding:26px;border-radius:18px;background:radial-gradient(circle at 90% 12%, rgba(6, 24, 38, 0.04), transparent 32%), linear-gradient(145deg, #f8fafc, #ffffff);border:1px solid var(--parents-border);}.ys-exam-metric-card strong{color:var(--parents-red);font-size:clamp(38px, 4vw, 58px);font-weight:950;line-height:1;letter-spacing:-0.05em;}.ys-exam-metric-card > span{margin-top:14px;color:var(--parents-navy);font-size:15px;font-weight:950;line-height:1.35;}.ys-exam-release-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:22px;margin-top:30px;}.ys-exam-release-card{display:grid;grid-template-columns:210px minmax(0, 1fr);min-height:330px;overflow:hidden;border-radius:22px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 18px 48px rgba(6, 24, 38, 0.08);cursor:pointer;transition:transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;}.ys-exam-release-card:hover{transform:translateY(-6px);border-color:rgba(244, 63, 59, 0.3);box-shadow:0 28px 68px rgba(6, 24, 38, 0.14);}.ys-exam-release-image{min-height:330px;display:flex;align-items:center;justify-content:center;padding:22px;background:#edf3f7;}.ys-exam-release-image img{width:100%;max-width:165px;height:248px;display:block;object-fit:contain;border-radius:12px;background:#ffffff;box-shadow:0 16px 34px rgba(6, 24, 38, 0.13);}.ys-exam-release-content{display:flex;flex-direction:column;align-items:flex-start;padding:32px 30px;}.ys-exam-release-content>span{color:var(--parents-red);font-size:12px;font-weight:950;letter-spacing:1.2px;text-transform:uppercase;}.ys-exam-release-content h3{margin:14px 0 0;color:var(--parents-navy);font-size:28px;font-weight:950;line-height:1.12;letter-spacing:-0.03em;}.ys-exam-release-content p{margin:14px 0 24px;color:var(--parents-muted);font-size:15.5px;line-height:1.65;}.ys-exam-release-content .ys-parents-primary{margin-top:auto;}.ys-exam-release-content button.ys-parents-primary{border:0;cursor:pointer;}.ys-exam-story-panel, .ys-exam-infographic-panel{margin-top:30px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.08);}.ys-exam-story-intro{display:grid;grid-template-columns:minmax(0, 1.25fr) minmax(320px, 0.75fr);gap:28px;align-items:stretch;}.ys-exam-story-intro h2, .ys-exam-infographic-panel h2{margin:0;color:var(--parents-navy);font-size:clamp(34px, 4.2vw, 56px);font-weight:950;line-height:1.05;letter-spacing:-0.04em;}.ys-exam-story-intro>div>p:not(.ys-parents-eyebrow), .ys-exam-infographic-panel>div>p:not(.ys-parents-eyebrow){max-width:850px;margin:17px 0 0;color:var(--parents-muted);font-size:16px;line-height:1.7;}.ys-exam-story-intro a{color:var(--parents-red);font-weight:950;text-decoration:none;}.ys-exam-context-note{display:flex;flex-direction:column;justify-content:center;padding:28px;border-radius:20px;background:radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.06), transparent 34%), linear-gradient(135deg, var(--parents-navy), #0d4964);color:#ffffff;}.ys-exam-context-note span{color:var(--parents-gold);font-size:12px;font-weight:950;letter-spacing:1.15px;text-transform:uppercase;}.ys-exam-context-note h3{margin:13px 0 0;color:#ffffff;font-size:24px;font-weight:950;line-height:1.18;letter-spacing:-0.025em;}.ys-exam-context-note p{margin:13px 0 0;color:rgba(255, 255, 255, 0.8);font-size:14.5px;line-height:1.65;}.ys-exam-measure-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:18px;margin-top:34px;}.ys-exam-measure-card{padding:26px;border-radius:18px;background:#f8fafc;border:1px solid var(--parents-border);}.ys-exam-measure-card>span{color:var(--parents-red);font-size:11.5px;font-weight:950;letter-spacing:1px;text-transform:uppercase;}.ys-exam-measure-card h3{margin:10px 0 0;color:var(--parents-navy);font-size:23px;font-weight:950;line-height:1.18;letter-spacing:-0.025em;}.ys-exam-measure-card dl{display:grid;gap:10px;margin:22px 0 0;}.ys-exam-measure-card dl div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;border-radius:12px;background:#ffffff;}.ys-exam-measure-card dt{color:var(--parents-muted);font-size:13.5px;font-weight:800;}.ys-exam-measure-card dd{margin:0;color:var(--parents-red);font-size:20px;font-weight:950;}.ys-exam-measure-card>p{margin:16px 0 0;color:var(--parents-muted);font-size:13px;line-height:1.55;}.ys-exam-detail-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:18px;margin-top:18px;}.ys-exam-subject-panel, .ys-exam-comparison-panel{padding:30px;border-radius:20px;border:1px solid var(--parents-border);}.ys-exam-subject-panel{background:radial-gradient(circle at 100% 0%, rgba(34, 51, 92, 0.1), transparent 30%), #ffffff;}.ys-exam-comparison-panel{background:radial-gradient(circle at 100% 0%, rgba(244, 63, 59, 0.09), transparent 32%), #ffffff;}.ys-exam-subject-panel h3, .ys-exam-comparison-panel h3, .ys-exam-groups-panel h3{margin:0;color:var(--parents-navy);font-size:28px;font-weight:950;line-height:1.12;letter-spacing:-0.03em;}.ys-exam-subject-panel>p:not(.ys-parents-eyebrow), .ys-exam-comparison-panel>p:not(.ys-parents-eyebrow){margin:14px 0 0;color:var(--parents-muted);font-size:14.5px;line-height:1.65;}.ys-exam-subject-panel ul{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 0;padding:0;list-style:none;}.ys-exam-subject-panel li{padding:8px 12px;border-radius:999px;background:rgba(34, 51, 92, 0.08);color:var(--parents-navy);font-size:12px;font-weight:900;}.ys-exam-comparison-table{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;margin-top:24px;}.ys-exam-comparison-table div{display:flex;flex-direction:column;padding:20px;border-radius:16px;background:#f8fafc;border:1px solid var(--parents-border);}.ys-exam-comparison-table span{color:var(--parents-navy);font-size:13px;font-weight:950;}.ys-exam-comparison-table strong{margin-top:11px;color:var(--parents-red);font-size:38px;font-weight:950;line-height:1;letter-spacing:-0.05em;}.ys-exam-comparison-table small{margin-top:8px;color:var(--parents-muted);font-size:12px;font-weight:800;}.ys-exam-groups-panel{display:grid;grid-template-columns:minmax(250px, 0.35fr) minmax(0, 0.65fr);gap:22px;margin-top:18px;padding:30px;border-radius:20px;background:#f4f8fb;border:1px solid var(--parents-border);}.ys-exam-groups-panel>div{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:14px;}.ys-exam-groups-panel article{padding:22px;border-radius:16px;background:#ffffff;}.ys-exam-groups-panel h4{margin:0;color:var(--parents-navy);font-size:19px;font-weight:950;}.ys-exam-groups-panel article p{margin:10px 0 0;color:var(--parents-muted);font-size:13.5px;line-height:1.6;}.ys-exam-congratulations{margin-top:18px;padding:25px 28px;border-radius:18px;background:linear-gradient(135deg, #00482b, #007747);color:#ffffff;}.ys-exam-congratulations span{display:block;color:#f8d48a;font-size:12px;font-weight:950;letter-spacing:1.1px;text-transform:uppercase;}.ys-exam-congratulations p{margin:12px 0 0;color:rgba(255, 255, 255, 0.84);font-size:15px;line-height:1.7;}.ys-exam-infographic-panel{display:grid;grid-template-columns:minmax(0, 0.55fr) minmax(300px, 0.45fr);gap:clamp(30px, 5vw, 64px);align-items:center;}.ys-exam-infographic-note{padding:13px 15px;border-radius:12px;background:#eef4fb;color:#11365e !important;font-size:13px !important;font-weight:800;}.ys-exam-infographic-panel figure{margin:0;padding:16px;border-radius:20px;background:#edf3f7;}.ys-exam-infographic-panel img{width:100%;height:auto;display:block;border-radius:12px;background:#ffffff;box-shadow:0 18px 44px rgba(6, 24, 38, 0.13);}.ys-result-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:24px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 0.28s ease, visibility 0.28s ease;}.ys-result-modal.active{opacity:1;visibility:visible;pointer-events:auto;}.ys-result-modal-overlay{position:absolute;inset:0;background:rgba(3, 27, 45, 0.8);backdrop-filter:blur(10px);}.ys-result-modal-box{position:relative;z-index:2;width:min(1180px, 100%);max-height:90vh;display:grid;grid-template-columns:minmax(0, 1.2fr) 410px;overflow:hidden;border-radius:28px;background:#ffffff;box-shadow:0 34px 90px rgba(0, 0, 0, 0.36);}.ys-result-modal-close{position:absolute;top:15px;right:15px;z-index:5;width:42px;height:42px;border:0;border-radius:50%;background:var(--parents-navy);color:#ffffff;font-size:27px;line-height:1;cursor:pointer;}.ys-result-modal-preview{min-height:650px;max-height:90vh;overflow-y:auto;padding:22px;background:#202124;}.ys-result-page-list{display:grid;gap:24px;}.ys-result-page{width:min(720px, 100%);margin:0 auto;}.ys-result-page-number{margin-bottom:10px;color:rgba(255, 255, 255, 0.75);font-size:12px;font-weight:900;text-align:center;}.ys-result-page img{width:100%;height:auto;display:block;border-radius:12px;background:#ffffff;box-shadow:0 18px 42px rgba(0, 0, 0, 0.28);}.ys-result-modal-content{display:flex;flex-direction:column;justify-content:center;padding:44px 38px;}.ys-result-modal-content>p:first-child{margin:0 0 12px;color:var(--parents-red);font-size:12px;font-weight:950;letter-spacing:1px;text-transform:uppercase;}.ys-result-modal-content h3{margin:0;color:var(--parents-navy);font-size:clamp(30px, 4vw, 44px);font-weight:950;line-height:1.06;letter-spacing:-0.04em;}.ys-result-modal-content h3+p{margin:17px 0 26px;color:var(--parents-muted);font-size:15px;line-height:1.7;}.ys-result-modal-content .ys-parents-primary{align-self:flex-start;}.ys-query-urgent{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:30px;align-items:center;margin-bottom:30px;padding:clamp(30px, 4.5vw, 52px);border-radius:24px;background:radial-gradient(circle at 86% 18%, rgba(242, 185, 75, 0.2), transparent 30%), linear-gradient(135deg, #7f1d1d, #b4232f);color:#ffffff;box-shadow:0 24px 70px rgba(127, 29, 29, 0.2);}.ys-query-urgent .ys-parents-eyebrow{color:#f8d48a;}.ys-query-urgent h2, .ys-query-process-panel h2{margin:0;font-size:clamp(32px, 4vw, 54px);font-weight:950;line-height:1.04;letter-spacing:-0.04em;}.ys-query-urgent p:not(.ys-parents-eyebrow){max-width:780px;margin:18px 0 0;color:rgba(255, 255, 255, 0.82);font-size:16.5px;line-height:1.7;}.ys-query-urgent-actions{display:grid;gap:12px;}.ys-query-urgent-actions a{min-width:190px;min-height:50px;display:inline-flex;align-items:center;justify-content:center;padding:0 24px;border-radius:999px;background:#ffffff;color:#8f1f27;font-size:13px;font-weight:950;letter-spacing:0.9px;text-decoration:none;text-transform:uppercase;}.ys-query-urgent-actions a:last-child{background:transparent;color:#ffffff;border:1px solid rgba(255, 255, 255, 0.34);}.ys-query-pathways-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:18px;margin-top:30px;}.ys-query-path-card{min-height:270px;display:flex;flex-direction:column;align-items:flex-start;padding:28px;border-radius:18px;background:#f8fafc;border:1px solid var(--parents-border);}.ys-query-path-card>span{color:var(--parents-red);font-size:13px;font-weight:950;letter-spacing:1.3px;}.ys-query-path-card h3{margin:24px 0 0;color:var(--parents-navy);font-size:24px;font-weight:950;line-height:1.18;}.ys-query-path-card p{margin:14px 0 24px;color:var(--parents-muted);font-size:15.5px;line-height:1.65;}.ys-query-path-card a{margin-top:auto;color:var(--parents-red);font-size:14px;font-weight:950;text-decoration:none;}.ys-query-process-panel{margin-top:30px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:radial-gradient(circle at 100% 0%, rgba(34, 51, 92, 0.08), transparent 34%), #ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.18);}.ys-query-process-head{max-width:820px;}.ys-query-process-head h2{color:var(--parents-navy);}.ys-query-process-head>p:last-child{margin:18px 0 0;color:var(--parents-muted);font-size:16.5px;line-height:1.7;}.ys-query-process-start{position:relative;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:38px;align-items:stretch;margin-top:34px;}.ys-query-process-start::after{content:"";position:absolute;top:50%;left:calc(50% - 15px);width:30px;height:2px;background:var(--parents-border);}.ys-query-start-card, .ys-query-decision-card{padding:25px 28px;border-radius:18px;}.ys-query-start-card{background:var(--parents-navy);color:#ffffff;}.ys-query-decision-card{background:#fff5f5;border:1px solid rgba(180, 35, 47, 0.18);}.ys-query-start-card>span, .ys-query-decision-card>span, .ys-query-route-heading>span, .ys-query-non-urgent-intro>span, .ys-query-route-card header>span, .ys-query-final-route span{display:block;margin-bottom:9px;color:var(--parents-red);font-size:12px;font-weight:950;letter-spacing:1.1px;text-transform:uppercase;}.ys-query-start-card>span{color:var(--parents-gold);}.ys-query-start-card h3, .ys-query-decision-card h3, .ys-query-route-heading h3, .ys-query-non-urgent-intro h3, .ys-query-route-card h3, .ys-query-final-route h3{margin:0;color:var(--parents-navy);font-weight:950;line-height:1.18;letter-spacing:-0.025em;}.ys-query-start-card h3{color:#ffffff;font-size:23px;}.ys-query-decision-card h3{font-size:23px;}.ys-query-decision-card>div, .ys-query-route-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}.ys-query-decision-card a, .ys-query-route-actions a, .ys-query-formal-stage a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 17px;border-radius:999px;background:var(--parents-red);color:#ffffff;font-size:12px;font-weight:950;letter-spacing:0.55px;text-decoration:none;text-transform:uppercase;}.ys-query-decision-card a:last-child{background:#ffffff;color:var(--parents-navy);border:1px solid var(--parents-border);}.ys-query-safeguarding-route{display:grid;grid-template-columns:minmax(0, 0.9fr) minmax(0, 1.1fr);gap:30px;align-items:center;margin-top:30px;padding:28px;border-radius:20px;background:linear-gradient(135deg, #7f1d1d, #b4232f);color:#ffffff;scroll-margin-top:120px;}.ys-query-route-heading>span{color:#f8d48a;}.ys-query-route-heading h3{color:#ffffff;font-size:27px;}.ys-query-route-heading p{margin:12px 0 0;color:rgba(255, 255, 255, 0.82);font-size:15px;line-height:1.65;}.ys-query-route-actions a{background:#ffffff;color:#8f1f27;}.ys-query-route-actions a:last-child{background:transparent;color:#ffffff;border:1px solid rgba(255, 255, 255, 0.32);}.ys-query-safeguarding-steps{counter-reset:safeguarding-step;display:grid;gap:10px;margin:0;padding:0;list-style:none;}.ys-query-safeguarding-steps li{counter-increment:safeguarding-step;display:grid;grid-template-columns:34px minmax(0, 1fr);gap:12px;align-items:center;padding:13px 15px;border-radius:14px;background:rgba(255, 255, 255, 0.1);border:1px solid rgba(255, 255, 255, 0.12);font-size:14px;font-weight:800;line-height:1.45;}.ys-query-safeguarding-steps li::before{content:counter(safeguarding-step);width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#ffffff;color:#8f1f27;font-size:12px;font-weight:950;}.ys-query-non-urgent-intro{max-width:820px;margin:46px auto 0;text-align:center;scroll-margin-top:120px;}.ys-query-non-urgent-intro h3{font-size:clamp(26px, 3vw, 38px);}.ys-query-non-urgent-intro p{margin:15px 0 0;color:var(--parents-muted);font-size:15.5px;line-height:1.65;}.ys-query-non-urgent-intro a{color:var(--parents-red);font-weight:900;text-decoration:none;}.ys-query-route-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:18px;align-items:start;margin-top:30px;}.ys-query-route-card{--query-route:#176b9e;--query-route-soft:#edf7fd;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 14px 35px rgba(6, 24, 38, 0.08);}.ys-query-route-card--send{--query-route:#a66400;--query-route-soft:#fff8dc;}.ys-query-route-card--pastoral{--query-route:#2f7d4a;--query-route-soft:#edf9ef;}.ys-query-route-card header{min-height:190px;padding:25px 24px;background:var(--query-route-soft);border-top:5px solid var(--query-route);}.ys-query-route-card header>span{color:var(--query-route);}.ys-query-route-card h3{font-size:23px;}.ys-query-route-card header p{margin:12px 0 0;color:var(--parents-muted);font-size:14.5px;line-height:1.6;}.ys-query-route-stages{margin:0;padding:28px 24px 24px;list-style:none;}.ys-query-route-stages li{position:relative;padding:0 0 34px 22px;}.ys-query-route-stages li:last-child{padding-bottom:0;}.ys-query-route-stages li::before{content:"";position:absolute;z-index:2;top:5px;left:-5px;width:10px;height:10px;border-radius:50%;background:var(--query-route);box-shadow:0 0 0 4px #ffffff;}.ys-query-route-stages li:not(:last-child)::after{content:"";position:absolute;z-index:1;top:10px;bottom:-10px;left:0;width:2px;border-radius:999px;background:var(--query-route);}.ys-query-route-stages span{display:block;color:var(--query-route);font-size:11.5px;font-weight:950;letter-spacing:0.9px;text-transform:uppercase;}.ys-query-route-stages h4{margin:5px 0 0;color:var(--parents-navy);font-size:18px;font-weight:950;line-height:1.25;}.ys-query-route-stages p{margin:7px 0 0;color:var(--parents-muted);font-size:13.5px;line-height:1.55;}.ys-query-route-stages .ys-query-stage-timing{color:var(--query-route);font-weight:900;}.ys-query-route-card footer{padding:18px 24px 22px;background:#f8fafc;border-top:1px solid var(--parents-border);}.ys-query-route-card footer p, .ys-query-route-card footer strong{display:block;margin:0;font-size:13.5px;line-height:1.5;}.ys-query-route-card footer p{color:#2f7d4a;font-weight:900;}.ys-query-route-card footer strong{margin-top:5px;color:var(--parents-navy);}.ys-query-final-route{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:18px;margin-top:30px;padding:20px;border-radius:20px;background:var(--parents-navy);}.ys-query-final-stage, .ys-query-formal-stage{padding:25px;border-radius:16px;}.ys-query-final-stage{background:#fff1e9;}.ys-query-formal-stage{background:#ffffff;}.ys-query-final-route h3{font-size:24px;}.ys-query-final-route p{margin:11px 0 0;color:var(--parents-muted);font-size:14.5px;line-height:1.6;}.ys-query-formal-stage a{margin-top:18px;}.ys-events-calendar-frame{margin-top:30px;padding:10px;border-radius:18px;background:linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, rgba(244, 63, 59, 0.42), rgba(242, 185, 75, 0.3), rgba(34, 51, 92, 0.38)) border-box;border:1px solid transparent;}.ys-events-calendar-frame iframe{width:100%;height:min(76vh, 760px);min-height:600px;display:block;border:0;border-radius:12px;background:#ffffff;}.ys-byod-reader-section{position:relative;margin-top:28px;padding:clamp(32px, 4.6vw, 56px);border-radius:26px;background:linear-gradient(135deg, rgba(244, 63, 59, 0.08), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);border:1px solid rgba(206, 218, 229, 0.95);box-shadow:0 26px 70px rgba(6, 24, 38, 0.1);overflow:hidden;}.ys-byod-reader-section::before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:linear-gradient(180deg, var(--parents-red), #f2b94b);}.ys-byod-flipbook{margin-top:28px;max-width:1180px;margin-left:auto;margin-right:auto;border-radius:24px;background:radial-gradient(circle at 15% 10%, rgba(242, 185, 75, 0.14), transparent 28%), radial-gradient(circle at 90% 8%, rgba(244, 63, 59, 0.16), transparent 30%), linear-gradient(135deg, #061826 0%, #0a2638 46%, #122d3c 100%);border:1px solid rgba(255, 255, 255, 0.12);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -26px 54px rgba(0, 0, 0, 0.12), 0 24px 58px rgba(6, 24, 38, 0.22);overflow:hidden;}.ys-byod-reader-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:18px 22px 0;color:#ffffff;}.ys-byod-reader-toolbar>div{display:flex;flex-wrap:wrap;gap:10px;}.ys-byod-page-count{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:rgba(0, 0, 0, 0.35);color:#ffffff;font-size:13px;font-weight:950;letter-spacing:0.8px;text-transform:uppercase;}.ys-byod-reader-toolbar button{min-height:38px;padding:0 14px;border:1px solid rgba(255, 255, 255, 0.22);border-radius:999px;background:rgba(255, 255, 255, 0.13);color:#ffffff;cursor:pointer;font-family:inherit;font-size:12px;font-weight:950;letter-spacing:0.7px;text-transform:uppercase;}.ys-byod-reader-toolbar button:hover, .ys-byod-reader-toolbar button:focus-visible{background:var(--parents-red);border-color:var(--parents-red);outline:none;}.ys-byod-stage{position:relative;padding:clamp(28px, 3.2vw, 44px) clamp(58px, 5.2vw, 78px) clamp(30px, 3.4vw, 48px);outline:none;}.ys-byod-stage::before{content:"";position:absolute;inset:24px clamp(36px, 5vw, 64px);border-radius:24px;background:rgba(255, 255, 255, 0.04);border:1px solid rgba(255, 255, 255, 0.08);pointer-events:none;}.ys-byod-book{position:relative;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));width:min(980px, 100%);aspect-ratio:1.414 / 1;max-height:min(68vh, 680px);margin:0 auto;perspective:1600px;filter:drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));z-index:2;}.ys-byod-page{height:100%;min-height:0;background:linear-gradient(90deg, rgba(6, 24, 38, 0.04), transparent 10%, transparent 90%, rgba(6, 24, 38, 0.04)), #ffffff;overflow:hidden;}.ys-byod-left{border-radius:10px 0 0 10px;box-shadow:inset -14px 0 28px rgba(6, 24, 38, 0.08);}.ys-byod-right{border-radius:0 10px 10px 0;box-shadow:inset 14px 0 28px rgba(6, 24, 38, 0.08);}.ys-byod-page-inner{width:100%;height:100%;min-height:0;display:grid;place-items:center;background:#ffffff;isolation:isolate;}.ys-byod-page img{width:100%;height:100%;display:block;object-fit:contain;background:#ffffff;opacity:1;transform:translateZ(0);}.ys-byod-book::after{content:"";position:absolute;top:0;bottom:0;left:50%;width:18px;background:linear-gradient(90deg, rgba(6, 24, 38, 0.1), rgba(255, 255, 255, 0.1), rgba(6, 24, 38, 0.1));transform:translateX(-50%);pointer-events:none;z-index:3;}.ys-byod-page-placeholder{width:100%;height:100%;min-height:0;background:#f4f6f8;}.ys-byod-turn-page, .ys-byod-static-page{position:absolute;top:0;bottom:0;width:50%;background-color:#ffffff;background-position:center;background-size:100% 100%;background-repeat:no-repeat;opacity:0;pointer-events:none;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform, opacity, filter;z-index:4;}.ys-byod-static-page{opacity:0;transform:translateZ(1px);z-index:2;}.ys-byod-static-left{left:0;}.ys-byod-static-right{right:0;}.ys-byod-has-static .ys-byod-static-page{opacity:1;}.ys-byod-turning-next .ys-byod-static-left, .ys-byod-turning-prev .ys-byod-static-right{animation:ysByodStaticHold 0.98s linear forwards;}.ys-byod-turn-page::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 74%, rgba(6, 24, 38, 0.18));mix-blend-mode:multiply;pointer-events:none;}.ys-byod-turning-next .ys-byod-turn-page{right:0;opacity:1;transform-origin:left center;animation:ysByodTurnNext 0.42s ease forwards;}.ys-byod-turning-prev .ys-byod-turn-page{left:0;opacity:1;transform-origin:right center;animation:ysByodTurnPrev 0.42s ease forwards;}.ys-byod-nav{position:absolute;top:50%;z-index:5;width:58px;height:74px;border:0;border-radius:14px;background:rgba(0, 0, 0, 0.38);color:#ffffff;cursor:pointer;font-size:56px;line-height:1;transform:translateY(-50%);transition:background 0.2s ease, transform 0.2s ease;box-shadow:0 14px 30px rgba(0, 0, 0, 0.22);}.ys-byod-nav:hover, .ys-byod-nav:focus-visible{background:var(--parents-red);outline:none;}.ys-byod-prev{left:16px;}.ys-byod-next{right:16px;}.ys-byod-status{min-height:22px;margin:0;padding:0 22px 20px;color:rgba(255, 255, 255, 0.82);font-size:14px;font-weight:800;}.ys-byod-single .ys-byod-book{grid-template-columns:minmax(0, 1fr);width:min(440px, 100%);aspect-ratio:0.707 / 1;max-height:min(70vh, 620px);}.ys-byod-cover .ys-byod-book{grid-template-columns:minmax(0, 1fr);width:min(430px, 100%);aspect-ratio:0.707 / 1;max-height:min(70vh, 620px);}.ys-byod-single .ys-byod-right, .ys-byod-cover .ys-byod-right{display:none;}.ys-byod-single .ys-byod-left, .ys-byod-cover .ys-byod-left{border-radius:12px;box-shadow:inset -22px 0 42px rgba(6, 24, 38, 0.13), 18px 20px 36px rgba(0, 0, 0, 0.24);}.ys-byod-single .ys-byod-turn-page, .ys-byod-cover .ys-byod-turn-page, .ys-byod-single .ys-byod-static-page, .ys-byod-cover .ys-byod-static-page{width:100%;}.ys-byod-cover .ys-byod-book::after{display:none;}@keyframes ysByodTurnNext{0%{transform:translateX(0) scale(1);opacity:1;filter:brightness(1);}50%{transform:translateX(-8%) scale(0.99);opacity:0.72;filter:brightness(0.98);}100%{transform:translateX(-14%) scale(0.985);opacity:0;filter:brightness(0.96);}}@keyframes ysByodTurnPrev{0%{transform:translateX(0) scale(1);opacity:1;filter:brightness(1);}50%{transform:translateX(8%) scale(0.99);opacity:0.72;filter:brightness(0.98);}100%{transform:translateX(14%) scale(0.985);opacity:0;filter:brightness(0.96);}}@keyframes ysByodStaticHold{0%, 70%{opacity:1;}100%{opacity:0;}}.ys-byod-clean-reader{max-width:860px;border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 22px 58px rgba(6, 24, 38, 0.12);}.ys-byod-clean-reader .ys-byod-reader-toolbar{padding:18px 20px;border-bottom:1px solid var(--parents-border);color:var(--parents-navy);}.ys-byod-clean-reader .ys-byod-page-count{background:rgba(6, 24, 38, 0.08);color:var(--parents-navy);}.ys-byod-clean-reader .ys-byod-reader-toolbar>div{align-items:center;}.ys-byod-clean-reader .ys-byod-reader-toolbar button, .ys-byod-clean-reader .ys-byod-download{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border-radius:999px;background:var(--parents-red);border:1px solid var(--parents-red);color:#ffffff;cursor:pointer;font-family:inherit;font-size:11px;font-weight:950;letter-spacing:0.7px;text-decoration:none;text-transform:uppercase;}.ys-byod-clean-reader .ys-byod-stage{display:flex;align-items:center;justify-content:center;gap:clamp(12px, 2vw, 18px);padding:clamp(18px, 2.4vw, 28px);background:radial-gradient(circle at 12% 12%, rgba(242, 185, 75, 0.12), transparent 28%), #eef4f8;}.ys-byod-clean-reader .ys-byod-stage::before, .ys-byod-clean-reader .ys-byod-book::after, .ys-byod-clean-reader .ys-byod-turn-page, .ys-byod-clean-reader .ys-byod-static-page{display:none;}.ys-byod-clean-reader .ys-byod-book{width:min(420px, 100%);min-width:0;max-height:none;aspect-ratio:auto;display:grid;grid-template-columns:minmax(0, 1fr);gap:0;filter:none;perspective:none;}.ys-byod-clean-reader .ys-byod-page{height:auto;min-height:0;overflow:hidden;border-radius:14px;background:#ffffff;border:1px solid rgba(203, 215, 226, 0.95);box-shadow:0 16px 34px rgba(6, 24, 38, 0.12);}.ys-byod-clean-reader .ys-byod-left, .ys-byod-clean-reader .ys-byod-right, .ys-byod-clean-reader.ys-byod-single .ys-byod-left, .ys-byod-clean-reader.ys-byod-cover .ys-byod-left{border-radius:14px;box-shadow:0 16px 34px rgba(6, 24, 38, 0.12);}.ys-byod-clean-reader .ys-byod-page-inner{background:#ffffff;display:block;height:auto;}.ys-byod-clean-reader .ys-byod-page img{width:100%;height:auto;min-height:0;object-fit:contain;vertical-align:bottom;}.ys-byod-clean-reader .ys-byod-page-placeholder{min-height:300px;display:grid;place-items:center;color:var(--parents-muted);font-size:14px;font-weight:900;}.ys-byod-clean-reader .ys-byod-page-placeholder[hidden], .ys-byod-clean-reader img[hidden]{display:none !important;}.ys-byod-clean-reader.ys-byod-single .ys-byod-book, .ys-byod-clean-reader.ys-byod-cover .ys-byod-book{width:min(420px, 100%);grid-template-columns:minmax(0, 1fr);}.ys-byod-clean-reader.ys-byod-single .ys-byod-right, .ys-byod-clean-reader.ys-byod-cover .ys-byod-right{display:none;}.ys-byod-clean-reader .ys-byod-reader-fade{animation:ysByodReaderFade 0.16s ease;}.ys-byod-clean-reader .ys-byod-slide-next{animation:ysByodReaderOutNext 0.12s ease forwards;}.ys-byod-clean-reader .ys-byod-slide-prev{animation:ysByodReaderOutPrev 0.12s ease forwards;}.ys-byod-clean-reader .ys-byod-nav{position:static;flex:0 0 auto;width:44px;height:54px;border-radius:14px;background:#ffffff;color:var(--parents-navy);font-size:38px;transform:none;box-shadow:0 12px 28px rgba(6, 24, 38, 0.16);}.ys-byod-clean-reader .ys-byod-nav:hover, .ys-byod-clean-reader .ys-byod-nav:focus-visible{background:var(--parents-red);color:#ffffff;}.ys-byod-clean-reader .ys-byod-status{display:none;}.ys-byod-preview-strip{display:flex;gap:10px;padding:16px 20px 4px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;background:#ffffff;border-top:1px solid var(--parents-border);}.ys-byod-preview-strip button{flex:0 0 76px;display:grid;gap:7px;padding:7px;border:1px solid rgba(203, 215, 226, 0.95);border-radius:12px;background:#f8fafc;color:var(--parents-muted);cursor:pointer;font:inherit;font-size:11px;font-weight:950;text-align:center;}.ys-byod-preview-strip button.active{border-color:var(--parents-red);background:#ffffff;color:var(--parents-red);box-shadow:0 10px 20px rgba(244, 63, 59, 0.14);}.ys-byod-preview-strip i{width:100%;aspect-ratio:0.707 / 1;display:block;border-radius:8px;background:linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent), #dfe8ef;background-position:center;background-size:cover;box-shadow:inset 0 0 0 1px rgba(6, 24, 38, 0.08);}@keyframes ysByodReaderFade{from{opacity:0.2;transform:translateY(8px) scale(0.992);}to{opacity:1;transform:translateY(0);}}@keyframes ysByodReaderOutNext{to{opacity:0;transform:translateX(-18px) scale(0.99);}}@keyframes ysByodReaderOutPrev{to{opacity:0;transform:translateX(18px) scale(0.99);}}.ys-parents-wp-content{position:relative;z-index:2;max-width:920px;}.ys-newsletter-overview{display:grid;grid-template-columns:minmax(0, 1.15fr) minmax(320px, 0.85fr);gap:28px;align-items:stretch;padding:clamp(30px, 4vw, 48px);border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 18px 48px rgba(6, 24, 38, 0.07);}.ys-newsletter-overview h2, .ys-newsletter-latest h2, .ys-newsletter-archive h2{margin:0;color:var(--parents-navy);font-size:clamp(34px, 4.2vw, 56px);font-weight:950;line-height:1.05;letter-spacing:-0.04em;}.ys-newsletter-overview>div>p:last-child, .ys-newsletter-latest-content>p:not(.ys-parents-eyebrow), .ys-newsletter-archive-head p:not(.ys-parents-eyebrow){max-width:820px;margin:18px 0 0;color:var(--parents-muted);font-size:16.5px;line-height:1.7;}.ys-newsletter-maintenance-note{display:flex;flex-direction:column;justify-content:center;padding:28px;border-radius:20px;background:radial-gradient(circle at 88% 12%, rgba(242, 185, 75, 0.22), transparent 32%), linear-gradient(135deg, var(--parents-navy), #0d4964);color:#ffffff;}.ys-newsletter-maintenance-note>span{color:var(--parents-gold);font-size:12px;font-weight:950;letter-spacing:1.2px;text-transform:uppercase;}.ys-newsletter-maintenance-note h3{margin:13px 0 0;color:#ffffff;font-size:25px;font-weight:950;line-height:1.15;letter-spacing:-0.025em;}.ys-newsletter-maintenance-note p{margin:13px 0 0;color:rgba(255, 255, 255, 0.8);font-size:14.5px;line-height:1.65;}.ys-newsletter-latest{display:grid;grid-template-columns:minmax(220px, 0.32fr) minmax(0, 0.68fr);gap:clamp(30px, 5vw, 68px);align-items:center;margin-top:30px;padding:clamp(30px, 5vw, 62px);border-radius:24px;background:radial-gradient(circle at 100% 0%, rgba(244, 63, 59, 0.08), transparent 34%), linear-gradient(180deg, #ffffff, #f7fafc);border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.09);scroll-margin-top:120px;}.ys-newsletter-document{position:relative;width:min(100%, 250px);aspect-ratio:0.72;display:flex;flex-direction:column;justify-content:space-between;justify-self:center;padding:26px;overflow:hidden;border-radius:18px 18px 28px 18px;background:radial-gradient(circle at 88% 10%, rgba(244, 63, 59, 0.13), transparent 24%), linear-gradient(180deg, #ffffff, #f2f6fa);color:#ffffff;border:1px solid var(--parents-border);box-shadow:0 26px 54px rgba(6, 24, 38, 0.12);}.ys-newsletter-document::before{content:"";position:absolute;top:0;right:0;width:68px;height:68px;border-radius:0 18px 0 24px;background:rgba(6, 24, 38, 0.12);}.ys-newsletter-document::after{content:"";position:absolute;inset:auto 0 0;height:8px;background:linear-gradient(90deg, var(--parents-red), var(--parents-gold), var(--parents-green));}.ys-newsletter-document span, .ys-newsletter-document strong, .ys-newsletter-document small, .ys-newsletter-document-lines{position:relative;z-index:1;}.ys-newsletter-document span{color:var(--parents-gold);font-size:13px;font-weight:950;letter-spacing:1.4px;text-transform:uppercase;}.ys-newsletter-document strong{margin-top:8px;color:var(--parents-navy);font-size:22px;font-weight:950;line-height:1.15;letter-spacing:-0.04em;}.ys-newsletter-document small{display:block;margin-top:auto;color:var(--parents-red);font-size:12px;font-weight:950;letter-spacing:0.9px;text-transform:uppercase;}.ys-newsletter-document-lines{display:grid;gap:10px;margin-top:28px;}.ys-newsletter-document-lines i{display:block;height:3px;border-radius:999px;background:rgba(6, 24, 38, 0.14);}.ys-newsletter-document-lines i:nth-child(2){width:82%;}.ys-newsletter-document-lines i:nth-child(3){width:64%;}.ys-newsletter-meta{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0;}.ys-newsletter-meta span, .ys-newsletter-archive-head>span, .ys-newsletter-current{display:inline-flex;align-items:center;min-height:32px;padding:0 13px;border-radius:999px;background:rgba(34, 51, 92, 0.08);color:var(--parents-navy);font-size:11.5px;font-weight:950;letter-spacing:0.8px;text-transform:uppercase;}.ys-newsletter-meta span:last-child, .ys-newsletter-current{background:rgba(244, 63, 59, 0.1);color:var(--parents-red);}.ys-newsletter-latest-actions{display:flex;flex-wrap:wrap;gap:10px;}.ys-newsletter-latest-actions .ys-parents-primary{border:0;cursor:pointer;}.ys-newsletter-archive{margin-top:30px;padding:clamp(30px, 4.5vw, 54px);border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 70px rgba(6, 24, 38, 0.08);scroll-margin-top:120px;}.ys-newsletter-archive-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:28px;border-bottom:1px solid var(--parents-border);}.ys-newsletter-archive-head>span{flex:0 0 auto;background:rgba(244, 63, 59, 0.1);color:var(--parents-red);}.ys-newsletter-list{display:grid;gap:10px;margin-top:22px;}.ys-newsletter-row{display:grid;grid-template-columns:70px minmax(0, 1fr) auto auto;gap:18px;align-items:center;min-height:112px;padding:18px;border-radius:20px;background:linear-gradient(180deg, #ffffff, #f8fafc);border:1px solid transparent;box-shadow:0 10px 26px rgba(6, 24, 38, 0.035);transition:background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;}.ys-newsletter-row:hover{transform:translateY(-2px);background:#ffffff;border-color:rgba(244, 63, 59, 0.18);box-shadow:0 16px 34px rgba(6, 24, 38, 0.08);}.ys-newsletter-row-icon{position:relative;width:62px;height:76px;display:flex;align-items:flex-end;padding:10px;border-radius:13px 13px 17px 13px;background:linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%), linear-gradient(145deg, var(--parents-blue), var(--parents-navy));color:#ffffff;box-shadow:0 12px 24px rgba(6, 24, 38, 0.12);}.ys-newsletter-row-icon::after{content:"";position:absolute;top:0;right:0;width:19px;height:19px;border-radius:0 13px 0 9px;background:rgba(255, 255, 255, 0.5);}.ys-newsletter-row-icon::before{content:"";position:absolute;left:10px;right:10px;top:24px;height:2px;border-radius:999px;background:rgba(255, 255, 255, 0.28);box-shadow:0 10px 0 rgba(255, 255, 255, 0.22), 0 20px 0 rgba(255, 255, 255, 0.16);}.ys-newsletter-row-icon span{position:relative;z-index:1;font-size:8.5px;font-weight:950;letter-spacing:0.6px;text-transform:uppercase;}.ys-newsletter-row-content>span{display:block;width:max-content;max-width:100%;color:var(--parents-red);font-size:11.5px;font-weight:950;letter-spacing:0.9px;text-transform:uppercase;}.ys-newsletter-row-content h3{max-width:100%;margin:6px 0 0;color:var(--parents-navy);font-size:clamp(18px, 2.1vw, 24px);font-weight:950;line-height:1.25;letter-spacing:-0.03em;overflow-wrap:anywhere;}.ys-newsletter-row-actions{display:flex;align-items:center;gap:8px;}.ys-newsletter-row-actions button, .ys-newsletter-row-actions a{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:999px;font-size:11px;font-weight:950;letter-spacing:0.65px;text-decoration:none;text-transform:uppercase;transition:background 0.2s ease, border-color 0.2s ease, color 0.2s ease;}.ys-newsletter-row-actions button{border:1px solid var(--parents-border);background:#ffffff;color:var(--parents-navy);cursor:pointer;}.ys-newsletter-row-actions button:hover{border-color:rgba(244, 63, 59, 0.32);color:var(--parents-red);}.ys-newsletter-row-actions a{background:var(--parents-red);color:#ffffff;}.ys-newsletter-row-actions a:hover{background:#ef3c42;color:#ffffff;}.ys-newsletter-modal{position:fixed;z-index:10000;inset:0;opacity:0;pointer-events:none;display:flex;align-items:center;justify-content:center;padding:clamp(14px, 3vw, 34px);transition:opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);}.ys-newsletter-modal.active{opacity:1;pointer-events:auto;}.ys-newsletter-modal-overlay{position:absolute;inset:0;background:rgba(4, 20, 32, 0.78);backdrop-filter:blur(5px);}.ys-newsletter-modal-box{position:relative;width:min(1200px, 100%);max-height:92vh;overflow:hidden;border-radius:22px;background:#ffffff;box-shadow:0 30px 90px rgba(0, 0, 0, 0.32);display:flex;flex-direction:column;transform:scale(0.95) translateY(10px);transition:transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);}.ys-newsletter-modal.active .ys-newsletter-modal-box{transform:scale(1) translateY(0);}.ys-newsletter-modal-head{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;border-bottom:1px solid var(--parents-border);flex:0 0 auto;}.ys-newsletter-modal-head>div:first-child{min-width:0;}.ys-newsletter-modal-head span{display:block;color:var(--parents-red);font-size:11px;font-weight:950;letter-spacing:0.9px;text-transform:uppercase;}.ys-newsletter-modal-head h2{max-width:100%;margin:5px 0 0;color:var(--parents-navy);font-size:clamp(20px, 2.4vw, 30px);font-weight:950;line-height:1.15;overflow-wrap:anywhere;}.ys-newsletter-modal-head>div:last-child{display:flex;align-items:center;gap:10px;flex:0 0 auto;}.ys-newsletter-modal-head a, .ys-newsletter-modal-head button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:950;}.ys-newsletter-modal-head a{padding:0 17px;background:var(--parents-red);color:#ffffff;font-size:11px;letter-spacing:0.65px;text-decoration:none;text-transform:uppercase;white-space:nowrap;}.ys-newsletter-modal-head button{width:40px;padding:0;border:1px solid var(--parents-border);background:#ffffff;color:var(--parents-navy);cursor:pointer;font-size:25px;line-height:1;}.ys-newsletter-modal-viewer{height:min(78vh, 760px);flex:1 1 auto;display:flex;flex-direction:column;background:#e8eef3;overflow:hidden;position:relative;}.ys-newsletter-modal-viewer iframe{width:100%;height:100%;border:0;background:#ffffff;flex:1 1 auto;}.ys-newsletter-modal-loading{margin:auto;color:var(--parents-muted);font-size:15px;font-weight:700;}.ys-parents-wp-content>*:first-child{margin-top:0;}@media (max-width:1100px){.ys-parents-overview, .ys-parents-tools, .ys-parents-card-grid, .ys-parents-uniform-grid, .ys-admissions-doc-grid, .ys-admissions-policy-panel, .ys-admissions-video-grid, .ys-parents-pdf-head, .ys-parents-absence-checklist, .ys-parents-transport-grid, .ys-parents-lost-steps, .ys-parents-tool-spotlight, .ys-parents-payment-hero, .ys-newsletter-overview, .ys-newsletter-latest, .ys-term-dates-grid, .ys-exam-story-intro, .ys-exam-detail-grid, .ys-exam-groups-panel, .ys-exam-infographic-panel, .ys-query-urgent, .ys-query-safeguarding-route{grid-template-columns:1fr;}.ys-exam-metrics-grid, .ys-exam-measure-grid, .ys-query-pathways-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}.ys-exam-release-grid{grid-template-columns:1fr;}.ys-result-modal-box{grid-template-columns:1fr;max-height:92vh;overflow-y:auto;}.ys-result-modal-preview{min-height:auto;max-height:62vh;}.ys-parents-resource-grid{grid-template-columns:repeat(3, minmax(0, 1fr));}.ys-admissions-event-grid{grid-template-columns:1fr;}.ys-parents-pdf-actions{justify-content:flex-start;}}@media (max-width:720px){.ys-parents-page .ys-container{width:min(100% - 32px, 1400px);}.ys-parents-hero{min-height:560px;padding:118px 0 132px;}.ys-parents-hero h1{font-size:clamp(42px, 12vw, 64px);letter-spacing:-1px;}.ys-parents-hero-actions{align-items:flex-start;flex-direction:column;gap:10px;}.ys-parents-primary, .ys-parents-secondary{width:auto;min-height:44px;padding:0 18px;font-size:12px;}.ys-parents-content-section{padding:0 0 76px;}.ys-parents-content-section>.ys-container>*:first-child{margin-top:-54px;}.ys-parents-overview, .ys-parents-tools, .ys-parents-editor-content, .ys-parents-info-card, .ys-parents-pdf-panel, .ys-admissions-link-panel, .ys-admissions-routes, .ys-admissions-events, .ys-admissions-documents, .ys-admissions-policy-panel, .ys-admissions-video-panel, .ys-parents-absence-checklist, .ys-parents-transport-gallery, .ys-parents-sheet-panel, .ys-parents-tool-spotlight, .ys-parents-payment-hero, .ys-parents-resource-panel, .ys-newsletter-overview, .ys-newsletter-latest, .ys-newsletter-archive, .ys-byod-reader-section, .ys-school-day-panel, .ys-term-dates-panel, .ys-exam-metrics-panel, .ys-exam-release-panel, .ys-exam-story-panel, .ys-exam-infographic-panel, .ys-query-urgent, .ys-query-pathways-panel, .ys-query-process-panel, .ys-events-calendar-panel{border-radius:18px;padding:24px 22px;}.ys-exam-metrics-grid, .ys-exam-measure-grid, .ys-key-info-grid, .ys-admissions-doc-grid, .ys-admissions-event-grid, .ys-admissions-video-grid, .ys-query-pathways-grid, .ys-query-route-grid{grid-template-columns:1fr;}.ys-admissions-event-card{grid-template-columns:1fr;}.ys-admissions-overview h2, .ys-admissions-section-head h2, .ys-admissions-policy-panel h2{font-size:clamp(30px, 8.6vw, 38px);letter-spacing:-0.03em;overflow-wrap:anywhere;}.ys-admissions-event-card figure{min-height:240px;}.ys-parents-image-pdf-preview{padding:8px;border-radius:14px;}.ys-parents-image-pdf-preview span{right:16px;bottom:16px;}.ys-key-info-card{grid-template-columns:44px minmax(0, 1fr);gap:14px;min-height:auto;padding:18px;border-radius:16px;}.ys-key-info-card-top{gap:8px;}.ys-key-info-card-top>span{width:40px;height:40px;border-radius:12px;}.ys-key-info-card-top strong{display:none;}.ys-key-info-card h3{font-size:21px;}.ys-key-info-card p{font-size:14.5px;line-height:1.55;}.ys-key-info-card a{width:100%;}.ys-exam-metric-card{min-height:140px;padding:22px;border-radius:16px;}.ys-exam-release-card{grid-template-columns:1fr;min-height:auto;border-radius:16px;}.ys-exam-release-image{min-height:240px;}.ys-exam-release-content{padding:24px 22px;}.ys-exam-context-note, .ys-exam-measure-card, .ys-exam-subject-panel, .ys-exam-comparison-panel, .ys-exam-groups-panel{padding:20px;border-radius:16px;}.ys-exam-comparison-table, .ys-exam-groups-panel>div{grid-template-columns:1fr;}.ys-exam-infographic-panel figure{padding:10px;border-radius:16px;}.ys-result-modal{align-items:end;padding:10px;}.ys-result-modal-box{width:100%;max-height:92vh;border-radius:22px 22px 0 0;}.ys-result-modal-preview{max-height:54vh;padding:14px;}.ys-result-modal-content{padding:24px 20px;}.ys-result-modal-content .ys-parents-primary{width:100%;}.ys-query-urgent-actions{justify-items:start;}.ys-query-urgent-actions a{min-width:0;min-height:44px;padding:0 18px;font-size:12px;}.ys-query-path-card{min-height:auto;padding:22px;border-radius:16px;}.ys-query-process-start, .ys-query-final-route{grid-template-columns:1fr;}.ys-query-process-start{gap:14px;margin-top:26px;}.ys-query-process-start::after{display:none;}.ys-query-start-card, .ys-query-decision-card, .ys-query-safeguarding-route, .ys-query-final-stage, .ys-query-formal-stage{padding:20px;border-radius:14px;}.ys-query-decision-card>div, .ys-query-route-actions{align-items:flex-start;flex-direction:column;}.ys-query-decision-card a, .ys-query-route-actions a, .ys-query-formal-stage a{min-height:40px;padding:0 14px;font-size:11px;}.ys-query-non-urgent-intro{margin-top:34px;text-align:left;}.ys-query-route-card header{min-height:0;padding:22px;}.ys-query-route-stages{padding-left:22px;padding-right:22px;}.ys-query-route-card footer{padding:17px 22px 20px;}.ys-query-final-route{padding:12px;border-radius:16px;}.ys-events-calendar-frame{margin-left:-10px;margin-right:-10px;padding:7px;border-radius:14px;}.ys-events-calendar-frame iframe{height:66vh;min-height:480px;border-radius:10px;}.ys-school-day-item{grid-template-columns:52px minmax(0, 1fr);gap:0;padding:0;}.ys-school-day-table-head{display:none;}.ys-school-day-item>*{min-height:auto;padding:13px 14px;}.ys-school-day-item>*+*{border-left:1px solid rgba(220, 228, 236, 0.8);}.ys-school-day-number{grid-column:1;grid-row:2 / 4;width:auto;height:auto;border-radius:0;}.ys-school-day-session{grid-column:2;grid-row:2;min-width:0;}.ys-school-day-duration{grid-column:2;grid-row:3;font-size:13px;border-top:1px solid rgba(220, 228, 236, 0.8);}.ys-school-day-item time{grid-column:1 / -1;grid-row:1;justify-content:flex-start;min-height:0;padding:12px 14px;border-left:0;border-top:1px solid var(--parents-border);color:var(--parents-red);font-size:22px;}.ys-term-date-card{min-height:auto;border-radius:16px;}.ys-term-date-preview{min-height:210px;height:210px;padding:10px;}.ys-term-date-card-content{padding:22px;}.ys-newsletter-maintenance-note{padding:22px;border-radius:16px;}.ys-newsletter-document{width:100%;max-width:260px;}.ys-newsletter-archive-head{align-items:flex-start;flex-direction:column;padding-bottom:22px;}.ys-newsletter-row{grid-template-columns:64px minmax(0, 1fr);gap:14px;align-items:start;min-height:0;padding:16px;}.ys-newsletter-row-icon{width:56px;height:70px;}.ys-newsletter-row-content{min-width:0;}.ys-newsletter-row-content h3{font-size:22px;line-height:1.14;}.ys-newsletter-current{grid-column:2;justify-self:start;}.ys-newsletter-row-actions{grid-column:2;justify-self:start;flex-wrap:wrap;width:100%;}.ys-newsletter-row-actions button, .ys-newsletter-row-actions a{min-height:40px;flex:1 1 118px;}.ys-newsletter-modal{align-items:stretch;padding:0;}.ys-newsletter-modal-box{width:100%;height:100vh;height:100dvh;max-height:none;border-radius:0;}.ys-newsletter-modal-head{min-height:0;align-items:center;gap:10px;padding:12px;}.ys-newsletter-modal-head h2{font-size:18px;line-height:1.15;}.ys-newsletter-modal-head>div:last-child{gap:7px;}.ys-newsletter-modal-head a{min-height:38px;padding:0 12px;font-size:10px;}.ys-newsletter-modal-head button{width:38px;min-height:38px;flex:0 0 38px;}.ys-newsletter-modal-viewer{height:100%;flex:1;display:flex;flex-direction:column;}.ys-newsletter-modal-viewer iframe{width:100%;height:100%;flex:1;}.ys-parents-tool-logo, .ys-parents-payment-logo{min-height:180px;padding:22px;border-radius:16px;}.ys-parents-resource-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;}.ys-parents-resource-card{min-height:132px;padding:16px 10px;}.ys-parents-resource-card img{width:68px;height:68px;}.ys-parents-lost-step{min-height:auto;padding:24px 22px;border-radius:16px;}.ys-parents-info-card{min-height:auto;}.ys-parents-pdf-actions{align-items:flex-start;flex-direction:column;gap:10px;}.ys-parents-pdf-viewer{height:62vh;min-height:420px;border-radius:14px;}.ys-parents-transport-card{padding:16px;border-radius:16px;}.ys-parents-transport-preview{border-radius:12px;}.ys-parents-transport-preview>span{right:10px;bottom:10px;min-height:30px;padding:0 11px;font-size:10px;}.ys-parents-transport-card:not(.ys-parents-transport-card-wide) img{max-height:none;}.ys-parent-media-modal{align-items:stretch;padding:0;}.ys-parent-media-modal-box{width:100%;height:100vh;height:100dvh;max-height:none;border-radius:0;}.ys-parent-media-modal-head{min-height:0;align-items:center;gap:10px;padding:12px;}.ys-parent-media-modal-head h2{font-size:18px;line-height:1.15;letter-spacing:-0.02em;}.ys-parent-media-modal-head>div:last-child{gap:7px;}.ys-parent-media-modal-head a{min-height:38px;padding:0 12px;font-size:10px;white-space:nowrap;}.ys-parent-media-modal-head button{width:38px;min-height:38px;flex:0 0 38px;}.ys-parent-media-modal-viewer{height:auto;min-height:0;flex:1 1 auto;padding:10px;}.ys-parent-media-frame{height:100%;min-height:calc(100dvh - 82px);}.ys-parent-media-image{max-width:100%;border-radius:10px;}.ys-parent-media-modal[data-media-active-type="image"]{align-items:stretch;overflow:hidden;padding:0;}.ys-parent-media-modal[data-media-active-type="image"] .ys-parent-media-modal-box{height:100vh;height:100dvh;min-height:0;max-height:none;border-radius:0;}.ys-parent-media-modal[data-media-active-type="image"] .ys-parent-media-modal-viewer{height:auto;max-height:none;flex:1 1 auto;align-items:center;justify-content:center;background:#10283b;}.ys-parent-media-modal[data-media-active-type="image"] .ys-parent-media-image{width:auto;max-width:100%;max-height:calc(100dvh - 92px);margin:auto;box-shadow:none;}.ys-parent-media-modal[data-media-active-type="pdf"] .ys-parent-media-modal-viewer{padding:0;background:#10283b;}.ys-parent-media-modal[data-media-active-type="pdf"] .ys-parent-media-frame{min-height:0;height:100%;border-radius:0;}.ys-parents-sheet-frame{margin-left:-10px;margin-right:-10px;padding:8px;border-radius:14px;}.ys-parents-sheet-frame iframe{height:66vh;min-height:420px;border-radius:10px;}.ys-byod-reader-toolbar{align-items:stretch;flex-direction:column;padding:14px 14px 0;}.ys-byod-reader-toolbar>div{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));}.ys-byod-stage{display:flex;align-items:center;justify-content:center;padding:18px 38px 20px;}.ys-byod-stage::before{display:none;}.ys-byod-nav{width:34px;height:48px;border-radius:10px;font-size:36px;}.ys-byod-prev{left:4px;}.ys-byod-next{right:4px;}.ys-byod-book, .ys-byod-cover .ys-byod-book, .ys-byod-single .ys-byod-book{width:min(330px, 100%);max-height:min(62vh, 500px);margin:0 auto;filter:drop-shadow(0 12px 20px rgba(0, 0, 0, 0.26));}.ys-byod-single .ys-byod-left, .ys-byod-cover .ys-byod-left{border-radius:10px;box-shadow:0 12px 24px rgba(0, 0, 0, 0.22);}.ys-byod-clean-reader{margin-left:-6px;margin-right:-6px;border-radius:18px;}.ys-byod-clean-reader .ys-byod-reader-toolbar{padding:14px;}.ys-byod-clean-reader .ys-byod-reader-toolbar>div{display:block;}.ys-byod-clean-reader .ys-byod-download{width:100%;}.ys-byod-clean-reader .ys-byod-stage{min-height:0;gap:8px;padding:12px 10px 14px;background:#edf4f8;}.ys-byod-clean-reader .ys-byod-book, .ys-byod-clean-reader.ys-byod-cover .ys-byod-book, .ys-byod-clean-reader.ys-byod-single .ys-byod-book{flex:1 1 280px;width:min(100%, 300px);max-height:none;}.ys-byod-clean-reader .ys-byod-page, .ys-byod-clean-reader.ys-byod-single .ys-byod-left, .ys-byod-clean-reader.ys-byod-cover .ys-byod-left{border-radius:10px;box-shadow:0 10px 22px rgba(6, 24, 38, 0.14);}.ys-byod-clean-reader .ys-byod-page img{width:100%;height:auto;min-height:0;}.ys-byod-clean-reader .ys-byod-page-placeholder{min-height:260px;}.ys-byod-clean-reader .ys-byod-nav{width:32px;height:44px;border-radius:999px;font-size:28px;}.ys-byod-clean-reader .ys-byod-status{display:none;}.ys-byod-preview-strip{gap:8px;padding:12px 14px 3px;}.ys-byod-preview-strip button{flex-basis:58px;padding:5px;border-radius:10px;font-size:10px;}.ys-byod-preview-strip i{border-radius:7px;}}.ys-parents-mcas-overview{padding:56px;border-radius:28px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 24px 64px rgba(6, 24, 38, 0.06);position:relative;margin-bottom:48px;}.ys-parents-mcas-overview-content{position:relative;z-index:1;}.ys-parents-mcas-overview h2{margin:0 0 22px;color:var(--parents-navy);font-size:clamp(34px, 4vw, 50px);font-weight:950;letter-spacing:-0.03em;line-height:1.05;}.ys-parents-mcas-overview p:not(.ys-parents-eyebrow){color:var(--parents-muted);font-size:clamp(16px, 1.2vw, 18px);line-height:1.72;max-width:820px;margin:0 0 12px;}.ys-parents-mcas-features{grid-template-columns:repeat(3, 1fr);margin-bottom:48px;}.ys-parents-mcas-features .ys-parents-info-card{position:relative;overflow:hidden;}.ys-parents-mcas-features .ys-parents-info-card::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;border-radius:28px 28px 0 0;background:linear-gradient(90deg, var(--parents-navy), #22335c);}.ys-parents-mcas-download{margin-bottom:48px;}.ys-parents-mcas-download-inner{padding:44px 48px;border-radius:24px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 4px 24px rgba(6, 24, 38, 0.06);}.ys-parents-mcas-download h2{margin:0 0 10px;color:var(--parents-navy);font-size:clamp(28px, 3vw, 38px);font-weight:950;letter-spacing:-0.025em;line-height:1.1;}.ys-parents-mcas-download p:not(.ys-parents-eyebrow){color:var(--parents-muted);font-size:16px;line-height:1.65;margin:0 0 28px;}.ys-parents-mcas-app-links{display:grid;grid-template-columns:repeat(2, 1fr);gap:16px;}.ys-parents-mcas-app-card{display:flex;align-items:center;gap:18px;padding:22px 26px;border-radius:18px;background:#f6f9fc;border:1.5px solid var(--parents-border);text-decoration:none !important;transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;cursor:pointer;}.ys-parents-mcas-app-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(6, 24, 38, 0.1);border-color:var(--parents-navy);background:#ffffff;}.ys-parents-mcas-app-icon{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg, var(--parents-navy), #1a3a5c);display:grid;place-items:center;font-size:26px;flex:0 0 auto;box-shadow:0 4px 14px rgba(6, 24, 38, 0.16);}.ys-parents-mcas-app-info{display:flex;flex-direction:column;gap:4px;flex:1;}.ys-parents-mcas-app-info strong{color:var(--parents-navy);font-size:17px;font-weight:800;letter-spacing:-0.01em;}.ys-parents-mcas-app-info small{color:var(--parents-muted);font-size:13px;line-height:1.4;}.ys-parents-mcas-app-arrow{font-size:22px;color:var(--parents-muted);transition:transform 0.2s, color 0.2s;flex:0 0 auto;}.ys-parents-mcas-app-card:hover .ys-parents-mcas-app-arrow{transform:translateX(4px);color:var(--parents-red);}.ys-parents-mcas-help{margin-bottom:48px;}.ys-parents-mcas-help h2{margin:0 0 24px;color:var(--parents-navy);font-size:clamp(28px, 3vw, 38px);font-weight:950;letter-spacing:-0.025em;line-height:1.1;}.ys-parents-mcas-help-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:14px;}.ys-parents-mcas-help-card{display:flex;align-items:center;gap:16px;padding:24px 28px;border-radius:20px;background:#ffffff;border:1px solid var(--parents-border);box-shadow:0 2px 12px rgba(6, 24, 38, 0.05);text-decoration:none !important;transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;cursor:pointer;}.ys-parents-mcas-help-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(6, 24, 38, 0.09);border-color:var(--parents-navy);}.ys-parents-mcas-help-label{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:#fff3e0;border:1px solid #ffd699;color:#9a6700;font-size:11px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;white-space:nowrap;flex:0 0 auto;}.ys-parents-mcas-help-card strong{color:var(--parents-navy);font-size:15px;font-weight:700;line-height:1.4;flex:1;}.ys-parents-mcas-help-arrow{font-size:20px;color:var(--parents-muted);transition:transform 0.2s, color 0.2s;flex:0 0 auto;}.ys-parents-mcas-help-card:hover .ys-parents-mcas-help-arrow{transform:translateX(4px);color:var(--parents-red);}.ys-parents-mcas-contact-guidance{margin-bottom:48px;}.ys-parents-mcas-contact-guidance h2{margin:0 0 24px;color:var(--parents-navy);font-size:clamp(28px, 3vw, 38px);font-weight:950;letter-spacing:-0.025em;line-height:1.1;}.ys-parents-mcas-guidance-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:20px;}.ys-parents-mcas-guidance-do, .ys-parents-mcas-guidance-dont{padding:36px;border-radius:24px;border:1.5px solid var(--parents-border);box-shadow:0 2px 16px rgba(6, 24, 38, 0.05);}.ys-parents-mcas-guidance-do{background:linear-gradient(180deg, #f0fdf4, #ffffff 40%);border-color:#bbf7d0;}.ys-parents-mcas-guidance-dont{background:linear-gradient(180deg, #fef2f2, #ffffff 40%);border-color:#fecaca;}.ys-parents-mcas-guidance-do h3, .ys-parents-mcas-guidance-dont h3{margin:0 0 20px;font-size:18px;font-weight:800;letter-spacing:-0.01em;}.ys-parents-mcas-guidance-do h3{color:#166534;}.ys-parents-mcas-guidance-dont h3{color:#991b1b;}.ys-parents-mcas-guidance-do ul, .ys-parents-mcas-guidance-dont ul{list-style:none;padding:0;margin:0;display:grid;gap:12px;}.ys-parents-mcas-guidance-do ul li, .ys-parents-mcas-guidance-dont ul li{position:relative;padding-left:24px;color:#334155;font-size:15px;line-height:1.65;}.ys-parents-mcas-guidance-do ul li::before, .ys-parents-mcas-guidance-dont ul li::before{content:"";position:absolute;left:0;top:8px;width:10px;height:10px;border-radius:50%;}.ys-parents-mcas-guidance-do ul li::before{background:#22c55e;}.ys-parents-mcas-guidance-dont ul li::before{background:#ef4444;}.ys-parents-mcas-guidance-note{margin:20px 0 0;padding:18px 20px;border-radius:14px;background:rgba(22, 101, 52, 0.06);border:1px solid #bbf7d0;color:#334155;font-size:14px;line-height:1.65;}.ys-parents-mcas-guidance-note a{color:var(--parents-red) !important;font-weight:700;text-decoration:underline;}@media (max-width:1100px){.ys-parents-mcas-overview{padding:40px;}.ys-parents-mcas-features{grid-template-columns:repeat(2, 1fr);}.ys-parents-mcas-download-inner{padding:36px;}}@media (max-width:768px){.ys-parents-mcas-overview{background:#ffffff;padding:28px 22px;border-radius:20px;}.ys-parents-mcas-features{grid-template-columns:1fr;}.ys-parents-mcas-download-inner{padding:24px 20px;border-radius:20px;}.ys-parents-mcas-app-links{grid-template-columns:1fr;}.ys-parents-mcas-app-card{padding:18px 20px;border-radius:16px;}.ys-parents-mcas-help-grid{grid-template-columns:1fr;}.ys-parents-mcas-help-card{flex-wrap:wrap;gap:10px;padding:18px 20px;border-radius:16px;}.ys-parents-mcas-guidance-grid{grid-template-columns:1fr;}.ys-parents-mcas-guidance-do, .ys-parents-mcas-guidance-dont{padding:24px 20px;border-radius:20px;}}@media (max-width:768px){.ys-parents-page, .ys-admissions-page{overflow-x:hidden !important;width:100% !important;max-width:100% !important;}.ys-parents-page .ys-container, .ys-admissions-page .ys-container{width:calc(100% - 24px) !important;padding-left:0 !important;padding-right:0 !important;max-width:100% !important;margin:0 auto !important;}.ys-admissions-routes, .ys-admissions-link-panel, .ys-admissions-events, .ys-admissions-documents, .ys-admissions-policy-panel, .ys-admissions-video-panel{padding:22px 16px !important;border-radius:18px !important;width:100% !important;max-width:100% !important;box-sizing:border-box !important;overflow:hidden !important;}.ys-admissions-section-head{margin-bottom:24px !important;}.ys-admissions-section-head h2, .ys-admissions-policy-panel h2{font-size:clamp(26px, 7vw, 34px) !important;line-height:1.15 !important;}.ys-admissions-route-grid, .ys-admissions-quick-grid{display:grid !important;grid-template-columns:1fr !important;gap:18px !important;width:100% !important;max-width:100% !important;box-sizing:border-box !important;}.ys-admissions-route-card{padding:24px 18px !important;border-radius:18px !important;width:100% !important;max-width:100% !important;box-sizing:border-box !important;min-width:0 !important;display:flex !important;flex-direction:column !important;align-items:flex-start !important;text-align:left !important;}.ys-admissions-route-card .ys-admissions-route-badge{align-self:flex-start !important;}.ys-admissions-route-card h3{font-size:21px !important;margin-top:14px !important;text-align:left !important;}.ys-admissions-route-card p{font-size:15px !important;line-height:1.62 !important;margin:14px 0 22px !important;text-align:left !important;overflow-wrap:break-word !important;word-break:normal !important;}.ys-admissions-route-card .ys-admissions-route-cta{align-self:flex-start !important;margin-top:auto !important;min-height:42px !important;padding:0 22px !important;font-size:11.5px !important;width:auto !important;max-width:100% !important;}}@media (max-width:480px){.ys-parents-page .ys-container, .ys-admissions-page .ys-container{width:calc(100% - 16px) !important;}.ys-admissions-routes, .ys-admissions-link-panel, .ys-admissions-events, .ys-admissions-documents, .ys-admissions-policy-panel, .ys-admissions-video-panel{padding:18px 12px !important;border-radius:16px !important;}.ys-admissions-route-card{padding:20px 14px !important;border-radius:16px !important;}}.ys-community-page{--community-navy:#061826;--community-blue:#0b2a40;--community-ink:#10283b;--community-green:#006b3f;--community-red:#f43f3b;--community-gold:#f2b94b;--community-muted:#607384;--community-border:rgba(6, 24, 38, 0.08);background:#f6f9fc;color:var(--community-ink);font-family:Lato,Aptos,Arial,Helvetica,sans-serif;overflow-x:hidden}.ys-community-page *,.ys-community-page ::after,.ys-community-page ::before{box-sizing:border-box}.ys-community-page .ys-container{width:min(1400px,calc(100% - 48px));margin:0 auto}.ys-community-eyebrow{display:inline-flex;align-items:center;gap:14px;margin:0 0 16px;color:var(--community-gold);font-size:13px;font-weight:950;letter-spacing:2px;text-transform:uppercase}.ys-community-eyebrow::before{content:"";width:42px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--community-gold),var(--community-red))}.ys-community-hero{position:relative;min-height:600px;display:flex;align-items:center;padding:148px 0 156px;color:#fff;background:radial-gradient(circle at 78% 16%,rgba(0,107,63,.3),transparent 29%),radial-gradient(circle at 15% 24%,rgba(244,63,59,.18),transparent 28%),linear-gradient(135deg,#061826 0,#082233 48%,#0a3029 100%);overflow:hidden}.ys-community-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.055) 1px,transparent 1px);background-size:32px 32px;pointer-events:none}.ys-community-hero::after{content:"COMMUNITY";position:absolute;right:-36px;bottom:-2px;color:rgba(255,255,255,.035);font-size:clamp(70px, 12vw, 190px);font-weight:950;letter-spacing:-.08em;line-height:.8;pointer-events:none}.ys-wellbeing-page .ys-community-hero::after{content:"WELLBEING"}.ys-community-hero-inner{position:relative;z-index:2;max-width:960px}.ys-community-hero h1{margin:0;color:#fff;font-size:clamp(56px, 7vw, 108px);font-weight:950;line-height:.94;letter-spacing:-.055em}.ys-community-hero p:not(.ys-community-eyebrow){max-width:760px;margin:28px 0 0;color:rgba(238,246,250,.9);font-size:clamp(18px, 1.45vw, 22px);font-weight:500;line-height:1.62}.ys-community-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:38px}.ys-community-builder-card a,.ys-community-card a,.ys-community-enquiry-links a,.ys-community-hire-form button,.ys-community-primary,.ys-community-secondary{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 28px;border-radius:999px;font-size:13px;font-weight:950;letter-spacing:.9px;text-decoration:none;text-transform:uppercase;transition:transform .22s ease,background .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease}.ys-community-builder-card a,.ys-community-card a,.ys-community-hire-form button,.ys-community-primary{border:1px solid var(--community-red);background:var(--community-red);color:#fff;box-shadow:0 16px 34px rgba(244,63,59,.26)}.ys-community-secondary{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.07);color:#fff}.ys-community-builder-card a:hover,.ys-community-card a:hover,.ys-community-enquiry-links a:hover,.ys-community-hire-form button:hover,.ys-community-primary:hover,.ys-community-secondary:hover{transform:translateY(-3px)}.ys-community-section{position:relative;z-index:4;margin-top:-78px;padding:0 0 96px}.ys-community-builder,.ys-community-editor-card,.ys-community-enquiry-aside,.ys-community-form-card,.ys-community-intro-card,.ys-community-link-shell{border:1px solid var(--community-border);background:#fff;box-shadow:0 22px 60px rgba(6,24,38,.08)}.ys-community-link-shell{padding:clamp(28px,5vw,64px);border-radius:28px}.ys-community-link-head{max-width:860px;margin-bottom:34px}.ys-community-enquiry-aside h2,.ys-community-form-card h2,.ys-community-intro-card h2,.ys-community-link-head h2{margin:0;color:var(--community-navy);font-size:clamp(38px, 5vw, 72px);font-weight:950;line-height:.96;letter-spacing:-.06em}.ys-community-enquiry-aside>p,.ys-community-form-card>p,.ys-community-intro-card p,.ys-community-link-head p:not(.ys-community-eyebrow),.ys-community-wp-content{color:var(--community-muted);font-size:clamp(17px, 1.25vw, 20px);line-height:1.7}.ys-community-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.ys-community-landing-page .ys-community-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-community-card,.ys-community-directory-card{position:relative;min-height:100%;display:flex;flex-direction:column;padding:28px;border:1px solid rgba(6,24,38,.08);border-radius:24px;background:radial-gradient(circle at 92% 6%,rgba(242,185,75,.16),transparent 24%),#f7fafc;overflow:hidden}.ys-community-card::before,.ys-community-directory-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--community-green),var(--community-gold))}.ys-community-card>span,.ys-community-directory-card>span{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:26px;border-radius:14px;background:var(--community-navy);color:#fff;font-size:15px;font-weight:950}.ys-community-card h3,.ys-community-directory-card h3{margin:0;color:var(--community-navy);font-size:clamp(24px, 2vw, 34px);font-weight:950;line-height:1.05;letter-spacing:-.035em}.ys-community-card p,.ys-community-directory-card p{margin:16px 0 0;color:var(--community-muted);font-size:16px;line-height:1.62}.ys-community-card-list{display:grid;gap:10px;margin:18px 0 0;padding-left:20px;color:var(--community-muted);font-size:16px;line-height:1.55}.ys-community-card-list li::marker{color:var(--community-green);font-size:.9em}.ys-community-card-grid.ys-community-card-grid-committees{grid-template-columns:minmax(0,1fr);gap:22px}.ys-community-card-grid-committees .ys-community-card{display:grid;grid-template-columns:52px minmax(220px,0.34fr) minmax(0,1fr);gap:clamp(18px,3vw,34px);align-items:center;padding:clamp(24px,3vw,38px)}.ys-community-card-grid-committees .ys-community-card>span{align-self:start;margin-bottom:0}.ys-community-card-grid-committees .ys-community-card-image{margin:0;padding:clamp(14px,2vw,22px);border:1px solid rgba(0,107,63,.12);border-radius:22px;background:radial-gradient(circle at 50% 45%,rgba(0,107,63,.07),transparent 44%),#fff;text-align:center}.ys-community-card-grid-committees .ys-community-card-image img{display:block;width:min(100%,210px);max-height:210px;margin:0 auto;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(6, 24, 38, .1))}.ys-community-card-grid-committees .ys-community-card-body{min-width:0}.ys-community-card-grid-committees .ys-community-card h3{font-size:clamp(26px, 2.7vw, 46px)}.ys-community-card-grid-committees .ys-community-card p{font-size:clamp(16px, 1.2vw, 20px);line-height:1.62}.ys-community-directory-links{display:grid;gap:8px;margin-top:auto;padding-top:24px}.ys-community-directory-links a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:14px;background:#fff;color:var(--community-navy);font-size:15px;font-weight:900;line-height:1.25;text-decoration:none;box-shadow:inset 0 0 0 1px rgba(6,24,38,.06);transition:color .2s ease,transform .2s ease,box-shadow .2s ease}.ys-community-directory-links a:focus-visible,.ys-community-directory-links a:hover{color:var(--community-green);transform:translateX(4px);box-shadow:inset 0 0 0 1px rgba(0,107,63,.18);outline:0}.ys-community-intro-card{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(24px,4vw,58px);align-items:stretch;margin-bottom:28px;padding:clamp(32px,5vw,62px);border-radius:28px}.ys-community-intro-card aside{padding:28px;border-radius:22px;background:linear-gradient(135deg,#ecf8f2,#f7fbfc);border:1px solid rgba(0,107,63,.12)}.ys-community-enquiry-note span,.ys-community-intro-card aside span{display:block;margin-bottom:12px;color:var(--community-green);font-size:13px;font-weight:950;letter-spacing:1.4px;text-transform:uppercase}.ys-community-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ys-community-card-grid.ys-community-card-grid-committees{grid-template-columns:minmax(0,1fr);gap:22px}.ys-community-card a{align-self:flex-start;margin-top:auto}.ys-community-alumni-panel,.ys-community-trust-intro{margin-bottom:28px;border:1px solid rgba(6,24,38,.09);border-radius:30px;background:#fff;box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-community-alumni-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:clamp(24px,4vw,58px);align-items:stretch;padding:clamp(30px,5vw,64px);background:radial-gradient(circle at 92% 10%,rgba(242,185,75,.18),transparent 28%),radial-gradient(circle at 0 100%,rgba(0,107,63,.1),transparent 30%),#fff}.ys-community-alumni-copy h2,.ys-community-trust-intro h2{max-width:980px;margin:0;color:var(--community-navy);font-size:clamp(38px, 5vw, 78px);font-weight:950;line-height:.98;letter-spacing:-.055em}.ys-community-alumni-copy p:not(.ys-community-eyebrow),.ys-community-trust-intro p:not(.ys-community-eyebrow){max-width:980px;margin:22px 0 0;color:var(--community-muted);font-size:clamp(18px, 1.35vw, 22px);line-height:1.7}.ys-community-alumni-cta{display:flex;flex-direction:column;justify-content:center;min-height:320px;padding:clamp(24px,4vw,42px);border-radius:24px;background:linear-gradient(135deg,rgba(0,107,63,.94),rgba(0,46,79,.95)),var(--community-navy);color:#fff;box-shadow:0 20px 55px rgba(0,46,79,.18)}.ys-community-alumni-cta span{display:inline-flex;align-self:flex-start;margin-bottom:18px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:var(--community-gold);font-size:12px;font-weight:950;letter-spacing:1.3px;text-transform:uppercase}.ys-community-alumni-cta h3{margin:0;color:#fff;font-size:clamp(28px, 3vw, 44px);font-weight:950;line-height:1.04;letter-spacing:-.045em}.ys-community-alumni-cta p{margin:16px 0 28px;color:rgba(255,255,255,.82);font-size:17px;line-height:1.65}.ys-community-alumni-cta .ys-community-primary{align-self:flex-start}.ys-community-trust-intro{padding:clamp(30px,5vw,58px);background:radial-gradient(circle at 100% 0,rgba(0,107,63,.11),transparent 28%),#fff}.ys-community-card-grid-trust{grid-template-columns:minmax(0,1.08fr) minmax(0,0.92fr);align-items:stretch;gap:16px}.ys-community-card-grid-trust .ys-community-card{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:18px;align-items:start;min-height:0;padding:clamp(22px,2.2vw,30px);border-radius:20px;background:linear-gradient(90deg,rgba(0,107,63,.05),transparent 42%),#fff;box-shadow:0 16px 38px rgba(6,24,38,.045)}.ys-community-card-grid-trust .ys-community-card>span{grid-row:1/span 3;width:44px;height:44px;margin:0;border-radius:12px;font-size:13px}.ys-community-card-grid-trust .ys-community-card h3{max-width:720px;font-size:clamp(22px, 1.7vw, 28px);line-height:1.12;letter-spacing:-.03em}.ys-community-card-grid-trust .ys-community-card p,.ys-community-card-grid-trust .ys-community-card-list{max-width:760px;font-size:15.5px;line-height:1.62}.ys-community-card-grid-trust .ys-community-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin-top:18px;padding-left:18px}.ys-community-card-grid-trust .ys-community-card:first-child{grid-column:1/-1}.ys-community-card-grid-trust .ys-community-card:nth-child(n+2){align-content:start}.ys-community-card-grid-trust .ys-community-card:nth-child(n+2) p{margin-top:12px}.ys-community-pdf-panel,.ys-community-trust-signup{margin-top:28px;border:1px solid rgba(6,24,38,.09);border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-community-trust-signup{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:clamp(28px,4vw,48px);background:radial-gradient(circle at 92% 0,rgba(242,185,75,.18),transparent 28%),linear-gradient(135deg,#fff,#f5fbf8)}.ys-community-pdf-head h2,.ys-community-trust-signup h2{margin:0;color:var(--community-navy);font-size:clamp(32px, 4vw, 58px);font-weight:950;line-height:1;letter-spacing:-.05em}.ys-community-pdf-head p:not(.ys-community-eyebrow),.ys-community-trust-signup p:not(.ys-community-eyebrow){max-width:980px;margin:18px 0 0;color:var(--community-muted);font-size:clamp(17px, 1.25vw, 20px);line-height:1.7}.ys-community-pdf-panel{padding:clamp(30px,4.4vw,52px)}.ys-community-pdf-head{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:space-between;gap:28px;align-items:end}.ys-community-pdf-head h2{font-size:clamp(28px, 3vw, 44px)}.ys-community-pdf-head p:not(.ys-community-eyebrow){max-width:720px;font-size:16px;line-height:1.6}.ys-community-pdf-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.ys-community-pdf-viewer{height:min(78vh,820px);min-height:560px;margin-top:28px;border:1px solid rgba(6,24,38,.09);border-radius:16px;background:#f8fafc;overflow:hidden}.ys-community-pdf-viewer iframe,.ys-community-pdf-viewer object{width:100%;height:100%;display:block;border:0}.ys-community-pdf-viewer p{margin:0;padding:28px;color:var(--community-muted);font-size:16px;line-height:1.6}.ys-community-pdf-viewer a{color:var(--community-green);font-weight:900}.ys-community-pdf-reader{display:none;grid-template-columns:minmax(0,1fr);grid-template-areas:"toolbar" "stage" "thumbs";align-items:stretch;background:linear-gradient(180deg,#f8fbfc 0,#eaf4f8 100%)}.ys-community-pdf-toolbar{grid-area:toolbar;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:16px clamp(18px,2.5vw,30px);border-bottom:1px solid rgba(6,24,38,.08);background:#fff}.ys-community-pdf-count{display:inline-flex;min-height:36px;align-items:center;justify-content:center;padding:0 14px;border-radius:999px;background:#eef6f9;color:var(--community-navy);font-size:13px;font-weight:950;letter-spacing:.5px;text-transform:uppercase}.ys-community-pdf-toolbar>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ys-community-pdf-side,.ys-community-pdf-toolbar button{border:0;border-radius:999px;background:var(--community-navy);color:#fff;cursor:pointer;font-weight:950;transition:opacity .2s ease,transform .2s ease}.ys-community-pdf-toolbar button{min-height:38px;padding:0 12px;font-size:12px;letter-spacing:.7px;text-transform:uppercase}.ys-community-pdf-side:disabled,.ys-community-pdf-toolbar button:disabled{cursor:not-allowed;opacity:.35}.ys-community-pdf-side:not(:disabled):hover,.ys-community-pdf-toolbar button:not(:disabled):hover{transform:translateY(-1px)}.ys-community-pdf-stage{grid-area:stage;position:relative;display:grid;grid-template-columns:minmax(0,760px);align-items:center;justify-content:center;min-height:clamp(460px,58vh,640px);padding:clamp(18px,2.4vw,28px);background:radial-gradient(circle at 8% 18%,rgba(242,185,75,.12),transparent 18%),radial-gradient(circle at 92% 18%,rgba(0,107,63,.07),transparent 22%),#e9f2f6}.ys-community-pdf-page{min-height:0;height:clamp(420px,54vh,590px);display:flex;align-items:center;justify-content:center;overflow:visible;overscroll-behavior:auto;touch-action:pan-y;border-radius:22px;background:0 0;transition:opacity .18s ease,transform .18s ease}.ys-community-pdf-page.ys-pdf-slide-left{opacity:.25;transform:translateX(16px)}.ys-community-pdf-page.ys-pdf-slide-right{opacity:.25;transform:translateX(-16px)}.ys-community-pdf-page img{width:auto;max-width:100%;max-height:100%;height:100%;object-fit:contain;display:block;border-radius:12px;background:#fff;box-shadow:0 18px 54px rgba(6,24,38,.18)}.ys-community-pdf-side{display:none}.ys-community-pdf-status{margin:auto;color:var(--community-muted);font-size:16px;font-weight:900}.ys-community-pdf-thumbs{grid-area:thumbs;display:flex;flex-direction:row;gap:12px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;max-height:none;padding:14px clamp(18px,2.5vw,30px) 18px;background:#fff;scroll-snap-type:x proximity}.ys-community-pdf-thumbs button{flex:0 0 92px;display:grid;grid-template-columns:1fr;gap:8px;padding:8px;border:1px solid rgba(6,24,38,.1);border-radius:14px;background:#f7fafc;color:var(--community-navy);cursor:pointer;scroll-snap-align:start}.ys-community-pdf-thumbs button.active{border-color:var(--community-red);box-shadow:0 0 0 2px rgba(255,65,62,.13)}.ys-community-pdf-thumbs span{height:105px;border-radius:10px;background:#e9f2f6 center/cover no-repeat}.ys-community-pdf-thumbs em{color:inherit;font-size:12px;font-style:normal;font-weight:950;text-align:center}.ys-community-env-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,430px);gap:clamp(24px,4vw,54px);align-items:center;margin:28px 0;padding:clamp(28px,4vw,58px);border:1px solid rgba(0,107,63,.12);border-radius:30px;background:radial-gradient(circle at 8% 12%,rgba(0,107,63,.12),transparent 30%),radial-gradient(circle at 95% 8%,rgba(242,185,75,.16),transparent 26%),#fff;box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-community-env-copy h2,.ys-community-pillar-head h2{max-width:880px;margin:0;color:var(--community-navy);font-size:clamp(38px, 5vw, 76px);font-weight:950;line-height:.98;letter-spacing:-.055em}.ys-community-env-copy>p:not(.ys-community-eyebrow){max-width:820px;margin:22px 0 0;color:var(--community-muted);font-size:clamp(18px, 1.8vw, 24px);line-height:1.65}.ys-community-env-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:32px}.ys-community-env-stats article{min-height:118px;padding:20px;border:1px solid rgba(6,24,38,.08);border-radius:20px;background:#f7fbfc}.ys-community-env-stats span,.ys-community-env-stats strong{display:block}.ys-community-env-stats strong{color:var(--community-green);font-size:clamp(22px, 2vw, 30px);font-weight:950;line-height:1.1}.ys-community-env-stats span{margin-top:9px;color:var(--community-muted);font-size:13px;font-weight:950;letter-spacing:1px;text-transform:uppercase}.ys-community-env-visual{position:relative;margin:0;padding:clamp(20px,3vw,34px);border-radius:30px;background:linear-gradient(145deg,rgba(6,24,38,.04),rgba(0,107,63,.08)),#f7fbfc;border:1px solid rgba(6,24,38,.08);text-align:center}.ys-community-env-visual::before{content:"";position:absolute;inset:16px;border-radius:24px;border:1px dashed rgba(0,107,63,.2);pointer-events:none}.ys-community-env-visual img{position:relative;z-index:1;display:block;width:min(100%,360px);max-height:360px;margin:0 auto;object-fit:contain;filter:drop-shadow(0 24px 42px rgba(6, 24, 38, .16))}.ys-community-env-visual figcaption{position:relative;z-index:1;margin-top:18px;color:var(--community-muted);font-size:14px;font-weight:800}.ys-community-env-mark{position:relative;z-index:1;display:grid;place-items:center;width:min(100%,340px);aspect-ratio:1;margin:0 auto;border-radius:40px;background:radial-gradient(circle at 26% 26%,rgba(242,185,75,.35),transparent 32%),linear-gradient(135deg,#e8f8ef,#dff4fb)}.ys-community-env-mark span{color:var(--community-green);font-size:clamp(52px, 7vw, 96px);font-weight:950;letter-spacing:-.07em}.ys-community-committee-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,360px);gap:clamp(24px,4vw,54px);align-items:center;margin:28px 0;padding:clamp(28px,4vw,52px);border:1px solid rgba(6,24,38,.08);border-radius:30px;background:radial-gradient(circle at 96% 8%,rgba(242,185,75,.14),transparent 28%),linear-gradient(135deg,#fff 0,#f7fbfc 100%);box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-community-committee-copy h2{max-width:900px;margin:0;color:var(--community-navy);font-size:clamp(34px, 4.4vw, 64px);font-weight:950;line-height:1.02;letter-spacing:-.05em}.ys-community-committee-copy>p:not(.ys-community-eyebrow){max-width:980px;margin:22px 0 0;color:var(--community-muted);font-size:clamp(17px, 1.25vw, 21px);line-height:1.72}.ys-community-committee-visual{margin:0;padding:clamp(18px,2.5vw,30px);border-radius:28px;border:1px solid rgba(0,107,63,.12);background:radial-gradient(circle at 50% 45%,rgba(0,107,63,.08),transparent 46%),#f7fbfc;text-align:center}.ys-community-committee-visual img{display:block;width:min(100%,280px);max-height:280px;margin:0 auto;object-fit:contain;filter:drop-shadow(0 20px 34px rgba(6, 24, 38, .12))}.ys-community-committee-visual figcaption{margin-top:16px;color:var(--community-muted);font-size:13px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}.ys-community-committee-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,0.6fr);gap:clamp(22px,4vw,48px);align-items:center;margin:28px 0;padding:clamp(28px,4vw,52px);border:1px solid rgba(6,24,38,.08);border-radius:30px;background:radial-gradient(circle at 96% 8%,rgba(242,185,75,.16),transparent 28%),linear-gradient(135deg,#fff 0,#f7fbfc 100%);box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-community-committee-overview h2{max-width:900px;margin:0;color:var(--community-navy);font-size:clamp(34px, 4.4vw, 64px);font-weight:950;line-height:1.02;letter-spacing:-.05em}.ys-community-committee-overview p:not(.ys-community-eyebrow){max-width:860px;margin:18px 0 0;color:var(--community-muted);font-size:clamp(17px, 1.25vw, 21px);line-height:1.65}.ys-community-committee-tags{display:grid;gap:12px}.ys-community-committee-tags span{display:flex;align-items:center;min-height:58px;padding:14px 18px;border:1px solid rgba(0,107,63,.12);border-radius:18px;background:#fff;color:var(--community-green);font-size:clamp(17px, 1.35vw, 22px);font-weight:950;line-height:1.2;box-shadow:0 12px 30px rgba(6,24,38,.05)}.ys-community-pillar-section{margin:28px 0;padding:clamp(28px,4vw,54px);border-radius:30px;background:var(--community-navy);color:#fff;overflow:hidden}.ys-community-pillar-section .ys-community-eyebrow{margin-bottom:14px}.ys-community-pillar-head h2{color:#fff}.ys-community-pillar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:32px}.ys-community-pillar-card{min-height:260px;padding:24px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:rgba(255,255,255,.06)}.ys-community-pillar-card span{display:inline-grid;place-items:center;width:52px;height:52px;margin-bottom:30px;border-radius:16px;background:#fff;color:var(--community-navy);font-weight:950}.ys-community-pillar-card h3{margin:0;color:#fff;font-size:clamp(22px, 2vw, 30px);font-weight:950;line-height:1.08;letter-spacing:-.035em}.ys-community-pillar-card p{margin:16px 0 0;color:rgba(255,255,255,.76);font-size:17px;line-height:1.58}.ys-wellbeing-panel{margin:28px 0;padding:clamp(28px,4vw,52px);border:1px solid rgba(6,24,38,.08);border-radius:30px;background:radial-gradient(circle at 96% 8%,rgba(242,185,75,.14),transparent 30%),linear-gradient(135deg,#fff 0,#f8fbfc 100%);box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-wellbeing-panel h2{max-width:900px;margin:0;color:var(--community-navy);font-size:clamp(34px, 4.4vw, 64px);font-weight:950;line-height:1.02;letter-spacing:-.05em}.ys-wellbeing-panel p:not(.ys-community-eyebrow){max-width:880px;margin:18px 0 0;color:var(--community-muted);font-size:clamp(17px, 1.25vw, 21px);line-height:1.65}.ys-counselling-intro,.ys-pastoral-intro{width:100%;max-width:1220px;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,0.32fr);gap:clamp(24px,4vw,46px);align-items:stretch;margin:32px auto;padding:clamp(28px,4vw,56px);border:1px solid rgba(6,24,38,.08);border-radius:30px;background:radial-gradient(circle at 96% 10%,rgba(0,107,63,.11),transparent 28%),linear-gradient(135deg,#fff 0,#f7fbfc 100%);box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-counselling-intro h2,.ys-pastoral-intro h2{max-width:850px;margin:0;color:var(--community-navy);font-size:clamp(38px, 5vw, 72px);font-weight:950;line-height:.98;letter-spacing:-.055em}.ys-counselling-intro p:not(.ys-community-eyebrow),.ys-pastoral-intro p:not(.ys-community-eyebrow){max-width:800px;margin:18px 0 0;color:var(--community-muted);font-size:clamp(17px, 1.25vw, 21px);line-height:1.65}.ys-counselling-intro aside,.ys-pastoral-intro-note{display:flex;flex-direction:column;justify-content:center;min-height:230px;padding:28px;border-radius:24px;background:linear-gradient(135deg,rgba(6,24,38,.96),rgba(0,107,63,.9)),var(--community-navy);color:#fff}.ys-counselling-intro aside span,.ys-pastoral-intro-note span{color:var(--community-gold);font-size:12px;font-weight:950;letter-spacing:1.6px;text-transform:uppercase}.ys-counselling-intro aside strong,.ys-pastoral-intro-note strong{margin-top:12px;color:#fff;font-size:clamp(34px, 4.2vw, 58px);font-weight:950;line-height:.95;letter-spacing:-.05em}.ys-pastoral-intro-note strong{font-size:clamp(28px, 2.8vw, 42px)}.ys-counselling-intro aside p,.ys-counselling-intro aside p:not(.ys-community-eyebrow),.ys-pastoral-intro-note p,.ys-pastoral-intro-note p:not(.ys-community-eyebrow){color:rgba(255,255,255,.88)}.ys-pastoral-card-grid{width:100%;max-width:1220px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px auto 0}.ys-pastoral-card{position:relative;min-height:100%;display:flex;flex-direction:column;gap:22px;padding:28px;border:1px solid rgba(6,24,38,.08);border-radius:26px;background:radial-gradient(circle at 96% 8%,rgba(242,185,75,.14),transparent 30%),#fff;box-shadow:0 18px 48px rgba(6,24,38,.07);overflow:hidden}.ys-pastoral-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--community-green),var(--community-gold))}.ys-pastoral-card-number{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--community-navy);color:#fff;font-size:14px;font-weight:950}.ys-pastoral-card h3{margin:0;color:var(--community-navy);font-size:clamp(24px, 2.2vw, 34px);font-weight:950;line-height:1.08;letter-spacing:-.035em}.ys-pastoral-card p{margin:14px 0 0;color:var(--community-muted);font-size:17px;line-height:1.68}.ys-learning-intro,.ys-learning-resources,.ys-send-contact,.ys-send-intro,.ys-send-resource-band,.ys-send-support-panel{width:100%;max-width:1220px;margin:32px auto;padding:clamp(28px,4vw,56px);border:1px solid rgba(6,24,38,.08);border-radius:30px;background:radial-gradient(circle at 98% 4%,rgba(0,107,63,.11),transparent 28%),linear-gradient(135deg,#fff 0,#f8fbfd 100%);box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-learning-intro,.ys-send-contact,.ys-send-intro,.ys-send-resource-band{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,0.34fr);gap:clamp(24px,4vw,46px);align-items:center}.ys-learning-intro h2,.ys-learning-resources h2,.ys-send-contact h2,.ys-send-intro h2,.ys-send-resource-band h2,.ys-send-support-panel h2{max-width:850px;margin:0;color:var(--community-navy);font-size:clamp(38px, 5vw, 72px);font-weight:950;line-height:.98;letter-spacing:-.055em}.ys-learning-intro p:not(.ys-community-eyebrow),.ys-learning-resources p:not(.ys-community-eyebrow),.ys-send-contact p:not(.ys-community-eyebrow),.ys-send-intro p:not(.ys-community-eyebrow),.ys-send-resource-band p:not(.ys-community-eyebrow),.ys-send-support-panel p:not(.ys-community-eyebrow){max-width:830px;margin:18px 0 0;color:var(--community-muted);font-size:clamp(17px, 1.25vw, 21px);line-height:1.65}.ys-send-intro-note{min-height:230px;display:flex;flex-direction:column;justify-content:center;padding:28px;border-radius:24px;background:linear-gradient(135deg,rgba(6,24,38,.96),rgba(0,107,63,.9)),var(--community-navy);color:#fff}.ys-learning-partner span,.ys-send-intro-note span{color:var(--community-gold);font-size:12px;font-weight:950;letter-spacing:1.6px;text-transform:uppercase}.ys-send-intro-note strong{margin-top:12px;margin-bottom:8px;color:#fff;font-size:clamp(28px, 2.8vw, 42px);font-weight:950;line-height:1.05;letter-spacing:-.03em;overflow-wrap:break-word;word-break:break-word}.ys-send-intro-note p,.ys-send-intro-note p:not(.ys-community-eyebrow){color:rgba(255,255,255,.88)}.ys-learning-card-grid,.ys-learning-link-grid,.ys-send-overview-grid,.ys-send-support-grid{width:100%;max-width:1220px;display:grid;gap:20px;margin:28px auto 0}.ys-send-overview-grid,.ys-send-support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-learning-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ys-learning-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ys-learning-card,.ys-send-card{position:relative;min-height:100%;display:flex;flex-direction:column;gap:18px;padding:28px;border:1px solid rgba(6,24,38,.08);border-radius:26px;background:radial-gradient(circle at 98% 8%,rgba(242,185,75,.14),transparent 30%),#fff;box-shadow:0 18px 48px rgba(6,24,38,.07);overflow:hidden}.ys-learning-card::before,.ys-send-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--community-green),var(--community-gold))}.ys-learning-card>span,.ys-send-card>span{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--community-navy);color:#fff;font-size:14px;font-weight:950}.ys-learning-card h3,.ys-send-card h3{margin:0;color:var(--community-navy);font-size:clamp(23px, 2vw, 32px);font-weight:950;line-height:1.08;letter-spacing:-.035em}.ys-learning-card p,.ys-send-card p{margin:0;color:var(--community-muted);font-size:17px;line-height:1.68}.ys-learning-card a,.ys-learning-link-grid a{margin-top:auto;color:var(--community-red);font-weight:950;text-decoration:none}.ys-learning-card a::after,.ys-learning-link-grid a::after{content:" ->"}.ys-send-contact,.ys-send-resource-band{background:radial-gradient(circle at 98% 12%,rgba(244,63,59,.14),transparent 28%),#fff}.ys-send-contact .ys-community-primary,.ys-send-resource-band .ys-community-primary{justify-self:end;white-space:nowrap;min-height:52px!important;padding:0 32px!important;font-size:13px!important;letter-spacing:0.9px!important;box-shadow:0 16px 34px rgba(244,63,59,.26)!important}@media (min-width:768px){.ys-send-support-grid>article:nth-child(9){grid-column:1/-1;justify-self:center;max-width:calc(50% - 10px);width:100%}}.ys-send-resources-section{width:100%;max-width:1220px;margin:32px auto;padding:clamp(28px,4vw,56px);border:1px solid rgba(6,24,38,.08);border-radius:30px;background:radial-gradient(circle at 98% 4%,rgba(0,107,63,.11),transparent 28%),linear-gradient(135deg,#fff 0,#f8fbfd 100%);box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-send-resources-section h2{max-width:850px;margin:0;color:var(--community-navy);font-size:clamp(38px, 5vw, 72px);font-weight:950;line-height:.98;letter-spacing:-.055em}.ys-send-resource-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:8px}.ys-send-resource-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:clamp(24px,2.5vw,32px);border:1px solid rgba(6,24,38,.08);border-radius:22px;background:#fff;box-shadow:0 8px 28px rgba(6,24,38,.05);text-decoration:none;color:inherit;transition:transform 280ms cubic-bezier(.22, 1, .36, 1),box-shadow 280ms cubic-bezier(.22, 1, .36, 1),border-color 280ms ease}.ys-send-resource-card:hover{transform:translateY(-4px);box-shadow:0 18px 48px rgba(6,24,38,.1);border-color:rgba(244,63,59,.3)}.ys-send-resource-card__icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,rgba(6,24,38,.05),rgba(0,107,63,.08));color:var(--community-navy);flex-shrink:0}.ys-send-resource-card__icon svg{width:24px;height:24px}.ys-send-resource-card:hover .ys-send-resource-card__icon{background:linear-gradient(135deg,rgba(244,63,59,.1),rgba(244,63,59,.06));color:var(--community-red)}.ys-send-resource-card h3{margin:0;color:var(--community-navy);font-size:clamp(19px, 1.5vw, 24px);font-weight:950;line-height:1.15;letter-spacing:-.02em}.ys-send-resource-card p{margin:0;color:var(--community-muted);font-size:clamp(14px, 1vw, 16px);line-height:1.6}.ys-send-resource-card__action{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:6px;color:var(--community-red);font-size:13px;font-weight:950;text-transform:uppercase;letter-spacing:.5px;text-decoration:none}.ys-send-resource-card__action svg{width:16px;height:16px;transition:transform .2s ease}.ys-send-resource-card:hover .ys-send-resource-card__action svg{transform:translateX(4px)}.ys-send-resource-card--contact{background:linear-gradient(135deg,rgba(6,24,38,.97),rgba(0,107,63,.88)),var(--community-navy);border-color:transparent;color:#fff}.ys-send-resource-card--contact:hover{transform:translateY(-4px);box-shadow:0 20px 54px rgba(6,24,38,.22);border-color:transparent}.ys-send-resource-card--contact .ys-send-resource-card__icon{background:rgba(255,255,255,.12);color:var(--community-gold)}.ys-send-resource-card--contact:hover .ys-send-resource-card__icon{background:rgba(255,255,255,.18);color:var(--community-gold)}.ys-send-resource-card--contact h3{color:#fff}.ys-send-resource-card--contact p{color:rgba(255,255,255,.72)}.ys-send-resource-card__phone{display:inline-block;padding:10px 18px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);color:#fff;font-size:clamp(18px, 1.4vw, 22px);font-weight:950;line-height:1.2;text-decoration:none;letter-spacing:.02em;transition:background 180ms ease;position:relative;z-index:2}.ys-send-resource-card__phone:hover{background:rgba(255,255,255,.18)}@media (min-width:1025px){.ys-send-resource-card__phone{pointer-events:none}}.ys-send-resource-card--contact .ys-send-resource-card__action{color:var(--community-gold);text-decoration:none;position:relative;z-index:1}.ys-send-resource-card--contact .ys-send-resource-card__action::before{content:'';position:absolute;inset:0;z-index:-1}.ys-send-resource-card--contact:hover .ys-send-resource-card__action svg{transform:translateX(4px)}@media (max-width:768px){.ys-send-resource-cards{grid-template-columns:1fr}}.ys-learning-partner{display:flex;flex-direction:column;gap:18px;align-items:flex-start;justify-content:center;min-height:210px;padding:28px;border:1px solid rgba(6,24,38,.1);border-radius:24px;background:linear-gradient(135deg,rgba(6,24,38,.96),rgba(0,107,63,.9)),var(--community-navy);box-shadow:0 18px 44px rgba(6,24,38,.12);text-decoration:none}.ys-learning-partner img{display:block;width:min(100%,190px);height:auto;padding:12px;border-radius:14px;background:#fff}.ys-learning-link-grid a{min-height:118px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:24px;border:1px solid rgba(6,24,38,.09);border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(6,24,38,.06);transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease}.ys-learning-link-grid a:focus-visible,.ys-learning-link-grid a:hover{border-color:rgba(244,63,59,.35);box-shadow:0 20px 46px rgba(244,63,59,.12);transform:translateY(-3px)}.ys-learning-link-grid span{color:var(--community-navy);font-size:20px;font-weight:950;line-height:1.18}.ys-learning-link-grid em{color:var(--community-red);font-size:13px;font-style:normal;font-weight:950;letter-spacing:1px;text-transform:uppercase}.ys-pastoral-card-link{align-self:flex-start;min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin-top:auto;padding:0 18px;border-radius:999px;background:var(--community-red);color:#fff;font-size:12px;font-weight:950;letter-spacing:.8px;text-decoration:none;text-transform:uppercase;box-shadow:0 14px 30px rgba(244,63,59,.22)}.ys-wellbeing-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0 0}.ys-wellbeing-card{display:flex;flex-direction:column;min-height:320px;padding:clamp(24px,3vw,34px);border:1px solid rgba(6,24,38,.08);border-left:6px solid var(--community-green);border-radius:26px;background:radial-gradient(circle at 92% 8%,rgba(242,185,75,.16),transparent 28%),#fff;box-shadow:0 22px 54px rgba(6,24,38,.07)}.ys-counselling-copy>span,.ys-wellbeing-card>span{display:inline-grid;place-items:center;width:48px;height:48px;margin-bottom:26px;border-radius:14px;background:var(--community-navy);color:#fff;font-weight:950;line-height:1}.ys-counselling-card h3,.ys-wellbeing-card h3,.ys-wellbeing-pdf-card h3{margin:0;color:var(--community-navy);font-size:clamp(24px, 2.2vw, 34px);font-weight:950;line-height:1.08;letter-spacing:-.04em}.ys-wellbeing-card p{margin:18px 0 0;color:var(--community-muted);font-size:17px;line-height:1.7}.ys-wellbeing-card a,.ys-wellbeing-link{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:46px;margin-top:auto;padding:12px 18px;border-radius:999px;background:var(--community-red);color:#fff;font-size:13px;font-weight:950;letter-spacing:.5px;text-decoration:none;text-transform:uppercase;box-shadow:0 16px 34px rgba(255,61,57,.18)}.ys-counselling-list{display:grid;grid-template-columns:1fr;gap:22px;width:100%;max-width:1220px;margin:28px auto 0}.ys-counselling-card{display:grid;grid-template-columns:minmax(210px,0.28fr) minmax(0,1fr);gap:clamp(22px,4vw,42px);align-items:center;width:100%;margin:0;padding:clamp(24px,4vw,40px);border:1px solid rgba(6,24,38,.08);border-radius:26px;background:linear-gradient(135deg,#fff 0,#f8fbfc 100%);box-shadow:0 18px 52px rgba(6,24,38,.07);overflow:hidden}.ys-counselling-card:nth-child(2n){grid-template-columns:minmax(0,1fr) minmax(210px,0.28fr);background:radial-gradient(circle at 98% 8%,rgba(242,185,75,.14),transparent 30%),#fff}.ys-counselling-card:nth-child(2n) .ys-counselling-logo{order:2}.ys-counselling-card-text-only{grid-template-columns:1fr;background:radial-gradient(circle at 100% 0,rgba(0,107,63,.11),transparent 32%),#fff}.ys-counselling-logo{display:grid;place-items:center;min-height:170px;margin:0;padding:24px;border:1px solid rgba(0,107,63,.1);border-radius:22px;background:#f6fafb}.ys-counselling-logo img{display:block;width:min(100%,270px);max-height:150px;object-fit:contain;filter:drop-shadow(0 14px 24px rgba(6, 24, 38, .08))}.ys-counselling-copy{min-width:0}.ys-counselling-copy>span{margin-bottom:18px}.ys-counselling-copy h4{margin:22px 0 8px;color:var(--community-green);font-size:18px;font-weight:950}.ys-counselling-copy p{margin:12px 0 0;color:var(--community-muted);font-size:17px;line-height:1.68;overflow-wrap:anywhere}.ys-counselling-copy p a{color:var(--community-blue);font-weight:850;text-decoration-color:rgba(244,63,59,0.45);text-decoration-thickness:2px;text-underline-offset:3px}.ys-counselling-copy .ys-wellbeing-link{margin-top:24px;box-shadow:0 18px 34px rgba(244,63,59,.2)}.ys-wellbeing-pdf-list{width:100%;max-width:1220px;margin:36px auto 0;padding:clamp(28px,4vw,52px);border:1px solid rgba(6,24,38,.08);border-radius:30px;background:linear-gradient(180deg,#fff 0,#f7fbfc 100%);box-shadow:0 22px 60px rgba(6,24,38,.08)}.ys-wellbeing-pdf-list>h2{margin:0 0 18px;color:var(--community-navy);font-size:clamp(30px, 3.5vw, 52px);font-weight:950;line-height:1.05;letter-spacing:-.04em}.ys-wellbeing-pdf-card{display:grid;grid-template-columns:minmax(280px,0.34fr) minmax(0,0.66fr);gap:clamp(24px,4vw,48px);align-items:center;padding:clamp(22px,4vw,38px);border:1px solid rgba(6,24,38,.08);border-radius:26px;background:radial-gradient(circle at 98% 8%,rgba(0,107,63,.12),transparent 30%),#f7fbfc}.ys-wellbeing-pdf-card p{margin:14px 0 0;color:var(--community-muted);font-size:17px;line-height:1.65}.ys-wellbeing-pdf-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.ys-wellbeing-pdf-actions .ys-community-primary,.ys-wellbeing-pdf-actions .ys-community-secondary{min-height:46px;padding:12px 18px;font-size:12px}.ys-wellbeing-pdf-actions .ys-community-secondary{border-color:rgba(6,24,38,.12);background:#fff;color:var(--community-navy);box-shadow:none}.ys-wellbeing-pdf-preview{margin:0;padding:clamp(12px,2vw,18px);border:1px solid rgba(6,24,38,.1);border-radius:22px;background:#fff;box-shadow:0 18px 42px rgba(6,24,38,.08)}.ys-wellbeing-pdf-preview-link{position:relative;display:block;color:inherit;text-decoration:none}.ys-wellbeing-pdf-preview img{display:block;width:100%;aspect-ratio:923/1310;border:0;border-radius:14px;object-fit:contain;background:#fff;transition:transform .22s ease,filter .22s ease}.ys-wellbeing-pdf-preview-link span{position:absolute;right:18px;bottom:18px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:999px;background:var(--community-navy);color:#fff;font-size:11px;font-weight:950;letter-spacing:.9px;text-transform:uppercase;box-shadow:0 14px 28px rgba(6,24,38,.18)}.ys-wellbeing-pdf-preview-link:focus-visible img,.ys-wellbeing-pdf-preview-link:hover img{transform:scale(1.015);filter:saturate(1.04)}.ys-wellbeing-pdf-preview-link:focus-visible{outline:3px solid rgba(244,63,59,.28);outline-offset:5px;border-radius:16px}.ys-wellbeing-preview-modal{position:fixed;inset:0;z-index:9999;display:none;place-items:center;padding:clamp(18px,4vw,46px)}.ys-wellbeing-preview-modal:target{display:grid}.ys-wellbeing-preview-backdrop{position:absolute;inset:0;background:rgba(6,24,38,.82);backdrop-filter:blur(6px)}.ys-wellbeing-preview-dialog{position:relative;z-index:1;width:min(920px,100%);max-height:92vh;display:grid;gap:14px;padding:clamp(14px,2vw,22px);border-radius:24px;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.28)}.ys-wellbeing-preview-dialog img{display:block;width:100%;max-height:calc(92vh - 86px);border-radius:16px;object-fit:contain}.ys-wellbeing-preview-close{justify-self:end;min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:999px;background:var(--community-red);color:#fff;font-size:12px;font-weight:950;letter-spacing:.8px;text-decoration:none;text-transform:uppercase}.ys-safeguarding-child,.ys-safeguarding-intro,.ys-safeguarding-media-card,.ys-safeguarding-policy,.ys-safeguarding-report{margin:28px 0;border:1px solid rgba(6,24,38,.08);border-radius:30px;background:#fff;box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-safeguarding-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,0.32fr);gap:clamp(24px,4vw,48px);align-items:stretch;padding:clamp(30px,5vw,58px);background:radial-gradient(circle at 94% 12%,rgba(244,63,59,.12),transparent 28%),linear-gradient(135deg,#fff 0,#f7fbfc 100%)}.ys-safeguarding-child h2,.ys-safeguarding-intro h2,.ys-safeguarding-media-card h2,.ys-safeguarding-policy h2,.ys-safeguarding-report h2{margin:0;color:var(--community-navy);font-size:clamp(34px, 4.4vw, 64px);font-weight:950;line-height:1.02;letter-spacing:-.05em}.ys-safeguarding-child p,.ys-safeguarding-intro p:not(.ys-community-eyebrow),.ys-safeguarding-media-card p,.ys-safeguarding-policy p,.ys-safeguarding-report p{color:var(--community-muted);font-size:clamp(17px, 1.25vw, 21px);line-height:1.65}.ys-safeguarding-intro aside{display:flex;flex-direction:column;justify-content:center;min-height:230px;padding:28px;border-radius:24px;background:linear-gradient(135deg,rgba(6,24,38,.96),rgba(0,107,63,.92)),var(--community-navy);color:#fff}.ys-safeguarding-intro aside strong{color:#fff;font-size:clamp(24px, 2.4vw, 36px);font-weight:950;line-height:1.05;letter-spacing:-.035em}.ys-safeguarding-intro aside span{margin-top:16px;color:rgba(255,255,255,.78);font-size:17px;line-height:1.6}.ys-safeguarding-policy,.ys-safeguarding-report{padding:clamp(28px,4vw,52px)}.ys-safeguarding-copy{max-width:980px}.ys-safeguarding-copy p{margin:16px 0 0}.ys-safeguarding-copy .ys-community-primary{margin-top:28px}.ys-safeguarding-report{background:radial-gradient(circle at 4% 10%,rgba(242,185,75,.14),transparent 28%),#fff}.ys-safeguarding-report-head{max-width:980px}.ys-safeguarding-card-grid{margin-top:30px}.ys-safeguarding-report-card{min-height:300px}.ys-safeguarding-media-list{display:grid;gap:28px}.ys-safeguarding-child,.ys-safeguarding-media-card{display:grid;grid-template-columns:minmax(280px,0.42fr) minmax(0,0.58fr);gap:clamp(24px,4vw,46px);align-items:center;padding:clamp(24px,4vw,46px)}.ys-safeguarding-child,.ys-safeguarding-media-card:nth-child(2n){grid-template-columns:minmax(0,0.58fr) minmax(280px,0.42fr);background:radial-gradient(circle at 96% 10%,rgba(0,107,63,.1),transparent 30%),#fff}.ys-safeguarding-child figure,.ys-safeguarding-media-card figure{margin:0;padding:16px;border:1px solid rgba(6,24,38,.08);border-radius:24px;background:#f7fbfc}.ys-safeguarding-child img,.ys-safeguarding-media-card img{display:block;width:100%;max-height:680px;border-radius:18px;object-fit:contain;background:#fff;box-shadow:0 18px 46px rgba(6,24,38,.08)}.ys-safeguarding-child img{max-height:420px}.ys-safeguarding-child figcaption,.ys-safeguarding-media-card figcaption{margin-top:12px;color:var(--community-muted);font-size:13px;font-weight:950;letter-spacing:.8px;text-transform:uppercase}.ys-online-guidance,.ys-online-hero-card,.ys-online-prevent,.ys-online-support,.ys-safety-links,.ys-sexual-experiences,.ys-sexual-parents,.ys-sexual-questions,.ys-sexual-response,.ys-sexual-review{width:100%;max-width:1280px;margin:32px auto;border:1px solid rgba(6,24,38,.08);border-radius:30px;background:#fff;box-shadow:0 24px 70px rgba(6,24,38,.08)}.ys-online-hero-card,.ys-online-prevent,.ys-sexual-response,.ys-sexual-review{display:grid;gap:clamp(24px,4vw,48px);align-items:center;padding:clamp(28px,4vw,56px)}.ys-online-hero-card{grid-template-columns:minmax(0,0.56fr) minmax(280px,0.44fr);background:radial-gradient(circle at 94% 10%,rgba(0,107,63,.14),transparent 30%),linear-gradient(135deg,#fff 0,#f7fbfc 100%)}.ys-online-guidance h2,.ys-online-hero-copy h2,.ys-online-prevent h2,.ys-online-support h2,.ys-safety-links h2,.ys-sexual-experiences h2,.ys-sexual-parents h2,.ys-sexual-questions h2,.ys-sexual-response h2,.ys-sexual-review h2{margin:0;color:var(--community-navy);font-size:clamp(34px, 4.2vw, 64px);font-weight:950;line-height:1.02;letter-spacing:-.05em}.ys-online-guidance p,.ys-online-hero-copy p:not(.ys-community-eyebrow),.ys-online-prevent aside,.ys-online-prevent p,.ys-online-section-head p,.ys-safety-links p,.ys-sexual-experience-grid li,.ys-sexual-parents p,.ys-sexual-question-card li,.ys-sexual-question-card p,.ys-sexual-response p,.ys-sexual-review p{color:var(--community-muted);font-size:clamp(17px, 1.2vw, 20px);line-height:1.66}.ys-online-hero-image{margin:0;padding:clamp(18px,3vw,30px);border:1px solid rgba(6,24,38,.08);border-radius:26px;background:#fff}.ys-online-hero-image img{display:block;width:100%;max-height:420px;border-radius:18px;object-fit:contain}.ys-online-hero-image figcaption{margin-top:14px;color:var(--community-muted);font-size:13px;font-weight:950;letter-spacing:.8px;text-transform:uppercase}.ys-online-guidance,.ys-online-support,.ys-safety-links,.ys-sexual-experiences,.ys-sexual-parents,.ys-sexual-questions{padding:clamp(28px,4vw,52px)}.ys-online-guidance{max-width:1080px}.ys-sexual-parents,.ys-sexual-review{max-width:1120px}.ys-online-guidance p,.ys-sexual-parents p{margin:16px 0 0}.ys-online-section-head{max-width:980px;margin-bottom:30px}.ys-online-section-head p{margin:16px 0 0}.ys-online-support-grid,.ys-safety-link-grid,.ys-sexual-action-list,.ys-sexual-experience-grid,.ys-sexual-question-grid{display:grid;gap:18px}.ys-online-support-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.ys-online-support-card,.ys-sexual-action-list article,.ys-sexual-experience-grid article,.ys-sexual-question-card{border:1px solid rgba(6,24,38,.08);border-radius:22px;background:radial-gradient(circle at 95% 8%,rgba(242,185,75,.12),transparent 30%),#f7fbfc}.ys-online-support-card{display:flex;flex-direction:column;padding:22px}.ys-sexual-action-list article{padding:22px}.ys-online-support-card>span,.ys-sexual-action-list article>span,.ys-sexual-question-card>span{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:18px;border-radius:14px;background:var(--community-navy);color:#fff;font-size:14px;font-weight:950}.ys-sexual-action-list article>span{margin:0}.ys-online-support-card p,.ys-sexual-action-list p{margin:0;color:var(--community-ink);font-size:16px;font-weight:800;line-height:1.55;min-width:0;word-wrap:break-word}.ys-online-prevent{grid-template-columns:minmax(0,1fr) minmax(260px,0.34fr);background:linear-gradient(135deg,rgba(6,24,38,.96),rgba(0,107,63,.93)),var(--community-navy)}.ys-online-prevent aside,.ys-online-prevent h2,.ys-online-prevent p{color:#fff}.ys-online-prevent p{color:rgba(255,255,255,.82)}.ys-online-prevent aside{padding:26px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(255,255,255,.08);font-weight:800}.ys-safety-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ys-safety-link-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-safety-link-grid a{position:relative;min-height:136px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:24px;border:1px solid rgba(6,24,38,.1);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(247,251,252,.98)),#f7fbfc;color:var(--community-navy);cursor:pointer;text-decoration:none;box-shadow:0 12px 30px rgba(6,24,38,.05);overflow:hidden;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease}.ys-safety-link-grid a::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--community-red),var(--community-gold))}.ys-safety-link-grid a::after{content:"Open link ->";align-self:flex-start;display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:var(--community-navy);color:#fff;font-size:11px;font-weight:950;letter-spacing:.8px;text-transform:uppercase;transition:background .22s ease,transform .22s ease}.ys-safety-link-grid a:hover{transform:translateY(-4px);border-color:rgba(244,63,59,.42);background:#fff;box-shadow:0 22px 48px rgba(6,24,38,.12)}.ys-safety-link-grid a:focus-visible::after,.ys-safety-link-grid a:hover::after{transform:translateX(4px);background:var(--community-red)}.ys-safety-link-grid a:focus-visible{outline:3px solid rgba(244,63,59,.28);outline-offset:4px}.ys-safety-link-grid span{padding-left:2px;font-size:19px;font-weight:950;line-height:1.22}.ys-safety-link-grid em{color:var(--community-muted);font-size:13px;font-style:normal;font-weight:800;overflow-wrap:anywhere}.ys-sexual-review{grid-template-columns:minmax(0,1fr) auto;background:radial-gradient(circle at 96% 12%,rgba(244,63,59,.12),transparent 30%),#fff}.ys-sexual-response{grid-template-columns:minmax(0,0.44fr) minmax(0,0.56fr);align-items:start;background:radial-gradient(circle at 96% 10%,rgba(242,185,75,.14),transparent 28%),linear-gradient(135deg,#fff 0,#f7fbfc 100%)}.ys-sexual-response-copy{padding-right:clamp(0px,2vw,18px)}.ys-sexual-response-copy p:not(.ys-community-eyebrow){margin:18px 0 0;max-width:620px}.ys-sexual-action-list{grid-template-columns:1fr;gap:14px}.ys-sexual-action-list article{display:grid;grid-template-columns:46px minmax(0,1fr);gap:16px;align-items:start;padding:20px;background:#fff;min-width:0}.ys-sexual-question-grid{grid-template-columns:1fr;gap:16px}.ys-sexual-question-card{display:grid;grid-template-columns:52px minmax(280px,0.32fr) minmax(0,1fr);gap:18px 22px;align-items:start;padding:24px;background:#fff}.ys-sexual-question-card>span{grid-column:1;margin:0}.ys-sexual-question-card h3{grid-column:2}.ys-sexual-question-body{grid-column:3}.ys-sexual-experience-grid h3,.ys-sexual-question-card h3{margin:0;color:var(--community-navy);font-size:clamp(22px, 2vw, 32px);font-weight:950;line-height:1.12;letter-spacing:-.03em}.ys-sexual-question-body p{margin:0}.ys-sexual-question-body p+p{margin-top:14px}.ys-sexual-experience-grid ul,.ys-sexual-question-body ul{display:grid;gap:10px;margin:18px 0 0;padding:0;list-style:none}.ys-sexual-experience-grid li,.ys-sexual-question-body li{position:relative;padding-left:22px}.ys-sexual-experience-grid li::before,.ys-sexual-question-body li::before{content:"";position:absolute;top:.68em;left:0;width:8px;height:8px;border-radius:50%;background:var(--community-red)}.ys-sexual-experience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-sexual-experience-grid article{min-height:260px;padding:26px;background:radial-gradient(circle at 96% 8%,rgba(0,107,63,.09),transparent 30%),#fff}.ys-sexual-parents{background:radial-gradient(circle at 92% 8%,rgba(0,107,63,.1),transparent 28%),#fff}.ys-community-plan{display:grid;gap:clamp(28px,4vw,56px);margin-top:28px}.ys-community-plan-nav{display:flex;flex-wrap:wrap;gap:10px;padding:14px;border:1px solid var(--community-border);border-radius:20px;background:#fff;box-shadow:0 18px 48px rgba(6,24,38,.06)}.ys-community-plan-nav a{display:inline-flex;align-items:center;min-height:42px;padding:9px 15px;border-radius:999px;background:#f4f8fb;color:var(--community-navy);font-weight:950;text-decoration:none}.ys-community-plan-nav a:focus-visible,.ys-community-plan-nav a:hover{background:var(--community-green);color:#fff;outline:0}.ys-community-plan-block{scroll-margin-top:130px}.ys-community-plan-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px}.ys-community-plan-block h3,.ys-community-plan-heading h2{margin:0;color:var(--community-navy);font-weight:950;letter-spacing:-.035em}.ys-community-plan-heading h2{font-size:clamp(30px, 4vw, 52px)}.ys-community-plan-block h3{margin-top:28px;margin-bottom:16px;font-size:clamp(24px, 2.5vw, 34px)}.ys-community-plan-badge{display:inline-flex;align-items:center;min-height:28px;padding:5px 12px;border-radius:999px;background:#dff8ec;color:var(--community-green);font-size:13px;font-weight:950}.ys-community-plan-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,0.85fr);gap:28px;align-items:stretch}.ys-community-focus-panel,.ys-community-plan-callout,.ys-community-plan-copy,.ys-community-plan-pillar-grid article,.ys-community-plan-quote{border:1px solid rgba(6,24,38,.09);border-radius:24px;background:#fff;box-shadow:0 18px 52px rgba(6,24,38,.06)}.ys-community-focus-panel,.ys-community-plan-copy{padding:clamp(24px,3vw,38px)}.ys-community-focus-panel li,.ys-community-plan-block>p,.ys-community-plan-copy p,.ys-community-plan-list,.ys-community-plan-pillar-grid li{color:var(--community-ink);font-size:clamp(17px, 1.45vw, 22px);line-height:1.65}.ys-community-plan-copy p{margin:0 0 18px}.ys-community-plan-copy p:last-child{margin-bottom:0}.ys-community-focus-panel h3{margin-top:0}.ys-community-focus-list{display:grid;gap:14px}.ys-community-focus-accordion{padding:18px;border:1px solid rgba(6,24,38,.09);border-radius:18px;background:#fbfdfe}.ys-community-focus-accordion summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;color:var(--community-navy);font-size:clamp(20px, 2vw, 28px);font-weight:950;line-height:1.15}.ys-community-focus-accordion summary::-webkit-details-marker{display:none}.ys-community-focus-accordion summary i{flex:0 0 auto;width:42px;height:42px;border-radius:14px;background:#eefaf4;position:relative}.ys-community-focus-accordion summary i::after,.ys-community-focus-accordion summary i::before{content:"";position:absolute;left:50%;top:50%;width:16px;height:3px;border-radius:999px;background:var(--community-green);transform:translate(-50%,-50%);transition:transform .2s ease}.ys-community-focus-accordion summary i::after{transform:translate(-50%,-50%) rotate(90deg)}.ys-community-focus-accordion[open] summary i::after{transform:translate(-50%,-50%) rotate(0)}.ys-community-focus-accordion ul{margin-top:16px}.ys-community-focus-list ul,.ys-community-plan-list,.ys-community-plan-pillar-grid ul{margin:12px 0 0;padding-left:24px}.ys-community-focus-list li,.ys-community-plan-list li,.ys-community-plan-pillar-grid li{margin:8px 0}.ys-community-plan-pillar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ys-community-plan-pillar-grid article{min-height:280px;padding:clamp(24px,3vw,34px)}.ys-community-plan-pillar-grid article:last-child{grid-column:1/-1;min-height:auto}.ys-community-plan-pillar-grid h3{margin-top:0}.ys-community-plan-pillar-grid p{margin:18px 0 0;color:var(--community-muted);font-size:clamp(17px, 1.35vw, 22px);line-height:1.6}.ys-community-plan-quote{margin:24px 0 0;padding:28px 32px;border-left:7px solid var(--community-red);color:var(--community-muted);font-size:clamp(16px, 1.2vw, 19px);line-height:1.65}.ys-community-plan-quote span{display:block;margin-top:8px;color:var(--community-ink);font-weight:900}.ys-community-plan-notice{margin:0 0 26px;padding:24px 26px;border-left:7px solid var(--community-green);border-radius:16px;background:#eefaf4;color:var(--community-ink);font-size:clamp(18px, 1.6vw, 24px);line-height:1.6}.ys-community-plan-callout{padding:22px 26px;color:var(--community-navy);font-size:clamp(20px, 2vw, 30px);font-weight:950}.ys-community-plan-table-wrap{width:100%;overflow-x:auto;border:1px solid rgba(6,24,38,.1);border-radius:22px;background:#fff;box-shadow:0 18px 52px rgba(6,24,38,.06)}.ys-community-plan-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;color:var(--community-navy);font-size:16px;line-height:1.55}.ys-community-plan-table td,.ys-community-plan-table th{min-width:170px;padding:18px 20px;border-right:1px solid rgba(6,24,38,.09);border-bottom:1px solid rgba(6,24,38,.09);text-align:left;vertical-align:top}.ys-community-plan-table td:last-child,.ys-community-plan-table th:last-child{border-right:0}.ys-community-plan-table tbody tr:last-child td{border-bottom:0}.ys-community-plan-table th{background:#f4f8fb;color:var(--community-navy);font-weight:950}.ys-community-plan-table td{background:#fff}.ys-community-editor-card{margin-top:28px;padding:clamp(28px,4vw,52px);border-radius:24px}.ys-community-builder{margin-top:28px;padding:clamp(28px,4vw,54px);border-radius:28px}.ys-community-builder-head{max-width:900px;margin-bottom:30px}.ys-community-builder-head h2{margin:0;color:var(--community-navy);font-size:clamp(36px, 4.8vw, 68px);font-weight:950;line-height:.98;letter-spacing:-.055em}.ys-community-builder-head p:not(.ys-community-eyebrow),.ys-community-builder-note{color:var(--community-muted);font-size:clamp(16px, 1.2vw, 19px);line-height:1.7}.ys-community-builder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ys-community-builder-card{position:relative;min-height:100%;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(6,24,38,.09);border-radius:24px;background:radial-gradient(circle at 92% 6%,rgba(242,185,75,.18),transparent 24%),#f8fbfd;box-shadow:0 18px 52px rgba(6,24,38,.06)}.ys-community-builder-card::before{content:"";position:absolute;inset:0 auto 0 0;z-index:2;width:5px;background:linear-gradient(180deg,var(--community-green),var(--community-gold))}.ys-community-builder-number{position:absolute;z-index:3;top:18px;left:22px;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--community-navy);color:#fff;font-size:15px;font-weight:950}.ys-community-builder-media{min-height:190px;margin:0;padding:18px 18px 0 28px}.ys-community-builder-media img{display:block;width:100%;height:210px;border-radius:18px;object-fit:cover}.ys-community-builder-empty-image{display:none!important}.ys-community-builder-placeholder{display:grid;place-items:center;width:100%;height:210px;border:1px dashed rgba(6,24,38,.16);border-radius:18px;background:radial-gradient(circle at 70% 20%,rgba(0,107,63,.12),transparent 28%),linear-gradient(135deg,#eef7fb,#f8fbfd)}.ys-community-builder-placeholder span{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border-radius:999px;background:#fff;color:var(--community-green);font-size:12px;font-weight:950;letter-spacing:1px;text-transform:uppercase;box-shadow:0 10px 26px rgba(6,24,38,.08)}.ys-community-builder-copy{display:flex;flex:1;flex-direction:column;padding:24px 28px 28px}.ys-community-builder-copy h3{margin:0;color:var(--community-navy);font-size:clamp(24px, 2vw, 34px);font-weight:950;line-height:1.06;letter-spacing:-.035em}.ys-community-builder-copy p{margin:16px 0 24px;color:var(--community-muted);font-size:16px;line-height:1.65}.ys-community-builder-card a{align-self:flex-start;margin-top:auto}.ys-community-builder-note{margin:24px 0 0;padding:18px 20px;border-left:5px solid var(--community-green);border-radius:16px;background:#eefaf4}.ys-community-wp-content>:first-child{margin-top:0}.ys-community-wp-content>:last-child{margin-bottom:0}.ys-community-wp-content h2,.ys-community-wp-content h3,.ys-community-wp-content h4{color:var(--community-navy);font-weight:950;line-height:1.08;letter-spacing:-.035em}.ys-community-wp-content h2{font-size:clamp(30px, 4vw, 52px)}.ys-community-wp-content h3{font-size:clamp(24px, 3vw, 36px)}.ys-community-wp-content a{color:var(--community-green);font-weight:900}.ys-community-wp-content img{max-width:100%;height:auto;border-radius:22px}.ys-community-wp-content .wp-block-columns{gap:24px}.ys-community-wp-content .wp-block-button__link{border-radius:999px;background:var(--community-red);color:#fff;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.ys-community-wp-content table{width:100%;border-collapse:collapse;overflow:hidden;border:1px solid rgba(6,24,38,.1);border-radius:18px}.ys-community-wp-content td,.ys-community-wp-content th{padding:14px 16px;border:1px solid rgba(6,24,38,.08);text-align:left}.ys-community-wp-content th{background:#f4f8fb;color:var(--community-navy);font-weight:950}.ys-community-enquiry-layout{display:grid;grid-template-columns:minmax(280px,0.42fr) minmax(0,0.58fr);gap:28px;align-items:start}.ys-community-enquiry-aside,.ys-community-form-card{border-radius:28px;padding:clamp(28px,4vw,54px)}.ys-community-enquiry-note{margin-top:28px;padding:24px;border-radius:20px;background:#edf8f2;border:1px solid rgba(0,107,63,.12)}.ys-community-enquiry-note p{margin:0;color:var(--community-muted);line-height:1.65}.ys-community-enquiry-links{display:grid;gap:12px;margin-top:28px}.ys-community-enquiry-links a{border:1px solid rgba(6,24,38,.1);background:#fff;color:var(--community-navy);box-shadow:none}.ys-community-form-card>p{margin:18px 0 0}.ys-community-form-notice{margin:24px 0;padding:16px 18px;border-radius:14px;font-weight:900}.ys-community-form-success{background:#e8f7ef;color:#006b3f}.ys-community-form-error{background:#fff0ef;color:#bf302c}.ys-community-hire-form{margin-top:28px}.ys-community-hp{position:absolute;left:-9999px}.ys-community-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ys-community-form-field{display:grid;gap:8px}.ys-community-form-field-wide{grid-column:1/-1}.ys-community-form-field span{color:var(--community-navy);font-size:14px;font-weight:950}.ys-community-form-field input,.ys-community-form-field select,.ys-community-form-field textarea{width:100%;min-height:54px;padding:14px 16px;border:1px solid rgba(6,24,38,.12);border-radius:16px;background:#f8fafc;color:var(--community-navy);font:inherit;font-size:16px;outline:0;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.ys-community-form-field textarea{min-height:160px;resize:vertical}.ys-community-form-field input:focus,.ys-community-form-field select:focus,.ys-community-form-field textarea:focus{border-color:rgba(0,107,63,.45);background:#fff;box-shadow:0 0 0 4px rgba(0,107,63,.1)}.ys-community-hire-form button{margin-top:24px;border:0;cursor:pointer}.ys-community-enquiry-editor{grid-column:1/-1}@media (max-width:1180px){.ys-community-builder-grid,.ys-community-card-grid,.ys-community-directory-grid,.ys-community-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-community-alumni-panel,.ys-community-committee-overview,.ys-community-committee-panel,.ys-community-enquiry-layout,.ys-community-env-feature,.ys-community-intro-card,.ys-community-plan-split,.ys-community-trust-signup{grid-template-columns:1fr}.ys-community-committee-visual,.ys-community-env-visual{max-width:520px}.ys-community-plan-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.ys-community-page .ys-container{width:min(100% - 28px,1400px)}.ys-community-hero{min-height:auto;padding:128px 0 118px}.ys-community-hero h1{font-size:clamp(44px, 15vw, 64px)}.ys-community-actions,.ys-community-primary,.ys-community-secondary{width:100%}.ys-community-section{margin-top:-46px;padding-bottom:58px}.ys-community-alumni-panel,.ys-community-builder,.ys-community-committee-overview,.ys-community-committee-panel,.ys-community-editor-card,.ys-community-enquiry-aside,.ys-community-env-feature,.ys-community-focus-panel,.ys-community-form-card,.ys-community-intro-card,.ys-community-link-shell,.ys-community-pdf-panel,.ys-community-pillar-section,.ys-community-plan-callout,.ys-community-plan-copy,.ys-community-plan-pillar-grid article,.ys-community-plan-table-wrap,.ys-community-trust-intro,.ys-community-trust-signup{border-radius:20px}.ys-community-alumni-panel,.ys-community-builder,.ys-community-committee-overview,.ys-community-committee-panel,.ys-community-editor-card,.ys-community-enquiry-aside,.ys-community-env-feature,.ys-community-focus-panel,.ys-community-form-card,.ys-community-intro-card,.ys-community-link-shell,.ys-community-pillar-section,.ys-community-plan-copy,.ys-community-plan-pillar-grid article,.ys-community-trust-intro,.ys-community-trust-signup{padding:22px}.ys-community-alumni-copy h2,.ys-community-builder-head h2,.ys-community-committee-copy h2,.ys-community-committee-overview h2,.ys-community-enquiry-aside h2,.ys-community-env-copy h2,.ys-community-form-card h2,.ys-community-intro-card h2,.ys-community-link-head h2,.ys-community-pillar-head h2,.ys-community-trust-intro h2{font-size:clamp(34px, 11vw, 48px)}.ys-community-builder-grid,.ys-community-card-grid,.ys-community-card-grid-trust,.ys-community-directory-grid,.ys-community-env-stats,.ys-community-form-grid,.ys-community-pillar-grid,.ys-community-plan-pillar-grid{grid-template-columns:1fr}.ys-community-card-grid-trust .ys-community-card:first-child{grid-column:auto}.ys-community-card-grid-trust .ys-community-card{grid-template-columns:1fr;gap:0}.ys-community-card-grid-trust .ys-community-card>span{grid-row:auto;margin-bottom:18px}.ys-community-card-grid-trust .ys-community-card-list{grid-template-columns:1fr}.ys-community-card-grid-committees .ys-community-card{grid-template-columns:1fr;gap:18px}.ys-community-card-grid-committees .ys-community-card>span{margin-bottom:0}.ys-community-card-grid-committees .ys-community-card-image{width:100%;max-width:300px;justify-self:start}.ys-community-card-grid-committees .ys-community-card-image img{width:min(100%,190px);max-height:190px}.ys-community-card-grid-committees .ys-community-card h3{font-size:clamp(27px, 9vw, 38px)}.ys-community-builder-copy,.ys-community-card,.ys-community-directory-card{padding:24px}.ys-community-builder-media{min-height:160px;padding:18px 18px 0 24px}.ys-community-builder-media img,.ys-community-builder-placeholder{height:180px}.ys-community-directory-links a{min-height:48px}.ys-community-pdf-head .ys-community-primary,.ys-community-trust-signup .ys-community-primary{width:100%}.ys-community-alumni-cta{min-height:auto;padding:24px}.ys-community-pdf-head{grid-template-columns:1fr;align-items:stretch}.ys-community-pdf-actions{align-items:flex-start;flex-direction:column;gap:10px}.ys-community-pdf-viewer{height:62vh;min-height:420px;border-radius:14px}.ys-community-committee-copy>p:not(.ys-community-eyebrow){font-size:17px;line-height:1.65}.ys-community-committee-overview p:not(.ys-community-eyebrow){font-size:17px;line-height:1.62}.ys-community-committee-tags span{min-height:52px;font-size:17px}.ys-community-committee-visual{width:100%;justify-self:stretch;padding:18px}.ys-community-committee-visual img{width:min(100%,230px);max-height:230px}.ys-community-pdf-reader{display:none}.ys-community-pdf-toolbar{flex-direction:column;align-items:stretch;border-left:0}.ys-community-pdf-toolbar>div{display:grid;grid-template-columns:1fr 1fr}.ys-community-pdf-stage{grid-template-columns:1fr;gap:12px;min-height:0;padding:10px}.ys-community-pdf-side{display:none}.ys-community-pdf-page{min-height:0;height:auto;max-height:none;align-items:flex-start;padding:0}.ys-community-pdf-page img{width:100%;max-width:none;max-height:none;height:auto}.ys-community-pdf-thumbs{flex-direction:row;gap:10px;overflow-x:auto;overflow-y:hidden;max-height:none;padding:12px;border-left:0;scroll-snap-type:x proximity}.ys-community-pdf-thumbs button{flex-basis:72px;grid-template-columns:1fr;gap:8px}.ys-community-pdf-thumbs span{height:82px}.ys-community-pdf-thumbs em{text-align:center}.ys-community-committee-visual,.ys-community-env-visual{padding:18px}.ys-community-env-visual img{max-height:270px}.ys-community-env-stats article,.ys-community-pillar-card{min-height:auto}.ys-community-plan{gap:34px}.ys-community-plan-nav{overflow-x:auto;flex-wrap:nowrap;padding:10px}.ys-community-plan-nav a{white-space:nowrap}.ys-community-plan-heading{align-items:flex-start}.ys-community-plan-heading h2{width:100%;font-size:clamp(30px, 10vw, 42px)}.ys-community-focus-panel li,.ys-community-plan-block>p,.ys-community-plan-copy p,.ys-community-plan-list,.ys-community-plan-pillar-grid li{font-size:17px}.ys-community-plan-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.ys-community-plan-table{min-width:920px}.ys-community-plan-table td,.ys-community-plan-table th{min-width:165px;padding:14px 16px}}@media (max-width:1180px){.ys-wellbeing-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-counselling-card,.ys-counselling-intro,.ys-learning-intro,.ys-online-hero-card,.ys-online-prevent,.ys-pastoral-intro,.ys-safeguarding-child,.ys-safeguarding-intro,.ys-safeguarding-media-card,.ys-safeguarding-media-card:nth-child(2n),.ys-send-contact,.ys-send-intro,.ys-send-resource-band,.ys-sexual-response,.ys-sexual-review,.ys-wellbeing-pdf-card{grid-template-columns:1fr}.ys-learning-card-grid,.ys-learning-link-grid,.ys-online-support-grid,.ys-pastoral-card-grid,.ys-send-overview-grid,.ys-send-support-grid,.ys-sexual-experience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-counselling-list{column-count:2}.ys-counselling-card,.ys-counselling-card:nth-child(2n),.ys-counselling-intro,.ys-pastoral-intro,.ys-wellbeing-pdf-card{grid-template-columns:1fr}.ys-counselling-card:nth-child(2n) .ys-counselling-logo{order:0}.ys-safety-link-grid,.ys-sexual-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ys-sexual-action-list,.ys-sexual-question-grid{grid-template-columns:1fr}.ys-counselling-logo{min-height:140px}.ys-counselling-logo img{max-height:130px}.ys-send-contact .ys-community-primary,.ys-send-resource-band .ys-community-primary{justify-self:start}}@media (max-width:720px){.ys-wellbeing-panel{margin:18px 0;padding:24px;border-radius:24px}.ys-counselling-intro h2,.ys-learning-intro h2,.ys-learning-resources h2,.ys-online-guidance h2,.ys-online-hero-copy h2,.ys-online-prevent h2,.ys-online-support h2,.ys-pastoral-intro h2,.ys-safeguarding-child h2,.ys-safeguarding-intro h2,.ys-safeguarding-media-card h2,.ys-safeguarding-policy h2,.ys-safeguarding-report h2,.ys-safety-links h2,.ys-send-contact h2,.ys-send-intro h2,.ys-send-resource-band h2,.ys-send-support-panel h2,.ys-sexual-experiences h2,.ys-sexual-parents h2,.ys-sexual-questions h2,.ys-sexual-response h2,.ys-sexual-review h2,.ys-wellbeing-panel h2,.ys-wellbeing-pdf-list>h2{font-size:clamp(32px, 10vw, 44px)}.ys-counselling-copy p,.ys-counselling-intro p:not(.ys-community-eyebrow),.ys-learning-card p,.ys-learning-intro p:not(.ys-community-eyebrow),.ys-learning-resources p:not(.ys-community-eyebrow),.ys-online-guidance p,.ys-online-hero-copy p:not(.ys-community-eyebrow),.ys-online-prevent aside,.ys-online-prevent p,.ys-online-section-head p,.ys-pastoral-card p,.ys-pastoral-intro p:not(.ys-community-eyebrow),.ys-safeguarding-child p,.ys-safeguarding-intro p:not(.ys-community-eyebrow),.ys-safeguarding-media-card p,.ys-safeguarding-policy p,.ys-safeguarding-report p,.ys-safety-links p,.ys-send-card p,.ys-send-contact p:not(.ys-community-eyebrow),.ys-send-intro p:not(.ys-community-eyebrow),.ys-send-resource-band p:not(.ys-community-eyebrow),.ys-send-support-panel p:not(.ys-community-eyebrow),.ys-sexual-experience-grid li,.ys-sexual-parents p,.ys-sexual-question-card li,.ys-sexual-question-card p,.ys-sexual-response p,.ys-sexual-review p,.ys-wellbeing-card p,.ys-wellbeing-panel p:not(.ys-community-eyebrow),.ys-wellbeing-pdf-card p{font-size:16px;line-height:1.62}.ys-wellbeing-card-grid{grid-template-columns:1fr;gap:16px}.ys-counselling-card,.ys-counselling-intro,.ys-learning-card,.ys-learning-intro,.ys-learning-resources,.ys-online-guidance,.ys-online-hero-card,.ys-online-prevent,.ys-online-support,.ys-pastoral-card,.ys-pastoral-intro,.ys-safeguarding-child,.ys-safeguarding-intro,.ys-safeguarding-media-card,.ys-safeguarding-policy,.ys-safeguarding-report,.ys-safety-links,.ys-send-card,.ys-send-contact,.ys-send-intro,.ys-send-resource-band,.ys-send-support-panel,.ys-sexual-experiences,.ys-sexual-parents,.ys-sexual-questions,.ys-sexual-response,.ys-sexual-review,.ys-wellbeing-card,.ys-wellbeing-pdf-card,.ys-wellbeing-pdf-list{padding:20px;border-radius:22px}.ys-learning-card-grid,.ys-learning-link-grid,.ys-online-support-grid,.ys-pastoral-card-grid,.ys-safety-link-grid,.ys-safety-link-grid-compact,.ys-send-overview-grid,.ys-send-support-grid,.ys-sexual-action-list,.ys-sexual-experience-grid,.ys-sexual-question-grid{grid-template-columns:1fr}.ys-sexual-question-card{grid-template-columns:1fr;gap:12px}.ys-sexual-question-body,.ys-sexual-question-card h3,.ys-sexual-question-card>span{grid-column:auto}.ys-sexual-action-list article{grid-template-columns:1fr}.ys-wellbeing-card{min-height:auto}.ys-counselling-card h3,.ys-learning-card h3,.ys-send-card h3,.ys-wellbeing-card h3,.ys-wellbeing-pdf-card h3{font-size:clamp(25px, 8vw, 34px)}.ys-counselling-copy>span,.ys-learning-card>span,.ys-send-card>span,.ys-wellbeing-card>span{width:44px;height:44px;margin-bottom:18px}.ys-counselling-list{gap:16px}.ys-counselling-logo{min-height:120px;padding:18px}.ys-counselling-logo img{width:min(100%,230px);max-height:115px}.ys-wellbeing-pdf-preview-link span{right:12px;bottom:12px;min-height:34px;padding:0 12px;font-size:10px}.ys-learning-card a,.ys-learning-link-grid a,.ys-pastoral-card-link,.ys-safeguarding-copy .ys-community-primary,.ys-send-contact .ys-community-primary,.ys-send-resource-band .ys-community-primary,.ys-wellbeing-card a,.ys-wellbeing-link,.ys-wellbeing-pdf-actions .ys-community-primary,.ys-wellbeing-pdf-actions .ys-community-secondary{width:100%}.ys-wellbeing-pdf-preview{padding:10px;border-radius:16px}}