/*
 * Structural layout for the Creed House widgets.
 * Colours, fonts, spacing and corners come from each widget's Style tab, not from here.
 */

/* Card + Step */
.elementor-widget-ch-card,
.elementor-widget-ch-step { height: 100%; }
.elementor-widget-ch-card > .elementor-widget-container,
.elementor-widget-ch-step > .elementor-widget-container { height: 100%; }

.ch-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	border-style: solid;
}
.ch-card__body { display: flex; flex-direction: column; gap: inherit; flex: 1 1 auto; }
.ch-card--edge { overflow: hidden; gap: 0; }
.ch-card--edge .ch-card__img,
.ch-card--edge .ch-card__img img { border-radius: 0; }
.ch-card__label,
.ch-card__title,
.ch-step__number,
.ch-card__text p { margin: 0; }
.ch-card__text p + p { margin-top: .75em; }
.ch-card__img img { display: block; width: 100%; object-fit: cover; }
.ch-card:not(.ch-card--edge) .ch-card__img + .ch-card__body { margin-top: 8px; }
.ch-card__link { margin-top: auto; padding-top: 6px; text-decoration: underline; text-underline-offset: 4px; }
.ch-step__number { line-height: 1; }

/* Learning World */
.ch-world { display: flex; align-items: center; }
.ch-world__media,
.ch-world__body { flex: 1 1 0; min-width: 0; }
.ch-world--right .ch-world__media { order: 2; }
.ch-world__media img { display: block; width: 100%; object-fit: cover; }
.ch-world__media,
.ch-world__media img { border-radius: var(--ch-img-radius, 20px); }
.ch-world--arch .ch-world__media,
.ch-world--arch .ch-world__media img { border-top-left-radius: 9999px; border-top-right-radius: 9999px; }
.ch-world-shadow-yes .ch-world__media { box-shadow: 0 25px 50px -20px rgba(47, 66, 51, .22); }
.ch-world__body { display: flex; flex-direction: column; gap: 14px; }
.ch-world__label,
.ch-world__title,
.ch-world__text p { margin: 0; }
.ch-world__text p + p { margin-top: .75em; }

@media (max-width: 767px) {
	.ch-world { flex-direction: column; align-items: stretch; }
	.ch-world__media,
	.ch-world__body { flex: none; }
	.ch-world--right .ch-world__media { order: 0; }
}

/* Hover effects (Style → Hover effect / Zoom image on hover).
   Elementor switches transitions off for visitors who prefer reduced motion. */
.ch-card { transition: transform .35s ease, box-shadow .35s ease; }
.ch-hover-lift .ch-card:hover,
.ch-hover-both .ch-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(47, 66, 51, .28); }
.ch-card__img,
.ch-world__media { overflow: hidden; }
.ch-card__img img,
.ch-world__media img { transition: transform .7s ease; }
.ch-hover-zoom .ch-card:hover .ch-card__img img,
.ch-hover-both .ch-card:hover .ch-card__img img,
.ch-world-zoom-yes .ch-world:hover .ch-world__media img { transform: scale(1.05); }

/* Logo */
.ch-logo-wrap { display: flex; }
.ch-logo { display: block; width: 180px; max-width: 100%; line-height: 0; }
.ch-logo svg,
.ch-logo img { display: block; width: 100%; height: auto; }

/* Badge */
.ch-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border: 1px solid; border-radius: 999px; line-height: 1.3; box-shadow: 0 6px 16px -8px rgba(47, 66, 51, .35); }
.ch-badge__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; }

/* Pop-up form */
html.ch-popup-open { overflow: hidden; }
.ch-popup { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(26, 33, 28, .6); }
.ch-popup[hidden] { display: none; }
.ch-popup__dialog { position: relative; box-sizing: border-box; width: 100%; max-width: 600px; max-height: calc(100vh - 32px); overflow: auto; padding: 32px; border-radius: 24px; background: var(--e-global-color-chcream, #FFF8F0); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); animation: ch-popup-in .35s ease; }
.ch-popup__title { margin: 0 40px 6px 0; }
.ch-popup__intro { margin: 0 0 18px; }
.ch-popup .ch-popup__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(47, 66, 51, .08); color: var(--e-global-color-primary, #2F4233); font: 400 22px/36px sans-serif; text-align: center; cursor: pointer; box-shadow: none; }
.ch-popup .ch-popup__close:hover,
.ch-popup .ch-popup__close:focus { background: rgba(47, 66, 51, .16); color: var(--e-global-color-primary, #2F4233); }
.ch-popup .ff-el-form-control { border-radius: 12px !important; border-color: var(--e-global-color-chborder, #D9D2C4) !important; background: #fff !important; }
.ch-popup .ff-el-group { margin-bottom: 14px; }
.ch-popup .ff-btn-submit { width: 100%; border-radius: 999px !important; padding: 14px 24px !important; font-weight: 600; }
.ch-popup--editing { position: static; display: block; padding: 0; background: none; }
.ch-popup--editing .ch-popup__dialog { max-height: none; margin: 0 auto; animation: none; }
.ch-popup__note { margin: 0 0 12px; font-size: 12px; opacity: .6; }
@keyframes ch-popup-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .ch-popup__dialog { padding: 24px 20px; } }
/* Pop-up on phones and tablets: fits the visible screen (not behind Safari's bars), keeps the close button in view
   while scrolling the form, and sits above the cookie banner and the quick-links bar. */
.ch-popup { z-index: 100001; }
html.ch-popup-open .ch-quick { display: none; }
@media (max-width: 1024px) {
	.ch-popup { padding: max(24px, env(safe-area-inset-top, 0px)) 24px max(24px, env(safe-area-inset-bottom, 0px)); }
	.ch-popup__dialog { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.ch-popup .ch-popup__close { position: sticky; top: 0; float: right; margin: -12px -12px 8px 12px; z-index: 2; background: #EFE9DF; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .25); }
	.ch-popup__title { margin-right: 0; }
}
@media (max-width: 767px) {
	/* Phones: a centred card with space on every side; the form scrolls inside it */
	.ch-popup { align-items: center; padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(32px + env(safe-area-inset-bottom, 0px)); }
	/* Sized to the visible screen with the browser bars showing (svh), so it never runs under Safari's bottom bar */
	.ch-popup__dialog { max-width: none; max-height: 100%; max-height: min(100%, calc(100svh - 72px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))); padding: 22px 20px 24px; border-radius: 22px; animation: ch-popup-in .35s ease; }
	.ch-popup .ch-popup__close { margin: -8px -6px 6px 12px; }
	.ch-popup__intro { margin-bottom: 14px; }
	.ch-popup .fluentform .ff-el-group { margin-bottom: 12px; }
	.ch-popup .fluentform .ff-el-input--label { margin-bottom: 4px; }
	.ch-popup .fluentform .ff-el-input--label label { font-size: 15px; line-height: 1.4; }
	.ch-popup .fluentform .ff-btn-submit { margin-top: 6px; }
	.ch-popup .fluentform input.ff-el-form-control,
	.ch-popup .fluentform select.ff-el-form-control { min-height: 46px; font-size: 16px; }
}

/* Heading with highlight */
.ch-hl { margin: 0; }

/* Smart header (Sticky → Hide when scrolling down) */
.ch-smart-target { transition: transform .35s ease, box-shadow .35s ease; will-change: transform; }
.ch-smart-target.ch-smart-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }
.ch-smart-target.ch-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }

/* Stacking panels (Advanced → Stacking panels) */
.ch-stack-yes > .e-con-inner > .elementor-element,
.ch-stack-yes > .elementor-element { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; padding: 48px 56px; background-color: #FFFFFF; border-radius: 32px 32px 0 0; }
@media (max-width: 1024px) {
	.ch-stack-yes > .e-con-inner > .elementor-element,
	.ch-stack-yes > .elementor-element { padding: 28px 24px; border-radius: 24px; margin-bottom: 16px; }
}
.ch-stack-yes.ch-stack-shadow-yes > .e-con-inner > .elementor-element + .elementor-element,
.ch-stack-yes.ch-stack-shadow-yes > .elementor-element + .elementor-element { box-shadow: 0 -24px 48px -32px var(--ch-stack-shadow, rgba(0, 0, 0, .35)); }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Form fields in the Pop-up and in Fluent Forms widgets: same font everywhere, and dropdowns
   with a brand chevron instead of the browser's default arrow. Applies to any dropdown staff add. */
/* Use the site's Body font (Elementor → Site Settings → Global Fonts) for the whole form. */
.ch-popup .fluentform,
.ch-popup .fluentform .ff-el-input--label label,
.ch-popup .fluentform .ff-btn,
.elementor-widget-fluent-form-widget .fluentform,
.elementor-widget-fluent-form-widget .fluentform .ff-el-input--label label,
.elementor-widget-fluent-form-widget .fluentform .ff-btn { font-family: var(--e-global-typography-text-font-family, 'Nunito'), sans-serif; }
.ch-popup .fluentform .ff-el-form-control,
.elementor-widget-fluent-form-widget .fluentform .ff-el-form-control { font-family: var(--e-global-typography-text-font-family, 'Nunito'), sans-serif; font-size: 15px; color: var(--e-global-color-primary, #2F4234); }
.ch-popup .fluentform .ff-el-form-control::placeholder,
.elementor-widget-fluent-form-widget .fluentform .ff-el-form-control::placeholder { font-family: var(--e-global-typography-text-font-family, 'Nunito'), sans-serif; color: #8A918B; opacity: 1; }
.ch-popup .fluentform select.ff-el-form-control,
.elementor-widget-fluent-form-widget .fluentform select.ff-el-form-control {
	-webkit-appearance: none;
	appearance: none;
	min-height: 46px;
	padding-right: 44px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%232F4234' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 14px 14px !important;
	cursor: pointer;
}
.ch-popup .fluentform select.ff-el-form-control::-ms-expand,
.elementor-widget-fluent-form-widget .fluentform select.ff-el-form-control::-ms-expand { display: none; }
.ch-popup .fluentform .ff-el-form-control:focus,
.elementor-widget-fluent-form-widget .fluentform .ff-el-form-control:focus { border-color: var(--e-global-color-primary, #2F4234) !important; box-shadow: 0 0 0 3px rgba(47, 66, 52, .12) !important; outline: none; }
.ch-popup .fluentform input.ff-el-form-control { min-height: 46px; }

/* ===================== v2 ===================== */

/* Hero banner */
.ch-hero { position: relative; display: flex; align-items: flex-end; min-height: calc(var(--ch-hero-h, 100vh) - var(--ch-hero-space, 0px)); overflow: hidden; color: var(--e-global-color-chcream, #FFF8F0); --ch-hero-shade: .35; }
.ch-hero__media { position: absolute; inset: 0; }
.ch-hero__media img,
.ch-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 22, .55) 0%, rgba(20, 28, 22, 0) 28%), linear-gradient(0deg, rgba(20, 28, 22, calc(var(--ch-hero-shade) + .25)) 0%, rgba(20, 28, 22, var(--ch-hero-shade)) 45%, rgba(20, 28, 22, 0) 80%); }
.ch-hero__inner { --ch-side: 64px; --ch-pad: calc(var(--ch-side) - var(--ch-hero-space, 0px)); position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: calc(1360px + 2 * var(--ch-pad)); margin: 0 auto; padding: 160px var(--ch-pad) 88px; } /* text lines up with the logo and the 1360px page content, with or without the photo frame */
.ch-hero__content { max-width: 760px; }
.ch-hero__kicker, .ch-hero__title, .ch-hero__text { margin: 0; }
.ch-hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ch-hero__kicker::before { content: ""; flex: none; width: 40px; height: 2px; background: var(--e-global-color-chgold, #E8B153); }
.ch-hero__kicker, .ch-hero__title, .ch-hero__text { text-shadow: 0 1px 16px rgba(10, 16, 12, .35); }
.ch-hero__text { margin-top: 22px; max-width: 600px; }
.ch-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ch-hero__btn { display: inline-flex; align-items: center; padding: 15px 28px; border-radius: 999px; font: 600 15px/1 var(--e-global-typography-accent-font-family, 'Nunito'), sans-serif; text-decoration: none; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.ch-hero a.ch-hero__btn--main { background: var(--e-global-color-chgold, #E8B153); color: var(--e-global-color-primary, #2F4234); }
.ch-hero a.ch-hero__btn--main:hover { background: var(--e-global-color-chcream, #FFF8F0); color: var(--e-global-color-primary, #2F4234); }
.ch-hero a.ch-hero__btn--ghost { border: 1px solid rgba(255, 248, 240, .75); color: var(--e-global-color-chcream, #FFF8F0); background: rgba(20, 28, 22, .15); }
.ch-hero a.ch-hero__btn--ghost:hover { background: var(--e-global-color-chcream, #FFF8F0); color: var(--e-global-color-primary, #2F4234); }
.ch-hero--panel .ch-hero__content { padding: 40px 44px 44px; border-radius: 4px; background: var(--e-global-color-primary, #2F4234); max-width: 640px; }
@media (max-width: 1366px) { .ch-hero__inner { --ch-side: 40px; padding: 150px var(--ch-pad) 72px; } }
@media (max-width: 1024px) { .ch-hero__inner { padding: 130px 24px 56px; } }
@media (max-width: 767px) {
	.ch-hero__inner { padding: 120px 20px 40px; }
	.ch-hero__video { display: none; }
	.ch-hero--panel .ch-hero__content { padding: 28px 24px; }
}

/* Numbers */
.ch-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ch-stats__item { padding: 8px 16px; }
.ch-stats-lines-yes .ch-stats__item + .ch-stats__item { padding-left: 28px; border-left: 1px solid rgba(47, 66, 52, .2); }
.ch-stats__number, .ch-stats__label { margin: 0; }
.ch-stats__item { display: flex; flex-direction: column; align-items: var(--ch-stats-items, flex-start); }
.ch-stats__label { margin-top: 10px; max-width: 260px; }
.ch-stats__heading { margin: 8px 0 0; }
.ch-stats__icon { display: inline-flex; width: 88px; height: 88px; margin-bottom: 20px; --ch-ico-main: var(--e-global-color-primary, #2F4234); --ch-ico-accent: var(--e-global-color-chgold, #E8B153); }
.ch-stats__icon svg { width: 100%; height: 100%; }
.ch-stats__icon--lib i { font-size: inherit; }
.ch-ico { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ch-ico__main { stroke: var(--ch-ico-main, currentColor); }
.ch-ico__accent { stroke: var(--ch-ico-accent, currentColor); }
@media (max-width: 1024px) {
	.ch-stats { row-gap: 32px; }
	.ch-stats-lines-yes .ch-stats__item + .ch-stats__item { border-left: 0; padding-left: 0; }
}

/* Letter or quote */
.ch-letter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; margin: 0; align-items: center; }
.ch-letter--portrait { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ch-letter__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.ch-letter__opening, .ch-letter__body { margin: 0; }
.ch-letter__body { margin-top: 20px; padding: 0; border: 0; quotes: none; }
.ch-letter__body p { margin: 0 0 1em; }
.ch-letter figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.ch-letter__link { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
/* Tablets and phones: the portrait goes above the letter, as a wide crop, so the letter keeps the full width. */
@media (max-width: 1024px) { .ch-letter--portrait { grid-template-columns: 1fr; gap: 32px; } .ch-letter--portrait .ch-letter__img img { aspect-ratio: 16 / 9; max-height: 380px; } }
@media (max-width: 767px) { .ch-letter--portrait { gap: 28px; } .ch-letter--portrait .ch-letter__img img { aspect-ratio: 4 / 3; } }

/* Quick links: side tabs on desktop, bottom bar on phones */
.ch-quick { position: fixed; right: 0; top: 50%; z-index: 90; display: flex; flex-direction: column; gap: 2px; transform: translateY(-50%); }
.ch-quick__item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; padding: 14px 6px; border-radius: 10px 0 0 10px; background: var(--e-global-color-primary, #2F4234); color: var(--e-global-color-chcream, #FFF8F0); font: 600 12px/1.2 var(--e-global-typography-text-font-family, 'Nunito'), sans-serif; text-align: center; text-decoration: none; transition: width .2s ease, background-color .2s ease; }
.ch-quick__item:hover { width: 92px; color: var(--e-global-color-chcream, #FFF8F0); filter: brightness(1.12); }
.ch-quick__item--wa { background: var(--e-global-color-chwhatsapp, #25D366) !important; color: #fff !important; }
.ch-quick__icon { font-size: 18px; line-height: 1; }
/* "Show the links once the visitor scrolls past the hero" */
.ch-quick-reveal-yes .ch-quick:not(.is-shown) { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(100%, -50%); }
.ch-quick-reveal-yes .ch-quick.is-ready { transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s; }
.ch-quick-reveal-yes .ch-quick.is-ready.is-shown { transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
@media (max-width: 1024px) { .ch-quick-reveal-yes .ch-quick:not(.is-shown) { transform: translateY(calc(100% + 32px)); } }
@media (prefers-reduced-motion: reduce) { .ch-quick-reveal-yes .ch-quick.is-ready { transition: opacity .2s ease, visibility 0s; } }
.ch-quick__icon svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 1024px) {
	/* A floating bar that stays clear of the screen edge, so iPhone Safari does not stretch it into the toolbar area when scrolling. */
	.ch-quick { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; flex-direction: row; gap: 0; transform: none; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45); }
	.ch-quick__item { flex: 1; width: auto; border-radius: 0; padding: 10px 4px; }
	.ch-quick__item:hover { width: auto; }
	body:has(.ch-quick) { --ch-quick-space: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 767px) {
	/* A slimmer bar on phones: icon beside the label, one line. */
	.ch-quick { left: 16px; right: 16px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 14px; }
	.ch-quick__item { flex-direction: row; justify-content: center; gap: 6px; padding: 13px 4px; font-size: 12px; }
	.ch-quick__icon, .ch-quick__icon svg { font-size: 15px; width: 15px; height: 15px; }
	body:has(.ch-quick) { --ch-quick-space: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* The browser canvas (Safari's bar area, and the bounce past the top and bottom of the page) takes the footer green,
   which matches the dark announcement bar at the top and the footer at the bottom. The page itself stays cream. */
html { background-color: #24332A; }
/* Safari tints its toolbars from the page's background colour, so that colour is the footer green too; the cream you see
   is laid on top as a background layer (it follows Site Settings → Global Colours → Cream). */
html body[class*="elementor-kit-"] { background-color: #24332A; background-image: linear-gradient(var(--e-global-color-chcream, #FFF8F0), var(--e-global-color-chcream, #FFF8F0)); }

/* The quick-links bar and the pop-up float over the page, so on the live site their widget boxes take no room in the
   footer (otherwise the footer adds its gap between links for each, leaving empty space at the end). */
body:not(.elementor-editor-active) .elementor-widget-ch-quick-tabs,
body:not(.elementor-editor-active) .elementor-widget-ch-popup { position: absolute !important; width: 0; height: 0; margin: 0 !important; }

/* While the cookie banner is showing, the quick-links bar waits behind it instead of peeking out; it slides in once the visitor answers. */
@media (max-width: 1024px) {
	body:has(#cookie-notice.cookie-notice-visible) .ch-quick { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Room for the floating bar at the end of the page: added inside the footer, so the footer colour runs to the bottom
   of the screen behind the bar instead of a blank strip of page colour. */
@media (max-width: 1024px) {
	#colophon .e-con.e-parent:last-child::after { content: ""; display: block; flex: 0 0 auto; width: 100%; height: var(--ch-quick-space, 0px); }
}

/* Emblem pattern (Container → Advanced) */
.ch-pattern-yes { position: relative; isolation: isolate; }
.ch-pattern-yes::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("pattern-green.svg") repeat; background-size: var(--ch-pattern-size, 200px); opacity: var(--ch-pattern-opacity, .06); }
.ch-pattern-color-gold::before { background-image: url("pattern-gold.svg"); }
.ch-pattern-color-white::before { background-image: url("pattern-white.svg"); }

/* Logo: white version over a hero */
.ch-logo__alt { display: none; }
.ch-logo__main, .ch-logo__alt { line-height: 0; }

/* Transparent header over a Hero banner */
html.ch-has-hero .ch-smart-target { position: fixed !important; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
html.ch-has-hero .ch-overlay-yes { transition: background-color .35s ease, box-shadow .35s ease; }
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes { background-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.ch-has-hero:not(.ch-past-top) .ch-smart-target { box-shadow: none; }
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .ch-logo__main { display: none; }
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .ch-logo__alt { display: block; }
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) > .hfe-nav-menu > li > a.hfe-menu-item,
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) > .hfe-nav-menu > li > .hfe-has-submenu-container > a.hfe-menu-item,
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .hfe-nav-menu-icon,
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .hfe-nav-menu__toggle { color: var(--ch-overlay-text, var(--e-global-color-chcream, #FFF8F0)) !important; fill: var(--ch-overlay-text, var(--e-global-color-chcream, #FFF8F0)) !important; }
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .hfe-nav-menu-icon svg { fill: var(--ch-overlay-text, var(--e-global-color-chcream, #FFF8F0)) !important; }
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .elementor-button { border-color: rgba(255, 248, 240, .7) !important; color: var(--ch-overlay-text, var(--e-global-color-chcream, #FFF8F0)) !important; }
html.ch-has-hero:not(.ch-past-top) .ch-overlay-yes .elementor-widget-button:last-child .elementor-button { background: var(--ch-overlay-btn, var(--e-global-color-chgold, #E8B153)) !important; border-color: var(--ch-overlay-btn, var(--e-global-color-chgold, #E8B153)) !important; color: var(--e-global-color-primary, #2F4234) !important; }

/* Hero slideshow */
.ch-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.ch-hero__slide.is-active { opacity: 1; }
.ch-hero--kenburns .ch-hero__slide img { transform: scale(1); transition: transform 9s ease-out; }
.ch-hero--kenburns .ch-hero__slide.is-active img { transform: scale(1.08); }
.ch-hero__dots { position: absolute; z-index: 2; right: 40px; bottom: 40px; display: flex; gap: 10px; }
/* (stronger selectors so the site's default button style doesn't turn the dots into pills) */
.ch-hero button.ch-hero__dot { display: block; width: 10px; height: 10px; min-height: 0; padding: 0; margin: 0; border: 1px solid rgba(255, 248, 240, .9); border-radius: 50%; background: transparent; box-shadow: none; cursor: pointer; transition: background-color .3s ease, transform .3s ease; }
.ch-hero button.ch-hero__dot.is-active { background: var(--e-global-color-chcream, #FFF8F0); transform: scale(1.2); }
.ch-hero button.ch-hero__dot:hover,
.ch-hero button.ch-hero__dot:focus { background: rgba(255, 248, 240, .6); }
@media (max-width: 767px) { .ch-hero__dots { right: 20px; bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .ch-hero__slide, .ch-hero--kenburns .ch-hero__slide img { transition: none; transform: none; } }

/* Letter on paper (Letter widget → Show on paper) */
.ch-letter__paper {
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	padding: 64px 72px 72px;
	transform: rotate(-.35deg);
}
/* front sheet */
.ch-letter__paper::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: #FFFDF8;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(180deg, #FFFEFA 0%, #FBF6EC 100%);
	border-radius: 2px;
	box-shadow: 0 1px 1px rgba(60, 45, 20, .06), 0 2px 4px rgba(60, 45, 20, .05), 0 18px 40px -16px rgba(47, 66, 52, .28), 0 40px 80px -40px rgba(0, 0, 0, .25);
}
/* second sheet peeking out behind */
.ch-letter__paper::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #F3EBDC;
	border-radius: 2px;
	box-shadow: 0 10px 30px -14px rgba(47, 66, 52, .25);
	transform: rotate(1.6deg) translate(6px, 6px);
}
.ch-letter__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid rgba(47, 66, 52, .15); }
.ch-letter__logo { display: block; width: 150px; line-height: 0; }
.ch-letter__logo svg { width: 100%; height: auto; }
.ch-letter__address { font-size: 13px; line-height: 1.5; color: var(--e-global-color-secondary, #5E6E60); text-align: right; }
.ch-letter__paper .ch-letter__body p { font-family: var(--e-global-typography-primary-font-family, 'Merriweather'), serif; font-size: 18px; line-height: 1.75; font-weight: 400; }
.ch-letter--signed .ch-letter__name { font-family: 'Mrs Saint Delafield', cursive !important; font-size: 54px !important; font-weight: 400 !important; font-style: normal !important; line-height: 1 !important; letter-spacing: 0 !important; margin-bottom: 2px; }
.ch-letter--signed figcaption, .ch-letter__paper figcaption { margin-top: 32px; }
@media (max-width: 767px) {
	.ch-letter__paper { padding: 36px 24px 40px; transform: none; }
	.ch-letter__paper::before { transform: rotate(1deg) translate(3px, 4px); }
	.ch-letter__head { flex-direction: column; margin-bottom: 28px; }
	.ch-letter__address { text-align: left; }
	.ch-letter__paper .ch-letter__body p { font-size: 19px; }
	.ch-letter--signed .ch-letter__name { font-size: 44px !important; }
}

/* Map with school pin */
.ch-map { position: relative; height: 480px; border-radius: 12px; overflow: hidden; background: #E8E4DA; isolation: isolate; }
.ch-map__canvas { position: absolute; inset: 0; z-index: 0; font-family: inherit; }
.ch-map .ch-map__canvas.maplibregl-map { position: absolute; } /* MapLibre's own CSS would make it position: relative and collapse it */
.ch-map .maplibregl-ctrl-group { border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); border-radius: 8px; overflow: hidden; }
.ch-map .maplibregl-ctrl-group button { width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background-color: #fff; box-shadow: none; }
.ch-map .maplibregl-ctrl-group button + button { border-top: 1px solid #E6E0D6; }
.ch-map .maplibregl-ctrl-group button:hover { background-color: #F4EEE3; }
.ch-map .maplibregl-ctrl-attrib { font-size: 10px; }
.ch-map .maplibregl-ctrl-attrib.maplibregl-compact { background: rgba(255, 255, 255, .8); }
.ch-map .maplibregl-cooperative-gesture-screen { font-family: inherit; font-size: 15px; background: rgba(36, 51, 42, .55); }
.ch-map__pin { width: 46px; height: 56px; cursor: pointer; }
.ch-map__pin img { display: block; width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 6px 16px rgba(36, 51, 42, .35); }
.ch-map__pin::after { content: ""; position: absolute; left: 50%; top: 44px; margin-left: -8px; border: 8px solid transparent; border-top: 10px solid var(--e-global-color-primary, #2F4233); border-bottom: 0; }
.ch-map__popup .maplibregl-popup-content { padding: 12px 16px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: 14px; line-height: 1.4; color: var(--e-global-color-text, #3A413C); font-family: inherit; }
.ch-map__popup strong { display: block; color: var(--e-global-color-primary, #2F4234); font-size: 15px; }
.ch-map--offline { background: #EFE7DA; }
.ch-map .ch-map__directions { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; background: var(--e-global-color-primary, #2F4234); color: var(--e-global-color-chcream, #FFF8F0); border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: background-color .2s; }
.ch-map .ch-map__directions:hover, .ch-map .ch-map__directions:focus { background: var(--e-global-color-chforestdark, #24332A); color: var(--e-global-color-chcream, #FFF8F0); }

/* Latest news: cards, list and carousel */
.ch-news { --ch-news-cols: 3; --ch-news-gap: 28px; display: grid; grid-template-columns: repeat(var(--ch-news-cols), minmax(0, 1fr)); gap: var(--ch-news-gap); }
.ch-news__item { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 12px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; height: 100%; }
/* Lift on hover: Latest news → Style → Cards */
.ch-news-lift-yes .ch-news__item:hover,
.ch-news-lift-yes .ch-news__item:focus-within { transform: translateY(calc(-1 * var(--ch-news-lift, 8px))); box-shadow: 0 22px 40px -20px var(--ch-news-shadow, rgba(36, 51, 42, .32)); }
.ch-news__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ch-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ch-news-zoom-yes .ch-news__item:hover .ch-news__img img { transform: scale(1.04); }
.ch-news__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.ch-news__date { margin: 0; font-size: 14px; }
.ch-news__title { margin: 0; }
.ch-news__title a { color: inherit; text-decoration: none; }
.ch-news__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ch-news__excerpt { margin: 0; }
.ch-news__more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; }
.ch-news__more:hover { text-decoration: underline; }
.ch-news__pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ch-news__pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px; color: var(--e-global-color-primary, #2F4234); text-decoration: none; font-weight: 600; }
.ch-news__pages .page-numbers.current, .ch-news__pages a.page-numbers:hover { background: var(--e-global-color-primary, #2F4234); color: var(--e-global-color-chcream, #FFF8F0); }
.ch-news__empty { margin: 0; opacity: .8; }
.ch-news--list { grid-template-columns: minmax(0, 1fr); }
.ch-news--list .ch-news__item { flex-direction: row; }
.ch-news--list .ch-news__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
@media (max-width: 767px) { .ch-news--list .ch-news__item { flex-direction: column; } .ch-news--list .ch-news__img { aspect-ratio: 3 / 2; min-height: 0; } }
.ch-news-carousel { position: relative; }
.ch-news--carousel { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - (var(--ch-news-cols) - 1) * var(--ch-news-gap)) / var(--ch-news-cols)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: calc(var(--ch-news-lift, 8px) + 4px) 0 28px; margin-top: calc(-1 * (var(--ch-news-lift, 8px) + 4px)); margin-bottom: -20px; outline-offset: 6px; }
.ch-news--carousel::-webkit-scrollbar { display: none; }
.ch-news__slide { scroll-snap-align: start; min-width: 0; }
.ch-news-carousel__arrows { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.ch-news-carousel .ch-news-carousel__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-height: 0; padding: 0; border: 1px solid var(--e-global-color-chborder, #DDE1DA); border-radius: 50%; background: #fff; color: var(--e-global-color-primary, #2F4234); stroke: currentColor; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ch-news-carousel__btn svg { width: 20px; height: 20px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ch-news-carousel__btn[hidden], .ch-news-carousel__dots[hidden] { display: none !important; }
.ch-news-carousel__dots { position: absolute; left: 0; bottom: 14px; display: flex; gap: 8px; }
.ch-news-carousel__arrows + .ch-news-carousel__dots { bottom: 20px; }
.ch-news-carousel__dots:only-child, .ch-news--carousel + .ch-news-carousel__dots { position: static; justify-content: center; margin-top: 20px; }
.ch-news-carousel .ch-news-carousel__dot { width: 9px; height: 9px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: var(--e-global-color-chborder, #DDE1DA); cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.ch-news-carousel .ch-news-carousel__dot[aria-selected="true"] { background: var(--e-global-color-primary, #2F4234); transform: scale(1.25); }

/* News article (Article widgets and the built-in layout) */
.ch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--e-global-color-secondary, #5E6E60); }
.ch-meta__cat { color: var(--e-global-color-accent, #A8781F); text-decoration: none; font-weight: 600; }
.ch-meta__cat:hover { text-decoration: underline; }
.ch-meta__sep { opacity: .6; }
.ch-article-title { margin: 0; }
.ch-article-image { margin: 0; }
.ch-article-image img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 12px; }
.ch-article-image figcaption { margin-top: 10px; font-size: 14px; color: var(--e-global-color-secondary, #5E6E60); }
.ch-article-text { max-width: 720px; font-size: 18px; line-height: 1.75; }
.ch-article-text > *:first-child { margin-top: 0; }
.ch-article-text p, .ch-article-text ul, .ch-article-text ol { margin: 0 0 1.2em; }
.ch-article-text :is(h2, h3, h4) { margin: 1.6em 0 .5em; color: var(--e-global-color-primary, #2F4234); }
.ch-article-text a { color: var(--e-global-color-accent, #A8781F); text-underline-offset: 3px; }
.ch-article-text img { max-width: 100%; height: auto; border-radius: 10px; }
.ch-article-text blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--e-global-color-chgold, #E8B153); font-family: var(--e-global-typography-primary-font-family, 'Merriweather'), serif; font-size: 1.15em; line-height: 1.4; }
.ch-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ch-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-share__link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--e-global-color-chsand, #F5ECDF); fill: var(--e-global-color-primary, #2F4234); transition: background-color .2s ease, fill .2s ease; }
.ch-share__link svg { width: 18px; height: 18px; fill: inherit; }
.ch-share__link:hover { background: var(--e-global-color-primary, #2F4234); fill: var(--e-global-color-chcream, #FFF8F0); }
.ch-share__done { font-size: 14px; color: var(--e-global-color-secondary, #5E6E60); }
.ch-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--e-global-color-chborder, #DDE1DA); }
.ch-postnav__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--e-global-color-primary, #2F4234); }
.ch-postnav__item--next { text-align: right; }
.ch-postnav__label { font-size: 14px; color: var(--e-global-color-secondary, #5E6E60); }
.ch-postnav__item:hover .ch-postnav__title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) { .ch-postnav { grid-template-columns: 1fr; } .ch-postnav__item--next { text-align: left; } .ch-article-text { font-size: 17px; } }
.ch-listing-title h1 { margin: 0; }
.ch-listing-title__desc { margin-top: 12px; }

/* Built-in news layouts (used when no Elementor layout is chosen) */
.ch-news-page .ch-article, .ch-news-page .ch-listing, .ch-news-page .ch-article-related { width: min(1200px, 100% - 48px); margin: 0 auto; }
.ch-news-page .ch-article { display: flex; flex-direction: column; gap: 32px; max-width: 820px; padding: 64px 0 56px; }
.ch-news-page .ch-article__head { display: flex; flex-direction: column; gap: 16px; }
.ch-news-page .ch-article__title, .ch-news-page .ch-listing__title { margin: 0; font-family: var(--e-global-typography-chh1-font-family, var(--e-global-typography-primary-font-family, 'Merriweather')), serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 500; color: var(--e-global-color-primary, #2F4234); }
.ch-news-page .ch-article__back { margin: 0; }
.ch-news-page .ch-article__back a { font-weight: 600; text-decoration: none; color: var(--e-global-color-accent, #A8781F); }
.ch-news-page .ch-article__foot { display: flex; flex-direction: column; gap: 36px; }
.ch-news-page .ch-article-related { padding: 56px 0 120px; border-top: 1px solid var(--e-global-color-chborder, #DDE1DA); }
.ch-news-page .ch-article-related__title { margin: 0 0 28px; font-family: var(--e-global-typography-primary-font-family, 'Merriweather'), serif; font-weight: 700; font-size: 28px; color: var(--e-global-color-primary, #2F4234); }
.ch-news-page .ch-listing { padding: 64px 0 120px; }
.ch-news-page .ch-listing__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
@media (max-width: 1024px) { .ch-news-page .ch-news { --ch-news-cols: 2; } }
@media (max-width: 767px) { .ch-news-page .ch-news { --ch-news-cols: 1; } .ch-news-page .ch-article { padding-top: 40px; } .ch-news--carousel { grid-auto-columns: 86%; } }

/* Term dates */
.ch-terms { margin: 0; }
.ch-terms__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.2fr); gap: 8px 32px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--e-global-color-chborder, #DDE1DA); }
.ch-terms__row:last-child { border-bottom: 1px solid var(--e-global-color-chborder, #DDE1DA); border-bottom-color: inherit; }
.ch-terms__term, .ch-terms__dates, .ch-terms__note { margin: 0; }
.ch-terms__note:empty { display: none; }
@media (max-width: 767px) {
	.ch-terms__row { grid-template-columns: 1fr; padding: 20px 0; }
}

/* Navigation Menu → Layout → Equal-width boxes (Creed House) */
.ch-boxes-yes ul.hfe-nav-menu::before, .ch-boxes-yes ul.hfe-nav-menu::after { display: none !important; content: none !important; }
.ch-boxes-yes ul.hfe-nav-menu { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; border: 1px solid var(--ch-boxes-line, rgba(255,248,240,.16)); border-radius: var(--ch-boxes-radius, 10px); overflow: hidden; }
.ch-boxes-yes ul.hfe-nav-menu > li { display: flex; justify-content: center; margin: 0 !important; box-shadow: -1px -1px 0 0 var(--ch-boxes-line, rgba(255,248,240,.16)); }
.ch-boxes-yes ul.hfe-nav-menu > li > a { width: 100%; justify-content: center; text-align: center; transition: background-color .2s ease; }
.ch-boxes-yes ul.hfe-nav-menu > li > a:hover { background: var(--ch-boxes-hover, rgba(255,248,240,.06)); }

/* Learning World card styles (Style → Card style) */
.ch-world-style-split .ch-world,
.ch-world-style-photo .ch-world,
.ch-world-style-offset .ch-world { border-radius: var(--ch-card-radius, 28px); overflow: hidden; }
.ch-world-style-split .ch-world, .ch-world-style-photo .ch-world { border-radius: var(--ch-card-radius, 0px); overflow: hidden; }
.ch-world-style-split .ch-world__media,
.ch-world-style-split .ch-world__media img,
.ch-world-style-photo .ch-world__media,
.ch-world-style-photo .ch-world__media img { border-radius: 0 !important; box-shadow: none !important; }
/* Half photo, half colour */
.ch-world-style-split .ch-world { gap: 0 !important; align-items: stretch; min-height: 520px; background: var(--ch-card-bg, #2F4234); }
.ch-world-style-split .ch-world__media { position: relative; min-height: 320px; }
/* The photo fills its half without setting the card's height, so tall photos don't make the card taller. */
.ch-world-style-split .ch-world__media img { position: absolute; inset: 0; height: 100% !important; }
.ch-world-style-split .ch-world__body { justify-content: center; padding: 64px 72px; }
/* Full photo with text box */
.ch-world-style-photo .ch-world { position: relative; display: block; min-height: 560px; }
.ch-world-style-photo .ch-world__media { position: absolute; inset: 0; }
.ch-world-style-photo .ch-world__media img { height: 100% !important; }
.ch-world-style-photo .ch-world__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36, 51, 42, var(--ch-photo-shade, .35)), rgba(36, 51, 42, 0) 55%); pointer-events: none; }
.ch-world-style-photo .ch-world__body { position: absolute; left: var(--ch-box-offset, 40px); bottom: var(--ch-box-offset, 40px); z-index: 1; max-width: var(--ch-box-width, 470px); padding: 36px 40px; background: var(--ch-box-bg, #FFF8F0); border-radius: var(--ch-box-radius, 20px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); }
.ch-world-style-photo .ch-world--right .ch-world__body { left: auto; right: var(--ch-box-offset, 40px); }
/* Photo with colour block */
.ch-world-style-offset .ch-world { padding: 64px 72px 80px; background: var(--ch-card-bg, #F5ECDF); }
.ch-world-style-offset .ch-world__media { position: relative; overflow: visible; box-shadow: none !important; }
.ch-world-style-offset .ch-world__media::before { content: ""; position: absolute; inset: var(--ch-block-offset, 28px) calc(-1 * var(--ch-block-offset, 28px)) calc(-1 * var(--ch-block-offset, 28px)) var(--ch-block-offset, 28px); background: var(--ch-block-bg, #A9BBA4); border-radius: inherit; }
.ch-world-style-offset .ch-world--right .ch-world__media::before { inset: var(--ch-block-offset, 28px) var(--ch-block-offset, 28px) calc(-1 * var(--ch-block-offset, 28px)) calc(-1 * var(--ch-block-offset, 28px)); }
.ch-world-style-offset .ch-world__media img { position: relative; z-index: 1; }
/* Inside stacking panels the card fills the whole panel */
.ch-stack-yes > .e-con-inner > .elementor-element:is(.ch-world-style-split, .ch-world-style-photo, .ch-world-style-offset, .ch-world-style-framed),
.ch-stack-yes > .elementor-element:is(.ch-world-style-split, .ch-world-style-photo, .ch-world-style-offset, .ch-world-style-framed) { padding: 0 !important; overflow: hidden; justify-content: stretch; }
.ch-stack-yes > .e-con-inner > .elementor-element:is(.ch-world-style-split, .ch-world-style-photo, .ch-world-style-offset, .ch-world-style-framed) > .elementor-widget-container,
.ch-stack-yes > .elementor-element:is(.ch-world-style-split, .ch-world-style-photo, .ch-world-style-offset, .ch-world-style-framed) > .elementor-widget-container { flex: 1; display: flex; flex-direction: column; }
.ch-stack-yes .elementor-element:is(.ch-world-style-split, .ch-world-style-photo, .ch-world-style-offset) .ch-world { flex: 1; border-radius: 0; }
@media (max-width: 1024px) {
	.ch-world-style-split .ch-world__body { padding: 40px 36px; }
	.ch-world-style-offset .ch-world { padding: 40px 36px 56px; }
}
@media (max-width: 767px) {
	.ch-world-style-split .ch-world, .ch-world-style-photo .ch-world { min-height: 0; }
	.ch-world-style-split .ch-world__media { min-height: 0; }
	.ch-world-style-split .ch-world__media img { position: relative; inset: auto; height: 260px !important; }
	.ch-world-style-split .ch-world__body { padding: 28px 24px 32px; }
	.ch-world-style-photo .ch-world { display: flex; flex-direction: column; background: var(--ch-box-bg, #FFF8F0); }
	.ch-world-style-photo .ch-world__media { position: relative; }
	.ch-world-style-photo .ch-world__media img { height: 280px !important; }
	.ch-world-style-photo .ch-world__body, .ch-world-style-photo .ch-world--right .ch-world__body { position: relative; left: auto; right: auto; bottom: auto; max-width: none; padding: 28px 24px 32px; border-radius: 0; box-shadow: none; }
	.ch-world-style-offset .ch-world { padding: 24px 24px 32px; gap: 40px !important; }
	.ch-world-style-offset .ch-world__media::before, .ch-world-style-offset .ch-world--right .ch-world__media::before { inset: 14px -10px -14px 10px; }
}

/* Legal links in the footer bottom row (navigation menu with the CSS class "ch-legal") */
.ch-legal ul.hfe-nav-menu { flex-wrap: wrap; row-gap: 4px; }
.ch-legal ul.hfe-nav-menu > li:last-child > a { padding-right: 0 !important; }
@media (max-width: 767px) { .ch-legal ul.hfe-nav-menu > li:first-child > a { padding-left: 0 !important; } }

/* Image Carousel: arrows sit over the photos, dots below */
.elementor-widget-image-carousel .elementor-image-carousel-caption { margin-top: 12px; }
.elementor-widget-image-carousel .elementor-swiper-button { top: calc(50% - 42px); }
.elementor-widget-image-carousel .swiper-pagination { position: static; margin-top: 24px; }

/* Step photos widget: one photo per accordion step, cross-fading */
.ch-step-photos { position: relative; overflow: hidden; height: 640px; border-radius: 8px; }
.ch-step-photos__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform 1.2s ease; }
.ch-step-photos__img.is-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ch-step-photos__img { transition: none; transform: none; } }

/* Numbers and highlights: scroll-in animation (switch in the widget's Content tab).
   assets/stats.js adds .is-armed when the widget loads and .is-in when it scrolls into view. */
.ch-stats.is-armed .ch-stats__item { --d: calc(var(--i, 0) * var(--ch-stats-stagger, .2s)); }
.ch-stats.is-armed .ch-stats__item > :not(.ch-stats__icon) { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d) + var(--ch-stats-draw, 1.4s) * .45); }
.ch-stats.is-armed .ch-stats__item > :not(.ch-stats__icon):nth-child(n+3) { transition-delay: calc(var(--d) + var(--ch-stats-draw, 1.4s) * .45 + .12s); }
.ch-stats.is-armed .ch-stats__icon { transition: transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d); transform: translateY(8px); }
.ch-stats.is-armed .ch-stats__icon--lib { opacity: 0; transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d); }
.ch-stats.is-armed .ch-ico :is(path, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--ch-stats-draw, 1.4s) cubic-bezier(.45, 0, .2, 1) var(--d); }
.ch-stats.is-armed .ch-ico__accent :is(path, circle) { transition-delay: calc(var(--d) + var(--ch-stats-draw, 1.4s) * .4); }
.ch-stats.is-in .ch-stats__item > :not(.ch-stats__icon), .ch-stats.is-in .ch-stats__icon { opacity: 1; transform: none; }
.ch-stats.is-in .ch-ico :is(path, circle) { stroke-dashoffset: 0; }
.ch-stats.is-armed:not(.is-in) .ch-stats__item, .ch-stats.is-armed:not(.is-in) .ch-stats__item * { transition: none !important; }

/* Lift on hover (container → Advanced → Lift on hover) */
.ch-lift-yes { transition: transform var(--ch-lift-speed, .4s) cubic-bezier(.2, .7, .2, 1), box-shadow var(--ch-lift-speed, .4s) ease; }
.ch-lift-yes img { transition: box-shadow var(--ch-lift-speed, .4s) ease; }
.ch-lift-yes:hover { transform: translateY(calc(-1 * var(--ch-lift, 8px))); }
.ch-lift-shadow-images:hover img { box-shadow: 0 24px 40px -20px var(--ch-lift-shadow, rgba(36, 51, 42, .35)); }
.ch-lift-shadow-card:hover { box-shadow: 0 28px 50px -24px var(--ch-lift-shadow, rgba(36, 51, 42, .35)); }
@media (prefers-reduced-motion: reduce) {
	.ch-lift-yes, .ch-lift-yes img { transition: none; }
	.ch-lift-yes:hover { transform: none; }
}

/* Buttons: "Lift (Creed House)" hover animation, and the Hero banner's buttons */
.elementor-animation-ch-lift,
.ch-hero-lift-yes .ch-hero__btn { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.elementor-animation-ch-lift:hover, .elementor-animation-ch-lift:focus-visible,
.ch-hero-lift-yes .ch-hero__btn:hover, .ch-hero-lift-yes .ch-hero__btn:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(36, 51, 42, .55); }
.elementor-animation-ch-lift:active, .ch-hero-lift-yes .ch-hero__btn:active { transform: translateY(-1px); box-shadow: 0 6px 12px -8px rgba(36, 51, 42, .5); transition-duration: .1s; }
@media (prefers-reduced-motion: reduce) {
	.elementor-animation-ch-lift:hover, .ch-hero-lift-yes .ch-hero__btn:hover { transform: none; }
}

/* Form submit buttons rise on hover (Fluent Forms widget and Pop-up form → Style → submit button switch) */
.ch-btn-lift-yes .ff-btn-submit { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease !important; }
.ch-btn-lift-yes .ff-btn-submit:not([disabled]):hover,
.ch-btn-lift-yes .ff-btn-submit:not([disabled]):focus-visible { transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(36, 51, 42, .55); }
.ch-btn-lift-yes .ff-btn-submit:not([disabled]):active { transform: translateY(-1px); box-shadow: 0 6px 12px -8px rgba(36, 51, 42, .5); transition-duration: .1s !important; }
@media (prefers-reduced-motion: reduce) {
	.ch-btn-lift-yes .ff-btn-submit:hover { transform: none; }
}

/* Button widget: size the widget to the button itself, so a button lines up with text beside it
   (Elementor's wrapper otherwise adds a line of body-text height around the button). */
.elementor-widget-button, .elementor-widget-button .elementor-button-wrapper { line-height: 0; }
.elementor-widget-button .elementor-button { vertical-align: top; }

@media (prefers-reduced-motion: reduce) {
	.ch-news-lift-yes .ch-news__item:hover, .ch-news-lift-yes .ch-news__item:focus-within { transform: none; }
}

/* Learning World: icon and short list */
.ch-world__icon { display: inline-flex; width: 56px; height: 56px; margin-bottom: 4px; --ch-ico-main: var(--e-global-color-primary, #2F4234); --ch-ico-accent: var(--e-global-color-chgold, #E8B153); }
.ch-world__icon svg { width: 100%; height: 100%; }
.ch-world__points { list-style: none; margin: 10px 0 0; padding: 0; max-width: 460px; --ch-points-marker: var(--e-global-color-chgold, #E8B153); }
.ch-world__points li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.ch-world__points li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.ch-world__points li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ch-points-marker); }
/* Framed photo, slightly tilted */
.ch-world-style-framed .ch-world { border-radius: var(--ch-card-radius, 28px); padding: 64px 80px; background: var(--ch-card-bg, #DFE6DA); }
.ch-world-style-framed .ch-world__media { overflow: visible; padding: 14px 14px 52px; background: var(--ch-frame-bg, #FFFFFF); border-radius: 6px !important; box-shadow: 0 30px 50px -28px rgba(36, 51, 42, .45) !important; transform: rotate(var(--ch-frame-tilt, 2.5deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ch-world-style-framed .ch-world--left .ch-world__media { transform: rotate(calc(-1 * var(--ch-frame-tilt, 2.5deg))); }
.ch-world-style-framed .ch-world__media img { border-radius: 3px !important; }
.ch-world-style-framed .ch-world:hover .ch-world__media { transform: rotate(0deg); }
.ch-world-style-framed.ch-world-zoom-yes .ch-world:hover .ch-world__media img { transform: none; }
@media (max-width: 1024px) { .ch-world-style-framed .ch-world { padding: 40px 36px; } }
@media (max-width: 767px) {
	.ch-world-style-framed .ch-world { padding: 32px 24px 36px; }
	.ch-world-style-framed .ch-world__media { padding: 10px 10px 36px; }
}
@media (prefers-reduced-motion: reduce) { .ch-world-style-framed .ch-world__media { transition: none; } }
/* Inside stacking panels, styled Learning World cards fill the whole panel */
.ch-stack-yes .elementor-element:is(.ch-world-style-split, .ch-world-style-photo, .ch-world-style-offset, .ch-world-style-framed) > .ch-world,
.ch-stack-yes .elementor-element:is(.ch-world-style-split, .ch-world-style-photo, .ch-world-style-offset, .ch-world-style-framed) > .elementor-widget-container > .ch-world { flex: 1 1 auto; }

/* ---------- Photo mosaic ---------- */
.ch-mosaic { --ch-mosaic-h: 290px; --ch-mosaic-gap: 20px; --ch-mosaic-radius: 20px; --ch-mosaic-cols: 4; display: grid; gap: var(--ch-mosaic-gap); grid-template-columns: repeat(var(--ch-mosaic-cols), minmax(0, 1fr)); grid-auto-rows: var(--ch-mosaic-h); }
.ch-mosaic-layout-mosaic .ch-mosaic, .ch-mosaic-layout-mosaic-right .ch-mosaic { grid-template-columns: 1.25fr 1fr 1fr; }
.ch-mosaic-layout-mosaic .ch-mosaic__item:first-child { grid-row: span 2; }
.ch-mosaic-layout-mosaic .ch-mosaic__item:nth-child(2) { grid-column: span 2; }
.ch-mosaic-layout-mosaic-right .ch-mosaic { grid-template-columns: 1fr 1fr 1.25fr; }
.ch-mosaic-layout-mosaic-right .ch-mosaic__item:first-child { grid-column: 3; grid-row: 1 / span 2; }
.ch-mosaic-layout-mosaic-right .ch-mosaic__item:nth-child(2) { grid-column: 1 / span 2; grid-row: 1; }
.ch-mosaic-layout-mosaic-right .ch-mosaic__item:nth-child(3) { grid-column: 1; grid-row: 2; }
.ch-mosaic-layout-mosaic-right .ch-mosaic__item:nth-child(4) { grid-column: 2; grid-row: 2; }
.ch-mosaic__item { position: relative; display: flex; flex-direction: column; margin: 0; min-height: 0; text-decoration: none; color: inherit; --ch-mosaic-shade-color: #24332A; }
.ch-mosaic__media { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: var(--ch-mosaic-radius); background: rgba(36, 51, 42, .08); }
.ch-mosaic-arch-yes:not(.ch-mosaic-layout-row) .ch-mosaic__item:first-child .ch-mosaic__media { border-top-left-radius: 9999px; border-top-right-radius: 9999px; }
.ch-mosaic .ch-mosaic__media .ch-mosaic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.ch-mosaic-zoom-yes .ch-mosaic__item:hover .ch-mosaic__img { transform: scale(1.05); }
.ch-mosaic__caption { display: flex; flex-direction: column; gap: 4px; }
.ch-mosaic__note { opacity: .9; }
.ch-mosaic-caption-over .ch-mosaic__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--ch-mosaic-shade-color) calc(var(--ch-mosaic-shade, .7) * 100%), transparent) 0%, transparent 65%); pointer-events: none; }
.ch-mosaic-caption-over .ch-mosaic__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px 26px; }
.ch-mosaic-caption-over .ch-mosaic__item:first-child .ch-mosaic__caption { padding: 36px 40px; }
.ch-mosaic-caption-below .ch-mosaic__caption { padding-top: 12px; }
.ch-mosaic-caption-below .ch-mosaic__item { grid-row-end: span 1; }
.ch-mosaic.is-armed .ch-mosaic__item { opacity: 0; transform: translateY(28px); transition: opacity .8s ease calc(var(--i, 0) * .12s), transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * .12s); }
.ch-mosaic.is-armed:not(.is-in) .ch-mosaic__item { transition: none !important; }
.ch-mosaic.is-in .ch-mosaic__item { opacity: 1; transform: none; }
@media (max-width: 1024px) {
	.ch-mosaic-layout-mosaic .ch-mosaic, .ch-mosaic-layout-mosaic-right .ch-mosaic { grid-template-columns: 1fr 1fr; }
	.ch-mosaic-layout-mosaic .ch-mosaic__item:first-child, .ch-mosaic-layout-mosaic-right .ch-mosaic__item:first-child { grid-column: 1 / -1; grid-row: span 1; }
	.ch-mosaic-layout-mosaic .ch-mosaic__item:nth-child(2), .ch-mosaic-layout-mosaic-right .ch-mosaic__item:nth-child(2) { grid-column: 1 / -1; }
	.ch-mosaic-layout-mosaic-right .ch-mosaic__item:nth-child(n) { grid-row: auto; }
	.ch-mosaic-layout-mosaic-right .ch-mosaic__item:nth-child(3), .ch-mosaic-layout-mosaic-right .ch-mosaic__item:nth-child(4) { grid-column: auto; }
	.ch-mosaic-arch-yes .ch-mosaic__item:first-child .ch-mosaic__media { border-top-left-radius: var(--ch-mosaic-radius) !important; border-top-right-radius: var(--ch-mosaic-radius) !important; }
}
@media (max-width: 767px) {
	.ch-mosaic-layout-mosaic .ch-mosaic, .ch-mosaic-layout-mosaic-right .ch-mosaic { grid-template-columns: 1fr; }
	.ch-mosaic-caption-over .ch-mosaic__caption, .ch-mosaic-caption-over .ch-mosaic__item:first-child .ch-mosaic__caption { padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .ch-mosaic__img { transition: none; } }

/* Keep hidden "Read more about…" labels inside the news carousel, so phones cannot scroll sideways past the page */
.ch-news { position: relative; }
.ch-news__more { position: relative; }
/* The closed phone menu is invisible but its links still stick out to the right of the menu button; clip them so the page does not scroll sideways */
.hfe-nav-menu nav.hfe-dropdown { overflow: hidden; }

/* Phones and tablets: never taller than the visible screen (100vh ignores the browser toolbars, which hid the bottom of the hero) */
@supports (height: 100svh) {
	@media (max-width: 1024px) {
		.ch-hero { min-height: min(calc(var(--ch-hero-h, 100vh) - var(--ch-hero-space, 0px)), calc(100svh - var(--ch-hero-space, 0px) - var(--wp-admin--admin-bar--height, 0px))); }
	}
}

/* Fonts: photo captions are plain text in the body font (the theme made them italic), and the cookie banner uses the site font, not the system font. */
figcaption, .elementor-image-carousel-caption, .wp-caption-text { font-style: normal; }
#cookie-notice, #cookie-notice .cn-text-container, #cookie-notice .cn-button:not(.cn-button-custom) { font-family: var(--e-global-typography-text-font-family, 'Nunito'), sans-serif; }

/* Photo mosaic: linked photos show a small arrow after the caption, which moves on hover. */
.ch-mosaic a.ch-mosaic__item .ch-mosaic__title::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .3s ease; }
.ch-mosaic a.ch-mosaic__item:hover .ch-mosaic__title::after, .ch-mosaic a.ch-mosaic__item:focus-visible .ch-mosaic__title::after { transform: translateX(4px); }

/* Class tabs (Elementor Tabs widget with the CSS class "ch-class-tabs"): class names as quiet serif tabs with a gold
   line under the open one, and the open class on a white panel. On phones Elementor stacks them like an accordion. */
.ch-class-tabs .e-n-tabs { --n-tabs-heading-justify-content: center; --n-tabs-title-gap: 8px; --n-tabs-gap: 32px; }
.ch-class-tabs .e-n-tabs-heading { border-bottom: 1px solid rgba(47, 66, 52, .15); gap: 8px; }
.ch-class-tabs .e-n-tab-title { background: transparent !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; margin-bottom: -1px; padding: 14px 26px !important; color: var(--e-global-color-secondary, #5E6E60) !important; font-family: var(--e-global-typography-primary-font-family, 'Merriweather'), serif; font-size: 22px; font-weight: 700; line-height: 1.3; transition: color .2s ease, border-color .2s ease; }
.ch-class-tabs .e-n-tab-title:hover { color: var(--e-global-color-primary, #2F4234) !important; }
.ch-class-tabs .e-n-tab-title[aria-selected="true"] { color: var(--e-global-color-primary, #2F4234) !important; border-bottom-color: var(--e-global-color-chgold, #E8B153) !important; }
.ch-class-tabs .e-n-tab-title .e-n-tab-title-text { font: inherit !important; color: inherit !important; }
.ch-class-tabs .e-n-tabs-content > .e-con { background: var(--e-global-color-chwhite, #FFFFFF); border: 0; border-radius: 24px; padding: 40px; }
@media (max-width: 767px) {
	.ch-class-tabs .e-n-tabs-heading { border-bottom: 0; }
	.ch-class-tabs .e-n-tab-title { width: 100%; justify-content: flex-start; padding: 16px 4px !important; border-bottom: 1px solid rgba(47, 66, 52, .15) !important; font-size: 20px; }
	.ch-class-tabs .e-n-tab-title[aria-selected="true"] { border-bottom: 3px solid var(--e-global-color-chgold, #E8B153) !important; }
	.ch-class-tabs .e-n-tabs-content > .e-con { padding: 20px; margin: 12px 0 8px; }
}

/* Phones: give small text links a comfortable tap area (about 44px tall) without changing how they look. */
@media (max-width: 767px) {
	.ch-topbar-link .elementor-button { padding-top: 12px !important; padding-bottom: 12px !important; margin: -12px 0; }
	.ch-card__link, .ch-news__more { padding-top: 12px; padding-bottom: 10px; margin-bottom: -10px; }
	.ch-letter__link { padding: 10px 0; margin-top: 14px; margin-bottom: -10px; }
}

/* Radio and checkbox options: Fluent Forms drops the bottom margin on the last option only, which pushed it lower
   than the others when they sit in a row. Give every option the same spacing and centre the box against its text. */
.fluentform .ff-el-form-check { vertical-align: top; }
.fluentform .ff-el-form-check label.ff-el-form-check-label,
.fluentform .ff-el-form-check:last-child label.ff-el-form-check-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 0; line-height: 1.4; }
.fluentform .ff-el-form-check label.ff-el-form-check-label input { margin: 0; flex-shrink: 0; }

/* ---------- Full-screen phone and tablet menu (Navigation Menu → Layout → "Full-screen menu on phones and tablets") ---------- */
@media (max-width: 1024px) {
	/* Menu button: three thin lines (the last one shorter) that turn into a cross */
	.ch-luxe-yes .hfe-nav-menu__toggle { display: flex !important; width: 44px; height: 44px; justify-content: flex-end; align-items: center; margin: 0 0 0 auto !important; padding: 0 !important; border: 0 !important; cursor: pointer; }
	.ch-luxe-yes .hfe-nav-menu__toggle .hfe-nav-menu-icon {
		position: relative; width: 26px; height: 15px; font-size: 0; line-height: 0;
		background: linear-gradient(currentColor, currentColor) no-repeat right center / 26px 1.5px;
		transition: background-size .3s ease;
	}
	.ch-luxe-yes .hfe-nav-menu__toggle .hfe-nav-menu-icon svg,
	.ch-luxe-yes .hfe-nav-menu__toggle .hfe-nav-menu-icon i { display: none !important; }
	.ch-luxe-yes .hfe-nav-menu-icon::before,
	.ch-luxe-yes .hfe-nav-menu-icon::after { content: ""; position: absolute; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .45s cubic-bezier(.7,0,.2,1), width .45s cubic-bezier(.7,0,.2,1), top .45s cubic-bezier(.7,0,.2,1); }
	.ch-luxe-yes .hfe-nav-menu-icon::before { top: 0; width: 26px; }
	.ch-luxe-yes .hfe-nav-menu-icon::after { top: 13.5px; width: 17px; }
	.ch-luxe-yes .hfe-nav-menu__toggle:hover .hfe-nav-menu-icon::after { width: 26px; }
	.ch-luxe-yes .hfe-active-menu .hfe-nav-menu-icon { background-size: 0 1.5px; }
	.ch-luxe-yes .hfe-active-menu .hfe-nav-menu-icon::before { top: 6.75px; width: 24px; transform: rotate(45deg); }
	.ch-luxe-yes .hfe-active-menu .hfe-nav-menu-icon::after { top: 6.75px; width: 24px; transform: rotate(-45deg); }

	/* The panel: a rounded card under the header, lined up with the hero photo, that wipes down into place */
	.ch-luxe-yes nav.hfe-dropdown,
	.ch-luxe-yes .hfe-active-menu.hfe-active-menu-full-width + nav.hfe-dropdown {
		position: absolute !important; top: var(--ch-luxe-top, 100%) !important; left: var(--ch-luxe-left, 0) !important;
		width: var(--ch-luxe-w, 100vw) !important; height: var(--ch-luxe-h, 80vh) !important; z-index: 9999 !important;
		display: block !important; overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
		background: var(--ch-luxe-bg, #24332A) !important;
		border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(20,30,24,.45);
		visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0 round 22px); transform: translateY(-8px);
		transition: clip-path .6s cubic-bezier(.7,0,.2,1), opacity .35s ease, transform .6s cubic-bezier(.7,0,.2,1), visibility 0s linear .6s;
	}
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown,
	.ch-luxe-yes .hfe-active-menu.hfe-active-menu-full-width + nav.hfe-dropdown {
		visibility: visible; opacity: 1; clip-path: inset(0 0 0 0 round 22px); transform: none;
		transition: clip-path .7s cubic-bezier(.7,0,.2,1), opacity .25s ease, transform .7s cubic-bezier(.7,0,.2,1), visibility 0s;
	}
	.ch-luxe-yes nav.hfe-dropdown ul.hfe-nav-menu { display: block !important; height: auto !important; visibility: inherit !important; opacity: 1 !important; padding: 12px var(--ch-luxe-pad, 28px) 32px; background: none !important; }
	.ch-luxe-yes nav.hfe-dropdown ul.hfe-nav-menu > li { display: block !important; height: auto !important; }

	/* Main links: large serif, fine lines between them, rising in one after another */
	.ch-luxe-yes nav.hfe-dropdown ul.hfe-nav-menu > li { border-bottom: 1px solid rgba(255,248,240,.12) !important; opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li { opacity: 1; transform: none; transition: opacity .55s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(1) { transition-delay: .18s; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(2) { transition-delay: .24s; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(3) { transition-delay: .30s; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(4) { transition-delay: .36s; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(5) { transition-delay: .42s; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(6) { transition-delay: .48s; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(7) { transition-delay: .54s; }
	.ch-luxe-yes .hfe-active-menu + nav.hfe-dropdown ul.hfe-nav-menu > li:nth-child(n+8) { transition-delay: .6s; }
	.ch-luxe-yes nav.hfe-dropdown a.hfe-menu-item {
		display: flex !important; justify-content: space-between; align-items: center;
		padding: 20px 0 !important; background: none !important; border: 0 !important;
		font-family: var(--e-global-typography-chstatement-font-family, "Merriweather"), serif !important; /* Site Settings → Global Fonts → Statement (Merriweather) */
		font-size: var(--ch-luxe-size, 26px) !important; font-weight: 400 !important; line-height: 1.2 !important; letter-spacing: -.01em;
		color: var(--ch-luxe-text, #FFF8F0) !important; transition: color .25s ease;
	}
	.ch-luxe-yes nav.hfe-dropdown a.hfe-menu-item:hover,
	.ch-luxe-yes nav.hfe-dropdown a.hfe-menu-item:focus-visible,
	.ch-luxe-yes nav.hfe-dropdown .current-menu-item > a.hfe-menu-item,
	.ch-luxe-yes nav.hfe-dropdown .current-menu-ancestor > .hfe-has-submenu-container > a.hfe-menu-item { color: var(--ch-luxe-accent, #E8B153) !important; }

	/* A thin plus that turns into a minus for links with more pages under them */
	.ch-luxe-yes nav.hfe-dropdown .sub-arrow { position: relative; width: 28px; height: 28px; padding: 0 !important; margin: 0 -4px 0 12px; border: 0 !important; flex-shrink: 0; }
	.ch-luxe-yes nav.hfe-dropdown .sub-arrow i { display: none !important; }
	.ch-luxe-yes nav.hfe-dropdown .sub-arrow::before,
	.ch-luxe-yes nav.hfe-dropdown .sub-arrow::after { content: ""; position: absolute; left: 7px; top: 13.25px; width: 14px; height: 1.5px; border-radius: 2px; background: var(--ch-luxe-accent, #E8B153); transition: transform .4s cubic-bezier(.7,0,.2,1); }
	.ch-luxe-yes nav.hfe-dropdown .sub-arrow::after { transform: rotate(90deg); }
	.ch-luxe-yes nav.hfe-dropdown .sub-menu-active .sub-arrow::after { transform: rotate(0deg); }

	/* Pages under a link slide open (the height is measured, so opening and closing take the same smooth path) */
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu {
		position: static !important; box-sizing: border-box; height: auto !important; max-height: 0; overflow: hidden; padding: 0 !important; margin: 0 !important;
		visibility: hidden !important; opacity: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; width: auto !important;
		transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility 0s linear .5s !important;
	}
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu.sub-menu-open {
		max-height: var(--ch-sub-h, 400px); visibility: visible !important; opacity: 1 !important;
		transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .4s ease .05s, visibility 0s !important;
	}
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu > li { opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .3s ease; }
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu.sub-menu-open > li { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu.sub-menu-open > li:nth-child(2) { transition-delay: .04s; }
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu.sub-menu-open > li:nth-child(3) { transition-delay: .08s; }
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu.sub-menu-open > li:nth-child(4) { transition-delay: .12s; }
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu.sub-menu-open > li:nth-child(n+5) { transition-delay: .16s; }
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu li { border: 0 !important; background: none !important; }
	.ch-luxe-yes nav.hfe-dropdown ul.sub-menu > li:last-child { padding-bottom: 18px !important; }
	.ch-luxe-yes nav.hfe-dropdown .hfe-has-submenu-container { background: none !important; }
	.ch-luxe-yes nav.hfe-dropdown a.hfe-sub-menu-item {
		display: block; padding: 9px 0 9px 16px !important; background: none !important; border: 0 !important; border-left: 1px solid rgba(255,248,240,.16) !important;
		font-family: var(--e-global-typography-text-font-family, "Nunito"), sans-serif !important; /* Global Fonts → Body (Nunito) */ font-size: 16px !important; font-weight: 400 !important; line-height: 1.4 !important;
		color: var(--ch-luxe-text, #FFF8F0) !important; opacity: .78; transition: opacity .2s ease, color .2s ease, border-color .2s ease;
	}
	.ch-luxe-yes nav.hfe-dropdown a.hfe-sub-menu-item:hover,
	.ch-luxe-yes nav.hfe-dropdown .current-menu-item > a.hfe-sub-menu-item { opacity: 1; color: var(--ch-luxe-accent, #E8B153) !important; border-left-color: var(--ch-luxe-accent, #E8B153) !important; }

	/* While the menu is open: the page behind stays still and the bottom quick-links bar steps aside */
	html.ch-menu-open, html.ch-menu-open body { overflow: hidden; }
	html.ch-menu-open .ch-quick { opacity: 0; pointer-events: none; }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
	.ch-luxe-yes nav.hfe-dropdown, .ch-luxe-yes nav.hfe-dropdown ul.hfe-nav-menu > li, .ch-luxe-yes nav.hfe-dropdown ul.sub-menu, .ch-luxe-yes nav.hfe-dropdown ul.sub-menu > li { transition: none !important; transform: none !important; }
}
