/*
Theme Name: Schoolcms
Author: Innermedia
Author URI: https://www.innermedia.co.uk
Description: Bushfield Nursery & Infants — schoolcms theme built from the Figma design.
Version: 5.1.1

*/
/* ---------------------------------------------------------------
   :root — colour tokens mapped from the Bushfield Figma variables
   (Navy #042d46, Cream #fcf8f1, Yellow #fdb913, Blue #4983b4,
   Red #d7182a, Green #66b645). This is the step-3 foundation:
   the whole theme reskins from here, no hard-coded hexes in rules.
   --------------------------------------------------------------- */
:root {
	/* schoolcms role tokens */
	--body_colour : #042d46;        /* navy body text */
	--title_colour : #042d46;       /* navy headings */
	--link_colour : #4983b4;        /* blue links */
	--link_colour_hover : #66b645;  /* navy on hover */
	--button_bg: #d7182a;           /* red CTA */
	--button_colour: #fff;
	--button_bg_hover: #042d46;     /* navy on hover */
	--button_colour_hover: #fff;
	/* Bushfield brand palette (from Figma variables) */
	--sc-navy:#042d46;
	--sc-cream:#fcf8f1;
	--sc-yellow:#fdb913;
	--sc-blue:#4983b4;
	--sc-red:#d7182a;
	--sc-green:#66b645;
	--sc-grey:#e5e7eb;
	--sc-white:#ffffff;
}

/*Content Wrapper*/

.well {
	padding:10px 15px;
	background:#eaeaea;
	border:solid 1px #ddd;
	margin:20px 0;
}
.scms-carousel .owl-dots span {
	width:10px;
	height:10px;
	display:inline-block;
	background:currentColor;
	border-radius:50%;
}
.scms-carousel .owl-nav {
	position:relative;
}
.scms-carousel .owl-nav .owl-prev{
	position:absolute;
	left:0;
	top:0;
}
.scms-carousel .owl-nav .owl-next{
	position:absolute;
	right:0;
	top:0
}
.scms-carousel .owl-dots {
	padding-left:10px;
	padding-right:10px;
	text-align:center;
}
.scms-carousel .owl-dots .owl-dot {
	display:inline-block;
	margin:0 2px;
	opacity:0.8;
}
.scms-carousel .owl-dots .owl-dot.active {
	opacity:1;
}
.breadcrumbs {
	font-size:1rem;
	padding-bottom:1.25rem;
	position:relative;
	margin-bottom:3.5rem;
	margin-top: 1rem;
}
.searchform label{
	display:none;
}
.searchform {
	padding-right:40px;
	padding-left:0px;
	position:relative;
	overflow:hidden;
	font-size:14px;
}
.searchform input.searchInput {
	border: 0;
	height:30px;
	width:100%;
	background:transparent;
	padding: 4px 10px;
    outline: 0;
}
/* Search icon: navy magnifier on mobile; desktop keeps the existing icon */
.searchIconMobile { display:inline-block; width:18px; height:18.2px; }
.searchIcon { display:none; }
@media (min-width:992px){
	.searchIcon { display:inline; }
	.searchIconMobile { display:none; }
}
/* Instagram: solid on mobile, outline on desktop */
.socialInstagramSolid { display:inline-block; }
.socialInstagram { display:none; }
@media (min-width:992px){
	.socialInstagram { display:inline-block; }
	.socialInstagramSolid { display:none; }
}
.searchform .searchSubmit{
    background: transparent;
    border: 0;
    text-transform: uppercase;
    padding: 0;
    font-size: 16px;
	position:absolute;
	background-repeat:no-repeat;
	background-position:center;
	right:5px;
	top:0px;
	width:30px;
	height: 28px;
    outline: 0;
}
.body-text iframe{
	max-width:100%;
}

/*news*/
.list-item{
    overflow: hidden;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.list-item-image{
	text-align:center;
}
.list-item-image a{
	display:flex; align-items:center; justify-content:center;
	width:clamp(64px,9vw,105px); aspect-ratio:1; margin:0 auto; padding:0;
	background:var(--sc-navy); border-radius:50%; overflow:hidden;
}
.list-item-image img{ width:100%; height:100%; object-fit:cover; }
.list-item-image img[src*="coloured-tree"]{ width:68%; height:68%; object-fit:contain; }
/* search result title reads as heading text, not a coloured link */
.list-item-title a, .list-item-title a:hover{ color:var(--sc-navy); }
.list-item-text{

}
.list-item-text p.date{
	font-size:0.8em;
	margin:0;
}

.postThumb {
	margin-bottom:20px;
	text-align:center;
}

/*------------------------------------*\
    Header
\*------------------------------------*/
/* Mobile-first: header is a static, stacked strip; the min-width group
   below restores the fixed 120px desktop bar. */
header.mainHeader {
	height:auto;
	position:static;
}
.headGroup {
	background:transparent;
	/* named properties only: a bare `transition:300ms` is transition-property:all,
	   which interpolates z-index too and made the menu toggle flicker as the header
	   ramped up past the off-canvas nav */
	transition:background-color 300ms, border-color 300ms;
	padding:0;
	z-index:220;
	position:static;
	height:auto;
	width:100%;
	top:0;
	left:0;
	box-shadow:none;
	border-bottom:none;
}
/* stack the header row into Figma's vertical bars on mobile */
.headGroup .row { flex-direction:column; margin:0; }
.headGroup .container-fluid { padding:0; }
.headGroup .row > [class*="col"] { width:100%; max-width:100%; padding:0; flex:0 0 auto; }
@media (min-width:992px){
	header.mainHeader { height:120px; position:relative; }
	.headGroup { background:#fff; padding-top:25px; padding-bottom:15px; position:fixed; height:120px; }
	.headGroup .row { flex-direction:row; margin-right:-.75rem; margin-left:-.75rem; }
	.headGroup .container-fluid { padding-right:.75rem; padding-left:.75rem; }
	.headGroup .row > [class*="col"] { max-width:none; padding-right:.75rem; padding-left:.75rem; }
	.headGroup .row > .col { flex:1 0 0%; width:auto; }
	.headGroup .row > .col-auto { width:auto; }
	body.home header.mainHeader { height:0; }
	body.home .headGroup { position:absolute; background:transparent; }
}

/* Mobile: pin the header. .wrapper was overflow:hidden, which makes it a scroll
   container and silently kills position:sticky inside it; overflow-x:clip keeps
   the no-horizontal-scroll effect without that. The big logo stays over the
   banner because header.php prints it as .mobileLogo outside .mainHeader below
   992px - anything inside a sticky element travels with it. */
@media (max-width:991.98px){
	.wrapper { overflow:visible; overflow-x:clip; }
	/* 9000: above page content, below the social-wall drawer (9999). This makes
	   the header a stacking context, so the ladder inside it is set alongside the
	   menuopen rules further down. */
	header.mainHeader { position:sticky; top:0; z-index:9000; }
	/* clear the WP admin bar (fixed 46px / 32px above 600px; absolute below) */
	body.admin-bar header.mainHeader { top:46px; }
	/* The theme prints an inline admin-bar block (logged-in only) that adds
	   margin-top:46px/32px to .headGroup, written for the old fixed header. The
	   header is sticky and in flow here, so html{margin-top} already reserves the
	   bar's space - without this the bars get pushed down twice. */
	body.admin-bar .headGroup { margin-top:0; }
	@media (min-width:783px){ body.admin-bar header.mainHeader { top:32px; } }
	@media (max-width:600px){ body.admin-bar header.mainHeader { top:0; } }
	.mobileLogo { position:absolute; left:16px; top:140px; z-index:900; }
	body.menuopen .mobileLogo { display:none; }
}
.socialDesktop {
	justify-content: end;
    display: flex;
}
/*------------------------------------*\ 
    Navigation
\*------------------------------------*/

.menu-toggle{
    position:relative;
	padding-right:40px;
	display:inline-block;
	cursor:pointer;
	height:30px;
    color: var(--sc-navy);
}
.menu-toggle .toggleText{
	display:none;
	vertical-align:middle;
	font-size:14px;
}
.menu-toggle .toggleIcon {
	position:absolute;
	width:30px;
	height:30px;
	right:0;
	top:0px;
	transition:300ms;
}
@media (min-width:992px){
	.menu-toggle .toggleText{
		display:inline-block;
	}
}
.menu-toggle .toggleIcon span:before,
.menu-toggle .toggleIcon span:after {
	content:'';
}
.menu-toggle .toggleIcon span,
.menu-toggle .toggleIcon span:before,
.menu-toggle .toggleIcon span:after {
    width: 26px;
    height: 1px;
    background-color: var(--link_colour);
    display: block;
    transition:all 300ms;
	position:absolute;
}

.menu-toggle:hover .toggleIcon span,
.menu-toggle:hover .toggleIcon span:before,
.menu-toggle:hover .toggleIcon span:after{
    background-color: var(--link_colour_hover);
}
.menu-toggle .toggleIcon span {
	top:50%;
	left:2px;
	margin-top:-.5px;	
}
.menu-toggle .toggleIcon span:before {
    top: -8px;
}
.menu-toggle .toggleIcon span:after {
    top: 8px;
}
body.menuopen .menu-toggle .toggleIcon span {
    background-color: transparent!important;
}
body.menuopen .menu-toggle .toggleIcon span:before {
    transform: rotate(135deg);
    top: 0px;
}
body.menuopen .menu-toggle .toggleIcon span:after {
    transform: rotate(-135deg);
    top: 0px;
}
#navbar{
	position: fixed;
	right: 0;
	transition: transform 500ms;
	background-color: var(--sc-navy);		
	z-index: 9999;
	top: 0;
	height: 100dvh;   /* mobile: full-screen off-canvas */
	width: 100%;
	max-width:100%;
	transform:translateX(100%);
	display:flex;
	flex-direction:column;
}

#navbar .menu-main-container{
	padding:140px 20px 20px clamp(2rem, 8vw, 8rem);	
	overflow-y:auto;
	overflow-x: hidden;	
}
#navbar .navbarExtra {
	padding:10px 20px;
}
/* MOBILE: the menu slides in BEHIND the top header rows — keep them pinned & visible */
body.menuopen .headGroup{
	border-bottom-color:#676767;
	visibility:visible;
	position:fixed;
	top:0; left:0; right:0;
	z-index:10001;
	pointer-events:auto;
}
body.menuopen .headGroup .row > [class*="col"]:has(.headerIcon){ display:none; }  /* hide big banner logo over the menu */
body.menuopen .sideButtons{ position:fixed; top:var(--menuHeadH, 86px); left:0; right:0; z-index:10001; }
/* Mobile: the header is already pinned by position:sticky, so re-fixing it here
   fought that - with the admin bar showing it jumped up underneath the bar, and the
   Quick Links bar, positioned from the viewport, landed inside the header. Keep it
   in flow (relative, for the z-index) and drive the Quick Links offset from the
   header's real viewport bottom, which scripts.js measures as --scHeadBottom. That
   is correct whether or not the admin bar is present, and at any scroll position. */
@media (max-width:991.98px){
	/* Positioned and above #navbar at ALL times. The panel sits at 9999 while it
	   slides both in and out, so a header whose stacking only changes with
	   .menuopen flickered on the way in and got covered on the way out. */
	.headGroup { position:relative; z-index:10001; }
	body.menuopen .headGroup { position:relative; top:auto; left:auto; right:auto; }
	body.menuopen .sideButtons { top:var(--scHeadBottom, var(--menuHeadH, 86px)); }
}
/* Mobile ladder, in force: .headGroup 10001 and .sideButtons 10001 both clear
   #navbar's 9999 so the bars and Quick Links stay above the sliding panel. These
   values must stay above 9999 - body.menuopen #navbar re-raises the panel to 9999
   even below 992px. Keep .headGroup's z-index out of any transition: it used to
   inherit `transition:all` and interpolated 220 -> 10001, dipping under the panel
   mid-slide and flickering the toggle. */
@media (min-width:992px){
	/* DESKTOP: restore original behaviour exactly — header hidden, not pinned */
	body.menuopen .headGroup{ visibility:hidden !important; position:fixed !important; top:auto !important; left:auto !important; right:auto !important; z-index:10000 !important; }
	body.menuopen .headGroup .row > [class*="col"]:has(.headerIcon){ display:block; }
	body.menuopen .sideButtons{ position:fixed; top:38%; left:auto; right:0; z-index:300; }
}
body.menuopen .menu-toggle{ visibility:visible; }
body.menuopen  #navbar{ 
	transform:translateX(0%);
	z-index: 9999;
}	
#menu-main{
	margin-bottom:30px;
	margin-top:20px;
	clear:both;
}
#menu-main li{
	position:relative;
}	
#menu-main li a{
	display: block;
	text-decoration:none;
	font-size:32px;      /* mobile L1 */
	line-height:60px;    /* mobile L1 */
	position:relative;
	padding:0 10px;
	font-family:'Itim', cursive;
}
@media (min-width:992px){ #menu-main li a{ font-size:40px; line-height:70px; } }
#menu-main li a:hover{
	text-decoration:none;
	color:var(--sc-yellow);
}
#menu-main { position:relative; }
/* top level as flex rows: arrow sits by the text, and the flyout can anchor to the whole column */
#menu-main li { position:static; display:flex; flex-wrap:wrap; align-items:center; }
#menu-main li.menu-item-has-children > a { padding-right:10px; }
#menu-main .arrow { display:none; }
/* MOBILE (base): sub-menus are full-screen slide-in drill-down panels */
#menu-main .sub-menu {
	position:fixed;
	inset:0;
	background:var(--sc-navy);
	padding:150px 24px 40px clamp(2rem, 8vw, 8rem);
	margin:0;
	list-style:none;
	display:flex;
	flex-direction:column;
	justify-content:flex-start;
	overflow-y:auto;
	overflow-x:hidden;
	opacity:1;
	visibility:visible;
	transform:translateX(100%);
	transition:transform 400ms ease;
	z-index:5;
	border-left:none;
}
#menu-main .sub-menu .sub-menu { z-index:6; }
#menu-main li.open > .sub-menu { transform:translateX(0); }
/* DESKTOP: restore the fly-out column behaviour */
@media (min-width:992px){
	#menu-main .sub-menu {
		position:absolute;
		inset:auto;
		top:0;
		bottom:0;
		left:420px;
		background:transparent;
		padding:0 0 0 40px;
		min-width:300px;
		overflow:visible;
		justify-content:center;
		opacity:0;
		visibility:hidden;
		transform:translateX(40px);
		transition:opacity 350ms ease, transform 350ms ease;
		border-left:1px solid rgba(255,255,255,0.10);
		z-index:auto;
	}
	#menu-main .sub-menu .sub-menu { left:480px; z-index:auto; }
	#menu-main li.open > .sub-menu { opacity:1; visibility:visible; transform:translateX(0); }
}
#menu-main .sub-menu li a {
	font-family:'Montserrat', sans-serif;
	font-size:16px;
	font-weight:900;
	line-height:26px;
	letter-spacing:2px;
	text-transform:uppercase;
}
#menu-main .sub-menu li a:hover { color:var(--sc-green); }
#menu-main .sub-menu .sub-menu li a {
	color:var(--sc-white, #fff);
	font-family:'Montserrat', sans-serif;
	font-size:18px;
	font-weight:500;
	line-height:36px;
	letter-spacing:normal;
	text-transform:none;
}
#menu-main .sub-menu li:last-child > a{		
	border-bottom:none;
}
#menu-main .sub-menu .sub-menu li a:hover {
	color:var(--sc-blue, #4983B4);
}
/* (open state handled in the mobile-first sub-menu rules above) */
#menu-main li.menu-item-has-children > a {
	padding-right:35px;
}	
#menu-main li.menu-item-has-children > .arrow {
	position:absolute;
	right:0;
	top:5px;
	width:30px;
	height:30px;
}	
#menu-main li.menu-item-has-children > .arrow:after{
	position:absolute;
	content: '\f054';
	display: block;
	width: 11px;
	height: 25px;
    left: 10px;
    top: 3px;
	font-weight: 700;
	font-family: "Font Awesome 6 Free";
	transform: rotate(0deg);
	transition: 300ms;
}
#menu-main li.open.menu-item-has-children > .arrow:after{
	transform:rotate(90deg);
}

/* Mobile drill-down: back button at the top of each slide-in sub-menu panel */
.menuBackItem { list-style:none; margin:0 0 20px; padding:0; display:block; }
#menu-main .menuBack {
	display:inline-flex;
	align-items:center;
	gap:8px;
	background:none;
	border:0;
	padding:0;
	margin:0;
	cursor:pointer;
	color:#fff;
	font-family:'Montserrat', sans-serif;
	font-size:14px;
	font-weight:400;
	line-height:1.4;
	letter-spacing:0;
	text-transform:none;
}
#menu-main .menuBack::before {
	content:"\f053";                 /* fa chevron-left */
	font-family:"Font Awesome 6 Free";
	font-weight:900;
	font-size:12px;
	line-height:1;
}
#menu-main .menuBack:hover { color:var(--sc-yellow); }
@media (min-width:992px){ #menu-main .menuBackItem { display:none !important; } }

/*------------------------------------*\ 
    Banner
\*------------------------------------*/
#pageBanner,
.bannerWrap {
	position: relative;
	overflow:hidden;
	min-height:300px;
	/* raised with the 42% ratio below so tall/wide windows aren't clipped back
	   to the old depth */
	max-height:820px;
}
#homeBanner {	
	position: relative;
	overflow:hidden;
	min-height:480px;
	max-height:100vh;
}
#pageBanner:before,
.bannerWrap:before {
	content:'';
	display:block;
	width:100%;
	padding-top:42%;   /* was 35.897% — deeper inner-page banner */
}
#homeBanner:before {
	content:'';
	display:block;
	padding-top:58.65%;
}
@media(min-width:768px){
	#homeBanner {
		max-height:940px;
	}
	#homeBanner:before {
		content:'';
		display:block;
		padding-top:58.65%;
	}
}

/*------------------------------------*\ 
    FOOTER
\*------------------------------------*/

#footer{
	margin-top:2rem;
}
#menu-useful {
	list-style:none;
	padding:0;
}
.footerInfo {
	text-align:center;
	line-height:1.87;
	margin-bottom:20px;
}
.footerInfo h3{
	font-size:1.5em;
	margin:30px 0 20px;
}
.footerInfo a:before {
	content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0px;
    height: 1px;
    background-color: #000;
    transition: all 300ms;
    margin-right: 0px;
}
.footerInfo a:hover:before {
    width: 5px;
    margin-right: 5px;
}
.footer-links{
	margin:0;
	list-style:none;
	padding:0;
	margin-bottom:15px;
}
.footer-links li{
	display: inline;
}
.footer-links li:after{
	content:" | ";
	margin: 0 1px 0 1px;
	display: inline;
}
.footer-links li:last-child:after{
	content:"";
}
.footer-links li a{
	display: inline;
	white-space:nowrap;
}
@media (min-width:1200px){
	.footerInfo {
		margin-bottom:70px;
	}
}

/*------------------------------------*\
    Dynamic Content
\*------------------------------------*/

.dynamicContent {
	margin-top:30px;
	margin-bottom:00px;
}
@media (min-width:992px){
	.dynamicContent {
		margin-top:50px;
		margin-bottom:00px;
	}
}
/*******Dividers******/
.dividera{
	clear: both;
	width: 100%;
	height: 105px;
	position:relative;
}
/* horizontal rule passing through the vertical centre of the circle */
.dividera:before{
	content:'';
	width:100%;
	height:1px;
	border-bottom:solid 1px var(--sc-navy);
	position:absolute;
	top:50%;
	left:0;
}
/* navy circle with the tree icon, centred on the line (both axes) */
.dividera:after{
	content:'';
	display:block;
	width:105px;
	height:105px;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	background:var(--sc-navy) url("images/coloured-tree.svg") no-repeat center center;
	background-size:71px;
	border-radius:50%;
	/* white gap so the rule doesn't run into the circle */
	box-shadow:0 0 0 22px #fff;
}
/* Divider B: just the circle + icon, centred, no line */
.dividerb{
	clear:both;
	display:block;
	width:105px;
	height:105px;
	margin:0 auto;
	background:var(--sc-navy) url("images/coloured-tree.svg") no-repeat center center;
	background-size:71px;
	border-radius:50%;
}

/*******FAQS*****/
.faqs{

}
.faqs .faq{
	border-bottom:solid 2px #fff;
}

.faq-question{
	position:relative;
	margin:0;
	padding:0.625rem 1.5rem;
    padding-right: 2em;
	background: #a2a6a9;
	color:#fff;
	cursor:pointer;
}
.faq.open .faq-question{
	background:#969696;
}
.faq-question:hover{
	background: #000;
}
.faq-question:after {
    content: '\f054';
    display: block;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
	text-align:center;
    position: absolute;
    right: 5px;
    top:0.625rem;
	font-size:0.8em;
	font-weight:700;
	font-family: "Font Awesome 6 Free";   
    transform: rotate(0deg);
	transition:300ms;
}
.faq.open .faq-question:after {
  transform:rotate(90deg);
}

.faqs .faq:last-child .faq-answer{
	border-bottom:solid 1px #a2a6a9;
}
.faqs .faq.open:last-child .faq-answer{
	border-color:#969696;	
}

/******Staff********/
.staffMember {
	padding-bottom:15px;
	margin-bottom:20px;
	border-bottom:solid 1px #eee;
}
.staff-meta {
	margin-bottom:5px;
}
.staff-meta .meta-label {
	font-weight:700;
}
.staff-meta.featured-staff-metas .staff-meta > *{
	display:inline-block;
}
.staff-meta a.email-value{
	font-size: 0;
    color: transparent;
	display: inline-block;
    vertical-align: middle;
}
.staff-meta a.email-value:before {
    content: "send";
    font-size: 12px;
    padding: 5px 10px;
    color: #000;
    display: block;
    text-align: center;
    background-color: #eee;
    border-radius: 5px;
    text-transform: uppercase;
    pointer-events: none;
	transition:300ms;
}
.staff-meta a.email-value:hover:before{
	background-color:#ccc;
}
.staffPos {
	color:var(--sc-blue)
}
.staffQuals__label {
	font-weight:900
}
/*****Quotes******/
.quoteContainer .quotesTitle{ 
	margin:10px 0 0;
	text-align:center;
	padding:0 15px;
}
.quoteContainer {
	background:#e0e0e0;	
	color:#000;
	padding-top:1.5em;
	padding-bottom:1.5em;
}
.quoteContainer .cycle-pager {
	width:100%;
	margin:0;
	padding:0 15px;
	text-align:center;
}
.quoteContainer .cycle-pager span{
	cursor:pointer;
	display:inline-block;
	margin:0 6px;
	width:10px;
	height:16px;
	background:url("images/dot.svg") no-repeat center / contain;
	opacity:1;
	font-size:0;
	line-height:0;
	vertical-align:middle;
}
.quoteContainer .cycle-pager span.cycle-pager-active{
	background-image:url("images/dot-active.svg");
}
.quoteContainer blockquote.quote-text{
	padding-top:1em;
	padding-bottom:0.1em;
	margin-bottom:0;
	
}
/****Documents******/
a.button.document-link {
	padding-right:50px;
	width:100%;
}
a.button.document-link:after {
	content:"";
	display:block;
	position:absolute;
	top:50%;
	right:18px;
	transform:translateY(-50%);
	width:16px; height:16px;
	background:url("images/download.svg") no-repeat center / contain;
}

/*Callout*/
.callout {
	display:block;
	position:relative;
	transition:300ms;
	color: #fff;
	--body_colour: #fff;
	--title_colour: #fff;
    background: #969696;
	font-size:1em;
	overflow:hidden;
}
.callout .calloutContent {
	position:relative;
	text-align:center;
}
.callout .calloutTitle {
	font-size:1em;
	margin:0.5em 0;
}
.callout.hasbg .coimg {
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.callout.hasbg .coimg:after {
	content: '';
    display: block;
    width: 100%;
    bottom: 0;
    position: absolute;
    left: 0;
    height: 100%;
    background: rgba(0,0,0,0.3);
}
.callout .coimg img{
	width:100%;
	height:100%;
	object-fit:cover;
	position:absolute;	
}

.callout.hasbg .calloutContent {
	padding-bottom:75px;
	padding-top:150px;
}
.callout.hastext.hasbg .calloutContent {
	padding-bottom:35px;
	padding-top:100px;
}

/***POIS****/
.row.pois {
    --bs-gutter-y: 1.5rem;
}

.poi {
	position: relative;
	display: block;
	transition:all 300ms;
    overflow: hidden;
	background:#676767;
	color:#fff;
	font-family: 'Crimson Pro', serif;
	margin-bottom:30px;
}
.poi:hover  {
	color:#fff;
	text-decoration:none;
}
.poiImage .poiImageBG {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
	transition:300ms;
	opacity:1;
}

.poiImage .poiImageBG:after {
	content:'';
	display:block;
	width:100%;
	bottom:0;
	position:absolute;
	left:0;
	height:100%;
	background:rgba(0,0,0,0.3);
}
.poiImage .poiImageBG img{
	width:100%;
	height:100%;
	object-fit:cover;
	position:absolute;	
}

.poiImage {
	background:inherit;
}
.poi:hover .poiImage .poiImageBG {

}
.poiImage:before {
	content:'';
	display:block;
	width:100%;
	padding-top:100%;
}
.textOnlyBlock .poiText {
	position:relative;
	padding:25px 15px;
}
.poi .poiTitle {	
	display:inline-block;
	line-height:1.3;
	text-align:center;

}
.poi .textOnlyBlock{
	
}
.poi .poiTitle {
	display:block;
	font-size:20px;
	font-weight:400;
	position:relative;
	padding:10px 15px;
	text-transform:uppercase;
}

.poi .textOnlyBlock .poiTitle{
	margin:5px;
}
.textOnlyBlock {
	padding:10px 30px;
	transition:300ms;
}

.textOnlyBlock .poiText{
	display:block;	
	text-align:center;
}

.poi:hover .textOnlyBlock {
	background-color:rgba(0,0,0,0.2);
	color:#fff;
	text-decoration:none;
}

.poiImage .poiText {
	padding:10px 20px;
	position:absolute;
	bottom:0;
	left:0;
	width:100%;	
	bottom:15%;
	transform:translateY(50%);
	text-align:center;
	width:100%;
	transition:300ms;
}
.poiImage .poiText {
}
.poiImage .poiText .poiEx {
	max-height:0;
	overflow:hidden;
	font-size:18px;
	transition:300ms;
}
.poi:hover .poiImage .poiText {
	bottom:50%;
}
.poi:hover .poiImage .poiImageBG {
	opacity:0;
}
.poi:hover .poiImage .poiEx {
	max-height:460px;	
}
.pois.homePOIs .col-xs-6 {
	padding-left:15px;
	padding-right:15px;
}

/*------------------------------------*\
    HOME DYNAMIC
\*------------------------------------*/
.welcomeBlock {
	margin-bottom:40px;
}
/*------------------------------------*\
    END DYNAMIC CONTENT
\*------------------------------------*/

/*------------------------------------*\
    Sidebar
\*------------------------------------*/
.sidebar {
	margin-top:0px;
}
#menu-side li{
	position:relative;
	margin:5px 0;
}
#menu-side a {
	display:inline-block;
	text-decoration:none;
	padding:0.5rem 1rem;
}
#menu-side a:hover {
	text-decoration:none;
}
/*Top level item*/
#menu-side > li > .sub-menu{
	margin:10px 0;
}
/*main Sub menu items*/
#menu-side .sub-menu li.current-menu-ancestor a,
#menu-side .sub-menu li.current-menu-item a{	
}
#menu-side .sub-menu li.current-menu-item > a{
	
}
#menu-side .sub-menu li.menu-item-has-children > .arrow {
	display:block;
	width:45px;
	height:45px;
	position:absolute;
	top:0;
	right:0;
}
#menu-side .sub-menu li.menu-item-has-children > .arrow:before {
	position:absolute;
	content: '\f054';
	display: block;
	width: 11px;
	height: 27px;
	position: absolute;
	left: 12px;
	top: 10px;
	font-weight: 700;
	font-family: "Font Awesome 6 Free";
	transform: rotate(0deg);
	transition: 300ms;
}

#menu-side .sub-menu li.menu-item-has-children.open > .arrow:before {
	transform:rotate(90deg);
}
#menu-side .sub-menu li a:hover{
	color:#676767;
}
#menu-side .sub-menu .sub-menu {
	background:rgba(0,0,0,0.1);
	padding-bottom:10px;
	display:none;
}
#menu-side .sub-menu .sub-menu li{
	margin:0;
}
#menu-side .sub-menu li.open > .sub-menu {
	display:block;
}
/* Mobile-first: the side menu is hidden by default and appears from lg up. */
.side-menu-container {
	display:none;
}
@media (min-width:992px){
	.side-menu-container {
		display:block;
	}
}

/*Blog sidebar*/
#blognav ul {
	list-style:none;
}
.sidebarSec {	
    padding:0px 15px 15px;
	margin:0 auto 10px;
}
@media (min-width:1200px){

}
/*Animation*/

.hideme {
	opacity:0;
	top:30px;
	position:relative;
	transition:500ms;
}
.hideme.active {
	opacity:1;
	top:0;
}

/* ---------- Buttons: Montserrat Black, uppercase, pill (Figma Button token) ---------- */
.blockButton > a,
a.button,
button {
	font-family:'Montserrat', sans-serif;
	font-weight:900;
	text-transform:uppercase;
	letter-spacing:2px;
	font-size:0.75rem;      /* 12px, per Figma Button token */
	border-radius:10px;
	padding:10px 20px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	margin-top: 20px;
}
/* Trailing arrow on CTA link buttons (document-link keeps its own icon) */
.blockButton > a::after,
a.button:not(.document-link)::after {
	content:"";
	width:26px;
	height:26px;
	flex:none;
	border-radius:50%;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' viewBox='0 0 13 12' fill='none'%3E%3Cpath d='M12.25 5.75151C12.2418 5.59433 12.1818 5.46858 12.1055 5.38999L7.19636 0.412617C6.97 0.195185 6.63182 0.203044 6.42454 0.39166C6.21727 0.580276 6.20636 0.933932 6.40273 1.13303L10.4336 5.22757L0.795454 5.22757C0.495454 5.22757 0.25 5.46334 0.25 5.75151C0.25 6.03967 0.495454 6.27544 0.795454 6.27544L10.4336 6.27544L6.40273 10.3674C6.20636 10.5665 6.22273 10.9123 6.42455 11.1087C6.63182 11.3105 7 11.2869 7.19636 11.0878L12.1055 6.1104C12.2336 5.98204 12.2418 5.87463 12.25 5.74889L12.25 5.75151Z' fill='white' stroke='white' stroke-width='0.5'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
	transition:background-color 300ms;
}
/* Hover: arrow gains a yellow circle with a navy arrow (Figma hover state) */
.blockButton > a:hover::after,
a.button:not(.document-link):hover::after {
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' viewBox='0 0 13 12' fill='none'%3E%3Cpath d='M12.25 5.75151C12.2418 5.59433 12.1818 5.46858 12.1055 5.38999L7.19636 0.412617C6.97 0.195185 6.63182 0.203044 6.42454 0.39166C6.21727 0.580276 6.20636 0.933932 6.40273 1.13303L10.4336 5.22757L0.795454 5.22757C0.495454 5.22757 0.25 5.46334 0.25 5.75151C0.25 6.03967 0.495454 6.27544 0.795454 6.27544L10.4336 6.27544L6.40273 10.3674C6.20636 10.5665 6.22273 10.9123 6.42455 11.1087C6.63182 11.3105 7 11.2869 7.19636 11.0878L12.1055 6.1104C12.2336 5.98204 12.2418 5.87463 12.25 5.74889L12.25 5.75151Z' fill='%23042d46' stroke='%23042d46' stroke-width='0.5'/%3E%3C/svg%3E");
}
/* Hover fill: a yellow oval the width of the button contracts into the arrow circle */
.blockButton > a, a.button:not(.document-link), .wpforms-container button.wpforms-submit { position:relative; overflow:hidden; z-index:0; transition:background-color 600ms ease-in-out, color 600ms ease-in-out, border-color 600ms ease-in-out; }
.blockButton > a::before, a.button:not(.document-link)::before, .wpforms-container button.wpforms-submit::before {
	content:""; position:absolute; z-index:-1;
	top:50%; right:20px; transform:translateY(-50%);
	width:26px; height:26px; border-radius:50%;
	background:#fdb913; opacity:0;
}
.blockButton > a:hover::before, a.button:not(.document-link):hover::before, .wpforms-container button.wpforms-submit:hover::before {
	animation:btnYellowMorph 600ms ease-in-out forwards;
}
@keyframes btnYellowMorph {
	0%   { opacity:1; width:640px; height:48px; border-radius:14px; background:#d7182a; }
	65%  { background:#d7182a; }
	100% { opacity:1; width:26px;  height:26px; border-radius:50%; background:#fdb913; }
}

/* ---------- Section rhythm: fluid vertical padding (no media query) ---------- */
.dynamicContent {
	padding-block:clamp(1.5rem, 5vw, 2rem);
}

/* A "large image" is authored as a TEXT block whose only content is one image,
   so it carries .dynamic-text and gets the full section gap under it: the
   image's own 20px margin, the paragraph's 16px, the section's 32px padding,
   then the next block's 50px margin and 32px padding = ~149px. Close that to
   60px when a real text block follows one. :has() scopes it to image-only
   blocks, so ordinary text-after-text keeps the standard rhythm. */
.dynamicContent.dynamic-text:has(.body-text p:only-child > img:only-child) .body-text p:only-child {
	margin-bottom:0;
}
.dynamicContent.dynamic-text:has(.body-text p:only-child > img:only-child) .body-text p:only-child > img {
	display:block;
	margin-bottom:0;
}
.dynamicContent.dynamic-text:has(.body-text p:only-child > img:only-child) + .dynamicContent.dynamic-text {
	margin-top:0;
	padding-top:28px;
}

/* ---------- Header logo (221px wide per Figma) ---------- */
.mainLogo { width:106px; height:auto; max-width:100%; display:block; margin-left:0;}
@media (min-width:992px){ .mainLogo { width:221px; margin-left:20px; } }

/* ---------- Home banner: white Itim headline over the photo, Montserrat sub ---------- */
/* Layout: the slide fills the banner, the image covers it, and the text sits
   over the image (lower-centre) with a dark gradient for legibility. Without
   this the white heading renders on the page background and is invisible. */
#homeBanner .hero,
#homeBanner .slide,
#homeBanner .slideImage { position:absolute; inset:0; }
#homeBanner .slideImage picture,
#homeBanner .slideImage img.bannerImage {
	width:100%; height:100%; object-fit:cover; display:block;
}
/* Overlay gradient — matches the Figma banner: dark at the top (behind the nav
   links) fading to transparent by ~30% down. */
#homeBanner .slide:after {
	content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
	/* mobile: bright top, dark bottom behind the heading (Figma) */
	background:linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 90%);
}
@media (min-width:992px){
	/* desktop: header overlays the banner, so dark at the top behind the nav */
	#homeBanner .slide:after { background:linear-gradient(to bottom, rgba(0,0,0,0.6) 6%, rgba(0,0,0,0) 30%); }
}
/* Video banner: there is no .slide in the video branch, so mirror the same
   overlay gradient on .videoframe or the white heading has nothing behind it. */
#homeBanner .videoframe:after {
	content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
	background:linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 90%);
}
@media (min-width:992px){
	#homeBanner .videoframe:after { background:linear-gradient(to bottom, rgba(0,0,0,0.6) 6%, rgba(0,0,0,0) 30%); }
}
/* Video banner: mirror the wave transition from #homeBanner .slideImage:after.
   :after is already taken by the gradient above, so the wave goes on :before. */
#homeBanner .videoframe:before {
	content:''; position:absolute; left:0; right:0; bottom:-1px; z-index:2;
	height:46px; pointer-events:none;   /* mobile: taller so one curve shows */
	background:url('images/banner-wave.svg') no-repeat center bottom;
	background-size:230% 100%;
}
@media (min-width:992px){
	#homeBanner .videoframe:before {
		height:auto; aspect-ratio:1565 / 112; background-size:100% 100%;   /* full wave */
	}
}
/* Banner wave — white wave transition at the bottom edge (banner-wave.svg). */
#homeBanner .slideImage:after {
	content:''; position:absolute; left:0; right:0; bottom:-1px; z-index:2;
	height:46px; pointer-events:none;   /* mobile: taller so one curve shows */
	background:url('images/banner-wave.svg') no-repeat center bottom;
	background-size:230% 100%;
}
@media (min-width:992px){
	#homeBanner .slideImage:after {
		height:auto; aspect-ratio:1565 / 112; background-size:100% 100%;   /* full wave */
	}
}
#homeBanner .slideText {
	position:absolute; left:16px; top:36%; bottom:auto; transform:none;
	z-index:3; width:calc(100% - 32px); max-width:328px; text-align:left;
}
#homeBanner .bannerText,
#homeBanner .slideText {
	color:var(--sc-white);
}
#homeBanner h1,
#homeBanner .slide-title {
	font-family:'Itim', cursive;
	color:var(--sc-white);
	font-size:clamp(2.75rem, 1.8rem + 5vw, 5.625rem);  /* up to 90px (banner-xl) */
	line-height:1.02;
	margin:0 0 1.5rem;
	text-shadow: 0px 0px 16px black;
}
#homeBanner .slide-title { max-width:250px; font-size:50px; }
#homeBanner .slide-details,
#homeBanner .bannerText p {
	font-family:'Montserrat', sans-serif;
	font-weight:500;
	color:var(--sc-white);
	font-size:16px;   /* mobile */
	line-height:1.4;
	margin:0 0 3rem;
	width:100%;
	text-shadow: 0px 0px 10px black;
}
@media (min-width:992px){
	#homeBanner .slideText {
		/* never less than the wave height (grows with viewport), so text clears the wave on wide screens */
		left:50%; top:auto; bottom:max(12%, calc(100vw * 112 / 1565)); transform:translateX(-50%);
		width:min(1140px,88%); max-width:none; text-align:center;
	}
	#homeBanner .slide-title { max-width:none; font-size:clamp(2.75rem, 1.8rem + 5vw, 5.625rem); }
	#homeBanner .slide-details,
	#homeBanner .bannerText p { margin:0 auto 3rem; width:60%; font-size:clamp(1.125rem, 1rem + 0.6vw, 1.375rem); }
}

/* ---------- Home welcome block ---------- */
.welcomeBlock {
	background:var(--sc-white);
	padding-block:clamp(5rem, 6vw, 5rem);
	position: relative;
}
.wrapper { overflow-x: clip; position:relative; }

/* Leaf illustration: full-size, bleeding off the left edge of the page */
.welcomeBlock::before {
	content:"";
	position:absolute;
	z-index:999;
	/* mobile: faint leaf top-right, bleeding off the right edge (Figma) */
	top:-60px;
	right:-230px;
	left:auto;
	transform:none;
	width:460px;
	height:430px;
	background:url("images/welcome-tree-solid.svg") no-repeat center / contain;
	opacity: 0.07;
	pointer-events:none;
	background-size: contain;
}
@media (min-width:992px){
	.welcomeBlock::before {
		top:45%;
		left:-460px;
		right:auto;
		transform:translateY(-50%);
		width:520px;
		height:477px;
		background-size:120%;
	}
}
.welcomeBlock .row {
	align-items:center;
	position:relative;
	z-index:1;
}
.welcomeBlock h1,
.welcomeBlock h2,
.welcomeBlock .welcomeTitle {
	font-family:'Itim', cursive;
	color:var(--sc-navy);
	margin-bottom:2rem
}
/* Red accent rule under the Welcome title (54 x 3px, per Figma) */
.welcomeBlock .home-title:after,
.welcomeBlock .entry-title:after {
	content:'';
	display:block;
	width:54px;
	height:3px;
	background:var(--sc-red);
	margin:0.75rem 0 0;
}
.welcomeBlock .page-subheading,
.welcome-eyebrow {
	display:block;
	font-family:'Montserrat', sans-serif;
	font-weight:900;
	text-transform:uppercase;
	letter-spacing:2px;
	font-size:0.875rem;
	color:var(--sc-blue);
	margin-bottom:0.75rem;
}
.welcomeBlock img {
	border-radius:0;
}
/* Text column: breathing room to the right (per Figma) */
.welcomeBlockText {
	padding-right: clamp(1.5rem, 5vw, 4.5rem);
	position: relative;
	z-index: 1;
	margin-bottom:30px
}
/* Welcome image: square proportions (415x415 in Figma) + heart decoration */
.welcomeImage {
	position: relative;
	max-width: 415px;
	margin-left: auto;
}
/* Snap the welcome block to the 12-col grid: text = cols 1-6, image = cols 9-12.
   The 2-column offset supplies the gap, so the ad-hoc text padding is dropped. */
@media (min-width:992px){
	.welcomeBlockText {
		/* reset to the standard Bootstrap gutter so the text sits on cols 1-6 */
		padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
	}
	.welcomeImage {
		max-width: 100%;
		margin-left: 0;
	}
}
.welcomeImage img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}
.welcomeImage::after {
	content: "";
	position: absolute;
	right: 0px;
	bottom: -100px;
	width: 87px;
	height: 73px;
	background: url("images/heart.svg") no-repeat center / contain;
	pointer-events: none;
}

/* Welcome video badge: play.svg (green circle + curved text + triangle), opens fancybox */
.videoBadge {
	position: absolute;
	left: 20px;
	bottom: -80px;
	width: 151px;
	height: 151px;
	display: block;
	z-index: 2;
	text-decoration: none;
	transition: transform 300ms ease;
}
.videoBadge:hover { transform: scale(1.05); }
.videoBadge img { width: 100%; height: 100%; display: block; }

@media (min-width:992px){
	.welcomeImage::after {
	right: -40px;
}
	.videoBadge {
	left: -90px;
	bottom: -90px;
}
}

/* ---------- POI cards (year groups + clubs): rounded, Itim titles ---------- */
.poi {
	font-family:'Itim', cursive;
	border-radius:0px;
	background:var(--sc-blue);
}
.poi .poiTitle {
	font-family:'Itim', cursive;
	font-size:clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
	text-transform:none;
	letter-spacing:0;
}
.poiImage .poiImageBG:after {
	background:linear-gradient(to top, rgba(4,45,70,0.75), rgba(4,45,70,0) 60%);
}
/* Playful colour rotation across the year-group / clubs cards */
.pois .col-md-6:nth-child(4n+1) .poi,
.pois .col-lg-4:nth-child(4n+1) .poi { background:var(--sc-blue); }
.pois .col-md-6:nth-child(4n+2) .poi,
.pois .col-lg-4:nth-child(4n+2) .poi { background:var(--sc-green); }
.pois .col-md-6:nth-child(4n+3) .poi,
.pois .col-lg-4:nth-child(4n+3) .poi { background:var(--sc-red); }
.pois .col-md-6:nth-child(4n+4) .poi,
.pois .col-lg-4:nth-child(4n+4) .poi { background:var(--sc-navy); }

.dynamicContent.dynamic-poi {
	padding-top:0;
}
/* Mosaic sits close under the mini-POI row: no gap on desktop, small gap on mobile */
.dynamicContent.dynamic-poi_mini + .dynamicContent.dynamic-poi { margin-top:0; }
.dynamicContent.dynamic-poi_mini:has(+ .dynamicContent.dynamic-poi) { margin-bottom:24px; }
@media (min-width:992px){
	.dynamicContent.dynamic-poi_mini:has(+ .dynamicContent.dynamic-poi) { margin-bottom:0; }
}
.dynamicContent.dynamic-poi .poiMosaic {
	display:grid;
	grid-template-columns:minmax(0,1fr);
	gap:12px;
	width:auto;
	margin-left:0;
	margin-right:0;
	padding:0 16px;   /* mobile: fit the container, space left & right */
}
@media (min-width:768px){
	.dynamicContent.dynamic-poi .poiMosaic {
		grid-template-columns:548fr 525fr 479fr;
		grid-template-rows:360fr 94fr 360fr;
		gap:6px;
		aspect-ratio:1560 / 814;
		width:100vw;
		margin-left:calc(50% - 50vw);
		margin-right:calc(50% - 50vw);
		padding:0;
	}
}
.poiMosaic .poiTile { position:relative; min-width:0; min-height:0; overflow:hidden; border-radius:0; }
.poiMosaic .poiTile > .poi { height:100%; margin:0; border-radius:0; background:transparent; }
.poiMosaic .poiImage { height:100%; background:transparent; }
.poiMosaic .poiImage:before { content:none; }
.poiMosaic .poiImage .poiImageBG { position:absolute; inset:0; }
.poiMosaic .poiImage .poiImageBG img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 500ms ease; }
.poiMosaic .poiImage .poiImageBG:after { background:linear-gradient(to top, rgba(4,45,70,0.80), rgba(4,45,70,0) 55%); }
.poiMosaic .poiImage .poiText { position:absolute; left:0; right:0; bottom:0; top:auto; transform:none; text-align:left; padding:20px 24px; width:100%; transition:opacity 300ms ease; }
.poiMosaic .poi .poiTitle { display:block; text-align:left; padding:0; color:#fff; font-family:'Itim', cursive; font-size:clamp(1.75rem, 1rem + 2vw, 2.5rem); line-height:1.1; text-transform:none; letter-spacing:0; }
/* keep the photo visible on hover (no fade-out); gentle zoom instead */
.poiMosaic .poi:hover .poiImage .poiImageBG { opacity:1; }
.poiMosaic .poi:hover .poiImage .poiText { bottom:0; }
.poiMosaic .poi:hover .poiImage .poiImageBG img { transform:scale(1.05); }
/* mobile: each tile a 3:2 landscape, stacked; values band after the 3rd tile */
.poiMosaic > .poiTile { aspect-ratio:3 / 2; }
.poiMosaic > .poiTile:nth-child(-n+3) { order:1; }
.poiMosaic > .poiTile:nth-child(n+4) { order:3; }
@media (min-width:768px){
	.poiMosaic > .poiTile { aspect-ratio:auto; }
	.poiMosaic > .poiTile:nth-child(1){ grid-column:1; grid-row:1 / 4; }
	.poiMosaic > .poiTile:nth-child(2){ grid-column:2; grid-row:1; }
	.poiMosaic > .poiTile:nth-child(3){ grid-column:3; grid-row:1; }
	.poiMosaic > .poiTile:nth-child(4){ grid-column:2; grid-row:3; }
	.poiMosaic > .poiTile:nth-child(5){ grid-column:3; grid-row:3; }
}
/* values band: mobile shows first; desktop spans the two right columns */
.poiMosaic__values { order:2; display:flex; align-items:center; justify-content:center; gap:clamp(12px,1.6vw,24px); padding:0.5rem 0 1rem; }
@media (min-width:768px){ .poiMosaic__values { order:0; grid-column:2 / 4; grid-row:2; padding:0; } }
.poiMosaic__values span { font-family:'Itim', cursive; color:var(--sc-navy); font-size:clamp(1.5rem, 1rem + 1.9vw, 2.5rem); line-height:1; white-space:nowrap; }
.poiMosaic__values .poiValues__spark {
	width:clamp(20px, 2vw, 30px);
	height:auto;
	flex:none;
	transform-origin:center;
	animation:poiSparkleAlt 3s ease-in-out infinite;
}
.poiMosaic__values svg.poiValues__spark:nth-of-type(2) { animation-delay:-1.5s; }
@keyframes poiSparkleAlt {
	0%   { opacity:0; transform:scale(0.4); }
	15%  { opacity:1; transform:scale(1); }
	40%  { opacity:1; transform:scale(1); }
	55%  { opacity:0; transform:scale(0.4); }
	100% { opacity:0; transform:scale(0.4); }
}
/* hover reveal: coloured panel + tone-on-tone tree + explore button */
.poiMosaic .poiTile__hover {
	position:absolute; inset:0; z-index:3;
	display:flex; flex-direction:column; justify-content:flex-end;
	padding:24px;
	color:#fff;
	transform:translateY(100%);
	transition:transform 450ms cubic-bezier(0.22,1,0.36,1);
	pointer-events:none;
}
.poiMosaic .poiTile:hover .poiTile__hover { transform:translateY(0); }
.poiMosaic .poiTile__hover::before { content:""; position:absolute; inset:0; pointer-events:none; }
.poiMosaic .poiTile:hover .poiImage .poiText { opacity:0; }
.poiMosaic .poiTile__tree {
	position:absolute; top:12%; bottom:0; right:0; left:auto; width:62%;
	background-color:currentColor;
	opacity:1;
	mix-blend-mode:multiply;
	-webkit-mask:url("images/tree-hover.svg") no-repeat right bottom / contain;
	mask:url("images/tree-hover.svg") no-repeat right bottom / contain;
	pointer-events:none;
}
/* smaller landscape tiles: show the whole tree at full tile height, flush bottom-right */
.poiMosaic > .poiTile:nth-child(n+2) .poiTile__tree { top:0; bottom:0; right:0; width:60%; }
.poiMosaic .poiTile__hoverTitle {
	position:relative; z-index:1;
	font-family:'Itim', cursive;
	font-size:clamp(1.75rem, 1rem + 2vw, 2.5rem);
	line-height:1.1;
}
.poiMosaic .poiTile__explore {
	position:relative; z-index:1;
	align-self:flex-start;
	display:inline-flex; align-items:center; gap:35px;
	margin-top:20px;
	padding:12px 20px;
	border:1px solid currentColor;
	border-radius:10px;
	font-family:'Montserrat', sans-serif; font-weight:900;
	text-transform:uppercase; letter-spacing:2px; font-size:0.75rem;
	pointer-events:auto; cursor:pointer; /* clicks forwarded to the tile link in dynamic-poi.php */
	overflow:hidden;
	transition:background-color 600ms ease-in-out, color 600ms ease-in-out, border-color 600ms ease-in-out;
}
/* button hover: matches site buttons (a.button) - navy fill, red pill morphs into a yellow circle behind a navy arrow */
.poiMosaic .poiTile__explore::before {
	content:""; position:absolute; z-index:-1;
	top:50%; right:13.5px; transform:translateY(-50%);
	width:26px; height:26px; border-radius:50%;
	background:#fdb913; opacity:0;
}
.poiMosaic .poiTile__explore:hover { background-color:var(--button_bg_hover,#042d46); border-color:var(--button_bg_hover,#042d46); color:var(--button_colour_hover,#fff); }
.poiMosaic .poiTile__explore:hover::before { animation:btnYellowMorph 600ms ease-in-out forwards; }
.poiMosaic .poiTile__explore .poiTile__arrow { position:relative; z-index:1; transition:color 300ms ease; }
.poiMosaic .poiTile__explore:hover .poiTile__arrow { color:#042d46; }
/* navy tile: keep the white outline so the navy hover fill doesn't vanish into the tile */
.poiMosaic > .poiTile:nth-child(5) .poiTile__explore:hover { border-color:#fff; }
/* one colour per tile (foreground follows for tree/title/button) */
.poiMosaic > .poiTile:nth-child(1) .poiTile__hover::before { background:rgba(215,24,42,0.9); }   /* Little Adventures - red */
.poiMosaic > .poiTile:nth-child(2) .poiTile__hover::before { background:rgba(73,131,180,0.9); }  /* Admissions - blue */
.poiMosaic > .poiTile:nth-child(3) .poiTile__hover::before { background:rgba(102,182,69,0.9); }  /* Safeguarding - green */
.poiMosaic > .poiTile:nth-child(4) .poiTile__hover::before { background:rgba(253,185,19,0.9); }  /* Phonics - yellow */
.poiMosaic > .poiTile:nth-child(5) .poiTile__hover::before { background:rgba(4,45,70,0.9); }      /* Wellbeing - dark blue */
/* tree = a darker shade of each tile's colour */
.poiMosaic > .poiTile:nth-child(1) .poiTile__tree { background-color:rgba(215,24,42,0.7); }   /* red */
.poiMosaic > .poiTile:nth-child(2) .poiTile__tree { background-color:rgba(73,131,180,0.7); }  /* blue */
.poiMosaic > .poiTile:nth-child(3) .poiTile__tree { background-color:rgba(102,182,69,0.7); }  /* green */
.poiMosaic > .poiTile:nth-child(4) .poiTile__tree { background-color:rgba(253,185,19,0.7); }  /* yellow */
.poiMosaic > .poiTile:nth-child(5) .poiTile__tree { background-color:rgba(4,45,70,0.7); }      /* navy */

.dynamicContent.dynamic-poi_circles {
	background: var(--sc-cream);
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: clamp(7rem, 13vw, 12rem);
}

.dynamicContent.dynamic-poi_mini {
	background: var(--sc-cream);
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top:0;
	margin-bottom:clamp(4rem, 7vw, 7rem);
	/* section padding per Figma */
	padding-top:30px;
	padding-bottom:55px;
}
@media (min-width:992px){ 
.dynamicContent.dynamic-poi_mini {
	padding-bottom:105px;
}
}

/* cream wave transition at the top edge */
.dynamicContent.dynamic-poi_circles::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 1px;
	transform: translateY(-100%);
	height: 46px;   /* mobile: shared wave height */
	background: url("images/poi-wave.svg") no-repeat center bottom;
	background-size: 230% 100%;
	pointer-events: none;
}
@media (min-width:992px){
	.dynamicContent.dynamic-poi_circles::before {
		height:auto; aspect-ratio:1599 / 120;
		background-position:center bottom; background-size:100% 100%;
	}
}
.poisYearGroups {
	justify-content: flex-start;
	text-align: center;
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.poisYearGroups::-webkit-scrollbar { display:none; }
.poisYearGroups > [class*="col"] { flex:0 0 100%; max-width:100%; scroll-snap-align:center; }
@media (min-width:576px){
	.poisYearGroups { justify-content:center; flex-wrap:wrap; overflow-x:visible; scroll-snap-type:none; row-gap:2.5rem; }
	.poisYearGroups > [class*="col"] { flex:0 0 auto; max-width:none; scroll-snap-align:none; }
}
.yearGroup {
	display: block;
	text-decoration: none;
	color: var(--sc-navy);
	max-width: 367px;
	margin: 0 auto;
}
.yearGroup__media {
	position: relative;
	width: 100%;
	aspect-ratio: 367 / 373;
	margin: 0 auto 1.5rem;
}
.yearGroup:hover .yearGroup__photo {
	opacity:0
}
.yearGroup:hover .yearGroup__ring {
	opacity:0
}
.yearGroup__photo {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	transition: opacity 350ms ease;
}
.yearGroup__photo--hover { opacity: 0; border-radius: 0; width: 70%; object-fit: contain;}
.yearGroup:hover .yearGroup__photo--hover { opacity: 1;}
.yearGroup__ring {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 100%; height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}
.yearGroup__title {
	font-family: 'Itim', cursive;
	color: var(--sc-navy);
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	line-height: 1.1;
	font-weight: 400;
	margin: 0 0 1rem;
}
.yearGroup__sub {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 1rem;
}
/* ring + subtitle colour rotation: green / yellow / blue */
.poisYearGroups > [class*="col"]:nth-child(3n+1) .yearGroup__ring { background-image: url("images/green-circle.svg"); }
.poisYearGroups > [class*="col"]:nth-child(3n+2) .yearGroup__ring { background-image: url("images/yellow-circle.svg"); }
.poisYearGroups > [class*="col"]:nth-child(3n+3) .yearGroup__ring { background-image: url("images/blue-circle.svg"); }
.poisYearGroups > [class*="col"]:nth-child(3n+1) .yearGroup__sub { color: var(--sc-green); }
.poisYearGroups > [class*="col"]:nth-child(3n+2) .yearGroup__sub { color: #fdb913; }
.poisYearGroups > [class*="col"]:nth-child(3n+3) .yearGroup__sub { color: var(--sc-blue); }

/* per-card photo nudge (green right / yellow left / blue right) */
.poisYearGroups > [class*="col"]:nth-child(3n+1) .yearGroup__photo:not(.yearGroup__photo--hover) { transform: translate(calc(-49% + 3px), -49%); }
.poisYearGroups > [class*="col"]:nth-child(3n+2) .yearGroup__photo:not(.yearGroup__photo--hover) { transform: translate(calc(-49% - 1px), -55%); width: 95%; }
.poisYearGroups > [class*="col"]:nth-child(3n+3) .yearGroup__photo:not(.yearGroup__photo--hover) { transform: translate(calc(-49% + 10px), -49%); width: 93%; }

/* hover: hide the words, reveal the global-style button in their place */
.yearGroup__text { position: relative; }
.yearGroup__title, .yearGroup__sub { transition: opacity 300ms ease; }
.yearGroup:hover .yearGroup__title,
.yearGroup:hover .yearGroup__sub { opacity: 0; }
a.button.yearGroup__btn {
	position: absolute;
	left: 50%; top: 50%;
	margin: 0;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, calc(-50% + 8px));
	pointer-events: none;
	transition: opacity 300ms ease, transform 300ms ease, background-color 600ms ease-in-out, color 600ms ease-in-out;
}
.yearGroup:hover a.button.yearGroup__btn { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }

/* ---------- Mini POIs: quick-link pill cards (icon + title + Explore), 4 in a row ---------- */
.miniPois {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:12px;
	align-items:stretch;
}
.miniPoi {
	flex:0 0 calc(50% - 6px);
	display:flex;
	align-items:center;
	gap:8px;
	min-height:0;
	padding:10px;
	border-radius:14.4px;
	border:1px solid transparent;
	background:#fff;
	text-decoration:none;
	transition:background-color 250ms ease;
}
.miniPoi__icon {
	flex:0 0 auto;
	width:40px; height:40px;
	border-radius:50%;
	display:flex; align-items:center; justify-content:center;
}
.miniPoi__icon img { width:20px; height:20px; object-fit:contain; }
.miniPoi__text { display:flex; flex-direction:column; gap:4px; }
.miniPoi__title {
	font-family:'Montserrat', sans-serif;
	font-weight:900;
	text-transform:uppercase;
	letter-spacing:1.2px;
	font-size:9.6px;
	line-height:12px;
	color:var(--sc-navy);
	white-space:normal;
}
.miniPoi__link {
	font-family:'Montserrat', sans-serif;
	font-weight:500;
	font-size:8.4px;
	line-height:12px;
	color:var(--sc-navy);
	display:inline-flex;
	align-items:center;
	gap:8px;
}
.miniPoi__arrow { transition:transform 250ms ease; }
.miniPoi:hover .miniPoi__arrow { transform:translateX(8px); }

/* per-card colour rotation: yellow / green / blue / red */
.miniPois > .miniPoi:nth-child(4n+1) { background:rgba(253,185,19,0.15); border-color:#fdb913; }
.miniPois > .miniPoi:nth-child(4n+1) .miniPoi__icon { background:#fdb913; }
.miniPois > .miniPoi:nth-child(4n+2) { background:rgba(102,182,69,0.15); border-color:#66b645; }
.miniPois > .miniPoi:nth-child(4n+2) .miniPoi__icon { background:#66b645; }
.miniPois > .miniPoi:nth-child(4n+3) { background:rgba(73,131,180,0.10); border-color:#4983b4; }
.miniPois > .miniPoi:nth-child(4n+3) .miniPoi__icon { background:#4983b4; }
.miniPois > .miniPoi:nth-child(4n+4) { background:rgba(215,24,42,0.07); border-color:#d7182a; }
.miniPois > .miniPoi:nth-child(4n+4) .miniPoi__icon { background:#d7182a; }

/* hover: fill drops to 8% of the card colour */
.miniPois > .miniPoi:nth-child(4n+1):hover { background:rgba(253,185,19,0.08); }
.miniPois > .miniPoi:nth-child(4n+2):hover { background:rgba(102,182,69,0.08); }
.miniPois > .miniPoi:nth-child(4n+3):hover { background:rgba(73,131,180,0.08); }
.miniPois > .miniPoi:nth-child(4n+4):hover { background:rgba(215,24,42,0.08); }

@media (min-width:992px){
	.miniPois { gap:26px; }
	.miniPoi { flex:0 1 auto; gap:16px; min-height:96px; padding:14px 24px 14px 16px; border-radius:24px}
	.miniPoi__icon { width:67px; height:67px; }
	.miniPoi__icon img { width:34px; height:34px; }
	.miniPoi__title { font-size:16px; line-height:20px; letter-spacing:2px; white-space:nowrap; }
	.miniPoi__link { font-size:14px; line-height:20px; }
}

/* ---------- Quote: cream band, large Itim ---------- */
.quoteContainer {
	background:var(--sc-white);
	padding-top:1rem;
	padding-bottom:clamp(2.5rem, 6vw, 4rem);
	position:relative;
}
@media (min-width:992px){
	.quoteContainer { padding-top:clamp(2.5rem, 6vw, 4rem); }
}
/* mobile: much less space above the quote (trim the section margin + padding) */
.dynamicContent.dynamic-quote { margin-top:0; padding-top:12px; }
@media (min-width:992px){
	.dynamicContent.dynamic-quote { margin-top:0px; padding-top:clamp(2.5rem, 5vw, 1rem); }
}
/* keep the quote (cite + carousel dots) clear of the footer wave; tracks the wave height
   so the gap stays ~60px at every width (wave grows with viewport on desktop) */
.homeContent .dynamic-quote { margin-bottom:calc(var(--scFooterWaveH) + 44px); }
@media (min-width:992px){
	.homeContent .dynamic-quote { margin-bottom:calc(var(--scFooterWaveH) + 10px); }
}
.quoteContainer blockquote.quote-text,
.quoteContainer .quote-text {
	font-family:'Itim', cursive;
	font-style:normal;
	color:var(--sc-red);
	font-size:30px;   /* mobile */
	line-height:1.35;
	max-width:70ch;
	margin-inline:auto;
	text-align:center;
}
@media (min-width:992px){
	.quoteContainer blockquote.quote-text,
	.quoteContainer .quote-text { font-size:clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); }
}
.quoteContainer .quote-cite {
	text-align:center;
	padding:0 15px 15px;
	font-family:'Montserrat', sans-serif;
	font-weight:900;
	text-transform:uppercase;
	letter-spacing:2px;
	font-size:1rem;
	color:var(--sc-navy);
	font-style: normal;
}

/* ---------- Quote decorations: marks, cluster (quote.svg), animated sparkles ---------- */
.quoteContainer .quote-text p { position:relative; padding-top:75px; }   /* mobile: room for the central mark */
.quoteContainer .quote-text p::before,
.quoteContainer .quote-text p::after {
	position:absolute; z-index:1; pointer-events:none;
	font-family:'Itim', cursive; font-weight:400;
	color:var(--sc-navy);
	font-size:120px;
	line-height:1;
}
/* mobile: one quote mark, centred above the text */
.quoteContainer .quote-text p::before { content:"\201C"; left:50%; top:0; transform:translateX(-50%); }
.quoteContainer .quote-text p::after  { content:"\201D"; display:none; }
@media (min-width:992px){
	/* desktop flanking marks: home only — inner pages keep the centred single mark.
	   The paragraph shrink-wraps to its text (fit-content) instead of always filling
	   the 70ch column, so the marks pinned to its edges track the width of whatever
	   quote is showing. Both sit at the top, level with the first line, however many
	   lines the quote runs to. */
	body.home .quoteContainer .quote-text p {
		padding-top:0;
		width:fit-content; max-width:100%; margin-inline:auto;
	}
	body.home .quoteContainer .quote-text p::before,
	body.home .quoteContainer .quote-text p::after {
		position:absolute; display:block; line-height:1;
		top:-0.14em; bottom:auto; transform:none;
	}
	body.home .quoteContainer .quote-text p::before { content:"\201C"; left:-0.55em; right:auto; }
	body.home .quoteContainer .quote-text p::after  { content:"\201D"; right:-0.55em; left:auto; }
}
.quoteContainer::before {
	content:"";
	position:absolute; z-index:1; pointer-events:none;
	top:8px; right:16px;
	width:72px;
	aspect-ratio:114 / 134;
	background:url("images/quote.svg") no-repeat center / contain;
}
@media (min-width:992px){
	.quoteContainer::before { top:-10%; right:-8%; width:clamp(56px, 7vw, 96px); }
}
.quoteContainer .quoteSparkles {
	position:absolute; z-index:1; pointer-events:none;
	left:-5%; bottom:2%;
	width:80px; height:80px;
}
@media (min-width:992px){ .quoteContainer .quoteSparkles { bottom:10%; } }
.quoteContainer .quoteSparkles .spark { position:absolute; display:block; transform-origin:center; }
.quoteContainer .quoteSparkles .spark--pink { color:#f1a3ab; width:34px; height:34px; left:30px; top:0; animation:welcomeYellow 3.5s ease-in-out infinite; }
.quoteContainer .quoteSparkles .spark--blue { color:var(--sc-blue); width:16px; height:16px; left:0; top:36px; animation:welcomeBlue 3.5s ease-in-out infinite; }
.quoteContainer .quoteSparkles .spark--yellow { color:#fdb913; width:44px; height:44px; left:54px; top:56px; animation:sparkleTwinkle 1.8s ease-in-out infinite -0.6s; }

/* ---------- Callout / display band (deep navy) ---------- */
.callout {
	background:var(--sc-navy);
	border-radius:24px;
}
.callout .calloutTitle {
	font-family:'Itim', cursive;
	font-size:clamp(2rem, 1.4rem + 3vw, 3.75rem);
}

/* ---------- News / events list ---------- */
.list-item {
	border-bottom-color:var(--sc-grey);
}
.list-item-text p.date {
	font-family:'Montserrat', sans-serif;
	font-weight:900;
	text-transform:uppercase;
	letter-spacing:2px;
	color:var(--sc-blue);
}

.headerRight {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:14px;
	width:100%;
	min-height:50px;
	background:#fff;
	padding:0 10px 0 16px;
	margin:0;
}
/* mobile base — white bar: toggle drops to meet the navy bar; socials + search
   are forced visible (hidden below Bootstrap's sm breakpoint); Translate hidden;
   cols stacked as logo-over-hero(0) / white bar(1) / navy bar(2). */
.headerRight .socialDesktop { display:flex !important; }
.headerRight .headerSearch { display:block !important; }
.headerRight .headerTranslate { display:none; }
.headGroup .row > [class*="col"]:has(.headerRight) { order:1; }
.headGroup .row > [class*="col"]:has(.topLinks) { order:2; display:flex !important; }
.headGroup .row > [class*="col"]:has(.headerIcon) { order:0; }
.headGroup .row > [class*="col"]:has(.headerIcon) { position:absolute; left:16px; top:140px; z-index:900; }
@media (min-width:992px){
	.headerRight { width:auto; background:transparent; padding:0; margin:20px 20px 0 0; }
	.headerRight .menu-toggle { margin-left:14px; }
	.headerRight .headerTranslate { display:inline-flex !important; }
	.headGroup .headerSearch .searchform { padding-right:40px; margin-left:10px; }
	.headGroup .row > [class*="col"]:has(.headerRight),
	.headGroup .row > [class*="col"]:has(.topLinks) { order:0; }
	.headGroup .row > [class*="col"]:has(.headerIcon) { position:static; left:auto; top:auto; z-index:auto; }
}

/* --- Social icons --- */
.socialDesktop .socials {
	display:flex;
	align-items:center;
	gap:6px;
	margin:0;
	padding:0;
	list-style:none;
	margin-right: 10px;
}
.socialDesktop .socials li { margin:0; }
.socialDesktop .socials a {
	color:var(--sc-navy);
	font-size:22px;
	line-height:1;
	text-decoration:none;
	transition:color 200ms;
}
.socialDesktop .socials a:hover { color:var(--sc-red); }
/* Instagram: solid square glyph on mobile (Figma); outline on desktop */
.headGroup .socialDesktop .fa-instagram::before { content:"\e055"; }
@media (min-width:992px){ .headGroup .socialDesktop .fa-instagram::before { content:"\f16d"; } }

/* --- Search: magnifier by default, field expands on hover/focus --- */
.headerSearch .searchform {
	display:flex;
	align-items:center;
	position:relative;
}
/* Field is hidden until the magnifier is clicked (JS toggles .is-open).
   It slides out to the left of the icon as a white pill, so it stays
   readable over the banner and never shifts the header layout. */
.headerSearch .searchInput {
	position:absolute;
	right:30px;
	top:50%;
	transform:translateY(-50%);
	width:0;
	min-width:0;
	padding:0;
	border:0;
	border-radius:22px;
	background:#fff;
	color:var(--sc-navy);
	outline:0;
	font-size:0.95rem;
	height:44px;
	opacity:0;
	pointer-events:none;
	box-shadow:0 6px 18px rgba(4,45,70,0.18);
	transition:width 300ms ease, opacity 200ms ease, padding 250ms ease;
}
.headerSearch.is-open .searchInput {
	width:220px;
	padding:0 18px;
	opacity:1;
	pointer-events:auto;
}
.headerSearch .searchInput::placeholder { color:#7a8a97; opacity:1; }
.headerSearch .searchSubmit {
	background:none;
	border:0;
	padding:0;
	cursor:pointer;
	color:var(--sc-navy);
	font-size:18px;
	line-height:1;
	transition:color 200ms;
}
.headerSearch .searchSubmit:hover { color:var(--sc-red); }

/* --- Red circular menu toggle (exact Figma burger) --- */
/* Mobile-first: base = 42px circle; the icon is the Figma vector scaled to
   fit — a full-width top bar and a shorter right-aligned bottom bar. The
   adjacent min-width group below restores the 75px desktop circle. */
.menu-toggle {
	width:42px;
	height:42px;
	padding:0;
	border-radius:50%;
	background:var(--sc-red);
	display:flex;
	align-items:center;
	justify-content:center;
	flex:0 0 auto;
	transition:background-color 250ms ease;
}
.menu-toggle .toggleText { display:none; }
.menu-toggle .toggleIcon {
	position:relative;
	width:19px;
	height:5px;
	top:auto;
	right:auto;
}
/* hide the theme's middle bar; rebuild the two Figma bars with before/after */
.menu-toggle .toggleIcon span {
	background:transparent !important;
	width:19px;
	height:1.5px;
	top:0;
	left:0;
	margin-top:0;
	transform:none;
}
.menu-toggle .toggleIcon span:before,
.menu-toggle .toggleIcon span:after {
	background:#fff;
	height:1.5px;
	border-radius:1.5px;
}
.menu-toggle .toggleIcon span:before {   /* top bar: full width */
	top:0;
	left:0;
	width:19px;
}
.menu-toggle .toggleIcon span:after {    /* bottom bar: shorter, right-aligned */
	top:4px;
	left:auto;
	right:0;
	width:11px;
	transition:width 250ms ease;
}
.menu-toggle:hover .toggleIcon span:before,
.menu-toggle:hover .toggleIcon span:after { background:#fff; }
/* Hover: circle turns navy and the bottom bar extends to full width (Figma Variant2) */
.menu-toggle:hover { background:var(--sc-navy); }
.menu-toggle:hover .toggleIcon span:after {
	width:19px;
}
/* open (X) state: even up both bars so the cross is symmetrical */
body.menuopen .menu-toggle .toggleIcon span:before,
body.menuopen .menu-toggle .toggleIcon span:after {
	width:13px;
	left:50%;
	margin-left:-6.5px;
	right:auto;
	top:2px;
}
@media (min-width:992px){
	.menu-toggle { width:75px; height:75px; }
	.menu-toggle .toggleIcon { width:33px; height:9px; }
	.menu-toggle .toggleIcon span,
	.menu-toggle .toggleIcon span:before { width:33px; }
	.menu-toggle .toggleIcon span:after { top:7.5px; width:18px; }
	.menu-toggle:hover .toggleIcon span:after { width:33px; }
	body.menuopen .menu-toggle .toggleIcon span:before,
	body.menuopen .menu-toggle .toggleIcon span:after { width:22px; margin-left:-11px; top:3.75px; }
}

/* Desktop: header icons read white (over the banner on home, on the navy bar on inner) */
@media (min-width:992px){
	.socialDesktop .socials a,
	.headerSearch .searchSubmit { color:#fff; }
	body.home .socialDesktop .socials a:hover,
	body.home .headerSearch .searchSubmit:hover { color:var(--sc-cream, #fff); opacity:0.85; }
}

/* Fix: base theme collapses .searchform to height:0 + overflow:hidden, which
   clipped the (absolutely-positioned) magnifier. Let the button lay out normally. */
.headGroup .headerSearch { position:relative; }
.headGroup .headerSearch .searchform {
	position:static;
	overflow:visible;
	width:auto;
	height:auto;
	display:flex;
	align-items:center;
	margin:5px 0 8px 0;
	padding-right:0;
}
.headGroup .headerSearch .searchSubmit {
	position:relative;
	z-index:1;
	bottom:auto;
	right:auto;
	/* undo the generic pill-button styling (bare `button` selector) that was
	   pushing the search magnifier down and out of line with the social icons */
	margin-top:0;
	padding:0;
	gap:0;
	border-radius:0;
}

/* Higher-specificity override: base theme's ".searchform input.searchInput"
   forces transparent/100% width; scope with .headGroup to win the cascade. */
.headGroup .headerSearch .searchInput {
	background:#fff;
	color:var(--sc-navy);
	border-radius:22px;
	box-shadow:0 6px 18px rgba(4,45,70,0.18);
	height:44px;
	width:0;
	padding:0;
}
.headGroup .headerSearch.is-open .searchInput {
	width:220px;
	padding:0 18px;
}

/* Menu toggle stays fixed on screen while the rest of the header scrolls away */
@media (min-width:992px){ body.home .headerRight { padding-right:104px; } }   /* reserve toggle slot + gap (desktop) */
body.home .menu-toggle {
	position:static;
	z-index:10000;
}
@media (min-width:992px){
	body.home .menu-toggle { position:fixed; top:30px; right:29px; }
	body.home.admin-bar .headGroup { margin-top:0; }
	body.home.admin-bar .menu-toggle { top:62px; }
}

/* Translate control (Figma): Montserrat 400/18px label, yellow caret, translate icon; GTranslate select overlaid transparently for clicks */
.headerTranslate { position:relative; display:inline-flex; align-items:center; margin-right: 10px; }
.headerTranslate .translateLabel { font-family:'Montserrat',sans-serif; font-weight:400; font-size:18px; line-height:1; color:#fff; }
.headerTranslate .translateCaret { color:#fdb913; font-size:16px; line-height:1; margin-left: 8px;}
.headerTranslate .translateIcon { width:22px; height:17px; color:#fff; flex:0 0 auto; margin-left: 8px;}
.headerTranslate .gtranslate_wrapper { position:absolute; inset:0; z-index:2; opacity:0; }
.headerTranslate .gtranslate_wrapper .gt_selector { width:100%; height:100%; cursor:pointer; -webkit-appearance:none; appearance:none; border:0; background:transparent; }

/* Top links row — mobile: full-width navy bar; desktop: inline over banner */
.topLinks { display:flex; width:100%; background:var(--sc-navy); justify-content:center; align-items:center; padding:5px 0; }
/* Top links (Top Menu): white uppercase, yellow "/" separators, per Figma */
.topLinks .topLinksMenu { display:flex; align-items:center; gap:0; list-style:none; margin:0; padding:0; }
.topLinks .topLinksMenu li { display:flex; align-items:center; }
.topLinks .topLinksMenu li a { font-family:'Montserrat',sans-serif; font-weight:900; text-transform:uppercase; letter-spacing:2px; font-size:10px; color:#fff; text-decoration:none; padding:0 18px; white-space:nowrap; transition:color 200ms; }
.topLinks .topLinksMenu li a:hover { color:#fdb913; }
.topLinks .topLinksMenu li:not(:first-child)::before { content:'/'; color:#fdb913; font-family:'Montserrat',sans-serif; font-weight:900; font-size:10px; }
@media (min-width:992px){
	.topLinks { width:auto; background:transparent; padding:0; }
	body.home .topLinks { margin-top:35px; }
	/* centre the top links on the page, not within their column (the logo and
	   header-right columns are different widths, so the middle col is off-centre) */
	.headGroup .row { position:relative; }
	.headGroup .topLinks { position:absolute; left:50%; top:0; transform:translateX(-50%); }
	body:not(.home) .headGroup .topLinks { top:50%; transform:translate(-50%,-50%); }
	body:not(.home) .headGroup .row { align-items:center; }
	body:not(.home) .headerRight { min-height:0; }
	body:not(.home) .headerRight { align-items:center; margin-top:-8px; }
	.topLinks .topLinksMenu li a { font-size:1rem; font-weight:700; letter-spacing:0.125em; }
}

/* Side buttons (Side Menu): yellow/blue vertical tabs + slide-out sub-menus, per Figma */
.sideButtons { position:static; width:100%; z-index:300; }
.sideButtonsMenu { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; align-items:stretch; }
.sideButtonsMenu > li:nth-child(n+2) { display:none; }
.sideButtonsMenu > li { position:relative; margin:0; }
.sideButtonsMenu > li > a { position:relative; z-index:2; display:flex; flex-direction:row; justify-content:center; align-items:center; gap:10px; background:var(--sc-blue); color:var(--sc-navy); text-decoration:none; padding:8px 11px; border-radius:0; box-shadow:none; transition:background 200ms; }
.sideButtonsMenu > li:nth-child(2) > a { background:var(--sc-blue); color:#fff; }
.sideButtonsMenu > li > a:hover { filter:brightness(1.05); }
.sideButtonsMenu > li > a .sideArrow { order:2; flex:0 0 auto; width:14px; height:14px; border-radius:0; background:transparent; display:flex; align-items:center; justify-content:center; }
.sideButtonsMenu > li > a .sideArrow::before { content:''; width:12px; height:13px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13' viewBox='0 0 12 13' fill='none'%3E%3Cpath d='M5.74752 12.25C5.9047 12.2418 6.03044 12.1818 6.10903 12.1055L11.0864 7.19636C11.3038 6.97 11.296 6.63182 11.1074 6.42454C10.9187 6.21727 10.5651 6.20636 10.366 6.40273L6.27145 10.4336L6.27145 0.795454C6.27145 0.495454 6.03568 0.25 5.74752 0.25C5.45935 0.25 5.22358 0.495454 5.22358 0.795454L5.22358 10.4336L1.13166 6.40273C0.93256 6.20636 0.586763 6.22273 0.390288 6.42455C0.188573 6.63182 0.21215 7 0.411245 7.19636L5.38862 12.1055C5.51698 12.2336 5.62439 12.2418 5.75014 12.25L5.74752 12.25Z' fill='white' stroke='white' stroke-width='0.5'/%3E%3C/svg%3E") no-repeat center; background-size:contain; transform:none; transition:transform 250ms; }
.sideButtonsMenu > li.open > a .sideArrow::before { transform:rotate(180deg); }
.sideButtonsMenu > li > a .sideLabel { writing-mode:horizontal-tb; transform:none; color:#fff; font-family:'Montserrat',sans-serif; font-weight:900; text-transform:uppercase; letter-spacing:3px; font-size:10px; margin:0;}
/* Quick Links dropdown — mobile: static list under the bar; desktop: slide-out */
.sideButtonsMenu > li > .sub-menu { position:relative; height:auto; z-index:1000; margin:0; padding:6px 14px 12px; list-style:none; background:var(--sc-blue); border-radius:0; box-shadow:none; display:none; flex-direction:column; gap:2px; opacity:1; visibility:visible; transform:none; pointer-events:auto; }
@media (min-width:992px){
	.sideButtons { position:fixed; right:0; top:160px; width:auto; }
	.sideButtonsMenu { align-items:flex-end; }
	.sideButtonsMenu > li:nth-child(n+2) { display:block; }
	.sideButtonsMenu > li > a { flex-direction:column; gap:12px; padding:16px 11px; background:#fdb913; border-radius:24px 0 0 24px; box-shadow:0 4px 14px rgba(0,0,0,0.18); }
	.sideButtonsMenu > li > a .sideArrow { order:0; width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,0.3); }
	.sideButtonsMenu > li > a .sideArrow::before { background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.5' height='12.5' viewBox='0 0 11.4992 12.5'%3E%3Cpath fill='%23042d46' d='M5.74751 12.25C5.90469 12.2418 6.03043 12.1818 6.10902 12.1055L11.0864 7.19636C11.3038 6.97 11.296 6.63182 11.1074 6.42455C10.9187 6.21727 10.5651 6.20636 10.366 6.40273L6.27144 10.4336V0.795455C6.27144 0.495455 6.03567 0.25 5.74751 0.25C5.45934 0.25 5.22357 0.495455 5.22357 0.795455V10.4336L1.13165 6.40273C0.932553 6.20636 0.586756 6.22273 0.390281 6.42455C0.188566 6.63182 0.212143 7 0.411238 7.19636L5.38861 12.1055C5.51698 12.2336 5.62438 12.2418 5.75013 12.25H5.74751Z'/%3E%3C/svg%3E") no-repeat center; background-size:contain; transform:rotate(90deg); }
	.sideButtonsMenu > li.open > a .sideArrow::before { transform:rotate(-90deg); }
	.sideButtonsMenu > li > a .sideLabel { writing-mode:vertical-rl; transform:rotate(180deg); margin-top:10px; color:inherit; font-size:0.8rem; }
	.sideButtonsMenu > li > .sub-menu { position:absolute; top:0; right:0; height:100%; padding:8px 86px 8px 10px; background:#fff; border-radius:16px 0 0 16px; box-shadow:0 12px 30px rgba(0,0,0,0.22); display:flex; justify-content:center; white-space:nowrap; opacity:0; visibility:hidden; transform:translateX(20px); pointer-events:none; transition:opacity 250ms, transform 250ms; z-index:1; }
}
.sideButtonsMenu > li.open > .sub-menu { display:flex; opacity:1 !important; visibility:visible !important; transform:translateX(0) !important; pointer-events:auto !important; }
.sideButtonsMenu .sub-menu li { margin:0; }
.sideButtonsMenu .sub-menu a { display:flex; align-items:center; gap:10px; padding:7px 14px; background:transparent; color:var(--sc-navy); text-decoration:none; }
.sideButtonsMenu .sub-menu a .sideArrow { display:block; order:2; margin-left:auto; width:11px; height:12px; flex:0 0 auto; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.5' height='12.5' viewBox='0 0 11.4992 12.5'%3E%3Cpath fill='%23000' d='M5.74751 12.25C5.90469 12.2418 6.03043 12.1818 6.10902 12.1055L11.0864 7.19636C11.3038 6.97 11.296 6.63182 11.1074 6.42455C10.9187 6.21727 10.5651 6.20636 10.366 6.40273L6.27144 10.4336V0.795455C6.27144 0.495455 6.03567 0.25 5.74751 0.25C5.45934 0.25 5.22357 0.495455 5.22357 0.795455V10.4336L1.13165 6.40273C0.932553 6.20636 0.586756 6.22273 0.390281 6.42455C0.188566 6.63182 0.212143 7 0.411238 7.19636L5.38861 12.1055C5.51698 12.2336 5.62438 12.2418 5.75013 12.25H5.74751Z'/%3E%3C/svg%3E") no-repeat center; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.5' height='12.5' viewBox='0 0 11.4992 12.5'%3E%3Cpath fill='%23000' d='M5.74751 12.25C5.90469 12.2418 6.03043 12.1818 6.10902 12.1055L11.0864 7.19636C11.3038 6.97 11.296 6.63182 11.1074 6.42455C10.9187 6.21727 10.5651 6.20636 10.366 6.40273L6.27144 10.4336V0.795455C6.27144 0.495455 6.03567 0.25 5.74751 0.25C5.45934 0.25 5.22357 0.495455 5.22357 0.795455V10.4336L1.13165 6.40273C0.932553 6.20636 0.586756 6.22273 0.390281 6.42455C0.188566 6.63182 0.212143 7 0.411238 7.19636L5.38861 12.1055C5.51698 12.2336 5.62438 12.2418 5.75013 12.25H5.74751Z'/%3E%3C/svg%3E") no-repeat center; -webkit-mask-size:contain; mask-size:contain; transform:rotate(-90deg); }
.sideButtonsMenu .sub-menu a .sideLabel { writing-mode:horizontal-tb; transform:none; font-family:'Montserrat',sans-serif; font-weight:600; text-transform:none; letter-spacing:2px; font-size:12px; text-transform: uppercase; }
.sideButtonsMenu .sub-menu a:hover { color:var(--sc-red); }
/* Translate relocated into the Quick Links dropdown on mobile (see scripts.js) */
.sideButtonsMenu .sub-menu .translateMenuItem { margin:0; padding:7px 14px; }
.sideButtonsMenu .sub-menu .headerTranslate { display:inline-flex !important; }

/* Social Wall "Stay Connected" drawer + carousel (mobile-first) */
.swSource { display:none; }
.socialWallPanel { position:fixed; inset:0; width:100%; height:100dvh; z-index:9999; transform:translateX(100%); visibility:hidden; pointer-events:none; overflow-y:auto; transition:transform 420ms ease, visibility 0s linear 420ms; }
body.socialWallOpen .socialWallPanel { transform:translateX(0); visibility:visible; pointer-events:auto; transition:transform 420ms ease, visibility 0s linear 0s; }
@media (min-width:992px){
	body.socialWallOpen .sideButtons { z-index:10000; }
	body.socialWallOpen .headGroup { z-index:auto; }
	body.socialWallOpen .menu-toggle { z-index:10000; }
	body.socialWallOpen .sideButtonsMenu > li.socialWallTab > a .sideArrow::before { transform:rotate(-90deg); }
}
.swDrawer { position:relative; min-height:100dvh; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; background:var(--sc-cream, #fcf8f1); padding:26px 20px 60px; overflow:hidden; }
.swHead { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 18px; }
.swTitle { font-family:'Itim', cursive; font-weight:400; color:var(--sc-navy); font-size:30px; line-height:1; margin:0; }
.swTitle span { color:var(--sc-red); }
.swClose { display:inline-flex; align-items:center; gap:10px; background:none; border:0; cursor:pointer; color:var(--sc-navy); padding:0; }
.swClose:hover, .swClose:focus { background:none; border-color:transparent; color:var(--sc-red); }
.swClose:hover .swCloseLabel, .swClose:hover .swCloseX { color:var(--sc-red); }
.swCloseLabel { font-family:'Montserrat',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:2px; font-size:12px; }
.swCloseX { display:inline-block; width:50px; text-align:center; transform:rotate(45deg); color:var(--sc-navy); font-family:'Montserrat',sans-serif; font-weight:300; font-size:70px; line-height:70px; }
.swViewport { position:relative; z-index:2; }
.swTrack { display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px; }
.swTrack::-webkit-scrollbar { display:none; }
.swCard { position:relative; display:block; flex:0 0 auto; width:414px; max-width:86vw; scroll-snap-align:start; border-radius:34px; overflow:hidden; background:var(--sc-navy); aspect-ratio:1/1; text-decoration:none; color:var(--sc-white); }
.swCard--instagram { background:#0a0a0a; }
.swCard--instagram .swImg { width:100%; height:100%; object-fit:cover; display:block; }
.swCard--facebook { background:var(--sc-navy); }
.swCard--facebook:nth-of-type(4n) { background:var(--sc-red); }
.swCardBody { display:flex; flex-direction:column; gap:38px; height:100%; padding:52px 22px 46px; box-sizing:border-box; }
.swAuthor { font-family:'Montserrat',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:1px; font-size:11px; }
.swText { font-family:'Montserrat',sans-serif; font-weight:400; font-size:14px; line-height:1.5; margin:0; overflow:hidden; display:-webkit-box; -webkit-line-clamp:6; -webkit-box-orient:vertical; }
.swBadge { position:absolute; right:22px; bottom:22px; z-index:3; display:flex; align-items:center; justify-content:center; color:#fff; }
.swBadge svg { width:20px; height:20px; }
.swBadge--fb { background:none; width:auto; height:auto; }
.swBadge--fb svg { width:20px; height:20px; }
.swDots { display:flex; justify-content:center; align-items:center; gap:10px; margin:22px 0 0; position:relative; z-index:2; }
.swDot { border:0; padding:0; cursor:pointer; }
.swDots .swDot:hover { background:url("images/dot-hover.svg") no-repeat center / contain; }
.swDecor { position:absolute; bottom:14px; z-index:1; pointer-events:none; background-repeat:no-repeat; background-position:center; background-size:contain; }
.swDecor--left { left:16px; width:108.8px; height:200.93px; background-image:url("images/social-leaves.svg"); }
.swDecor--right { right:16px; width:111.133px; height:114.863px; background-image:url("images/social-heart.svg"); }
@media (min-width:992px){
	.swDrawer { padding:40px 48px 60px; }
	.swHead { margin:0 0 26px; }
	.swClose { margin-right:72px; }
	.swTitle { font-size:70px; }
	.swTrack { gap:24px; }
	.swCard { width:414px; max-width:none; }
	.swCardBody { padding:64px 28px 50px; gap:38px; }
	.swAuthor { font-size:12px; }
	.swText { font-size:15px; }
	.swDecor--left { left:40px; }
	.swDecor--right { right:40px; }
}

/* Transparent home header does not block side panel underneath (only its links stay clickable) */
body.home .headGroup { pointer-events:none; }
body.home .headGroup a, body.home .headGroup button, body.home .headGroup input, body.home .headGroup select, body.home .headGroup .menu-toggle, body.home .headGroup .gtranslate_wrapper { pointer-events:auto; }

/* Decorative banner must not intercept clicks meant for overlays (side panel) */
#homeBanner video{ pointer-events:none; }
#homeBanner a, #homeBanner button { pointer-events:auto; }

/* Animated banner sparkles (green / yellow / white twinkle) */
.bannerSparkles { position:absolute; z-index:100; top:37%; right:8%; width:127px; height:100px; pointer-events:none; }
@media (min-width:992px){
.bannerSparkles { top:57%;}
}
.bannerSparkles .spark { position:absolute; display:block; transform-origin:center; }
.bannerSparkles .spark--yellow { color:#fdb913; width:61px; height:61px; left:28px; top:28px; animation:sparkleTwinkle 1.8s ease-in-out infinite 0s; }
.bannerSparkles .spark--green { color:var(--sc-green); width:30px; height:30px; left:-6px; top:20px; animation:sparkleTwinkle 1.8s ease-in-out infinite -0.6s; }
.bannerSparkles .spark--white { color:#fff; width:19px; height:19px; left:10px; top:88px; animation:sparkleTwinkle 1.8s ease-in-out infinite -1.2s; }
@keyframes sparkleTwinkle { 0% { transform:scale(0); opacity:0; } 33.33% { transform:scale(1); opacity:1; } 66.67% { transform:scale(1); opacity:1; } 100% { transform:scale(0); opacity:0; } }

/* Welcome block sparkle cluster (top-right) — reuses sparkleTwinkle; yellow/red/blue */
.welcomeSparkles { position:absolute; z-index:2; top:-50px; right:0; width:100px; height:127px; pointer-events:none; }
@media (min-width:992px){
	.welcomeSparkles { top:-50px; right:-100px;}
}
.welcomeSparkles .spark { position:absolute; display:block; transform-origin:center; }
.welcomeSparkles .spark--yellow { color:#fdb913; width:61px; height:61px; left:22px; bottom:0; animation:welcomeYellow 3.5s ease-in-out infinite; }
.welcomeSparkles .spark--blue { color:var(--sc-blue); width:19px; height:19px; left:0; top:35px; animation:welcomeBlue 3.5s ease-in-out infinite; }
@keyframes welcomeYellow { 0% { transform:scale(0); opacity:0; } 8% { transform:scale(1); opacity:1; } 88% { transform:scale(1); opacity:1; } 100% { transform:scale(0); opacity:0; } }
@keyframes welcomeBlue { 0% { transform:scale(0); opacity:0; } 8% { transform:scale(0); opacity:0; } 18% { transform:scale(1); opacity:1; } 40% { transform:scale(1); opacity:1; } 50% { transform:scale(0); opacity:0; } 100% { transform:scale(0); opacity:0; } }

.eventsBlock {
	position:relative;
	width:100vw;
	margin-left:calc(50% - 50vw);
	background-color:var(--sc-navy);
	background-image:none;   /* mobile: no photo, solid navy */
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
	color:#fff;
	overflow:hidden;
	padding:clamp(7rem, 11vw, 10rem) 0 clamp(12rem, 16vw, 15rem);
	margin-top:clamp(-1.5rem, -5vw, -2rem);
}
.homeDynamic.dynamic-html {
	margin-top:0;
}
@media (min-width:992px){ .eventsBlock { background-image:url("images/events-bg.webp"); } }
.eventsBlock__overlay { position:absolute; inset:0; z-index:0; background:rgba(4,45,70,0.81); pointer-events:none; }
.eventsBlock::before {
	content:""; position:absolute; top:-1px; left:0; right:0; z-index:1; pointer-events:none;
	height:46px;   /* mobile: shared wave height */
	background:url("images/events-wave.svg") no-repeat top center;
	background-size:230% 100%;
	transform:scaleY(-1);
}
@media (min-width:992px){
	.eventsBlock::before { height:auto; aspect-ratio:1565 / 112; background-size:100% 100%; }
}
.eventsBlock__inner { position:relative; z-index:2; text-align:center; }
.eventsBlock__title { font-family:'Itim', cursive; font-weight:400; color:#fff; font-size:clamp(2.25rem, 1.4rem + 2.6vw, 4.375rem); line-height:1.05; margin:0 0 clamp(1.75rem,3vw,3rem); }
.eventCard { display:flex; flex-direction:column; align-items:center; text-align:center; text-decoration:none; color:#fff; padding:0 12px; }
.eventCard:hover { color:#fff; }
.eventCard__month { font-family:'Itim', cursive; font-size:clamp(2.5rem, 1.4rem + 3vw, 4.375rem); line-height:1;  margin-bottom:10px;}
.eventCard__day { font-family:'Montserrat', sans-serif; font-weight:900; font-size:clamp(6.25rem, 2rem + 5vw, 6.25rem); line-height:1; position:relative; padding-bottom:14px; margin-bottom:25px; }
.eventCard__day::after { content:""; position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:48px; height:3px; background:var(--sc-red); }
.eventCard__title { font-family:'Montserrat', sans-serif; font-weight:900; text-transform:uppercase; letter-spacing:2px; font-size:1rem; line-height:1.35; max-width:20ch; color:#fff; }
/* hover: title stays put, red button reveals underneath it.
   The button keeps its space in the flow (opacity only) so the card never
   changes height and the carousel's overflow can't clip it. */
.eventCard,
.eventCard:hover,
.eventCard:focus { text-decoration:none; }
.eventCard__text { display:flex; flex-direction:column; align-items:center; width:100%; }
.eventCard__title { display:inline-block; }
a.button.eventCard__btn {
	margin:20px 0 0;
	white-space:nowrap;
	opacity:0;
	transform:translateY(8px);
	pointer-events:none;
	transition:opacity 300ms ease, transform 300ms ease, background-color 600ms ease-in-out, color 600ms ease-in-out;
}
.eventCard:hover a.button.eventCard__btn { opacity:1; transform:translateY(0); pointer-events:auto; }
.eventCard a:hover,
a.button.eventCard__btn:hover { text-decoration:none; }
.eventsCarousel { position:relative; padding:0 60px; }
.eventsCarousel .owl-nav { margin:0; }
.eventsCarousel .owl-nav button.owl-prev,
.eventsCarousel .owl-nav button.owl-next {
	position:absolute; top:40%; transform:translateY(-50%);
	width:48px; height:48px; border-radius:50%;
	background:var(--sc-red) !important;
	display:inline-flex; align-items:center; justify-content:center;
}
.eventsCarousel .owl-nav button.owl-prev { left:0; }
.eventsCarousel .owl-nav button.owl-next { right:0; }
.eventsCarousel .owl-nav button.owl-prev:hover,
.eventsCarousel .owl-nav button.owl-next:hover { background:var(--sc-red) !important; filter:brightness(1.08); }
.eventsCarousel .owl-nav.disabled { display:block; }
.eventsCarousel .owl-nav button.disabled { opacity:1; cursor:default; }
.eventsCarousel .owl-nav svg { width:16px; height:12px; display:block; }
.eventsCarousel .owl-nav .owl-prev svg { transform:scaleX(-1); }
.eventsCalendarBtn { display:inline-flex; align-items:center; gap:14px; margin-top:clamp(2rem,3vw,3rem); padding:14px 26px 14px 22px; background:#fdf3d6; border-radius:16px; text-decoration:none; text-align:left; }
.eventsCalendarBtn__icon { color:#fdb913; flex:none; display:inline-flex; }
.eventsCalendarBtn__icon svg { width:34px; height:34px; display:block; }
.eventsCalendarBtn__text { display:flex; flex-direction:column; line-height:1.15; }
.eventsCalendarBtn__label { font-family:'Montserrat', sans-serif; font-weight:900; text-transform:uppercase; letter-spacing:2px; font-size:0.875rem; color:var(--sc-navy); }
.eventsCalendarBtn__link { font-family:'Montserrat', sans-serif; font-weight:500; font-size:0.875rem; color:var(--sc-navy); display:inline-flex; align-items:center; gap:6px; }
.eventsCalendarBtn__link .ev-arrow { color:var(--sc-navy); }
/* events calendar button = mini-poi term-dates style on the dark bg */
.eventsBlock .miniPoi--calendar { display:inline-flex; margin-top:clamp(3.5rem,6vw,6rem); background:#fef4dc; border-color:#fdb913; }
.eventsBlock .miniPoi--calendar:hover { background:#fff8e8; text-decoration: none;}
.eventsBlock .miniPoi--calendar .miniPoi__icon { background:#fdb913; }
.eventsBlock .miniPoi--calendar .miniPoi__ico { width:34px; height:34px; display:block; background:#000; -webkit-mask:url("images/term-dates.svg") no-repeat center / contain; mask:url("images/term-dates.svg") no-repeat center / contain; }

.eventsBlock__spark { position:absolute; z-index:2; display:block; height:auto; pointer-events:none; transform-origin:center; }
.eventsBlock__spark--left { width:97px; left:7%; bottom:22%; }
.eventsBlock__spark--right { width:134px; right:9%; bottom:20%; }

/* When no events block sits above the footer, give body content room so the navy footer-wave (-110px pull + wave) doesn't overlap it */
.body-container:not(:has(.eventsBlock)),
.bodyContent.col-12:not(:has(.eventsBlock)),
.bodyContent.col-lg-12:not(:has(.eventsBlock)) {
	padding-bottom: calc(120px + max(48px, 7.2vw));
}
/* The Events Calendar (Tribe) archive/single renders in its own container with no eventsBlock above the footer, so give it the same clearance */
.post-type-archive-tribe_events .tribe-events,
.single-tribe_events .tribe-events {
	padding-bottom: calc(120px + max(48px, 7.2vw));
}
/* ...but when the page ENDS in a full-bleed callout it should behave like the events block: let the navy footer-wave overlap it instead of leaving a white gap, so cancel the clearance */
.body-container:has(.bodyContent > .dynamic-callout:last-child) {
	padding-bottom: 0;
}
/* Templates that lead with the title and nothing above it - 404, search, archive,
   blog index - had the h1 hard against the banner. Scoped to :first-child so pages
   that already have a breadcrumb or intro block above the title are untouched. */
.bodyContent > h1.entry-title:first-child { margin-top:clamp(2rem, 4vw, 3.5rem); }
#footer {
	position:relative;
	background:var(--sc-navy);
	color:#fff;
	width:100vw;
	margin:-110px 0 0 calc(50% - 50vw);
	padding:clamp(4rem,6vw,5.5rem) 0 0;
	overflow:visible;
}
/* navy banner wave sits ABOVE the footer so the events shows behind it (no white gap) */
#footer::before {
	content:""; position:absolute; bottom:100%; left:0; right:0; z-index:0; pointer-events:none;
	height:46px;   /* mobile: shared wave height */
	background:url("images/footer-wave.svg") no-repeat bottom center;
	background-size:230% 100%;
}
@media (min-width:992px){
	#footer::before { height:auto; aspect-ratio:1565 / 112; background-size:100% 100%; }
}

/* Footer wave height, shared with the closing-callout compensation above */
:root { --scFooterWaveH:46px; }
@media (min-width:992px){ :root { --scFooterWaveH:calc(100vw * 112 / 1565); } }
/* On a page that ends in a callout, pull the footer up by exactly the wave height
   instead of the flat -110px, so the overlap tracks the wave at every width.
   Ordinary pages keep -110px: their clearance above the footer is sized against it. */
body:has(.bodyContent > .dynamic-callout:last-child) #footer {
	margin-top:calc(var(--scFooterWaveH) * -1);
}
#footer .container { position:relative; z-index:2; }
/* mobile: centre all footer content + room at bottom for the sparkle cluster */
#footer { text-align:center; padding-bottom:90px; }
#footer .footerContacts { align-items:center; }
#footer .footerContact { justify-content:center; }
#footer .footerSocials .socials { justify-content:center; }
@media (min-width:992px){
	#footer { text-align:left; padding-bottom:0; }
	#footer .footerContacts { align-items:flex-start; }
	#footer .footerContact { justify-content:flex-start; }
	#footer .footerSocials .socials { justify-content:flex-start; }
}
/* mobile: footer link columns (Quick Links / Information) stack into one column */
.footerTop > [class*="col-6"] { flex:0 0 100%; max-width:100%; }
@media (min-width:768px){ .footerTop > [class*="col-6"] { flex:0 0 auto; max-width:none; } }
.footerTop {
	--bs-gutter-y:clamp(1.5rem,3.5vw,2.5rem);
	align-items:flex-start;
}
/* align the 3 link columns' headings with the address line (desktop) */
@media (min-width:992px){ .footerTop > div:nth-child(n+2) { padding-top:116px; } }
.footerLogo { display:inline-block; }
.footerLogo img { width:124px; height:auto; display:block; margin-bottom:1.5rem; }
.footerAddress { font-style:normal; font-family:'Montserrat',sans-serif; font-size:14px; line-height:1.6; color:#fff; margin:0 0 1rem; }
.footerContacts { display:flex; flex-direction:column; gap:0.4rem; margin-bottom:1.25rem; }
.footerContact { display:inline-flex; align-items:center; gap:10px; color:var(--sc-white); opacity:0.62; text-decoration:none; font-family:'Montserrat',sans-serif; font-size:14px; transition:opacity 200ms,color 200ms; }
.footerContact::before { content:""; width:18px; height:18px; flex:none; background-position:center; background-repeat:no-repeat; background-size:contain; }
.footerContact--phone::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.footerContact--email::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.footerContact:hover { color:var(--sc-white); opacity:1; }
.footerSocials { padding-top:20px; }
.footerSocials .socials { display:flex; gap:2px; list-style:none; margin:0; padding:0; }
.footerSocials .socials li { margin:0; }
.footerSocials .socials a { width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,0.12); opacity:0.68; display:inline-flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; transition:background 200ms,opacity 200ms; }
.footerSocials .socials a:hover { background:var(--sc-blue); opacity:1; color:#fff; }
.footerSocials .socials a i { font-size:15px; line-height:1; }
/* icons sized to the 14px Figma icon box inside the 32px circle */
.footerSocials .socials a svg { width:auto; height:14px; max-width:14px; }
.footerHeading { font-family:'Montserrat',sans-serif; font-weight:900; text-transform:uppercase; letter-spacing:2px; font-size:16px; color:#fff; margin:0 0 1.35rem; }
.footerMenu { list-style:none; margin:0; padding:0; }
.footerMenu li { margin:0 0 0.5rem; }
.footerMenu a { color:#fff; opacity:0.62; text-decoration:none; font-family:'Montserrat',sans-serif; font-size:14px; transition:opacity 200ms,color 200ms; }
.footerMenu a:hover, .footerMenu .current-menu-item > a { color:var(--sc-white); opacity:1; }
.footerTouchText { color:#fff; opacity:0.62; font-family:'Montserrat',sans-serif; font-size:14px; line-height:1.6; margin-bottom:4rem; }
.footerTouchText p { margin:0 0 0.75rem; }
a.footerContactBtn { margin-top:0; }
a.button.footerContactBtn:hover { border-color:#fff; }
.footerBadges { display:grid; grid-template-columns:repeat(3,1fr); justify-items:center; align-items:center; gap:20px 10px; padding-top:clamp(2.5rem,5vw,4rem); padding-bottom:clamp(1.5rem,3vw,2.5rem); position:relative; z-index:2; }
@media (min-width:992px){ .footerBadges { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:clamp(1.75rem,4vw,3.5rem); } }
.footerBadge { height:auto; max-height:44px; width:auto; max-width:100%; opacity:0.8; filter:grayscale(1) brightness(1.7); }
.footerBadge:nth-child(4) { grid-column:span 2; }
@media (min-width:992px){ .footerBadge { height:66px; max-height:none; max-width:none; } }
.footerLower { padding:1.4rem 0; position:relative; z-index:2; }
.footerLower__grid { align-items:center; --bs-gutter-y:0.5rem; text-align:center; }
.footerCredit { display:flex; justify-content:center; }
@media (min-width:768px){ .footerLower__grid { text-align:left; } .footerCredit { display:block; } }
.footerLower p { margin:0; color:#93a7bb; font-size:0.8rem; font-family:'Montserrat',sans-serif; }
.footerLegal { display:flex; gap:1.5rem; justify-content:center; margin:0; }
.footerLegal a, .footerCredit a { color:#93a7bb; text-decoration:none; }
.footerLegal a:hover, .footerCredit a:hover { color:#fff; }
.footerCredit a { display:inline-flex; align-items:center; gap:6px; }
.footerSparkles { position:absolute; z-index:1; right:3%; bottom:24px; width:127px; height:100px; pointer-events:none; }
@media (min-width:992px){ .footerSparkles { right:7%; bottom:24%; } }
.footerSparkles .spark { position:absolute; display:block; transform-origin:center; }
.footerSparkles .spark--yellow { color:#fdb913; width:61px; height:61px; left:28px; top:28px; animation:sparkleTwinkle 1.8s ease-in-out infinite 0s; }
.footerSparkles .spark--green { color:var(--sc-green); width:30px; height:30px; left:-6px; top:20px; animation:sparkleTwinkle 1.8s ease-in-out infinite -0.6s; }
.footerSparkles .spark--white { color:#fff; width:19px; height:19px; left:10px; top:88px; animation:sparkleTwinkle 1.8s ease-in-out infinite -1.2s; }

@media (min-width:992px){
body:not(.home) header.mainHeader { height:100px; }
body:not(.home) .headGroup {
	background:var(--sc-navy);
	height:100px;
	padding-top:0;
	padding-bottom:0;
	box-shadow:none;
	border-bottom:none;
}
body:not(.home).fixedHeader .headGroup { background:var(--sc-navy); }
/* vertically centre header contents within the 100px band */
body:not(.home) .headGroup .row { align-items:center !important; min-height:100px; }
/* circular logo scaled to the 100px band */
body:not(.home) .mainLogo { width:94px; margin-left:20px; }
/* plain white hamburger on navy (no red circle on inner pages) */
body:not(.home) .menu-toggle {
	width:auto;
	height:auto;
	padding:0;
	border-radius:0;
	background:transparent;
}
body:not(.home) .menu-toggle:hover { background:transparent; }
}

/* ...but with the nav open the header is hidden, so the X would float on the navy
   overlay with nothing behind it - restore the homepage's red circle and position */
@media (min-width:992px){
	body:not(.home).menuopen .menu-toggle {
		position:fixed;
		top:30px;
		right:29px;
		width:75px;
		height:75px;
		border-radius:50%;
		background:var(--sc-red);
	}
	body:not(.home).menuopen.admin-bar .menu-toggle { top:62px; }
	body:not(.home).menuopen .menu-toggle:hover { background:var(--sc-navy); }
}

/* Bulleted lists in editorial text blocks: solid green round markers */
.body-text ul { list-style:none; margin:3.25rem 0 1.5rem; padding:0; }
.body-text ul li { position:relative; padding-left:34px; margin-bottom:14px; }
.body-text ul li::before {
	content:""; position:absolute; left:0; top:7px;
	width:12px; height:12px; border-radius:50%;
	background:var(--sc-green);
}

/* Image block (Figma image/video block): contained ~66% landscape offset
   within the column, faint leaf motif bleeding off the left, section title
   above and caption below aligned to the image. */
.dynamic-image { position:relative; }
.dynamic-image::before {
	content:""; position:absolute; z-index:0; pointer-events:none;
	display:none;
	top:50%; left:-520px; transform:translateY(-50%);
	width:700px; height:642px;
	background:url("images/welcome-tree.svg") no-repeat center / contain;
}
.dynamic-image .sectionTitle,
.dynamic-image .image-item { position:relative; z-index:1; }
.dynamic-image .image-item { margin:0; }
.dynamic-image .image-item img {
	display:block; width:100%; height:auto;
	aspect-ratio:16 / 9; object-fit:cover;
}
.dynamic-image .imageItemCaption {
	margin:1rem 0;
	font-family:'Montserrat',sans-serif; font-weight:900;
	color:var(--sc-navy); font-size:1rem;
}
@media (min-width:768px){
	.dynamic-image::before { display:block; }
	.dynamic-image .sectionTitle,
	.dynamic-image .image-item { width:66%; margin-left:16%; }
}

/* Text + image block: image is a fixed square (Figma 470×470) */
.dynamic-text_image .row img {
	display:block; width:100%; height:auto;
	aspect-ratio:1 / 1; object-fit:cover; margin-bottom:20px
}
@media (min-width:992px){
	.dynamic-text_image .row img {
	margin-bottom:0px
}
}

/* Web links: each link fills the full column width */
.web_links .sn_web_link.button {
	display:flex; width:100%;
	align-items:center; justify-content:center; text-align:center;
}

/* ---- FAQ: red bars (navy when open), cream answer, +/- toggle ---- */
.faqs .faq { border-bottom:none; margin-bottom:0.75rem; }
.faq-question {
	background:var(--sc-red);
	color:#fff;
	font-family:'Montserrat',sans-serif; font-weight:900;
	text-transform:uppercase; letter-spacing:1px; font-size:0.875rem;
	padding:1rem 3.25rem 1rem 1.5rem;
	border-radius:10px;
	transition:background 200ms, border-radius 200ms;
}
.faq.open .faq-question { background:var(--sc-navy)}
.faq-question:hover { background:#b31421; }
.faq.open .faq-question:hover { background:var(--sc-navy); }
.faq-question:after {
	content:'\f067';                 /* plus */
	font-family:'Font Awesome 6 Free'; font-weight:900;
	right:16px; top:50%;
	transform:translateY(-50%);
	font-size:0.9rem; width:auto; height:auto; line-height:1;
}
.faq.open .faq-question:after { content:'\f068'; transform:translateY(-50%); }  /* minus */
.faq-answer { background:var(--sc-cream); color:var(--sc-navy); border-radius:0 0 10px 10px; padding:1.25rem 1.5rem; }
.faqs .faq:last-child .faq-answer,
.faqs .faq.open:last-child .faq-answer { border:none; }

/* ---- Downloads: left-aligned button text ---- */
a.button.document-link { text-align:left; justify-content:flex-start; }

/* ---- Image block heading centred over the image ---- */
.dynamic-image .sectionTitle { text-align:center; }

/* ---- Carousel: match the single image block (leaf motif, offset, centred title) ---- */
.dynamic-carousel { position:relative; }
.dynamic-carousel::before {
	content:""; position:absolute; z-index:0; pointer-events:none;
	top:50%; left:-520px; transform:translateY(-50%);
	width:700px; height:642px;
	background:url("images/welcome-tree.svg") no-repeat center / contain;
}
.dynamic-carousel .sectionTitle,
.dynamic-carousel .scms-carousel { position:relative; z-index:1; }
.dynamic-carousel .sectionTitle { text-align:center; }
@media (min-width:768px){
	.dynamic-carousel .sectionTitle,
	.dynamic-carousel .scms-carousel { width:66%; margin-left:16%; }
}

/* ---- Carousel dots + arrows: match the homepage (events) carousel ---- */
.scms-carousel { position:relative; padding:0px; }
.scms-carousel .owl-nav { margin:0; }
.scms-carousel .owl-nav button.owl-prev,
.scms-carousel .owl-nav button.owl-next {
	position:absolute; top:40%; transform:translateY(-50%);
	width:48px; height:48px; border-radius:50%;
	background:var(--sc-red) !important; color:#fff;
	display:inline-flex; align-items:center; justify-content:center;
	font-size:18px; transition:filter 200ms;
}
.scms-carousel .owl-nav button.owl-prev { left:0; }
.scms-carousel .owl-nav button.owl-next { right:0; }
.scms-carousel .owl-nav button.owl-prev:hover,
.scms-carousel .owl-nav button.owl-next:hover { filter:brightness(1.08); }
.scms-carousel .owl-dots { text-align:center; margin-top:1.25rem; }
.scms-carousel .owl-dots .owl-dot { display:inline-block; margin:0 5px; opacity:1; }
.scms-carousel .owl-dots .owl-dot span {
	width:12px; height:12px; display:inline-block; border-radius:50%;
	margin:0; background:rgba(4,45,70,0.2); transition:background 200ms;
}
.scms-carousel .owl-dots .owl-dot.active span { background:var(--sc-red); }

/* ---- Text + image block: match Figma sizing (block ~1075, image ~44%, text ~52%) ---- */
@media (min-width:992px){
	.dynamic-text_image > .row { max-width:1075px; margin-inline:auto; justify-content:space-between; }
	.dynamic-text_image > .row > div:has(> img){ flex:0 0 44%; max-width:44%; }
	.dynamic-text_image > .row > div:not(:has(> img)){ flex:0 0 52%; max-width:52%; }
}

/* ---- Carousel dots match the homepage pager (dot.svg); no arrows; 16:9 images ---- */
.dynamic-carousel .owl-nav { display:none; }
.dynamic-carousel .scms-carousel { padding-left:0; padding-right:0; }
.scms-carousel .owl-dots .owl-dot span, .swDot {
	width:10px; height:16px; border-radius:0;
	background:url("images/dot.svg") no-repeat center / contain;
}
.scms-carousel .owl-dots .owl-dot.active span, .swDot.is-active {
	background:url("images/dot-active.svg") no-repeat center / contain;
}
.dynamic-carousel .scms-carousel .owl-item img {
	aspect-ratio:16 / 9; object-fit:cover; width:100%; height:auto;
}

/* Carousel dots aligned to the right */
.dynamic-carousel .owl-dots { text-align:right; }

/* FAQ toggle "cross": Montserrat Black 26px (+ closed / − open) */
.faq-question:after {
	content:'+';
	font-family:'Montserrat', sans-serif;
	font-weight:900;
	font-size:26px;
	line-height:1;
}
.faq.open .faq-question:after { content:'\2212'; }

/* Downloads & web-links: match the FAQ item spacing (0.75rem between items) */
.documents .document { margin-bottom:0.75rem; }
.web_links .sn_web_link_container { margin-bottom:0.75rem; }
.documents a.button.document-link,
.web_links a.sn_web_link.button { margin-top:0; }
/* download bars match the FAQ bar height (52px) */
.documents a.button.document-link { min-height:52px; }

/* Carousel image caption — matches the single image block caption */
.dynamic-carousel .imageItemCaption {
	margin-top:1rem;
	font-family:'Montserrat',sans-serif; font-weight:900;
	color:var(--sc-navy); font-size:1.125rem;
}

/* Web link buttons behave like the download buttons (left text, icon right)
   but use the link.svg icon and go to a URL */
.web_links .sn_web_link.button {
	display:flex; align-items:center; justify-content:flex-start; width:100%;
	text-align:left; position:relative;
	padding-right:50px;
	min-height:52px;   /* match the FAQ / download bar height */
}
.web_links .sn_web_link.button::before { display:none; }        /* remove the CTA hover morph */
.web_links .sn_web_link.button::after,
.web_links .sn_web_link.button:hover::after {
	content:""; position:absolute; top:50%; right:18px; transform:translateY(-50%);
	width:20px; height:20px; border-radius:0; flex:none;
	background:#fff;
	-webkit-mask:url("images/link.svg") no-repeat center / contain;
	        mask:url("images/link.svg") no-repeat center / contain;
}

/* Tighter vertical rhythm for the list-style sections (FAQ, downloads, web links) */
.dynamicContent.dynamic-faq,
.dynamicContent.dynamic-documents,
.dynamicContent.dynamic-web_links {
	padding-block:clamp(0.75rem, 1.5vw, 1.25rem);
	margin-top:0;
}

/* ---- Video block: matches the single image block + centred play button ---- */
.dynamic-video_block { position:relative; }
.dynamic-video_block::before {
	content:""; position:absolute; z-index:0; pointer-events:none;
	top:50%; left:-520px; transform:translateY(-50%);
	width:700px; height:642px;
	background:url("images/welcome-tree.svg") no-repeat center / contain;
}
.dynamic-video_block .container { position:relative; z-index:1; max-width:none; }
.dynamic-video_block .sectionTitle { text-align:center; }
.dynamic-video_block .image-item img {
	display:block; width:100%; height:auto;
	aspect-ratio:16 / 9; object-fit:cover;
}
.dynamic-video_block .image-item-inner { position:relative; display:block; }
.dynamic-video_block .playButton {
	position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
	width:110px; height:110px; z-index:2;
	background:url("images/play.svg") no-repeat center / contain;
	transition:transform 300ms ease;
}
.dynamic-video_block .video-button:hover .playButton { transform:translate(-50%,-50%) scale(1.05); }
@media (min-width:768px){
	.dynamic-video_block .sectionTitle,
	.dynamic-video_block .video-block { width:66%; margin-left:16%; }
}

/* ---- Callout: full-bleed navy display band with a wavy top (Figma) ---- */
.callout {
	width:100vw;
	margin-inline:calc(50% - 50vw);
	border-radius:0;
	background:var(--sc-navy);
	overflow:visible;
}
.callout::before {
	content:""; position:absolute; top:-1px; left:0; right:0; z-index:1; pointer-events:none;
	aspect-ratio:1565 / 112;
	background:url("images/events-wave.svg") no-repeat top center;
	background-size:100% 100%;
	transform:scaleY(-1);
}
.callout .calloutContent {
	position:relative; z-index:2;
	padding-block:clamp(4rem, 8vw, 7rem);
}
.callout .calloutText { max-width:74ch; margin-inline:auto; }
.callout .button { margin-top:2rem; }

/* Quote pager: keep space above the dots even when the quote is long */
.quoteContainer .cycle-pager { margin-top:clamp(1.5rem, 3vw, 2.5rem); }

/* Callout: Figma height 721px, content vertically centred; image variant 81% navy overlay */
.callout {
	display:flex; flex-direction:column; justify-content:center; align-items:center;
}
@media (min-width:768px){ .callout { min-height:721px; } }
.callout .calloutContent { width:100%; }
.callout.hasbg .coimg:after { background:rgba(4,45,70,0.81); }

/* Wider callout text area */
.callout .calloutText { max-width:none; }

/* Consecutive callouts overlap into one another (no white gap, no wave between) */
.dynamic-callout + .dynamic-callout { margin-top:-110px; position:relative; z-index:1; }
.dynamic-callout + .dynamic-callout .callout::before { display:none; }

/* Callout band fills its section (no section padding creating an internal white gap) */
.dynamicContent.dynamic-callout { padding-block:0; }

/* All callouts keep the wave shape (incl. the no-image one); the second's wave
   forms the wavy transition where it overlaps the first */
.dynamic-callout + .dynamic-callout .callout::before { display:block; }

/* Overlapping callout: its navy wave rises UP into the previous callout,
   revealing it in the dips (matches Figma) — not a white wave */
.dynamic-callout + .dynamic-callout .callout::before {
	display:block;
	top:auto;
	bottom:100%;
	transform:none;
	background:url("images/footer-wave.svg") no-repeat bottom center;
	background-size:100% 100%;
}

/* Callouts butt together — only the navy wave overlaps up into the previous
   callout (below its content), so the top callout keeps its full height */
.dynamic-callout + .dynamic-callout { margin-top:0; }

/* Equal visible height for a stacked pair: the second callout's navy wave
   overlaps up into the first by the wave's height, covering that much of the
   first's image band. Give the first-of-pair that height back (with matching
   bottom padding so its content stays centred in the visible band above the
   wave) so both callouts read as the same 721px band. */
@media (min-width:768px){
	.dynamic-callout:has(+ .dynamic-callout) .callout{
		min-height:calc(721px + 100vw * 112 / 1565);
		padding-bottom:calc(100vw * 112 / 1565);
	}
}

/* Same idea where the FOOTER overlaps a page-closing callout: give the overlap
   back as height plus matching bottom padding so the visible band reads full and
   its centred content stays centred. Below 768px .callout has no min-height at
   all, so the mobile band is set here too. */
.bodyContent > .dynamic-callout:last-child .callout {
	padding-bottom:var(--scFooterWaveH);
	min-height:calc(650px + var(--scFooterWaveH));
}
@media (min-width:768px){
	.bodyContent > .dynamic-callout:last-child .callout {
		min-height:calc(780px + var(--scFooterWaveH));
	}
}

/* ---- POI: coloured TEXT ring (no-image POIs) — title + description + read more inside the sketchy ring ---- */
.yearGroup--text { max-width: 367px; }
.yearGroup--text .yearGroup__ringText {
	position: relative;
	width: 100%;
	aspect-ratio: 367 / 373;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.yearGroup--text .yearGroup__inner {
	position: relative;
	z-index: 1;
	width: 64%;
	max-width: 64%;
}
.yearGroup--text .yearGroup__title { margin: 0 0 1.1rem; }
.yearGroup--text .yearGroup__desc {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--sc-navy);
	margin: 0 0 1rem;
}
.yearGroup--text .yearGroup__desc p { margin: 0; }
.yearGroup--text .yearGroup__readmore {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.75rem;
	color: var(--sc-navy);
	text-decoration: none;
}
.yearGroup--text .yearGroup__readmore:hover { text-decoration: none; }
/* text rings are static — don't fade the ring/title on hover like the photo circles do */
.yearGroup--text:hover .yearGroup__ring,
.yearGroup--text:hover .yearGroup__title { opacity: 1; }

/* Text-only POI: gently rotate the sketchy ring on hover (keeps the centring transform) */
.yearGroup--text .yearGroup__ring { transition: transform 500ms ease; }
.yearGroup--text:hover .yearGroup__ring { transform: translate(-50%, -50%) rotate(10deg); }

/* Text ring type scales with the ring itself (cqw), not the viewport: at 768-991px
   the ring is only ~216px wide and full-size type pushed the title and Read more
   outside the circle. At the full 367px ring the sizes are unchanged (40/15.2/12px). */
.yearGroup--text .yearGroup__ringText { container-type:inline-size; }
.yearGroup--text .yearGroup__title    { font-size:clamp(1.35rem, 10.9cqw, 2.5rem); margin:0 0 0.85em; }
.yearGroup--text .yearGroup__desc     { font-size:clamp(0.78rem, 4.14cqw, 0.95rem); line-height:1.5; margin:0 0 0.9em; }
.yearGroup--text .yearGroup__readmore { font-size:clamp(0.62rem, 3.27cqw, 0.75rem); }
/* small rings: a little more of the circle's width, tighter rhythm */
@container (max-width:300px){
	.yearGroup--text .yearGroup__inner { width:72%; max-width:72%; }
	.yearGroup--text .yearGroup__title { margin-bottom:0.45em; }
	.yearGroup--text .yearGroup__desc  { line-height:1.35; margin-bottom:0.5em; }
}

/* POI links never underline on hover (overrides the global main a:hover underline) */
.yearGroup a:hover,
.yearGroup__readmore:hover,
a.button.yearGroup__btn:hover { text-decoration: none; }

/* Inner photo POI hover: keep the image visible and rotate the ring (homepage fades
   the image out); the title/subheading still fade so the Explore button reveals in
   their place. Scoped to .yearGroup--photo (inner pages only). */
.yearGroup--photo .yearGroup__ring { transition: transform 500ms ease, opacity 350ms ease; }
/* keep the image + ring visible on hover (homepage fades them out); ring also rotates */
.yearGroup--photo:hover .yearGroup__photo,
.yearGroup--photo:hover .yearGroup__ring { opacity: 1; }
.yearGroup--photo:hover .yearGroup__ring { transform: translate(-50%, -50%) rotate(10deg); }
/* title + subheading still fade so the Explore button reveals in their place */

/* ---------- Gallery GRID: square thumbnails in an items_per_row grid (Figma 10030:157) ---------- */
.galleryGrid {
	display:grid;
	grid-template-columns:repeat(2,1fr);
	gap:24px;
}
@media (min-width:768px){ .galleryGrid { grid-template-columns:repeat(var(--gallery-cols,4),1fr); } }
.galleryGrid__item { display:block; overflow:hidden; line-height:0; }
.galleryGrid__item img {
	width:100%; height:100%;
	aspect-ratio:1 / 1;
	object-fit:cover;
	display:block;
	transition:transform 500ms ease;
}
.galleryGrid__item:hover img { transform:scale(1.05); }

/* ---------- Gallery CAROUSEL: square multi-item, branded dots, no arrows (Figma 10030:156) ---------- */
.dynamic-gallery_carousel .owl-nav { display:none; }
.dynamic-gallery_carousel .scms-carousel .owl-item img {
	aspect-ratio:1 / 1;
	object-fit:cover;
	width:100%; height:auto;
	display:block;
	transition:transform 500ms ease;
}
/* same zoom-on-hover as the gallery grid */
.dynamic-gallery_carousel .scms-carousel .owl-item a.image { display:block; overflow:hidden; line-height:0; }
.dynamic-gallery_carousel .scms-carousel .owl-item a.image:hover img { transform:scale(1.05); }
.dynamic-gallery_carousel .owl-dots { text-align:center; margin-top:1.25rem; }
.dynamic-gallery_carousel .imageItemCaption {
	margin-top:0.75rem;
	font-family:'Montserrat',sans-serif;
	font-weight:900;
	color:var(--sc-navy);
	font-size:1rem;
}

/* One grid holds both styles: list rows span full width, cards take a column. */
.staff { display:grid; grid-template-columns:1fr; gap:2.5rem 1.5rem; align-items:start; }
@media (min-width:561px){ .staff { grid-template-columns:repeat(2,1fr); } }
@media (min-width:901px){ .staff { grid-template-columns:repeat(3,1fr); } }

/* Staff "Read more" = plain text link (not a pill button) */
a.staffReadMore { display:inline-block; margin-top:1rem; font-family:'Montserrat',sans-serif; font-weight:900; text-transform:uppercase; letter-spacing:2px; font-size:0.75rem; color:var(--sc-red); text-decoration:underline; }
a.staffReadMore:hover { color:var(--sc-navy); text-decoration:none; }

/* ---- LIST style (standard) — Figma 10030:158 ---- */
.standard-staff-member { grid-column:1 / -1; border-bottom:none; padding:0; margin:0; }
.standard-staff-member .row { align-items:flex-start; }
.standard-staff-image img { width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; }
.standard-staff-text .staffName { font-family:'Montserrat',sans-serif; font-weight:900; color:var(--sc-navy); font-size:1rem; line-height:1.25rem; margin:0 0 2rem; }
.standard-staff-text .staffName .staffPos { color:var(--sc-blue); }
.staffQuals { font-size:0.95rem; color:var(--sc-navy); margin:0 0 1rem; line-height:1.55; }
.staffQuals__label { font-family:'Montserrat',sans-serif; font-weight:900; }
.staff-biog { font-size:0.95rem; color:var(--sc-navy); line-height:1.6; }

/* ---- CARD-GRID style (featured) — Figma 10030:159 ---- */
.staffCard { position:relative; }
.staffCard__media { position:relative; overflow:hidden; }
.staffCard__media img { display:block; width:100%; height:100%; aspect-ratio:1 / 1; object-fit:cover; }
.staffCard__media::after { content:""; position:absolute; left:0; right:0; bottom:0; height:55%; background:linear-gradient(to top, rgba(4,45,70,0.85), rgba(4,45,70,0)); pointer-events:none; }
.staffCard__label { position:absolute; left:0; bottom:0; z-index:1; padding:40px 20px; color:#fff; }
/* card name + position: same token as the standard staff (Montserrat Black 16/20), white over the image */
.staffCard__label .staffCard__name { color:#fff; font-family:'Montserrat',sans-serif; font-weight:900; font-size:1rem; line-height:1.25rem; margin:0; }
.staffCard__label .staffCard__pos { display:block; color:#fff; font-family:'Montserrat',sans-serif; font-weight:900; font-size:1rem; line-height:1.25rem; margin-top:18px; }
/* red + toggle, centred on the image */
.staffCard__toggle { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:70px; height:70px; margin:0; padding:0; border-radius:50%; background:var(--sc-red); border:0; cursor:pointer; z-index:3; display:flex; align-items:center; justify-content:center; line-height:0; transition:transform 300ms ease, background 300ms ease; }
.staffCard__toggle::before { content:"+"; color:#fff; font-family:'Itim',cursive; font-size:40px; font-weight:400; line-height:1; transform:translateY(-5px); }
.staffCard__toggle:hover { background:var(--sc-navy); }
.staffCard__toggle[aria-expanded="true"] { transform:translate(-50%,-50%) rotate(45deg); background:var(--sc-navy); }
/* expanding detail — white background, narrower, left-aligned (text + photo) */
.staffCard__detail { grid-column:1 / -1; order:1; display:none; position:relative; gap:2.5rem; background:#fff; padding:1.5rem 0; margin-top:1.5rem; flex-direction:column-reverse; align-items:stretch; justify-self:center; max-width:100%; width:100%; }
@media (min-width:701px){ .staffCard__detail { flex-direction:row; align-items:center; max-width:960px; } }
.staffCard__detail.open { display:flex; }

.staffCard__detailText { flex:1 1 50%; }
.staffCard__detailText .staffCard__name { color:var(--sc-navy); font-family:'Montserrat',sans-serif; font-weight:900; font-size:1rem; line-height:1.25rem; margin:0 0 1.25rem; }
.staffCard__detailText .staffCard__pos { display:block; color:var(--sc-blue); font-family:'Montserrat',sans-serif; font-weight:900; font-size:1rem; line-height:1.25rem; margin-bottom:1rem; }
.staffCard__bio { color:var(--sc-navy); line-height:1.6; margin-bottom:1.25rem; }
.staffCard__detailMedia { flex:0 0 45%; }
.staffCard__detailMedia img { width:100%; height:auto; object-fit:cover; }
/* close cross: Itim 40px navy (design H2 token) */
.staffCard__close { position:absolute; top:-50px; right:-50px; width:auto; height:auto; margin:0; padding:0; background:transparent; border:0; cursor:pointer; color:var(--sc-navy); font-family:'Itim',cursive; font-size:40px; font-weight:400; line-height:70px; text-align:center; }
.staffCard__close::before { content:"\00D7"; display:block; }
.staffCard__close:hover { color:var(--sc-red); background:transparent; }

/* ---------- WPForms block: narrower + centred (design 944px) ---------- */
.dynamicContent.dynamic-text:has(.wpforms-container) .col-md {
	max-width:944px;
	margin-left:auto;
	margin-right:auto;
}

/* ---------- External links CAROUSEL: match gallery carousel + lift off footer ---------- */
.dynamic-external_link_carousel .owl-nav { display:none; }
.dynamic-external_link_carousel .scms-carousel .owl-item img {
	aspect-ratio:1 / 1;
	object-fit:cover;
	width:100%;
	height:auto;
	display:block;
}
.dynamic-external_link_carousel .owl-dots { text-align:center; margin-top:1.25rem; }
.dynamic-external_link_carousel { margin-bottom:10rem; }

/* ---------- WPForms submit: match site CTA pill + trailing arrow ---------- */
/* WPForms prints a per-form inline <style> using an #id selector to set these
   custom properties, so they can only be overridden with !important. */
.wpforms-container.wpforms-container-full {
	--wpforms-button-border-radius:10px !important;
	--wpforms-button-size-padding-h:20px !important;
	--wpforms-button-size-height:48px !important;
}
.wpforms-container button.wpforms-submit {
	position:relative;
}
.wpforms-container button.wpforms-submit::after {
	content:"";
	width:26px;
	height:26px;
	flex:none;
	border-radius:50%;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' viewBox='0 0 13 12' fill='none'%3E%3Cpath d='M12.25 5.75151C12.2418 5.59433 12.1818 5.46858 12.1055 5.38999L7.19636 0.412617C6.97 0.195185 6.63182 0.203044 6.42454 0.39166C6.21727 0.580276 6.20636 0.933932 6.40273 1.13303L10.4336 5.22757L0.795454 5.22757C0.495454 5.22757 0.25 5.46334 0.25 5.75151C0.25 6.03967 0.495454 6.27544 0.795454 6.27544L10.4336 6.27544L6.40273 10.3674C6.20636 10.5665 6.22273 10.9123 6.42455 11.1087C6.63182 11.3105 7 11.2869 7.19636 11.0878L12.1055 6.1104C12.2336 5.98204 12.2418 5.87463 12.25 5.74889L12.25 5.75151Z' fill='white' stroke='white' stroke-width='0.5'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
	transition:background-color 300ms;
}
.wpforms-container button.wpforms-submit:hover::after {
	background-color:#fdb913;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' viewBox='0 0 13 12' fill='none'%3E%3Cpath d='M12.25 5.75151C12.2418 5.59433 12.1818 5.46858 12.1055 5.38999L7.19636 0.412617C6.97 0.195185 6.63182 0.203044 6.42454 0.39166C6.21727 0.580276 6.20636 0.933932 6.40273 1.13303L10.4336 5.22757L0.795454 5.22757C0.495454 5.22757 0.25 5.46334 0.25 5.75151C0.25 6.03967 0.495454 6.27544 0.795454 6.27544L10.4336 6.27544L6.40273 10.3674C6.20636 10.5665 6.22273 10.9123 6.42455 11.1087C6.63182 11.3105 7 11.2869 7.19636 11.0878L12.1055 6.1104C12.2336 5.98204 12.2418 5.87463 12.25 5.74889L12.25 5.75151Z' fill='%23042d46' stroke='%23042d46' stroke-width='0.5'/%3E%3C/svg%3E");
}

/* Links: no underline on hover anywhere EXCEPT body-text content links */
main a:hover { text-decoration:none; }
.body-text a:hover { text-decoration:underline; }

/* Carousel dots sit on the same line as the image caption (right aligned).
   The caption lives inside each .owl-item, so the dots are lifted out of flow
   and pinned to the caption's line box:
     bottom = the caption's bottom margin (1rem)
     height = the caption's line box (1.125rem font x 1.625 line-height)
   :has() guard means slideshows without captions keep the dots underneath. */
.dynamic-carousel .scms-carousel:has(.imageItemCaption) { position:relative; }
.dynamic-carousel .scms-carousel:has(.imageItemCaption) .owl-dots {
	position:absolute;
	right:0;
	left:auto;
	bottom:1rem;
	width:auto;
	height:1.828rem;
	margin:0;
	padding:0;
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:4px;
}
/* keep longer captions clear of the dots */
.dynamic-carousel .scms-carousel .item .imageItemCaption { padding-right:90px; }

/* ---- POI carousel (4+ POIs; see initPois in js/scripts.js) ----------------
   Undoes the static row / mobile scroll-snap layout once Owl has taken over. */
.poisYearGroups.owl-loaded {
	display:block;
	position:relative;
	flex-wrap:nowrap;
	overflow-x:visible;
	scroll-snap-type:none;
	text-align:center;
}
.poisYearGroups.owl-loaded .owl-stage { display:flex; align-items:flex-start; }
.poisYearGroups.owl-loaded .owl-item > [class*="col"] { flex:none; max-width:none; width:100%; }
.poisYearGroups.owl-loaded .owl-nav { display:none; }
.poisYearGroups.owl-loaded .owl-dots { text-align:center; margin-top:1.25rem; }
/* single page of POIs: nothing to page through */
.poisYearGroups.owl-loaded:has(.owl-dot:only-child) .owl-dots { display:none; }
.poisYearGroups.owl-loaded .owl-dots .owl-dot { display:inline-block; margin:0 5px; opacity:1; }
.poisYearGroups.owl-loaded .owl-dots .owl-dot span {
	display:inline-block; margin:0;
	width:10px; height:16px; border-radius:0;
	background:url("images/dot.svg") no-repeat center / contain;
}
.poisYearGroups.owl-loaded .owl-dots .owl-dot.active span {
	background:url("images/dot-active.svg") no-repeat center / contain;
}

/* Owl wraps each column in .owl-item, so the ":nth-child(3n)" rotation earlier
   in this file stops matching. The JS stamps poiRotate--1/2/3 on instead. */
.poisYearGroups .poiRotate--1 .yearGroup__ring { background-image:url("images/green-circle.svg"); }
.poisYearGroups .poiRotate--2 .yearGroup__ring { background-image:url("images/yellow-circle.svg"); }
.poisYearGroups .poiRotate--3 .yearGroup__ring { background-image:url("images/blue-circle.svg"); }
.poisYearGroups .poiRotate--1 .yearGroup__sub { color:var(--sc-green); }
.poisYearGroups .poiRotate--2 .yearGroup__sub { color:#fdb913; }
.poisYearGroups .poiRotate--3 .yearGroup__sub { color:var(--sc-blue); }
.poisYearGroups .poiRotate--1 .yearGroup__photo:not(.yearGroup__photo--hover) { transform:translate(calc(-49% + 3px), -49%); }
.poisYearGroups .poiRotate--2 .yearGroup__photo:not(.yearGroup__photo--hover) { transform:translate(calc(-49% - 1px), -55%); width:95%; }
.poisYearGroups .poiRotate--3 .yearGroup__photo:not(.yearGroup__photo--hover) { transform:translate(calc(-49% + 10px), -49%); width:93%; }

/* ---- POIs on touch / phones: no hover state ------------------------------
   :hover sticks after a tap, so the title and subheading vanish behind the
   reveal button. Everything hover-driven is reverted, the button is hidden,
   and instead it is stretched invisibly over the whole card so tapping the
   circle follows the link. */
@media (hover: none), (max-width: 575px) {
	.yearGroup:hover .yearGroup__photo,
	.yearGroup:hover .yearGroup__ring { opacity:1; }
	.yearGroup:hover .yearGroup__photo--hover { opacity:0; }
	.yearGroup:hover .yearGroup__title,
	.yearGroup:hover .yearGroup__sub { opacity:1; }
	.yearGroup--photo:hover .yearGroup__ring,
	.yearGroup--text:hover .yearGroup__ring { transform:translate(-50%, -50%); }

	/* whole card becomes the tap target */
	.yearGroup { position:relative; }
	.yearGroup__text { position:static; }
	.yearGroup a.button.yearGroup__btn,
	.yearGroup:hover a.button.yearGroup__btn {
		position:absolute;
		left:0; top:0; right:0; bottom:0;
		width:auto; height:auto;
		margin:0; padding:0;
		border:0; border-radius:0; box-shadow:none;
		background:transparent !important;
		opacity:1; transform:none; pointer-events:auto;
		font-size:0; line-height:0; color:transparent;
		z-index:3;
	}
	.yearGroup a.button.yearGroup__btn::before,
	.yearGroup a.button.yearGroup__btn::after { content:none; display:none; }
}

/* ==========================================================================
   GTranslate language dropdown
   ========================================================================== */

/* The home page sets pointer-events:none on .headGroup / .headerRight and
   re-enables it per element, so put it back on our own bits. */
.headerTranslate.scTransReady,
.headerTranslate .scTransPanel,
.headerTranslate .scTransList {
	pointer-events: auto;
}

.headerTranslate.scTransReady {
	position: relative;
	cursor: pointer;
}

/* Keep the GTranslate select in the DOM â€” the plugin needs it â€” but take it
   out of the interaction layer; our own button sits on top instead. */
.headerTranslate.scTransReady .gtranslate_wrapper {
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Trigger: an invisible hit area over the "Translate â–¾ ðŸŒ" label
   -------------------------------------------------------------------------- */

.headerTranslate .scTransBtn,
.headerTranslate .scTransBtn:hover,
.headerTranslate .scTransBtn:focus,
.headerTranslate .scTransBtn:active {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 4px;
	background: transparent !important;
	box-shadow: none !important;
	color: transparent !important;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.headerTranslate .scTransBtn:focus-visible {
	outline: 2px solid var(--sc-yellow, #fdb913);
	outline-offset: 6px;
}

/* Caret flips when the panel is open */
.headerTranslate .translateCaret {
	display: inline-block;
	transition: transform 0.2s ease;
}

.headerTranslate.scTransOpen .translateCaret {
	transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   The panel
   -------------------------------------------------------------------------- */

.headerTranslate .scTransPanel {
	position: absolute;
	top: calc(100% + 16px);
	right: 0;
	z-index: 1000;
	min-width: 230px;
	padding: 8px;
	background: var(--sc-navy, #042d46);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	box-shadow: 0 20px 44px rgba(4, 45, 70, 0.38);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	/* visibility must flip instantly on open (so options are focusable) and
	   only on close is it delayed until the fade finishes. */
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.headerTranslate.scTransOpen .scTransPanel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

/* Little pointer up to the trigger */
.headerTranslate .scTransPanel::before {
	content: "";
	position: absolute;
	top: -7px;
	right: 26px;
	width: 12px;
	height: 12px;
	background: var(--sc-navy, #042d46);
	border-left: 1px solid rgba(255, 255, 255, 0.14);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 3px 0 0 0;
	transform: rotate(45deg);
}

/* Invisible bridge so the panel doesn't close as the mouse crosses the gap */
.headerTranslate .scTransPanel::after {
	content: "";
	position: absolute;
	top: -18px;
	right: 0;
	left: 0;
	height: 18px;
}

.headerTranslate .scTransList {
	position: relative;
	max-height: min(70vh, 520px);
	margin: 0;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.headerTranslate .scTransList::-webkit-scrollbar {
	width: 6px;
}

.headerTranslate .scTransList::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.22);
	border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Options
   -------------------------------------------------------------------------- */

.scTransPanel .scTransOpt {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 10px 14px;
	border: 0 !important;
	border-radius: 10px;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--sc-white, #fff) !important;
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.scTransPanel .scTransOpt:hover,
.scTransPanel .scTransOpt:focus-visible {
	background: var(--sc-yellow, #fdb913) !important;
	color: var(--sc-navy, #042d46) !important;
	outline: none;
}

.scTransPanel .scTransOpt[aria-selected="true"] {
	background: rgba(253, 185, 19, 0.16) !important;
	color: var(--sc-yellow, #fdb913) !important;
}

.scTransPanel .scTransOpt[aria-selected="true"]:hover,
.scTransPanel .scTransOpt[aria-selected="true"]:focus-visible {
	background: var(--sc-yellow, #fdb913) !important;
	color: var(--sc-navy, #042d46) !important;
}

/* Tick on the active language */
.scTransPanel .scTransTick {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	margin-left: auto;
	opacity: 0;
}

.scTransPanel .scTransOpt[aria-selected="true"] .scTransTick {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Inside the mobile / side "Quick Links" menu, flip the panel to the left
   so it can't run off the edge of the screen.
   -------------------------------------------------------------------------- */

.sideButtonsMenu .headerTranslate .scTransPanel,
.mobileMenu .headerTranslate .scTransPanel {
	right: auto;
	left: 0;
}

.sideButtonsMenu .headerTranslate .scTransPanel::before,
.mobileMenu .headerTranslate .scTransPanel::before {
	right: auto;
	left: 26px;
}

@media (max-width: 575.98px) {
	.headerTranslate .scTransPanel {
		min-width: 200px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.headerTranslate .scTransPanel,
	.scTransPanel .scTransOpt,
	.headerTranslate .translateCaret {
		transition: none;
	}
}
