:root {
  --kns-navy: hsl(218 58% 20%);
  --kns-navy-2: hsl(220 48% 28%);
  --kns-red: hsl(354 76% 48%);
  --kns-sky: hsl(204 82% 48%);
  --kns-green: hsl(149 58% 38%);
  --kns-gold: hsl(42 91% 55%);
  --kns-purple: hsl(267 46% 48%);
  --kns-cream: hsl(42 70% 96%);
  --kns-soft-blue: hsl(204 82% 96%);
  --kns-soft-green: hsl(149 58% 95%);
  --kns-soft-red: hsl(354 76% 96%);
  --kns-soft-purple: hsl(267 46% 96%);
  --kns-text: hsl(218 28% 18%);
  --kns-muted: hsl(218 16% 42%);
  --kns-border: hsl(218 18% 88%);
  --kns-white: hsl(0 0% 100%);
  --kns-shadow: 0 18px 50px hsl(218 58% 20% / 0.12);
  --kns-radius: 22px;
  --kns-radius-sm: 14px;
  --kns-container: 1180px;
  --kns-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--kns-font);
  color: var(--kns-text);
  background: var(--kns-cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--kns-navy); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--kns-red); }
.container { width: min(calc(100% - 32px), var(--kns-container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--kns-navy); color: #fff; padding: .75rem 1rem; border-radius: 999px; z-index: 100; }
.skip-link:focus { left: 1rem; }
.screen-reader-text { position:absolute!important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

.top-strip { background: var(--kns-navy); color: #fff; font-size: .9rem; }
.top-strip a { color: #fff; text-decoration: none; }
.top-strip__inner { display: flex; gap: 1rem; justify-content: flex-end; padding-block: .45rem; flex-wrap: wrap; }
.site-header { background: hsl(0 0% 100% / .96); position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 30px hsl(218 58% 20% / .08); }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.site-branding { display: flex; align-items: center; gap: .85rem; min-width: 240px; }
.site-logo-mark { width: 58px; height: 58px; border-radius: 18px; display:grid; place-items:center; color:#fff; font-weight: 900; letter-spacing: -.04em; text-decoration:none; background: linear-gradient(135deg, var(--kns-red), var(--kns-navy)); box-shadow: 0 10px 26px hsl(354 76% 48% / .24); }
.site-logo img { max-height: 72px; width: auto; }
.site-title { display:block; color: var(--kns-navy); text-decoration: none; font-size: 1.18rem; font-weight: 900; line-height: 1.1; }
.site-tagline { margin: .15rem 0 0; color: var(--kns-muted); font-size: .88rem; }
.primary-nav { min-width: 0; }
.primary-menu { list-style: none; display: flex; align-items: center; gap: .25rem; padding: 0; margin: 0; }
.primary-menu li { position: relative; }
.primary-menu a { color: var(--kns-navy); text-decoration: none; font-weight: 700; font-size: .94rem; display: block; padding: .7rem .74rem; border-radius: 999px; white-space: nowrap; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: var(--kns-soft-blue); color: var(--kns-navy); }
.primary-menu .sub-menu { position: absolute; top: calc(100% + .35rem); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--kns-border); border-radius: 18px; box-shadow: var(--kns-shadow); padding: .5rem; margin: 0; list-style: none; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .16s ease; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.primary-menu .sub-menu a { border-radius: 12px; }
.primary-menu .nav-button, .nav-button { background: var(--kns-red); color: #fff!important; box-shadow: 0 8px 22px hsl(354 76% 48% / .2); }
.primary-menu .nav-button:hover { background: var(--kns-navy); }
.menu-toggle { display: none; border: 0; background: var(--kns-navy); color:#fff; border-radius: 999px; padding: .75rem 1rem; font-weight: 800; align-items:center; gap:.5rem; }
.menu-toggle__bar { width: 18px; height: 2px; background: currentColor; position: relative; display:block; }
.menu-toggle__bar::before, .menu-toggle__bar::after { content:""; position:absolute; left:0; width:18px; height:2px; background:currentColor; }
.menu-toggle__bar::before { top:-6px; } .menu-toggle__bar::after { top:6px; }

.home-hero { background: radial-gradient(circle at top left, hsl(354 76% 58% / .24), transparent 34%), radial-gradient(circle at 80% 15%, hsl(42 91% 62% / .35), transparent 28%), linear-gradient(135deg, var(--kns-navy), hsl(220 54% 25%) 52%, hsl(204 68% 35%)); color: #fff; overflow:hidden; }
.home-hero__grid { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem); }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 5.3rem); line-height: .98; letter-spacing: -.06em; margin: 0 0 1.25rem; max-width: 900px; }
.home-hero p { font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 700px; color: hsl(0 0% 100% / .88); }
.eyebrow { margin: 0 0 .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--kns-red); font-size: .82rem; }
.home-hero .eyebrow { color: var(--kns-gold); }
.home-hero__panel { display: grid; gap: 1rem; transform: rotate(1deg); }
.highlight-card { display:flex; align-items:flex-start; gap:.95rem; border-radius: 18px; padding: 1.1rem 1.2rem; background: hsl(0 0% 100% / .93); color: var(--kns-text); box-shadow: 0 12px 32px hsl(218 58% 10% / .12); border: 1px solid hsl(0 0% 100% / .62); cursor: default; }
.highlight-card__icon { width: 42px; height: 42px; border-radius: 14px; display:grid; place-items:center; flex: 0 0 auto; margin-top:.05rem; color:#fff; }
.highlight-card__icon svg { width: 23px; height: 23px; }
.highlight-card__content { display:block; min-width:0; }
.highlight-card strong { display:block; font-size: clamp(1.14rem, 2vw, 1.38rem); line-height: 1.12; color: var(--kns-navy); }
.highlight-card span span { display:block; margin-top: .35rem; color: var(--kns-muted); font-size:.98rem; line-height:1.45; overflow-wrap: anywhere; }
.highlight-card--red { border-left: 6px solid var(--kns-red); }
.highlight-card--red .highlight-card__icon { background: var(--kns-red); }
.highlight-card--blue { border-left: 6px solid var(--kns-sky); transform: translateX(18px); }
.highlight-card--blue .highlight-card__icon { background: var(--kns-sky); }
.highlight-card--gold { border-left: 6px solid var(--kns-gold); }
.highlight-card--gold .highlight-card__icon { background: var(--kns-gold); color: var(--kns-navy); }

.section { padding-block: clamp(3rem, 6vw, 5rem); background: #fff; }
.section--soft { background: linear-gradient(180deg, var(--kns-cream), #fff); }
.section--quick-links { background: var(--kns-cream); }
.section--colour-band { background: linear-gradient(135deg, var(--kns-red), var(--kns-navy)); color: #fff; }
.section--green-band { background: linear-gradient(135deg, var(--kns-green), var(--kns-navy)); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading h2, .date-panel h2, .cta-grid h2, .sidebar-card h2, .contact-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.045em; margin: 0 0 .85rem; color: var(--kns-navy); }
.section-heading p { color: var(--kns-muted); margin:0; }
.section--colour-band .section-heading h2, .section--colour-band h2, .section--colour-band p, .section--colour-band .eyebrow { color: #fff; }

.button-row { display:flex; gap:.8rem; align-items:center; flex-wrap:wrap; margin-top: 1.6rem; }
.button-row--right { justify-content:flex-end; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height: 46px; padding: .75rem 1.15rem; border-radius: 999px; text-decoration:none; font-weight: 900; border: 2px solid transparent; transition: .16s ease; }
.button--primary { background: var(--kns-red); color:#fff; }
.button--primary:hover { background: #fff; color: var(--kns-red); }
.button--secondary { background: var(--kns-navy); color:#fff; }
.button--secondary:hover { background: var(--kns-red); color:#fff; }
.button--light { background:#fff; color: var(--kns-navy); }
.button--light:hover { background: var(--kns-gold); color: var(--kns-navy); }
.button--outline-light { color:#fff; border-color: hsl(0 0% 100% / .65); }
.button--outline-light:hover { background:#fff; color: var(--kns-navy); }

.quick-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.quick-card { display:flex; align-items:flex-start; gap: 1rem; min-height: 150px; background:#fff; border-radius: var(--kns-radius); padding: 1.2rem; text-decoration:none; box-shadow: 0 10px 30px hsl(218 58% 20% / .08); border: 1px solid var(--kns-border); position:relative; overflow:hidden; }
.quick-card::after { content:""; position:absolute; inset:auto 10px 10px auto; width:84px; height:84px; border-radius:999px; background: currentColor; opacity:.08; pointer-events:none; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--kns-shadow); color: var(--kns-navy); }
.quick-card__icon { width: 48px; height: 48px; border-radius: 16px; display:grid; place-items:center; flex:0 0 auto; color:#fff; background: var(--kns-navy); }
.quick-card__icon svg { width: 26px; height:26px; }
.quick-card__content { min-width: 0; }
.quick-card strong { display:block; color: var(--kns-navy); font-size: 1.15rem; margin-bottom:.35rem; }
.quick-card strong,
.quick-card span span { overflow-wrap: anywhere; }
.quick-card span span { color: var(--kns-muted); }
.quick-card--red .quick-card__icon { background: var(--kns-red); }
.quick-card--blue .quick-card__icon { background: var(--kns-sky); }
.quick-card--green .quick-card__icon { background: var(--kns-green); }
.quick-card--gold .quick-card__icon { background: var(--kns-gold); color: var(--kns-navy); }
.quick-card--purple .quick-card__icon { background: var(--kns-purple); }
.quick-card--navy .quick-card__icon { background: var(--kns-navy); }

.split-section { display:grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 2rem; align-items:start; }
.card-grid { display:grid; gap: 1rem; }
.card-grid--posts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); }
.card-grid--simple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { background:#fff; border: 1px solid var(--kns-border); border-radius: var(--kns-radius); overflow:hidden; box-shadow: 0 10px 30px hsl(218 58% 20% / .08); display:flex; flex-direction:column; }
.post-card__image { min-height: 190px; display:block; background: linear-gradient(135deg, var(--kns-sky), var(--kns-purple)); overflow:hidden; text-decoration:none; }
.post-card__image img { width:100%; height: 100%; min-height:190px; object-fit:cover; display:block; transition: .24s ease; }
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__image--placeholder { display:grid; place-items:center; }
.post-card__image--placeholder span { font-size: 4rem; font-weight: 900; color: hsl(0 0% 100% / .75); }
.post-card__body { padding: 1.15rem; flex:1; display:flex; flex-direction:column; }
.post-card__meta { color: var(--kns-red); font-weight:900; font-size:.85rem; margin:0 0 .5rem; }
.post-card h3 { font-size:1.24rem; line-height:1.18; margin:0 0 .6rem; }
.post-card h3 a { text-decoration:none; color:var(--kns-navy); }
.post-card p { color:var(--kns-muted); margin:.25rem 0 .9rem; }
.text-link { font-weight:900; margin-top:auto; }
.section-action { margin-top: 1.35rem; }

.date-panel, .sidebar-card, .contact-panel { background: var(--kns-navy); color: #fff; border-radius: 28px; padding: 1.5rem; box-shadow: var(--kns-shadow); }
.date-panel h2, .date-panel .eyebrow, .sidebar-card h2, .sidebar-card p, .sidebar-card li, .contact-panel h2, .contact-panel p { color:#fff; }
.date-panel .button { margin-top: 1rem; }
.date-list { list-style:none; padding:0; margin:1rem 0; display:grid; gap:.75rem; }
.date-list li { background: hsl(0 0% 100% / .12); border: 1px solid hsl(0 0% 100% / .18); border-radius: 16px; padding: .9rem; }
.date-list strong, .date-list span { display:block; }
.date-list span { color: hsl(0 0% 100% / .75); font-size:.95rem; }
.date-list a { color:#fff; font-weight:800; }
.sidebar-card { background: var(--kns-navy); }
.sidebar-card--green { background: var(--kns-green); }
.sidebar-card--blue { background: var(--kns-sky); }
.sidebar-card--red { background: var(--kns-red); }

.cta-grid { display:grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items:center; }
.two-column { display:grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 2rem; align-items:start; }
.mini-card-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:1rem; }
.mini-card, .simple-card { border-radius: var(--kns-radius); padding: 1.2rem; background:#fff; border:1px solid var(--kns-border); text-decoration:none; box-shadow: 0 10px 30px hsl(218 58% 20% / .08); }
.mini-card { min-height: 150px; display:flex; flex-direction:column; justify-content:flex-end; }
.mini-card strong { font-size:1.22rem; color:var(--kns-navy); }
.mini-card span { color:var(--kns-muted); }
.mini-card--blue { background: var(--kns-soft-blue); }
.mini-card--red { background: var(--kns-soft-red); }
.mini-card--green { background: var(--kns-soft-green); }
.mini-card--gold { background: hsl(42 91% 94%); }
.simple-card__icon { width:46px; height:46px; border-radius:15px; background:var(--kns-navy); color:#fff; display:grid; place-items:center; margin-bottom:1rem; }
.simple-card__icon svg { width:25px; height:25px; }
.simple-card h3 { margin:.2rem 0 .5rem; font-size:1.25rem; }
.simple-card h3 a { text-decoration:none; color:var(--kns-navy); }
.simple-card p { color:var(--kns-muted); margin:0; }
.simple-card--gold .simple-card__icon { background:var(--kns-gold); color:var(--kns-navy); }
.simple-card--blue .simple-card__icon { background:var(--kns-sky); }
.simple-card--red .simple-card__icon { background:var(--kns-red); }
.simple-card--green .simple-card__icon { background:var(--kns-green); }

.page-hero { background: linear-gradient(135deg, var(--kns-navy), var(--kns-navy-2)); color:#fff; }
.page-hero__inner { padding-block: clamp(3rem, 6vw, 5.5rem); max-width: 930px; }
.page-hero h1 { color:#fff; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height:1; letter-spacing:-.055em; margin:0; }
.page-hero p { color:hsl(0 0% 100% / .82); font-size:1.1rem; }
.page-hero .eyebrow { color: var(--kns-gold); }
.breadcrumbs {
  margin: 0 0 1rem;
  color: hsl(0 0% 100% / .82);
  font-size: .92rem;
  font-weight: 800;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: hsl(0 0% 100% / .55);
}
.breadcrumbs a,
.breadcrumbs span {
  color: inherit;
  max-width: min(34ch, 100%);
  overflow-wrap: anywhere;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .2em;
}
.breadcrumbs [aria-current="page"] {
  color: #fff;
}
.narrow-content { max-width: 860px; }
.section--content-page {
  background: linear-gradient(180deg, #fff 0%, var(--kns-cream) 100%);
}
.section--content-page .entry-content {
  padding-bottom: clamp(1rem, 4vw, 2rem);
}
.entry-content {
  color: var(--kns-text);
  font-size: clamp(1.03rem, .2vw + 1rem, 1.12rem);
  line-height: 1.74;
  overflow-wrap: break-word;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content > * + * {
  margin-top: 1.05rem;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--kns-navy);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: pretty;
}
.entry-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-top: clamp(2.1rem, 5vw, 3.2rem);
  margin-bottom: .65rem;
}
.entry-content h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin-top: 2rem;
  margin-bottom: .45rem;
}
.entry-content h4 {
  font-size: 1.13rem;
  margin-top: 1.5rem;
  margin-bottom: .35rem;
}
.entry-content p {
  margin-bottom: 0;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
  margin-bottom: 0;
}
.entry-content li {
  padding-left: .2rem;
}
.entry-content li + li {
  margin-top: .42rem;
}
.entry-content img,
.featured-image img {
  border-radius: var(--kns-radius-sm);
}
.entry-content figure {
  margin: 1.8rem 0;
}
.entry-content figcaption,
.entry-content caption {
  color: var(--kns-muted);
  font-size: .94rem;
}
.entry-content .responsive-table {
  margin: 1.3rem 0 1.8rem;
  overflow-x: auto;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius-sm);
  background: #fff;
  box-shadow: 0 10px 28px hsl(218 58% 20% / .07);
}
.entry-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  background: #fff;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 28px hsl(218 58% 20% / .07);
}
.entry-content .responsive-table table {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.entry-content th,
.entry-content td {
  border: 0;
  border-bottom: 1px solid var(--kns-border);
  border-right: 1px solid var(--kns-border);
  padding: .82rem .9rem;
  text-align: left;
  vertical-align: top;
}
.entry-content tr:last-child td {
  border-bottom: 0;
}
.entry-content th:last-child,
.entry-content td:last-child {
  border-right: 0;
}
.entry-content th {
  background: var(--kns-soft-blue);
  color: var(--kns-navy);
  font-weight: 900;
}
.entry-content caption {
  caption-side: top;
  padding: .95rem 1rem;
  color: var(--kns-navy);
  font-weight: 900;
  text-align: left;
  background: var(--kns-cream);
  border-bottom: 1px solid var(--kns-border);
}
.entry-content .box,
.entry-content blockquote,
.content-summary-panel,
.content-section-card,
.kns-callout {
  border: 1px solid var(--kns-border);
  border-left: 7px solid var(--kns-red);
  background: #fff;
  border-radius: var(--kns-radius-sm);
  padding: clamp(1rem, 3vw, 1.45rem);
  box-shadow: 0 10px 28px hsl(218 58% 20% / .07);
}
.entry-content blockquote {
  background: var(--kns-cream);
  color: var(--kns-navy);
  font-weight: 800;
}
.entry-content blockquote p {
  margin: 0;
}
.content-summary-panel {
  border-left-color: var(--kns-green);
  background: linear-gradient(135deg, #fff, var(--kns-soft-green));
}
.content-summary-panel--curriculum {
  border-left-color: var(--kns-sky);
  background: linear-gradient(135deg, #fff, var(--kns-soft-blue));
}
.content-summary-panel--resource {
  border-left-color: var(--kns-purple);
  background: linear-gradient(135deg, #fff, var(--kns-soft-purple));
}
.content-summary-panel--practical {
  border-left-color: var(--kns-gold);
  background: linear-gradient(135deg, #fff, hsl(42 91% 95%));
}
.content-summary-panel h2,
.content-section-card h2,
.kns-callout h2 {
  margin-top: 0;
}
.content-summary-panel__intro > *:first-child {
  margin-top: 0;
}
.content-summary-panel__intro > *:last-child {
  margin-bottom: 0;
}
.content-summary-panel ul {
  display: grid;
  gap: .65rem;
  padding-left: 1.25rem;
}
.content-kicker {
  margin: 0 0 .4rem;
  color: var(--kns-red);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.content-section-card {
  border-left-color: var(--kns-sky);
}
.curriculum-subject-panel {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
}
.curriculum-subject-grid {
  margin-top: 1rem;
}
.entry-content .curriculum-subject-grid .simple-card {
  display: flex;
  flex-direction: column;
}
.entry-content .curriculum-subject-grid .simple-card h3 {
  margin-top: .15rem;
}
.kns-callout--practical {
  border-left-color: var(--kns-gold);
  background: linear-gradient(135deg, #fff, hsl(42 91% 95%));
}
.content-resource-list {
  display: grid;
  gap: .75rem;
  margin: 1.2rem 0;
}
.content-resource-card {
  display: grid;
  gap: .18rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--kns-border);
  border-left: 7px solid var(--kns-purple);
  border-radius: var(--kns-radius-sm);
  background: #fff;
  box-shadow: 0 10px 28px hsl(218 58% 20% / .07);
}
.content-resource-card a {
  color: var(--kns-navy);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.content-resource-card a:hover,
.content-resource-card a:focus-visible {
  color: var(--kns-red);
  text-decoration: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}
.content-resource-card__hint {
  color: var(--kns-muted);
  font-size: .95rem;
  font-weight: 700;
}
.sports-carousel {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  border-left-color: var(--kns-red);
  overflow: hidden;
}
.sports-carousel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.sports-carousel__header p:last-child {
  margin-bottom: 0;
}
.sports-carousel__controls {
  display: flex;
  gap: .45rem;
  flex: 0 0 auto;
}
.sports-carousel__button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--kns-border);
  border-radius: 999px;
  background: #fff;
  color: var(--kns-navy);
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px hsl(218 58% 20% / .08);
}
.sports-carousel__button:hover,
.sports-carousel__button:focus-visible {
  background: var(--kns-navy);
  color: #fff;
  outline: 3px solid var(--kns-gold);
  outline-offset: 2px;
}
.sports-carousel__viewport {
  overflow: hidden;
  border-radius: var(--kns-radius-sm);
  background: var(--kns-cream);
}
.sports-carousel__track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}
.sports-carousel__slide {
  min-width: 100%;
}
.sports-carousel__figure {
  display: grid;
  grid-template-rows: minmax(240px, 440px) auto;
  margin: 0;
}
.sports-carousel__figure img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  background: var(--kns-soft-blue);
}
.sports-carousel__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  align-items: center;
  padding: .85rem 1rem;
  background: #fff;
  border-top: 1px solid var(--kns-border);
  color: var(--kns-muted);
  font-size: .95rem;
  font-weight: 800;
}
.sports-carousel__figure figcaption span {
  color: var(--kns-navy);
}
.sports-carousel__figure figcaption a {
  color: var(--kns-red);
  font-weight: 900;
  white-space: nowrap;
}
.sports-carousel__dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: .9rem;
}
.sports-carousel__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: hsl(215 25% 78%);
  cursor: pointer;
}
.sports-carousel__dots button[aria-current="true"] {
  width: 28px;
  background: var(--kns-red);
}
.entry-content iframe, .entry-content embed, .entry-content object { max-width:100%; width:100%; }
.entry-content iframe.wp-embedded-content { max-width:100% !important; width:100% !important; }

.content-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:2rem; }
.content-sidebar { display:grid; gap:1rem; align-content:start; }
.sidebar-card ul { margin:0; padding-left:1.1rem; }
.pagination-wrap { margin-top:2rem; }
.nav-links { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; }
.nav-links a, .nav-links span { padding:.55rem .8rem; border-radius:999px; background:#fff; border:1px solid var(--kns-border); text-decoration:none; }
.nav-links .current { background:var(--kns-red); color:#fff; }

.download-list { display:grid; gap:.75rem; }
.download-item { display:flex; justify-content:space-between; gap:1rem; align-items:center; background:#fff; border:1px solid var(--kns-border); border-radius:16px; padding:1rem; text-decoration:none; box-shadow: 0 6px 20px hsl(218 58% 20% / .06); max-width:100%; min-width:0; }
.download-item:hover { border-color:var(--kns-red); transform:translateY(-1px); }
.download-item__label { color:var(--kns-navy); font-weight:800; overflow-wrap:anywhere; }
.download-item__meta { color:var(--kns-muted); font-size:.9rem; white-space:nowrap; }
.policy-group-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:1rem; }
.policy-card { background:#fff; border:1px solid var(--kns-border); border-radius:22px; padding:1.25rem; box-shadow: 0 10px 30px hsl(218 58% 20% / .08); }
.policy-card__icon { width:48px; height:48px; border-radius:16px; display:grid; place-items:center; color:#fff; background:var(--kns-navy); margin-bottom:.85rem; }
.policy-card__icon svg { width:26px; height:26px; }
.policy-card h3 { margin:.1rem 0 .45rem; color:var(--kns-navy); font-size:1.25rem; }
.policy-card p { margin:.35rem 0 .85rem; }
.policy-card__links { list-style:none; margin:1rem 0 0; padding:0; display:grid; gap:.55rem; }
.policy-card__links a { display:block; padding:.65rem .75rem; border-radius:12px; background:var(--kns-cream); border:1px solid var(--kns-border); color:var(--kns-navy); font-weight:800; text-decoration:none; overflow-wrap:anywhere; }
.policy-card__links a:hover { border-color:var(--kns-red); color:var(--kns-red); }
.policy-card--red .policy-card__icon { background:var(--kns-red); }
.policy-card--blue .policy-card__icon { background:var(--kns-sky); }
.policy-card--green .policy-card__icon { background:var(--kns-green); }
.policy-card--gold .policy-card__icon { background:var(--kns-gold); color:var(--kns-navy); }
.policy-card--purple .policy-card__icon { background:var(--kns-purple); }
.policy-card--navy .policy-card__icon { background:var(--kns-navy); }
.contact-layout { display:grid; grid-template-columns: 390px minmax(0,1fr); gap:2rem; align-items:start; }
.contact-panel { background: linear-gradient(135deg, var(--kns-red), var(--kns-navy)); }
.contact-panel a { color:#fff; }
.contact-panel .button--light,
.contact-panel .button--light:hover,
.contact-panel .button--light:focus-visible {
  color: var(--kns-navy);
}
.contact-panel .button--outline-light {
  color: #fff;
}
.contact-panel .button--outline-light:hover,
.contact-panel .button--outline-light:focus-visible {
  color: var(--kns-navy);
}
.contact-form-note { margin-top:1.5rem; background:#fff; border:1px solid var(--kns-border); border-radius:22px; padding:1.25rem; box-shadow: 0 10px 30px hsl(218 58% 20% / .08); }
.contact-form-note h2 { margin-top:0; color:var(--kns-navy); }
.contact-placeholder-form { display:grid; gap:.85rem; }
.contact-placeholder-form label { display:grid; gap:.35rem; font-weight:800; color:var(--kns-navy); }
.contact-placeholder-form input, .contact-placeholder-form textarea { width:100%; border:1px solid var(--kns-border); border-radius:12px; padding:.75rem; background:var(--kns-cream); color:var(--kns-muted); }
.contact-placeholder-form button { justify-self:start; border:0; border-radius:999px; background:var(--kns-muted); color:#fff; padding:.8rem 1.15rem; font-weight:900; }
.search-form { display:flex; gap:.5rem; }
.search-field { min-height:46px; border:1px solid var(--kns-border); border-radius:999px; padding:0 1rem; width:100%; font:inherit; }
.search-submit { border:0; border-radius:999px; background:var(--kns-red); color:#fff; padding:0 1rem; font-weight:900; cursor:pointer; }
.search-again { margin-bottom:1.5rem; max-width:650px; }
.muted { color:var(--kns-muted); }

.teacher-toolbar {
  background: #102a56;
  color: #fff;
  border-bottom: 3px solid var(--kns-gold);
}
.teacher-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding-top: .55rem;
  padding-bottom: .55rem;
}
.teacher-toolbar strong {
  white-space: nowrap;
}
.teacher-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}
.teacher-toolbar a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .72rem;
  border: 1px solid hsl(0 0% 100% / .32);
  border-radius: 999px;
  background: hsl(0 0% 100% / .12);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
}
.teacher-toolbar a:hover,
.teacher-toolbar a:focus-visible {
  background: #fff;
  color: var(--kns-navy);
}

.teacher-edit-shortcut {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: min(420px, calc(100vw - 36px));
  padding: .45rem;
  border: 1px solid var(--kns-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 34px hsl(218 58% 20% / .22);
}
.teacher-edit-shortcut a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: var(--kns-navy);
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  text-decoration: none;
}
.teacher-edit-shortcut a:hover,
.teacher-edit-shortcut a:focus-visible {
  background: var(--kns-red);
  color: #fff;
}

.site-footer { background: var(--kns-navy); color:#fff; }
.site-footer a { color:#fff; }
.footer-grid { display:grid; grid-template-columns: 1.2fr .8fr 1fr; gap:2rem; padding-block:3rem; }
.footer-grid h2, .footer-grid h3 { color:#fff; margin-top:0; }
.footer-grid p { color:hsl(0 0% 100% / .78); }
.footer-menu { list-style:none; padding:0; margin:0; display:grid; gap:.45rem; }
.footer-menu a { text-decoration:none; }
.footer-bottom { background:hsl(218 70% 13%); padding:.8rem 0; font-size:.9rem; color:hsl(0 0% 100% / .75); }
.footer-bottom p { margin:0; }
.footer-widgets { margin-top:1rem; }

@media (max-width: 980px) {
  .menu-toggle { display:flex; }
  .primary-nav { position:absolute; left:16px; right:16px; top:100%; background:#fff; border:1px solid var(--kns-border); border-radius:22px; box-shadow:var(--kns-shadow); padding:1rem; display:none; }
  .primary-nav.is-open { display:block; }
  .primary-menu { display:grid; gap:.25rem; }
  .primary-menu .sub-menu { position:static; opacity:1; pointer-events:auto; transform:none; box-shadow:none; border:0; padding:.25rem 0 .25rem 1rem; }
  .home-hero__grid, .split-section, .two-column, .cta-grid, .content-layout, .contact-layout { grid-template-columns:1fr; }
  .home-hero__panel { transform:none; }
  .highlight-card--blue { transform:none; }
  .button-row--right { justify-content:flex-start; }
  .quick-grid, .card-grid--posts, .card-grid--simple, .footer-grid, .policy-group-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  body { font-size:16px; }
  .container { width:min(calc(100% - 24px), var(--kns-container)); }
  .top-strip__inner { justify-content:flex-start; gap:.5rem .9rem; }
  .top-strip a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-branding { min-width:0; }
  .site-logo-mark--image { width: 52px; height: 66px; }
  .site-title {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size:1rem;
  }
  .site-tagline { display:none; }
  .menu-toggle {
    min-height: 44px;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
  .home-hero__grid { min-height:auto; }
  .home-hero h1 { font-size:2.6rem; }
  .quick-grid, .card-grid--posts, .card-grid--simple, .mini-card-grid, .footer-grid, .policy-group-grid { grid-template-columns:1fr; }
  .quick-card { min-height:auto; }
  .download-item { align-items:flex-start; flex-direction:column; }
  .entry-content iframe.wp-embedded-content { width: calc(100vw - 24px) !important; }
  .search-form { flex-direction:column; }
  .search-submit { min-height:46px; }
  .teacher-toolbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .teacher-toolbar nav {
    justify-content: flex-start;
  }
  .teacher-edit-shortcut {
    right: 12px;
    bottom: 12px;
    border-radius: var(--kns-radius);
  }
  .sports-carousel__header {
    flex-direction: column;
  }
  .sports-carousel__controls {
    align-self: flex-start;
  }
  .sports-carousel__figure {
    grid-template-rows: minmax(210px, 68vw) auto;
  }
  .sports-carousel__figure figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }
  .sports-carousel__figure figcaption a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .sports-carousel__dots {
    gap: .05rem;
    flex-wrap: wrap;
  }
  .sports-carousel__dots button,
  .sports-carousel__dots button[aria-current="true"] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
  }
  .sports-carousel__dots button::before {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: hsl(215 25% 78%);
  }
  .sports-carousel__dots button[aria-current="true"]::before {
    width: 28px;
    background: var(--kns-red);
  }
  body.my-calendar .entry-content .responsive-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body.my-calendar .entry-content .responsive-table table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body.my-calendar .entry-content .responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  body.my-calendar .entry-content .responsive-table tbody {
    display: grid;
    gap: .85rem;
  }
  body.my-calendar .entry-content .responsive-table tr {
    display: grid;
    border: 1px solid var(--kns-border);
    border-left: 7px solid var(--kns-red);
    border-radius: var(--kns-radius-sm);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px hsl(218 58% 20% / .07);
  }
  body.my-calendar .entry-content .responsive-table th,
  body.my-calendar .entry-content .responsive-table td {
    display: block;
    border: 0;
    padding: .82rem .9rem;
  }
  body.my-calendar .entry-content .responsive-table tbody th[scope="row"] {
    background: var(--kns-navy);
    color: #fff;
    font-size: 1.08rem;
  }
  body.my-calendar .entry-content .responsive-table tbody td:first-of-type::before,
  body.my-calendar .entry-content .responsive-table tbody td:last-child::before {
    display: block;
    margin-bottom: .35rem;
    color: var(--kns-muted);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  body.my-calendar .entry-content .responsive-table tbody td:first-of-type::before {
    content: "Details";
  }
  body.my-calendar .entry-content .responsive-table tbody td:last-child {
    border-top: 1px solid var(--kns-border);
    color: var(--kns-navy);
    font-weight: 900;
  }
  body.my-calendar .entry-content .responsive-table tbody td:last-child::before {
    content: "Days Open";
  }
  body.my-calendar .entry-content .responsive-table ul {
    margin: 0;
    padding-left: 1.1rem;
  }
  .footer-contact a,
  .footer-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .post-card h3 a,
  .text-link,
  .breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .breadcrumbs {
    font-size: .86rem;
    margin-bottom: .8rem;
  }
  .breadcrumbs a,
  .breadcrumbs span {
    max-width: 22ch;
  }
}

/* v0.2 refinements from full file review */
.site-logo-mark--image {
  width: 64px;
  height: 80px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}
.site-logo-mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 7px 13px hsl(218 58% 20% / .16));
}
.hero-photo {
  margin: 0 0 1rem;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px hsl(218 58% 10% / .25);
  transform: rotate(1deg);
}
.hero-photo img {
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  object-fit: cover;
  display: block;
}
.hero-photo figcaption {
  padding: .8rem 1rem;
  color: var(--kns-navy);
  font-weight: 900;
  background: #fff;
}
.hero-crest-card {
  min-height: 270px;
  display: grid;
  place-items: center;
  gap: .8rem;
  background: hsl(0 0% 100% / .94);
  color: var(--kns-navy);
  border-radius: 32px;
  box-shadow: 0 24px 70px hsl(218 58% 10% / .25);
  padding: 1.4rem;
  transform: rotate(1deg);
}
.hero-crest-card img {
  width: min(210px, 70%);
  max-height: 210px;
  object-fit: contain;
}
.hero-crest-card span {
  font-weight: 900;
  text-align: center;
}
.highlight-stack { display: grid; gap: 1rem; }
.home-hero__panel { transform: none; }
.highlight-stack .highlight-card--blue { transform: translateX(12px); }
.page-hero { position: relative; overflow: hidden; }
.page-hero--with-image { min-height: 360px; display: flex; align-items: end; color: #fff; }
.page-hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.page-hero--with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, hsl(218 58% 20% / .88), hsl(218 58% 20% / .45)), linear-gradient(0deg, hsl(218 58% 20% / .62), transparent 55%);
  z-index: 1;
}
.page-hero--with-image .page-hero__inner { position: relative; z-index: 2; }
.page-hero--with-image h1,
.page-hero--with-image p { color: #fff; }

/* Single event and newsletter pages. */
.single-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, hsl(218 58% 20%), hsl(220 48% 28%) 52%, hsl(204 68% 34%));
  color: #fff;
}
.single-story--newsletter .single-hero {
  background:
    linear-gradient(135deg, hsl(354 76% 38%), hsl(218 58% 20%) 58%, hsl(267 44% 32%));
}
.single-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -30% auto;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border: 34px solid hsl(0 0% 100% / .08);
  border-radius: 50%;
  pointer-events: none;
}
.single-hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  opacity: .34;
}
.single-story--newsletter .single-hero__image {
  background-position: center right;
  opacity: .58;
}
.single-hero--with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, hsl(218 58% 20% / .9), hsl(218 58% 20% / .55)), linear-gradient(0deg, hsl(218 58% 20% / .7), transparent 60%);
  z-index: 1;
}
.single-story--newsletter .single-hero--with-image::before {
  background:
    linear-gradient(90deg, hsl(218 58% 20% / .94), hsl(218 58% 20% / .66) 45%, hsl(218 58% 20% / .2)),
    linear-gradient(135deg, hsl(354 76% 38% / .72), hsl(267 44% 32% / .18));
}
.single-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.single-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 0;
  text-wrap: balance;
}
.single-hero .eyebrow {
  color: var(--kns-gold);
}
.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.25rem;
}
.single-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .72rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / .13);
  border: 1px solid hsl(0 0% 100% / .22);
  color: #fff;
  font-size: .92rem;
  font-weight: 850;
}
.single-story-section {
  background: linear-gradient(180deg, #fff 0%, var(--kns-cream) 100%);
}
.single-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: start;
}
.single-story-card {
  background: #fff;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius);
  padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: 0 16px 46px hsl(218 58% 20% / .1);
}
.single-story-card .entry-content {
  max-width: 860px;
}
.single-featured-image {
  margin: 0 0 1.3rem;
}
.single-featured-image img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}
.single-story-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 122px;
}
.single-story-panel {
  background: var(--kns-navy);
  color: #fff;
  border-radius: var(--kns-radius);
  padding: 1.15rem;
  box-shadow: 0 14px 38px hsl(218 58% 20% / .14);
}
.single-story--newsletter .single-story-panel {
  background: linear-gradient(135deg, var(--kns-red), var(--kns-navy));
}
.single-story-panel--soft,
.single-story--newsletter .single-story-panel--soft {
  background: #fff;
  color: var(--kns-text);
  border: 1px solid var(--kns-border);
}
.single-story-panel h2 {
  margin: 0 0 .75rem;
  color: inherit;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.single-story-panel .content-kicker {
  color: var(--kns-gold);
}
.single-story-panel--soft .content-kicker,
.single-story-panel--soft h2 {
  color: var(--kns-navy);
}
.single-story-facts {
  display: grid;
  gap: .75rem;
  margin: 0;
}
.single-story-facts div {
  padding: .8rem;
  border-radius: var(--kns-radius-sm);
  background: hsl(0 0% 100% / .12);
  border: 1px solid hsl(0 0% 100% / .18);
}
.single-story-facts dt {
  color: hsl(0 0% 100% / .75);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.single-story-facts dd {
  margin: .15rem 0 0;
  color: #fff;
  font-weight: 850;
}
.single-link-list {
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.single-link-list a {
  display: block;
  padding: .75rem .85rem;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius-sm);
  background: var(--kns-soft-blue);
  color: var(--kns-navy);
  font-weight: 850;
  text-decoration: none;
}
.single-link-list a:hover,
.single-link-list a:focus-visible {
  background: var(--kns-navy);
  color: #fff;
}
.single-story-card .wp-block-gallery,
.single-story-card .gallery,
.single-story-card .gallery_bank,
.single-story-card [class*="gallery_bank"] {
  margin-top: clamp(1.4rem, 4vw, 2rem);
  padding: .9rem;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius);
  background: linear-gradient(180deg, #fff, var(--kns-soft-blue));
}
.single-story-card .wp-block-gallery img,
.single-story-card .gallery img,
.single-story-card .gallery_bank img {
  border-radius: var(--kns-radius-sm);
  box-shadow: 0 8px 22px hsl(218 58% 20% / .08);
}
.single-story-card .wp-block-gallery a {
  cursor: zoom-in;
}
.kns-lightbox-open {
  overflow: hidden;
}
.kns-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: hsl(218 58% 10% / .92);
}
.kns-lightbox.is-open {
  display: flex;
}
.kns-lightbox__figure {
  display: grid;
  justify-items: center;
  gap: .8rem;
  width: min(100%, 1180px);
  margin: 0;
}
.kns-lightbox__image {
  max-width: min(100%, 1180px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--kns-radius-sm);
  box-shadow: 0 24px 70px hsl(218 58% 5% / .38);
  background: #fff;
}
.kns-lightbox__caption,
.kns-lightbox__count {
  color: #fff;
  font-weight: 750;
  text-align: center;
  text-shadow: 0 2px 10px hsl(218 58% 5% / .45);
}
.kns-lightbox__caption {
  max-width: 76ch;
  font-size: 1rem;
}
.kns-lightbox__count {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  padding: .45rem .7rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / .16);
}
.kns-lightbox__close,
.kns-lightbox__nav {
  border: 0;
  color: #fff;
  background: hsl(0 0% 100% / .16);
  box-shadow: 0 12px 28px hsl(218 58% 5% / .28);
  cursor: pointer;
}
.kns-lightbox__close:hover,
.kns-lightbox__close:focus-visible,
.kns-lightbox__nav:hover,
.kns-lightbox__nav:focus-visible {
  background: #fff;
  color: var(--kns-navy);
  outline: 3px solid hsl(43 98% 56% / .9);
  outline-offset: 3px;
}
.kns-lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.kns-lightbox__nav {
  position: absolute;
  top: 50%;
  width: clamp(44px, 5vw, 62px);
  height: clamp(58px, 8vw, 84px);
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: .8;
}
.kns-lightbox__nav--prev {
  left: clamp(.7rem, 2.4vw, 2rem);
}
.kns-lightbox__nav--next {
  right: clamp(.7rem, 2.4vw, 2rem);
}
.single-story--newsletter .entry-content > p:first-child {
  font-size: clamp(1.08rem, .4vw + 1rem, 1.22rem);
  color: var(--kns-navy);
  font-weight: 650;
}

/* Legacy plugin output: keep existing school content readable after theme switch. */
.entry-content .gallery_bank,
.entry-content [class*="gallery_bank"],
.entry-content .my-calendar,
.entry-content .mc-main,
.entry-content .newsletter,
.entry-content .tnp,
.entry-content .simply-attached,
.entry-content .simplyattached,
.entry-content .ngg-galleryoverview {
  margin-block: 1.5rem;
}
.entry-content .mc-main table,
.entry-content .my-calendar table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px hsl(218 58% 20% / .08);
}
.entry-content .mc-main th,
.entry-content .mc-main td,
.entry-content .my-calendar th,
.entry-content .my-calendar td {
  padding: .7rem;
  border: 1px solid var(--kns-border);
  vertical-align: top;
}
.entry-content .mc-main th,
.entry-content .my-calendar th {
  background: var(--kns-navy);
  color: #fff;
}
.entry-content .tnp form,
.entry-content .newsletter form {
  background: var(--kns-soft-blue);
  border: 1px solid var(--kns-border);
  padding: 1.25rem;
  border-radius: var(--kns-radius);
}
.entry-content .tnp input[type="text"],
.entry-content .tnp input[type="email"],
.entry-content .newsletter input[type="text"],
.entry-content .newsletter input[type="email"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--kns-border);
  border-radius: 12px;
  padding: .7rem .85rem;
}
.entry-content .tnp input[type="submit"],
.entry-content .newsletter input[type="submit"] {
  border: 0;
  background: var(--kns-red);
  color: #fff;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}
.entry-content .simply-attached ul,
.entry-content .simplyattached ul {
  list-style: none;
  padding: 0;
}
.entry-content .simply-attached li,
.entry-content .simplyattached li {
  background: #fff;
  border: 1px solid var(--kns-border);
  border-radius: 14px;
  padding: .75rem 1rem;
  margin-bottom: .6rem;
}
.entry-content .ngg-gallery-thumbnail,
.entry-content .gallery_bank img {
  border-radius: 14px;
}

@media (max-width: 860px) {
  .kns-lightbox {
    padding: 4.5rem .75rem 3.75rem;
  }
  .kns-lightbox__image {
    max-height: 72vh;
  }
  .kns-lightbox__nav {
    top: auto;
    bottom: .75rem;
    transform: none;
  }
  .kns-lightbox__nav--prev {
    left: .75rem;
  }
  .kns-lightbox__nav--next {
    right: .75rem;
  }
  .kns-lightbox__count {
    right: 50%;
    bottom: 1.2rem;
    transform: translateX(50%);
  }
  .highlight-stack .highlight-card--blue { transform: none; }
  .hero-photo, .hero-crest-card { transform: none; }
  .single-story-layout {
    grid-template-columns: 1fr;
  }
  .single-story-aside {
    position: static;
  }
  .single-story-panel {
    padding: 1rem;
  }
}

/* v0.2.3 UI/UX refinements for parent-first staging review. */
:root {
  --kns-radius: 8px;
  --kns-radius-sm: 6px;
}

.uat-banner {
  background: hsl(48 96% 89%);
  color: hsl(218 58% 20%);
  border-bottom: 1px solid hsl(42 91% 55% / .6);
  font-size: .92rem;
}
.uat-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding-block: .5rem;
  text-align: center;
}
.uat-banner strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--kns-red);
  color: #fff;
  white-space: nowrap;
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.1rem;
}
.status-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .32rem .7rem;
  border: 1px solid hsl(0 0% 100% / .34);
  border-radius: 999px;
  background: hsl(0 0% 100% / .14);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
}

.quick-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-card,
.post-card,
.mini-card,
.simple-card,
.policy-card,
.download-item,
.contact-form-note,
.entry-content table,
.entry-content .tnp form,
.entry-content .newsletter form,
.entry-content .mc-main table,
.entry-content .my-calendar table {
  border-radius: var(--kns-radius);
}
.date-panel,
.sidebar-card,
.contact-panel,
.hero-photo,
.hero-crest-card,
.page-hero,
.primary-nav,
.primary-menu .sub-menu {
  border-radius: 10px;
}
.quick-card {
  min-height: 150px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.quick-card:focus-visible,
.button:focus-visible,
.download-item:focus-visible,
.policy-card__links a:focus-visible,
.mini-card:focus-visible,
.primary-menu a:focus-visible {
  outline: 3px solid var(--kns-gold);
  outline-offset: 3px;
}
.quick-card__icon,
.simple-card__icon,
.policy-card__icon {
  border-radius: 8px;
}

.info-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: -1rem 0 1.5rem;
  padding: .8rem 1rem;
  border: 1px solid var(--kns-border);
  border-left: 6px solid var(--kns-gold);
  border-radius: var(--kns-radius);
  background: #fff;
  color: var(--kns-muted);
}
.info-strip a {
  font-weight: 900;
  white-space: nowrap;
}

.download-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;
}
.download-item__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--kns-soft-blue);
  color: var(--kns-navy);
  flex: 0 0 auto;
}
.download-item__icon svg {
  width: 23px;
  height: 23px;
}
.download-item__text {
  min-width: 0;
}
.download-item__label,
.download-item__hint {
  display: block;
}
.download-item__hint {
  color: var(--kns-muted);
  font-size: .9rem;
  font-weight: 600;
}
.policy-card__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.policy-card__links a span {
  flex: 0 0 auto;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: #fff;
  color: var(--kns-muted);
  font-size: .78rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.process-list article {
  background: #fff;
  border: 1px solid var(--kns-border);
  border-top: 5px solid var(--kns-green);
  border-radius: var(--kns-radius);
  padding: 1rem;
  box-shadow: 0 10px 30px hsl(218 58% 20% / .08);
}
.process-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--kns-green);
  color: #fff;
  font-weight: 900;
}
.process-list h3 {
  margin: .8rem 0 .35rem;
  color: var(--kns-navy);
  line-height: 1.16;
}
.process-list p {
  margin: 0;
  color: var(--kns-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.search-form label {
  flex: 1 1 260px;
}
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
}
.search-submit svg {
  width: 19px;
  height: 19px;
}

.entry-content a[href$=".pdf"],
.entry-content a[href$=".doc"],
.entry-content a[href$=".docx"] {
  overflow-wrap: anywhere;
  font-weight: 800;
}
.entry-content > table {
  display: block;
  overflow-x: auto;
}
.entry-content .responsive-table table {
  display: table;
}
.entry-content img,
.entry-content iframe,
.entry-content embed,
.entry-content object {
  max-width: 100%;
}

@media (max-width: 980px) {
  .primary-nav {
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .uat-banner__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
    text-align: left;
  }
  .home-hero__grid {
    padding-block: 2.4rem;
  }
  .home-hero h1 {
    font-size: 2.25rem;
    line-height: 1.04;
  }
  .home-hero p {
    font-size: 1rem;
  }
  .quick-grid--compact,
  .process-list {
    grid-template-columns: 1fr;
  }
  .quick-card {
    min-height: auto;
  }
  .info-strip {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0;
  }
  .info-strip a {
    white-space: normal;
  }
  .download-item {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .download-item__meta {
    grid-column: 2;
    white-space: normal;
  }
  .policy-card__links a {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v0.2.7 News & School Life landing page. */
.school-life-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.school-life-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  min-height: 250px;
  padding: 1.25rem;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius);
  background: #fff;
  color: var(--kns-navy);
  text-decoration: none;
  box-shadow: 0 10px 30px hsl(218 58% 20% / .08);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.school-life-card:hover {
  color: var(--kns-navy);
  border-color: currentColor;
  transform: translateY(-3px);
  box-shadow: var(--kns-shadow);
}
.school-life-card:focus-visible {
  outline: 3px solid var(--kns-gold);
  outline-offset: 3px;
}
.school-life-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--kns-navy);
  color: #fff;
}
.school-life-card__icon svg {
  width: 29px;
  height: 29px;
}
.school-life-card__body strong,
.school-life-card__body span {
  display: block;
}
.school-life-card__body strong {
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: .45rem;
}
.school-life-card__body span {
  color: var(--kns-muted);
}
.school-life-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: var(--kns-navy);
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
}
.school-life-card--red .school-life-card__icon,
.school-life-card--red .school-life-card__action {
  background: var(--kns-red);
}
.school-life-card--blue .school-life-card__icon,
.school-life-card--blue .school-life-card__action {
  background: var(--kns-sky);
}
.school-life-card--green .school-life-card__icon,
.school-life-card--green .school-life-card__action {
  background: var(--kns-green);
}
.school-life-list {
  display: grid;
  gap: .7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.school-life-list a {
  display: block;
  padding: .75rem .85rem;
  border: 1px solid hsl(0 0% 100% / .18);
  border-radius: var(--kns-radius);
  background: hsl(0 0% 100% / .12);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.school-life-list a:hover,
.school-life-list a:focus-visible {
  background: #fff;
  color: var(--kns-navy);
}

@media (max-width: 980px) {
  .school-life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .school-life-grid {
    grid-template-columns: 1fr;
  }
  .school-life-card {
    min-height: 0;
  }
}

/* v0.2.8 Visual school foundation. */
.visual-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.visual-card-grid--explore {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.visual-card {
  display: grid;
  grid-template-rows: 190px auto;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius);
  background: #fff;
  color: var(--kns-navy);
  text-decoration: none;
  box-shadow: 0 10px 30px hsl(218 58% 20% / .08);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.visual-card:hover {
  color: var(--kns-navy);
  border-color: currentColor;
  transform: translateY(-3px);
  box-shadow: var(--kns-shadow);
}
.visual-card:focus-visible,
.parent-dashboard-card a:focus-visible,
.document-spotlight a:focus-visible,
.school-life-list a:focus-visible {
  outline: 3px solid var(--kns-gold);
  outline-offset: 3px;
}
.visual-card__image {
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--kns-sky), var(--kns-purple));
}
.visual-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .24s ease;
}
.visual-card:hover .visual-card__image img {
  transform: scale(1.04);
}
.visual-card__image--fallback {
  display: grid;
  place-items: center;
}
.visual-card__image--fallback span {
  color: hsl(0 0% 100% / .78);
  font-size: 4.5rem;
  font-weight: 900;
}
.visual-card__body {
  display: grid;
  gap: .45rem;
  align-content: start;
  padding: 1.1rem;
}
.visual-card__body strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.12;
}
.visual-card__body span:not(.visual-card__label) {
  color: var(--kns-muted);
}
.visual-card__label {
  justify-self: start;
  min-height: 28px;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--kns-navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
}
.visual-card--red .visual-card__label { background: var(--kns-red); }
.visual-card--blue .visual-card__label { background: var(--kns-sky); }
.visual-card--green .visual-card__label { background: var(--kns-green); }

.parent-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.parent-dashboard-card {
  background: #fff;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius);
  padding: 1.25rem;
  box-shadow: 0 10px 30px hsl(218 58% 20% / .08);
}
.parent-dashboard-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--kns-navy);
  color: #fff;
  margin-bottom: .85rem;
}
.parent-dashboard-card__icon svg {
  width: 26px;
  height: 26px;
}
.parent-dashboard-card h3 {
  margin: 0 0 .75rem;
  color: var(--kns-navy);
  font-size: 1.25rem;
}
.parent-dashboard-card ul {
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.parent-dashboard-card a {
  display: block;
  padding: .65rem .75rem;
  border: 1px solid var(--kns-border);
  border-radius: var(--kns-radius);
  background: var(--kns-cream);
  color: var(--kns-navy);
  font-weight: 900;
  text-decoration: none;
}
.parent-dashboard-card a:hover {
  border-color: var(--kns-red);
  color: var(--kns-red);
}

.document-spotlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 0 0 1.5rem;
}
.document-spotlight a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--kns-border);
  border-left: 6px solid var(--kns-green);
  border-radius: var(--kns-radius);
  background: #fff;
  color: var(--kns-navy);
  text-decoration: none;
  box-shadow: 0 8px 24px hsl(218 58% 20% / .07);
}
.document-spotlight strong,
.document-spotlight span {
  display: block;
}
.document-spotlight span {
  margin-top: .25rem;
  color: var(--kns-muted);
}

.school-life-card__photo {
  display: block;
  height: 132px;
  margin: -1.25rem -1.25rem 0;
  overflow: hidden;
  background: var(--kns-soft-blue);
}
.school-life-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-mini-map {
  margin-top: 1.25rem;
  min-height: 120px;
  display: grid;
  align-content: end;
  gap: .25rem;
  padding: 1rem;
  border: 1px solid hsl(0 0% 100% / .2);
  border-radius: var(--kns-radius);
  background:
    linear-gradient(135deg, hsl(0 0% 100% / .14), hsl(0 0% 100% / .04)),
    repeating-linear-gradient(45deg, hsl(0 0% 100% / .08) 0 2px, transparent 2px 16px);
}
.contact-mini-map span,
.contact-mini-map strong {
  display: block;
  color: #fff;
}

@media (max-width: 980px) {
  .visual-card-grid,
  .visual-card-grid--explore,
  .parent-dashboard,
  .document-spotlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .visual-card-grid,
  .visual-card-grid--explore,
  .parent-dashboard,
  .document-spotlight {
    grid-template-columns: 1fr;
  }
  .visual-card {
    grid-template-rows: 170px auto;
    min-height: 0;
  }
}
