/*
	Theme Name: Quest Solutions
	Theme URI: https://junsanchez.com
	Description: Child theme of Hello Elementor for the Quest Solutions website (Direction B, "The Station Board"). Designed and built by Jun Sanchez, JS Web Design Services. Keep this theme active; Hello Elementor is the parent.
	Author: Jun Sanchez – JS Web Design Services
	Author URI: https://junsanchez.com
	Template: hello-elementor
	Version: 0.1.0
	Requires at least: 6.0
	Tested up to: 7.1
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: quest-solutions
	Tags: custom-logo, featured-images, custom-colors, custom-menu, accessibility-ready
*/

/* ==========================================================================
   Tokens. The Elementor kit defines the same names as global variables (--qs-navy …), and the kit's
   :root rule wins over this :where(:root) one, so a colour changed in the kit changes everywhere.
   ========================================================================== */
:where(:root) {
	--qs-navy: #000080;
	--qs-navy-deep: #00005C;
	--qs-tint: #EBEDF8;
	--qs-tint-strong: #D6DAF2;
	--qs-text: #0B1033;
	--qs-text-2: #3B4163;
	--qs-muted: #5C6283;
	--qs-subtle: #F4F5FA;
	--qs-border: #D8DBEA;
	--qs-border-strong: #767C9C;
	--qs-open: #1D6B43;
	--qs-open-bg: #E4F3EA;
	--qs-full: #8A1C1C;
	--qs-full-bg: #FBE9E7;
	--qs-pulse: #E0463C;
	--qs-pulse-soft: #F2A49E;
	--qs-white: #FFFFFF;
}
:root {
	--qs-radius: 4px;
	--qs-ease: cubic-bezier(.25, .46, .45, .94);
	--qs-shadow: 0 18px 44px rgba(0, 0, 92, .12);
	--qs-grid-line: rgba(255, 255, 255, .07);
	--qs-grid-line-light: rgba(0, 0, 128, .06);
}

/* ==========================================================================
   Base
   ========================================================================== */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: "Geist", "Segoe UI", Arial, sans-serif; color: var(--qs-text); background: #fff; }
body, .e-paragraph-base, .elementor-widget-shortcode, input, textarea, select, button { font-family: "Geist", "Segoe UI", Arial, sans-serif; }
::selection { background: var(--qs-tint-strong); color: var(--qs-text); }
:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
.qs-on-dark :focus-visible, .qs-hero :focus-visible, .qs-navy-band :focus-visible { outline-color: #fff; }
img { max-width: 100%; height: auto; }
/* Mono labels ("NEXT CLASS", "WHO IT IS FOR"): Geist Mono, tracked uppercase */
.qs-mono, .qs-eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Station-board grid ("ECG paper"): add the class to any section. Navy sections use the dark variant. */
.qs-paper { background-image: linear-gradient(var(--qs-grid-line-light) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line-light) 1px, transparent 1px); background-size: 32px 32px; }
.qs-paper--dark { background-image: linear-gradient(var(--qs-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line) 1px, transparent 1px); background-size: 32px 32px; }

/* ==========================================================================
   Buttons used inside shortcodes (Elementor buttons use the kit classes qs-btn-*)
   ========================================================================== */
.qs-btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 20px;
	border: 1px solid transparent; border-radius: var(--qs-radius); font-size: 16px; line-height: 20px; font-weight: 500; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, translate .15s ease;
}
.qs-btn svg { flex: 0 0 auto; transition: transform .2s var(--qs-ease); }
.qs-btn:hover svg { transform: translateX(3px); }
.qs-btn--primary { background: var(--qs-navy); color: #fff; }
.qs-btn--primary:hover { background: var(--qs-navy-deep); color: #fff; }
.qs-btn--outline { background: #fff; color: var(--qs-navy); border-color: var(--qs-navy); }
.qs-btn--outline:hover { background: var(--qs-tint); color: var(--qs-navy); }
.qs-btn--white { background: #fff; color: var(--qs-navy); }
.qs-btn--white:hover { background: var(--qs-tint); color: var(--qs-navy-deep); }
.qs-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--qs-navy);
	border-radius: var(--qs-radius); background: var(--qs-navy); color: #fff; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.qs-icon-btn:hover, .qs-icon-btn:focus { background: var(--qs-navy-deep); color: #fff; }
.qs-icon-btn--outline { background: #fff; color: var(--qs-navy); }
.qs-icon-btn--outline:hover, .qs-icon-btn--outline:focus { background: var(--qs-tint); color: var(--qs-navy); }
.qs-chip {
	min-height: 40px; padding: 8px 16px; border: 1px solid var(--qs-border-strong); border-radius: var(--qs-radius); background: #fff;
	color: var(--qs-text); font-size: 14px; line-height: 20px; font-weight: 500; text-transform: none; letter-spacing: 0; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.qs-chip:hover, .qs-chip:focus { border-color: var(--qs-navy); color: var(--qs-navy); background: #fff; }
.qs-chip[aria-pressed="true"] { background: var(--qs-navy); border-color: var(--qs-navy); color: #fff; }

/* Status ("Open for inquiries") and badges ("OPEN" / "CLASS FULL") */
.qs-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; line-height: 20px; }
.qs-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.qs-status--open { color: var(--qs-open); }
.qs-status--full { color: var(--qs-full); }
.qs-badge { flex: 0 0 auto; padding: 4px 8px; border-radius: 2px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; }
.qs-badge--open { background: var(--qs-open-bg); color: var(--qs-open); }
.qs-badge--full { background: var(--qs-full-bg); color: var(--qs-full); }

/* ==========================================================================
   Motion layer (assets/js/jsw-motion.js). GSAP owns transform and opacity on animated elements, so CSS
   never transitions those properties on them (Elementor atomic containers ship with
   `transition: transform .4s`, which would re-ease every frame GSAP writes). Hover effects use the
   separate `translate` / `scale` properties.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
:is(.jsw-reveal, .jsw-card, .jsw-reveal-img, .jsw-img-rounded, .jsw-lead, .jsw-eyebrow, .jsw-btn, .jsw-mask-inner, .jsw-hero h1, .qs-heart, .qs-fc__panel *) {
	transition-property: background-color, border-color, color, box-shadow, translate, scale !important;
}
html.jsw-motion .jsw-hero h1 { overflow: hidden; padding-bottom: .06em; }
html.jsw-motion .jsw-section:not(.jsw-hero) .jsw-h2 { overflow: hidden; }
html.jsw-motion :is(.jsw-hero h1, .jsw-section:not(.jsw-hero) .jsw-h2) .jsw-mask-inner { display: block; will-change: transform; }
html.jsw-motion :is(.jsw-hero .jsw-eyebrow, .jsw-hero .jsw-lead, .jsw-hero .jsw-btn, .jsw-section:not(.jsw-hero) .jsw-lead, .jsw-section:not(.jsw-hero) .jsw-eyebrow, .jsw-reveal, .jsw-card, .jsw-marker, .jsw-img-rounded, .jsw-reveal-img) { opacity: 0; }
html.jsw-motion .elementor-location-footer :is(.jsw-reveal, .jsw-card, .jsw-img-rounded, .jsw-lead, .jsw-eyebrow) { opacity: 1; }
.jsw-hero { --jsw-bg-scale: 1; }
a.jsw-card, .jsw-card:has(> a[href]) { transition: translate .25s ease, box-shadow .25s ease; }
a.jsw-card:hover, .jsw-card:has(> a[href]):hover { translate: 0 -3px; box-shadow: var(--qs-shadow); }

/* ==========================================================================
   Header (Theme Builder header; the bar has the class jsw-header-bar). Sticky via the location wrapper.
   ========================================================================== */
.elementor-location-header { position: sticky; top: 0; z-index: 100; }
body.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .elementor-location-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .elementor-location-header { top: 0; } }
.jsw-header-bar { transition: box-shadow .3s ease; }
.jsw-header-bar.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 92, .08); }

/* ==========================================================================
   ECG heartbeat line ([qs_ecg], assets/js/qs-sections.js)
   ========================================================================== */
.qs-ecg { position: relative; width: 100%; height: var(--qs-ecg-h, 120px); pointer-events: none; }
.qs-ecg svg { display: block; width: 100%; height: 100%; overflow: visible; }
.qs-ecg path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } /* no vector-effect: with non-scaling-stroke Chrome measures the draw-in dash in screen pixels, so on screens wider than the 1440 artboard the dash repeated and showed the end of the line early */
.qs-ecg__base { stroke: var(--qs-pulse); }
.qs-ecg__trace { stroke: #FFB3AC; stroke-width: 3 !important; opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 120, 108, .85)); }
.qs-ecg__dot { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 160, 150, 1)); }
.qs-ecg--soft .qs-ecg__base { stroke: var(--qs-pulse-soft); }
.qs-ecg--soft .qs-ecg__trace { stroke: var(--qs-pulse); filter: none; }
.qs-ecg--soft .qs-ecg__dot { fill: var(--qs-pulse); filter: none; }
.qs-ecg--dim .qs-ecg__base { stroke: rgba(224, 70, 60, .45); }
.qs-ecg.is-static .qs-ecg__trace, .qs-ecg.is-static .qs-ecg__dot { display: none; }
/* Hero: the line runs edge to edge behind the photos (Figma 220:6448) */
.qs-hero { position: relative; isolation: isolate; }
.qs-hero .qs-ecg--hero { position: absolute; left: 0; right: 0; top: var(--qs-ecg-top, 593px); height: 140px; z-index: 0; }
.qs-hero .elementor-widget-shortcode:has(.qs-ecg--hero) { position: static; }
.qs-heart { display: inline-flex; color: var(--qs-pulse); will-change: transform; }
@media (max-width: 1024px) { .qs-hero .qs-ecg--hero { top: auto; bottom: 140px; } }

/* ==========================================================================
   Hero parts ([qs_next_class], [qs_course_index])
   ========================================================================== */
.qs-next-class {
	display: flex; flex-direction: column; gap: 12px; width: 236px; padding: 20px; background: #fff; border-radius: var(--qs-radius);
	color: var(--qs-text); text-decoration: none; box-shadow: 0 24px 60px rgba(0, 0, 40, .28); transition: translate .2s ease;
}
.qs-next-class:hover { translate: 0 -2px; color: var(--qs-text); }
.qs-next-class__label { color: var(--qs-muted); }
.qs-next-class__row { display: flex; align-items: center; gap: 14px; }
.qs-next-class__day { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--qs-navy); }
.qs-next-class__meta { display: flex; flex-direction: column; gap: 6px; }
.qs-next-class__course { font-size: 15px; line-height: 20px; font-weight: 500; }
.qs-next-class__place { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--qs-text-2); }

.qs-course-index ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); background: var(--qs-navy-deep); }
.qs-course-index li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.qs-course-index a {
	display: grid; grid-template-columns: 1fr auto; align-content: center; column-gap: 12px; row-gap: 6px; height: 100%; min-height: 104px;
	padding: 20px 32px 20px 64px; color: #fff; text-decoration: none; transition: background-color .2s ease;
}
.qs-course-index li + li a { padding-left: 24px; }
.qs-course-index .qs-mono { grid-column: 1; color: var(--qs-tint-strong); }
.qs-course-index__name { grid-column: 1; font-size: 16px; line-height: 22px; font-weight: 500; }
.qs-course-index svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; transition: transform .2s var(--qs-ease); }
.qs-course-index a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.qs-course-index a:hover svg { transform: translate(2px, -2px); }
@media (max-width: 1024px) {
	.qs-course-index ul { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; background: transparent; gap: 8px; padding: 0 20px 4px; }
	.qs-course-index li { flex: 0 0 auto; scroll-snap-align: start; }
	.qs-course-index li + li { border: 0; }
	.qs-course-index a, .qs-course-index li + li a { min-height: 84px; min-width: 210px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--qs-radius); }
}

/* ==========================================================================
   Featured courses switcher ([qs_featured_courses], Figma 220:6532)
   ========================================================================== */
.qs-fc { display: grid; grid-template-columns: 384px minmax(0, 1fr); gap: 24px; align-items: start; }
.qs-fc__tabs { display: flex; flex-direction: column; gap: 8px; }
.qs-fc__tab {
	display: grid; grid-template-columns: 56px 1fr 20px; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 8px 18px 8px 8px; text-align: left;
	background: #fff; color: var(--qs-text); border: 1px solid var(--qs-border); border-radius: var(--qs-radius); font-size: 16px; line-height: 22px; font-weight: 500; text-transform: none; letter-spacing: 0; white-space: normal; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.qs-fc__tab:hover, .qs-fc__tab:focus { background: #fff; color: var(--qs-navy); border-color: var(--qs-navy); }
.qs-fc__tab[aria-selected="true"], .qs-fc__tab[aria-selected="true"]:hover, .qs-fc__tab[aria-selected="true"]:focus { background: var(--qs-navy); border-color: var(--qs-navy); color: #fff; }
.qs-fc__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 2px; background: var(--qs-tint); color: var(--qs-navy); }
.qs-fc__tab[aria-selected="true"] .qs-fc__icon { background: #fff; }
.qs-fc__icon img { width: 32px; height: 32px; object-fit: contain; }
.qs-fc__arrow { display: flex; }
.qs-fc__hint { margin: 16px 0 0; font-size: 13px; color: var(--qs-muted); }
.qs-fc__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; background: #fff; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); overflow: hidden; }
.qs-fc__panel[hidden] { display: none; }
.qs-fc__media { position: relative; background: var(--qs-tint); }
.qs-fc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qs-fc__body { display: flex; flex-direction: column; padding: 40px 40px 32px; }
.qs-fc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.qs-fc__tag { color: var(--qs-navy); padding-top: 12px; }
.qs-fc__picto { display: flex; color: var(--qs-navy); }
.qs-fc__picto img { width: 48px; height: 48px; object-fit: contain; }
.qs-fc__title { margin: 24px 0 0; font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -.02em; color: var(--qs-text); }
.qs-fc__text { margin: 20px 0 0; font-size: 17px; line-height: 27px; color: var(--qs-text-2); }
.qs-fc__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; padding: 16px 0 20px; border-top: 1px solid var(--qs-border); border-bottom: 1px solid var(--qs-border); }
.qs-fc__facts dt { margin: 0 0 10px; color: var(--qs-muted); font-size: 11px; }
.qs-fc__facts dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--qs-text); }
.qs-fc__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 16px; } /* two equal columns (user, 2026-11-01) */
.qs-fc__body { container-type: inline-size; }
.qs-fc__actions .qs-btn { width: 100%; min-width: 0; justify-content: space-between; gap: 8px; padding-inline: 16px 14px; white-space: nowrap; }
@container (max-width: 400px) { .qs-fc__actions .qs-btn { padding-inline: 12px; font-size: 15px; } .qs-fc__actions .qs-btn svg { width: 16px; height: 16px; } }
@media (min-width: 768px) { @container (max-width: 340px) { .qs-fc__actions .qs-btn { justify-content: center; } .qs-fc__actions .qs-btn svg { display: none; } } }
/* laptops: the text side gets more of the card than the photo so both buttons fit side by side */
@media (min-width: 1025px) and (max-width: 1439px) { .qs-fc__panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; } }
@media (max-width: 1279px) { .qs-fc { grid-template-columns: 320px minmax(0, 1fr); } .qs-fc__body { padding: 32px 28px 28px; } .qs-fc__title { font-size: 32px; line-height: 38px; } }
@media (max-width: 1024px) {
	.qs-fc { grid-template-columns: minmax(0, 1fr); }
	.qs-fc__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
	.qs-fc__tab { flex: 0 0 auto; width: auto; grid-template-columns: 1fr; min-height: 48px; padding: 10px 16px; scroll-snap-align: start; white-space: nowrap; }
	.qs-fc__tab .qs-fc__icon, .qs-fc__tab .qs-fc__arrow, .qs-fc__hint { display: none; }
	.qs-fc__panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.qs-fc__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) { .qs-fc__body { padding: 24px 20px; } .qs-fc__facts { grid-template-columns: minmax(0, 1fr); gap: 12px; } .qs-fc__actions { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Schedule calendar ([qs_schedule_calendar], Figma 220:6646)
   ========================================================================== */
.qs-schedule__fallback { margin: 0; padding-left: 20px; }
.qs-schedule.is-ready .qs-schedule__fallback { display: none; }
.qs-schedule__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.qs-schedule__grid { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 24px; align-items: start; }
.qs-cal { background: #fff; border: 1px solid var(--qs-border); }
.qs-cal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 16px 16px 24px; }
.qs-cal__month { margin: 0; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.01em; color: var(--qs-text); }
.qs-cal__nav { display: flex; gap: 8px; }
.qs-cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.qs-cal__days { background: var(--qs-navy); color: #fff; }
.qs-cal__days span { padding: 10px; font-size: 11px; }
.qs-cal__cell { display: flex; flex-direction: column; gap: 4px; min-height: 104px; padding: 10px 6px 6px; border-right: 1px solid var(--qs-border); border-bottom: 1px solid var(--qs-border); }
.qs-cal__cell:nth-child(7n) { border-right: 0; }
.qs-cal__row:last-child .qs-cal__cell { border-bottom: 0; }
.qs-cal__cell.is-out .qs-cal__num { color: #A6AAC2; }
.qs-cal__cell.is-selected { background: var(--qs-tint); }
.qs-cal__num { padding-left: 4px; font-size: 13px; color: var(--qs-text); }
.qs-cal__cell.is-today .qs-cal__num { color: var(--qs-navy); font-weight: 700; }
.qs-cal__event {
	display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 6px 8px; text-align: left; border: 2px solid transparent; border-radius: 2px;
	background: var(--qs-navy); color: #fff; font-size: 12px; line-height: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; white-space: normal; cursor: pointer;
}
.qs-cal__event .qs-mono { font-size: 11px; line-height: 14px; }
.qs-cal__event:hover, .qs-cal__event:focus { background: var(--qs-navy-deep); color: #fff; }
.qs-cal__event.is-active { border-color: var(--qs-pulse); }
.qs-cal__event.is-full, .qs-cal__event.is-full:hover { background: var(--qs-full-bg); color: var(--qs-full); }
.qs-cal__full { font-family: "Geist Mono", ui-monospace, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.qs-schedule__side { display: flex; flex-direction: column; gap: 12px; }
.qs-selected { position: relative; overflow: hidden; padding: 24px; background: var(--qs-navy); color: #fff; }
.qs-selected__ecg { display: none; } /* decorative line removed: it sat behind the "Selected class" label (user, 2026-11-01) */
.qs-selected__label { position: relative; margin: 0; color: var(--qs-tint-strong); font-size: 11px; }
.qs-selected__date { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.qs-selected__day { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.qs-selected__date > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.qs-selected__weekday { font-size: 14px; color: var(--qs-tint-strong); }
.qs-selected__month { font-size: 18px; line-height: 22px; font-weight: 500; }
.qs-selected__title { margin: 24px 0 16px; font-size: 24px; line-height: 30px; font-weight: 600; color: #fff; }
.qs-selected__facts { margin: 0 0 20px; }
.qs-selected__facts > div { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.qs-selected__facts > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.qs-selected__facts dt { display: flex; align-items: center; gap: 8px; color: var(--qs-tint-strong); }
.qs-selected__facts dt .qs-mono { font-size: 10px; }
.qs-selected__facts dd { margin: 0; font-size: 14px; line-height: 20px; }
.qs-selected .qs-status { font-size: 14px; }
.qs-selected .qs-status--open { color: #7FE0A6; }
.qs-selected .qs-status--full { color: #FFB3AC; }
.qs-selected .qs-btn { display: flex; width: 100%; margin-top: 20px; }
.qs-selected__empty { position: relative; margin: 16px 0 0; font-size: 15px; line-height: 22px; color: var(--qs-tint); }
.qs-upnext { padding: 8px 24px 4px; background: #fff; border: 1px solid var(--qs-border); }
.qs-upnext[hidden] { display: none; }
.qs-upnext__month { margin: 12px 0 4px; color: var(--qs-muted); font-size: 11px; }
.qs-upnext__item {
	display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 14px 0; text-align: left; border: 0; border-bottom: 1px solid var(--qs-border);
	border-radius: 0; background: transparent; color: var(--qs-text); font-weight: 400; text-transform: none; letter-spacing: 0; white-space: normal; cursor: pointer;
}
.qs-upnext__item:last-child { border-bottom: 0; }
.qs-upnext__item:hover, .qs-upnext__item:focus { background: transparent; color: var(--qs-navy); }
.qs-upnext__day { font-size: 24px; font-weight: 600; color: var(--qs-navy); }
.qs-upnext__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qs-upnext__title { font-size: 14px; line-height: 20px; font-weight: 500; }
.qs-upnext__place { font-size: 13px; color: var(--qs-muted); }
.qs-schedule__note { display: flex; align-items: center; gap: 10px; margin: 32px 0 0; font-size: 13px; line-height: 18px; color: var(--qs-text-2); }
.qs-schedule__note svg { flex: 0 0 auto; }
/* Desktop: the course filters sit on the heading row, to the right (Figma) */
@media (min-width: 1025px) { .qs-schedule__filters { position: absolute; right: 0; top: -82px; justify-content: flex-end; margin: 0; } .qs-schedule { position: relative; } }
@media (max-width: 1279px) { .qs-schedule__grid { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (max-width: 1024px) {
	.qs-schedule__filters { flex-wrap: nowrap; overflow-x: auto; }
	.qs-schedule__filters .qs-chip { flex: 0 0 auto; }
	.qs-schedule__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.qs-cal__head { padding: 12px 12px 12px 16px; }
	.qs-cal__month { font-size: 22px; }
	.qs-cal__cell { min-height: 64px; padding: 6px 2px 4px; }
	.qs-cal__num { padding-left: 2px; font-size: 11px; }
	.qs-cal__event { padding: 4px; }
	.qs-cal__event span:not(.qs-mono) { display: none; }
	.qs-cal__event .qs-mono { font-size: 9px; letter-spacing: .02em; }
	.qs-cal__days span { padding: 8px 4px; font-size: 9px; letter-spacing: .02em; }
}

/* ==========================================================================
   Testimonial slider ([qs_testimonial_slider], Figma 220:6814)
   ========================================================================== */
.qs-quote__eyebrow { margin: 0; color: var(--qs-navy); }
.qs-quote__mark { display: block; height: 64px; margin-top: 16px; font-family: Georgia, "Times New Roman", serif; font-size: 120px; line-height: 1; font-weight: 700; color: var(--qs-pulse); }
.qs-quote__slides { margin-top: 40px; min-height: 260px; }
.qs-quote__slide { margin: 0; }
.qs-quote__slide[hidden] { display: none; }
.qs-quote__text { margin: 0; padding: 0; border: 0; }
.qs-quote__text p { margin: 0; font-size: 34px; line-height: 44px; font-weight: 500; letter-spacing: -.015em; color: var(--qs-text); }
.qs-quote__person { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.qs-quote__avatar { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--qs-tint); color: var(--qs-navy); }
.qs-quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.qs-quote__person > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.qs-quote__name { font-size: 17px; font-weight: 500; color: var(--qs-text); }
.qs-quote__role { font-size: 13px; color: var(--qs-muted); }
.qs-quote__nav { display: flex; align-items: center; gap: 12px; margin-top: 40px; }
.qs-quote__nav .qs-icon-btn { width: 52px; height: 52px; }
.qs-quote__dots { display: flex; gap: 4px; margin-left: 12px; }
.qs-quote__dot { width: 32px; height: 2px; background: var(--qs-tint-strong); transition: background-color .2s ease; }
.qs-quote__dot.is-active { background: var(--qs-navy); }
@media (max-width: 767px) { .qs-quote__text p { font-size: 24px; line-height: 32px; } .qs-quote__slides { min-height: 0; margin-top: 24px; } }

/* ==========================================================================
   Partner logo table ([qs_partner_grid], Figma 220:6839)
   ========================================================================== */
.qs-partners { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--qs-border); border-left: 1px solid var(--qs-border); }
.qs-partners__cell { display: flex; align-items: center; justify-content: center; min-height: 136px; padding: 20px; border-right: 1px solid var(--qs-border); border-bottom: 1px solid var(--qs-border); background: #fff; }
.qs-partners__cell > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.qs-partners__cell img { width: auto; max-width: 150px; max-height: 76px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
.qs-partners__cell:hover img { filter: none; opacity: 1; }
.qs-partners__cta { padding: 0; background: var(--qs-navy); }
.qs-partners__cta > a { flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px; padding: 24px 20px 22px; color: #fff; text-decoration: none; transition: background-color .2s ease; }
.qs-partners__cta > a:hover { background: var(--qs-navy-deep); color: #fff; }
.qs-partners__cta-title { font-size: 19px; line-height: 26px; font-weight: 500; }
.qs-partners__cta-link { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
@media (max-width: 1024px) { .qs-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .qs-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qs-partners__cell { min-height: 104px; padding: 14px; } .qs-partners__cell img { max-width: 120px; max-height: 56px; } }

/* ==========================================================================
   Contact list, social links ([qs_contact_details], [qs_social_links])
   ========================================================================== */
.qs-contact { margin: 0; padding: 0; list-style: none; }
.qs-contact li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--qs-border); }
.qs-contact__label { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--qs-muted); }
.qs-contact a { color: inherit; text-decoration: none; }
.qs-contact a:hover { color: var(--qs-navy); text-decoration: underline; }
.qs-social { display: flex; gap: 8px; }
.qs-social__link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: var(--qs-radius); color: inherit; transition: background-color .15s ease, color .15s ease; }
.qs-social--light .qs-social__link { color: #fff; border-color: rgba(255, 255, 255, .3); }
.qs-social--light .qs-social__link:hover { background: #fff; color: var(--qs-navy); }
.qs-social--dark .qs-social__link { color: var(--qs-navy); border-color: var(--qs-border); }
.qs-social--dark .qs-social__link:hover { background: var(--qs-navy); color: #fff; }

/* ==========================================================================
   Forms (Elementor atomic forms). The field look comes from kit classes; these are the shared states.
   ========================================================================== */
/* Sending state: while Elementor submits, the button reads "Sending…" */
form[data-atomic-form-submitting] button[type="submit"] { position: relative; color: transparent !important; cursor: progress; }
form[data-atomic-form-submitting] button[type="submit"]::before { content: "Sending…"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }

/* Custom dropdown (assets/js/qs-forms.js "enhanceSelect"): replaces the browser's option list on every
   form select. The trigger copies the select's Elementor classes, so its box is the field's own. */
.qs-select { position: relative; width: 100%; }
.qs-select > select { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0; opacity: 0; pointer-events: none; }
form .qs-select .qs-select__trigger,
form .qs-select .qs-select__trigger:is(:hover, :focus, :active) {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
	text-align: left; text-transform: none; letter-spacing: normal; cursor: pointer; background-color: #fff; color: var(--qs-text);
}
form .qs-select .qs-select__trigger.is-placeholder { color: var(--qs-muted); font-weight: 400; }
form .qs-select.is-invalid .qs-select__trigger { border-color: var(--qs-full) !important; }
form .qs-select:is(.is-open, .is-focus) .qs-select__trigger { border-color: var(--qs-navy) !important; box-shadow: 0 0 0 1px var(--qs-navy); }
.qs-select__value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qs-select__chevron { flex: 0 0 20px; width: 20px; height: 20px; color: var(--qs-text); transition: transform .2s var(--qs-ease); }
.qs-select.is-open .qs-select__chevron { transform: rotate(180deg); }
.qs-select__list {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
	margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--qs-border); border-radius: var(--qs-radius);
	box-shadow: 0 16px 40px rgba(0, 0, 92, .16); opacity: 0; transform: translateY(-4px);
	transition: opacity .15s var(--qs-ease), transform .15s var(--qs-ease);
}
.qs-select.is-up .qs-select__list { top: auto; bottom: calc(100% + 6px); transform: translateY(4px); }
.qs-select__list[hidden] { display: none; }
.qs-select__list.is-visible { opacity: 1; transform: none; }
.qs-select__list.is-closing { transition-duration: .1s; }
.qs-select__option { margin: 0; padding: 11px 12px; border-radius: 2px; cursor: pointer; font-size: 15px; line-height: 22px; color: var(--qs-text); transition: background-color .12s ease, color .12s ease; }
.qs-select__option + .qs-select__option { margin-top: 2px; }
.qs-select__option.is-active { background-color: var(--qs-subtle); }
.qs-select__option[aria-selected="true"] { background-color: var(--qs-tint); color: var(--qs-navy); font-weight: 600; }
.qs-select__option[aria-selected="true"].is-active { background-color: var(--qs-tint-strong); }
@media (max-width: 767px) { .qs-select__list { max-height: 260px; } .qs-select__option { padding: 13px 12px; } }
@media (prefers-reduced-motion: reduce) { .qs-select__list, .qs-select__chevron { transition: none; } }

/* reCAPTCHA (inc/recaptcha.php + assets/js/qs-recaptcha.js). Google's floating v3 badge is hidden; its
   required notice sits under each form's submit row. The v2 checkbox only appears when the invisible
   check is unsure about a visitor; until it is ticked the button reads "Waiting for confirmation". */
.grecaptcha-badge { visibility: hidden !important; }
.qs-recaptcha-note { flex: 1 1 100%; width: 100%; margin: 0; font-size: 12px; line-height: 18px; color: var(--qs-muted); }
.qs-recaptcha-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.qs-recaptcha-note a:hover { color: var(--qs-navy); }
.qs-recaptcha-check { flex: 1 1 100%; width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--qs-radius); background: var(--qs-subtle); }
.qs-recaptcha-check__prompt { margin: 0; font-size: 15px; line-height: 22px; color: var(--qs-text); }
.qs-recaptcha-check__widget { min-height: 78px; max-width: 100%; overflow: hidden; }
@media (max-width: 360px) { .qs-recaptcha-check__widget > div { transform: scale(.92); transform-origin: 0 0; } }
form.qs-recaptcha-pending[data-atomic-form-submitting] button[type="submit"] { cursor: default; }
form.qs-recaptcha-pending[data-atomic-form-submitting] button[type="submit"]::before { content: "Waiting for confirmation"; }

/* Thank-you page: the request summary is written by inc/form-emails.php from the visitor's session. */
.elementor .jsw-thanks-summary.is-filled { display: flex !important; flex-direction: column; gap: 4px; padding: 16px 20px !important; margin-bottom: 4px; border-radius: var(--qs-radius); background: var(--qs-subtle); }
.qs-thanks-summary__title { margin: 0 0 4px; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--qs-navy); }
.qs-thanks-summary__list { margin: 0; display: flex; flex-direction: column; }
.qs-thanks-summary__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.qs-thanks-summary__list > div + div { border-top: 1px solid var(--qs-border); }
.qs-thanks-summary__list dt { margin: 0; flex: 0 0 auto; font-size: 14px; line-height: 20px; color: var(--qs-muted); }
.qs-thanks-summary__list dd { margin: 0; min-width: 0; text-align: right; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--qs-text); overflow-wrap: anywhere; }
@media (max-width: 420px) { .qs-thanks-summary__list > div { flex-direction: column; gap: 2px; } .qs-thanks-summary__list dd { text-align: left; } }

/* ==========================================================================
   Page-specific rules (Elementor element ids) go below, grouped by page.
   ========================================================================== */

/* ---------- Shared atomic-element details (kit classes) ---------- */
/* Highlighted words in headings: written as <em> in Elementor, shown upright in a second colour (Figma) */
:is(.qs-h1, .qs-h2, .qs-h3) em { font-style: normal; color: var(--qs-navy); }
:is(.qs-hero .qs-h1, .qs-on-dark, .qs-paper--dark .qs-h2) em { color: var(--qs-tint-strong); }
/* Arrow on every kit button and the form submit button (Figma: label left, arrow right) */
:is(.qs-btn-primary, .qs-btn-outline, .qs-btn-white, .qs-btn-ghost, form button[type="submit"]:not(.qs-btn):not(:has(svg)))::after {
	content: ""; flex: 0 0 18px; width: 18px; height: 18px; margin-left: 16px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 18l6-6'/%3E%3Cpath d='M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 18l6-6'/%3E%3Cpath d='M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: translate .2s var(--qs-ease);
}
:is(.qs-btn-primary, .qs-btn-outline, .qs-btn-white, .qs-btn-ghost, form button[type="submit"]:not(.qs-btn):not(:has(svg))):hover::after { translate: 3px 0; }
form[data-atomic-form-submitting] button[type="submit"]::after { opacity: 0; }
/* Round navy arrow at the end of the Home path rows */
.qs-circle-arrow { display: flex !important; align-items: center; justify-content: center; transition: background-color .2s ease; }
.qs-circle-arrow::after {
	content: ""; display: block; flex: 0 0 auto; width: 22px; height: 22px; background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 18l6-6'/%3E%3Cpath d='M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 18l6-6'/%3E%3Cpath d='M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: translate .2s var(--qs-ease);
}
a:hover > .qs-circle-arrow { background: var(--qs-navy-deep); }
a:hover > .qs-circle-arrow::after { translate: 3px 0; }
.qs-icon { display: inline-flex; line-height: 0; }

/* ---------- Home (page 81, Figma 220:6446) ---------- */
.qs-hero .jsw-eyebrow p { white-space: nowrap; }
@media (max-width: 767px) { .qs-hero .jsw-eyebrow p { font-size: 9.5px !important; letter-spacing: .04em !important; } }
.qs-hero .jsw-eyebrow > div { width: auto; flex: 0 0 auto; }
/* "Next class" card sits over the right edge of the hero photo */
.qs-hero div:has(> .elementor-widget-shortcode .qs-next-class) { position: absolute; right: -40px; top: 364px; z-index: 2; width: auto; padding: 0; }
@media (max-width: 1279px) { .qs-hero div:has(> .elementor-widget-shortcode .qs-next-class) { right: 0; } }
@media (max-width: 767px) { .qs-hero div:has(> .elementor-widget-shortcode .qs-next-class) { top: auto; bottom: -12px; } .qs-next-class { width: 200px; padding: 16px; } .qs-next-class__day { font-size: 40px; } }
/* Small laptops: the Figma 1440 hero is narrowed so the headline keeps its three lines */
@media (min-width: 1025px) and (max-width: 1279px) {
	.qs-hero .qs-h1 { font-size: 68px; line-height: 70px; letter-spacing: -2.6px; }
	.qs-hero div:has(> .elementor-widget-shortcode .qs-next-class) { right: 0; }
}
/* Strong CTA: the soft ECG line bleeds off the left edge */
.qs-paper--dark { background-color: var(--qs-navy); }
/* Why choose: pictogram tiles, affiliations and centre lists */
.qs-aff__title { margin: 0 0 12px; color: var(--qs-muted); font-size: 11px; }
.qs-aff ul, .qs-locations { margin: 0; padding: 0; list-style: none; }
.qs-aff li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--qs-border); font-size: 14px; line-height: 20px; color: var(--qs-text); }
.qs-aff li svg { flex: 0 0 18px; margin-top: 1px; color: var(--qs-navy); }
.qs-aff li.is-first svg { color: var(--qs-pulse); }
.qs-locations li { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 15px; color: #fff; }
/* Inquiry band: contact rows */
.qs-contact-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.qs-contact-rows a { display: grid; grid-template-columns: 18px 92px 1fr; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; }
.qs-contact-rows a:hover .qs-contact-rows__value { text-decoration: underline; text-underline-offset: 3px; }
.qs-contact-rows .qs-mono { font-size: 11px; color: var(--qs-tint-strong); }
.qs-contact-rows__value { font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
/* Form card: label/field spacing and checkbox tick */
#inquiry form input[type="checkbox"]:checked { background: var(--qs-navy); border-color: var(--qs-navy); }

/* ---------- Header and footer menus (Elementor Pro Nav Menu widgets in "Quest Header" / "Quest Footer") ---------- */
.jsw-header-bar .elementor-nav-menu--main .elementor-item {
	padding: 8px 14px !important; font-family: "Geist", sans-serif; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--qs-text);
}
.jsw-header-bar .elementor-nav-menu--main .elementor-item:is(:hover, :focus, .elementor-item-active, .highlighted) { color: var(--qs-navy); }
.jsw-header-bar .e--pointer-underline .elementor-item::after { left: 14px; right: auto; width: calc(100% - 28px); bottom: 2px; height: 2px; background-color: var(--qs-navy); }
.jsw-header-bar .elementor-nav-menu--main .elementor-nav-menu { flex-wrap: nowrap; }
/* Laptops: the nine menu items and the button must share one line, inside the same 64px side margins as the page
   content (Figma grid: 1312 wide). 1280–1439 tighten the spacing; below 1280 they cannot fit, so 1025–1279 use the
   menu button and the drawer (rules below and "Mobile navigation drawer"). */
@media (min-width: 1280px) and (max-width: 1439px) {
	.jsw-header-bar .elementor-nav-menu--main .elementor-item { padding: 8px 10px !important; }
	.jsw-header-bar .elementor-nav-menu--main .elementor-item.has-submenu, .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li.menu-item-has-children > a.elementor-item { padding-right: 24px !important; }
	.jsw-header-bar .elementor-nav-menu--main .sub-arrow { right: 8px !important; }
}
@media (min-width: 1280px) and (max-width: 1365px) {
	.jsw-header-bar .elementor-nav-menu--main .elementor-item { padding: 8px 8px !important; font-size: 14px; }
	.jsw-header-bar .qs-btn-primary { padding-inline: 16px; gap: 16px; }
	.elementor-location-header .elementor-element-7370af9e { gap: 20px !important; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
	.jsw-header-bar .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main { display: none !important; }
	.jsw-header-bar .elementor-nav-menu--dropdown-tablet .elementor-menu-toggle { display: flex !important; }
	.qs-lava, .qs-mega { display: none !important; }
}
@media (max-width: 1279px) {
	.jsw-header-bar > div, .jsw-header-bar .elementor-widget-nav-menu { position: static; }
	.jsw-header-bar .elementor-widget-nav-menu { margin-left: auto; }
	.jsw-header-bar .elementor-nav-menu--dropdown.elementor-nav-menu__container { position: absolute; top: 100%; left: 0; right: 0; margin-top: 0; z-index: 10; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 92, .12); border-top: 1px solid var(--qs-border); }
	.jsw-header-bar .elementor-nav-menu--dropdown .elementor-item { padding: 14px 24px !important; font-size: 17px; color: var(--qs-text); }
	.jsw-header-bar .elementor-nav-menu--dropdown .elementor-item:is(:hover, .elementor-item-active) { background: var(--qs-tint); color: var(--qs-navy); }
}
.elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu { gap: 12px; }
.elementor-location-footer .elementor-nav-menu--main .elementor-item { padding: 0 !important; font-family: "Geist", sans-serif; font-size: 15px; line-height: 22px; font-weight: 400; color: var(--qs-text); }
.elementor-location-footer .elementor-nav-menu--main .elementor-item:is(:hover, :focus) { color: var(--qs-navy); text-decoration: underline; text-underline-offset: 3px; }
.elementor-location-footer .elementor-nav-menu--main .elementor-item-active { color: var(--qs-text); }
.qs-footer-contact { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.qs-footer-contact a { color: var(--qs-text); font-size: 15px; line-height: 22px; text-decoration: none; }
.qs-footer-contact a:hover { color: var(--qs-navy); text-decoration: underline; text-underline-offset: 3px; }
.qs-badges { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.qs-badges img { display: block; width: auto; height: 56px; object-fit: contain; }
.elementor-location-footer a:has(> p), .elementor-location-footer p a { color: inherit; text-decoration: none; }
/* Photo caption chips (graduates, class in session) stay on one line; the centres card text sits over its photo */
.jsw-reveal:has(> img) > div:has(> div .qs-icon) p { white-space: nowrap; }
.jsw-card:has(> img) > :not(img) { position: relative; z-index: 1; }
.qs-quote__name, .qs-quote__role, .qs-quote__person { font-style: normal; }
.elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu > li + li { margin-top: 12px; }
.elementor-location-footer .elementor-nav-menu--main .elementor-item.elementor-item-active { text-decoration: none; }
.jsw-thanks-summary:not(.is-filled) { display: none !important; }
@media (max-width: 767px) {
	.jsw-reveal:has(> img) > div:has(> div .qs-icon) { right: 12px; left: 12px; bottom: 12px; }
	.jsw-reveal:has(> img) > div:has(> div .qs-icon) p { white-space: normal; }
	.jsw-section p:has(> a[href^="tel:"]), .jsw-section a[href^="tel:"] > p { white-space: normal !important; font-size: 22px !important; }
	.qs-contact-rows a { grid-template-columns: 18px 76px 1fr; }
}
.qs-contact-rows__value { overflow-wrap: normal; word-break: normal; }

/* Hero entrance (assets/js/qs-sections.js heroPhotos): photos and the "Next class" card start hidden only while
   motion is on; GSAP alone animates their clip-path, transform and opacity (no CSS transitions on them). */
html.jsw-motion .qs-hero img:not(.elementor-widget-shortcode img) { clip-path: inset(100% 0 0 0); }
html.jsw-motion .qs-hero .qs-next-class { opacity: 0; }
.qs-hero img, .qs-hero .qs-next-class { transition-property: box-shadow, translate !important; }
.qs-hero .qs-ecg--hero { top: var(--qs-ecg-top, 640px); }
/* ECG lines stay hidden until qs-sections.js has set up their draw-in (is-ready) or decided to show them
   static (is-static); otherwise the finished line flashed before the animation started (user, 2026-11-01). */
html.jsw-motion .qs-ecg:not(.is-ready):not(.is-static) path { visibility: hidden; }
/* Every heartbeat line now just draws itself once (user, 2026-11-01): the sweeping trace and dot are not used */
.qs-ecg__trace, .qs-ecg__dot { display: none; }

/* ==========================================================================
   Training schedule module (inc/schedule-module.php, assets/js/qs-schedule-modal.js, qs-schedule-board.js)
   Figma: B / Inquiry modal 147:5439, B / Other dates modal 156:6078, Training Schedule 220:8538
   ========================================================================== */
/* ---- Pop-up shell: 640 wide, page dimmed with navy-deep at 62%, 200ms fade ---- */
html.qs-modal-open, html.qs-modal-open body { overflow: hidden; }
.qs-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px 16px; opacity: 0; transition: opacity .2s ease; }
.qs-modal[hidden] { display: none; }
.qs-modal.is-open { opacity: 1; }
.qs-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 92, .62); }
.qs-modal__dialog {
	position: relative; width: 100%; max-width: 640px; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 40px;
	background: #fff; border-radius: var(--qs-radius); box-shadow: 0 32px 80px rgba(0, 0, 40, .35); outline: none;
	transform: translateY(12px); transition: transform .25s var(--qs-ease);
}
.qs-modal.is-open .qs-modal__dialog { transform: none; }
.qs-modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.qs-modal__label { margin: 0 0 6px; color: var(--qs-navy); font-size: 11px; }
.qs-modal__title { margin: 0; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--qs-text); }
.qs-modal__close { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--qs-border-strong); border-radius: var(--qs-radius); background: #fff; color: var(--qs-text); cursor: pointer; }
.qs-modal__close:hover, .qs-modal__close:focus { background: var(--qs-tint); color: var(--qs-navy); border-color: var(--qs-navy); }
.qs-modal__sub { margin: 24px 0 8px; color: var(--qs-muted); font-size: 11px; }
.qs-modal__note { display: flex; gap: 10px; margin: 20px 0 0; font-size: 13px; line-height: 20px; color: var(--qs-text-2); }
.qs-modal__note svg { flex: 0 0 18px; color: var(--qs-navy); margin-top: 1px; }
.qs-modal__note--plain { display: block; margin-top: 14px; }
.qs-modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.qs-modal__actions .qs-btn { flex: 1 1 220px; }
.qs-btn.is-loading { cursor: progress; opacity: .85; }
.qs-modal__success { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding: 18px 20px; background: var(--qs-open-bg); border-radius: var(--qs-radius); color: var(--qs-open); }
.qs-modal__success svg { flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; color: var(--qs-text); }
.qs-modal__success p { margin: 0; font-size: 15px; line-height: 23px; }
.qs-modal__steps { counter-reset: s; margin: 0 0 20px; padding: 0; list-style: none; }
.qs-modal__steps li { counter-increment: s; display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--qs-border); font-size: 15px; color: var(--qs-text); }
.qs-modal__steps li::before { content: "0" counter(s); font-family: "Geist Mono", monospace; font-size: 12px; color: var(--qs-navy); }
.qs-modal__team { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--qs-border); font-size: 14px; color: var(--qs-text); }
.qs-modal__team a { color: var(--qs-navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.qs-modal { padding: 0; align-items: flex-end; }
	.qs-modal__dialog { max-height: 94vh; padding: 24px 20px 28px; border-radius: 12px 12px 0 0; transform: translateY(40px); }
	.qs-modal__title { font-size: 23px; line-height: 29px; }
}

/* ---- Class card, date tile, status chips ---- */
.qs-class-card { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; padding: 18px; background: var(--qs-subtle); border: 1px solid var(--qs-border); border-radius: var(--qs-radius); }
.qs-class-card__body { min-width: 0; }
.qs-class-card__title { margin: 0 0 4px; font-size: 18px; line-height: 24px; font-weight: 500; color: var(--qs-text); }
.qs-class-card__meta { margin: 0 0 8px; font-size: 12px; color: var(--qs-text-2); }
.qs-class-card__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 0; font-size: 14px; color: var(--qs-text); }
.qs-class-card__change { color: var(--qs-navy); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.qs-class-card.is-muted { background: var(--qs-subtle); }
.qs-date-tile { flex: 0 0 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 2px; background: var(--qs-navy); color: #fff; }
.qs-date-tile__day { font-size: 24px; line-height: 26px; font-weight: 600; }
.qs-date-tile .qs-mono { font-size: 10px; line-height: 14px; }
.qs-date-tile.is-muted { background: #fff; color: var(--qs-muted); border: 1px solid var(--qs-border); }
.qs-chip-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 2px; font-size: 13px; line-height: 18px; }
.qs-chip-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.qs-chip-status--open { background: var(--qs-open-bg); color: var(--qs-open); }
.qs-chip-status--full { background: var(--qs-full-bg); color: var(--qs-full); }
.qs-chip-status--neutral { background: #fff; color: var(--qs-text-2); }
.qs-chip-status--neutral::before { display: none; }

/* ---- Form fields (pop-ups and Request a seat) ---- */
.qs-modal__form { display: flex; flex-wrap: wrap; gap: 18px 16px; }
.qs-field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qs-field--half { flex: 1 1 calc(50% - 8px); }
@media (max-width: 600px) { .qs-field--half { flex-basis: 100%; } }
.qs-field > label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--qs-text); }
.qs-field :is(input, textarea), .qs-field .qs-select__trigger {
	width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid var(--qs-border-strong); border-radius: 2px; background: #fff;
	font-family: "Geist", sans-serif; font-size: 15px; line-height: 22px; color: var(--qs-text); box-shadow: none;
}
.qs-field textarea { min-height: 112px; resize: vertical; }
.qs-field :is(input, textarea)::placeholder { color: var(--qs-muted); opacity: 1; }
.qs-field :is(input, textarea):focus { border-color: var(--qs-navy); box-shadow: 0 0 0 1px var(--qs-navy); outline: none; }
.qs-field.is-invalid :is(input, textarea), .qs-field.is-invalid .qs-select__trigger { border-color: var(--qs-full); }
.qs-field__error, .qs-form-error { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 13px; line-height: 18px; color: var(--qs-full); }
.qs-field__error[hidden], .qs-form-error[hidden] { display: none; }
.qs-form-error { flex: 1 1 100%; padding: 12px 14px; background: var(--qs-full-bg); border-radius: 2px; font-size: 14px; }
.qs-field__error svg, .qs-form-error svg { flex: 0 0 auto; margin-top: 1px; }
.qs-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--qs-text-2); cursor: pointer; }
.qs-check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--qs-navy); }
.qs-check a { color: var(--qs-navy); text-decoration: underline; }
.qs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qs-modal__form .qs-select__trigger { justify-content: space-between; }

/* ---- Other dates ---- */
.qs-alt { margin: 0; padding: 0; list-style: none; }
.qs-alt li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--qs-border); }
.qs-alt li:first-child { padding-top: 6px; }
.qs-alt__info { flex: 1 1 auto; min-width: 0; }
.qs-alt__info .qs-mono { margin: 0 0 6px; font-size: 12px; color: var(--qs-text-2); }
.qs-alt__place { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 14px; color: var(--qs-text); }
.qs-alt .qs-btn { flex: 0 0 auto; }
@media (max-width: 600px) { .qs-alt li { flex-wrap: wrap; } .qs-alt .qs-btn { flex: 1 1 100%; } }
.qs-notify { padding: 24px; background: var(--qs-tint); border-radius: var(--qs-radius); }
.qs-notify__head { display: flex; gap: 14px; margin-bottom: 20px; }
.qs-notify__head p { margin: 0; font-size: 14px; line-height: 21px; color: var(--qs-text-2); }
.qs-notify__head .qs-notify__title { margin-bottom: 4px; font-size: 18px; line-height: 24px; font-weight: 500; color: var(--qs-text); }
.qs-notify__icon { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; height: 44px; background: #fff; border-radius: 2px; color: var(--qs-navy); }

/* ---- Training Schedule page: facts strip ---- */
.qs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; background: #fff; } /* the navy line and full-width band are on the Elementor slot around it */
.qs-facts > div { padding: 28px 24px 28px 24px; }
.qs-facts > div:first-child { padding-left: 0; }
.qs-facts > div + div { border-left: 1px solid var(--qs-border); }
.qs-facts dt { margin: 0 0 8px; font-size: 11px; color: var(--qs-muted); }
.qs-facts dd { margin: 0; font-size: 22px; line-height: 30px; font-weight: 500; color: var(--qs-text); }
@media (max-width: 1024px) { .qs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qs-facts > div:nth-child(3) { border-left: 0; padding-left: 0; } .qs-facts > div:nth-child(n+3) { border-top: 1px solid var(--qs-border); } }
@media (max-width: 600px) { .qs-facts dd { font-size: 18px; line-height: 24px; } .qs-facts > div { padding: 18px 12px; } }

/* ---- Calendar board ---- */
.qs-board .qs-schedule__fallback { padding-left: 20px; }
.qs-board:has(.qs-board__toolbar) .qs-schedule__fallback, .qs-list.is-ready .qs-schedule__fallback { display: none; }
.qs-board__toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.qs-toggle { display: inline-flex; justify-self: start; padding: 1px; border: 1.5px solid var(--qs-navy); border-radius: var(--qs-radius); }
.qs-toggle button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 2px; background: transparent; color: var(--qs-navy); font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; cursor: pointer; }
.qs-toggle button.is-active, .qs-toggle button.is-active:hover { background: var(--qs-navy); color: #fff; }
.qs-toggle button:hover, .qs-toggle button:focus { background: var(--qs-tint); color: var(--qs-navy); }
.qs-board__month { display: flex; align-items: center; gap: 12px; }
.qs-board__title { min-width: 210px; margin: 0; text-align: center; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.02em; color: var(--qs-text); }
.qs-board__selects { display: flex; justify-self: end; gap: 8px; }
.qs-filter { position: relative; min-width: 190px; }
.qs-filter > label { position: absolute; left: 16px; top: 50%; z-index: 1; transform: translateY(-50%); font-size: 11px; color: var(--qs-muted); pointer-events: none; }
.qs-filter .qs-select__trigger { min-height: 48px; padding: 0 14px 0 calc(16px + var(--qs-key, 70px)); border: 1.5px solid var(--qs-border-strong); border-radius: var(--qs-radius); background: #fff; font-size: 15px; font-weight: 500; color: var(--qs-text); }
.qs-filter:first-child { --qs-key: 72px; }
.qs-filter:last-child { --qs-key: 56px; }
.qs-board__filters { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.qs-board__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qs-legend { display: flex; gap: 20px; margin: 0; font-size: 14px; color: var(--qs-text-2); }
.qs-legend span { display: inline-flex; align-items: center; gap: 8px; }
.qs-legend span::before { content: ""; width: 14px; height: 14px; border-radius: 2px; }
.qs-legend__open::before { background: var(--qs-navy); }
.qs-legend__full::before { background: var(--qs-full-bg); border: 1px solid #E5A69E; }
.qs-board__wrap { position: relative; }
.qs-board__grid { border: 1px solid var(--qs-border); background: #fff; }
.qs-board__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.qs-board__days { background: var(--qs-navy); color: #fff; }
.qs-board__days > span { padding: 12px 14px; font-size: 11px; }
.qs-board__days abbr { text-decoration: none; }
.qs-board__cell { display: flex; flex-direction: column; gap: 6px; min-height: 128px; padding: 11px 11px 8px; border-right: 1px solid var(--qs-border); border-top: 1px solid var(--qs-border); }
.qs-board__cell:nth-child(7n) { border-right: 0; }
.qs-board__cell.is-out { background: var(--qs-subtle); }
.qs-board__cell.is-out .qs-board__num { color: #A6AAC2; }
.qs-board__num { font-size: 13px; color: var(--qs-text); }
.qs-board__cell.is-today .qs-board__num { color: var(--qs-navy); font-weight: 700; }
.qs-event {
	display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 8px 10px; text-align: left; border: 2px solid transparent; border-radius: 2px; background: var(--qs-navy); color: #fff;
	font-size: 13px; line-height: 18px; font-weight: 400; text-transform: none; letter-spacing: 0; white-space: normal; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.qs-event:hover, .qs-event:focus { background: var(--qs-navy-deep); color: #fff; }
.qs-event.is-active { border-color: var(--qs-pulse); }
.qs-event__top { display: flex; justify-content: space-between; gap: 6px; }
.qs-event__top .qs-mono { font-size: 11px; line-height: 14px; }
.qs-event.is-full, .qs-event.is-full:hover, .qs-event.is-full:focus { background: var(--qs-full-bg); color: var(--qs-full); }
.qs-board__empty { margin: 0; padding: 20px; border-top: 1px solid var(--qs-border); font-size: 15px; color: var(--qs-text-2); }
.qs-pop {
	position: absolute; z-index: 20; width: 344px; padding: 24px; background: #fff; border: 1.5px solid var(--qs-navy); border-radius: var(--qs-radius);
	box-shadow: 0 24px 60px rgba(0, 0, 92, .2);
}
.qs-pop__head { display: flex; justify-content: space-between; align-items: center; color: var(--qs-navy); font-size: 11px; }
.qs-pop__close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -8px -8px -8px 0; padding: 0; border: 0; background: transparent; color: var(--qs-muted); cursor: pointer; }
.qs-pop__close:hover, .qs-pop__close:focus { background: var(--qs-tint); color: var(--qs-navy); }
.qs-pop__title { margin: 12px 0 14px; font-size: 20px; line-height: 26px; font-weight: 500; color: var(--qs-text); }
.qs-pop__rows { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.qs-pop__rows li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--qs-text); }
.qs-pop__rows svg { flex: 0 0 18px; color: var(--qs-text-2); }
.qs-pop .qs-btn { display: flex; width: 100%; margin-top: 16px; }
.qs-pop__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--qs-navy); text-decoration: none; }
.qs-pop__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
	.qs-board__toolbar { grid-template-columns: 1fr auto; }
	.qs-board__selects { grid-column: 1 / -1; justify-self: stretch; }
	.qs-board__selects .qs-filter { flex: 1 1 0; min-width: 0; }
	.qs-board__title { min-width: 0; font-size: 24px; }
}
@media (max-width: 767px) {
	.qs-board__toolbar { grid-template-columns: 1fr; }
	.qs-toggle { display: none; } /* phones see the list right below; the calendar stays compact */
	.qs-board__month { justify-content: space-between; }
	.qs-board__selects { flex-direction: column; }
	.qs-board__chips { flex-wrap: nowrap; overflow-x: auto; }
	.qs-board__chips .qs-chip { flex: 0 0 auto; }
	.qs-legend { gap: 14px; font-size: 13px; }
	.qs-board__days > span { padding: 8px 4px; font-size: 9px; text-align: center; }
	.qs-board__dayfull { display: none; }
	.qs-board__cell { min-height: 64px; padding: 6px 3px; gap: 3px; }
	.qs-board__num { font-size: 11px; padding-left: 2px; }
	.qs-event { padding: 4px; }
	.qs-event__meta, .qs-event__top .qs-mono + .qs-mono { display: none; }
	.qs-event__top .qs-mono { font-size: 9px; letter-spacing: .02em; }
	.qs-pop { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; }
}
@media (min-width: 768px) { .qs-board__dayfull { display: inline; } }
.qs-board__days abbr + .qs-board__dayfull { display: inline; }
@media (max-width: 767px) { .qs-board__days abbr + .qs-board__dayfull { display: none; } }

/* ---- List ---- */
.qs-list { position: relative; }
.qs-list__count { position: absolute; right: 0; top: -40px; margin: 0; font-size: 11px; color: var(--qs-text-2); }
.qs-list__month { display: flex; align-items: center; gap: 16px; margin: 32px 0 20px; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--qs-navy); }
.qs-list__month::after { content: ""; flex: 1 1 auto; height: 1.5px; background: var(--qs-navy); }
.qs-list__month:first-of-type { margin-top: 0; }
.qs-list__rows { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); }
.qs-row { display: grid; grid-template-columns: 150px minmax(0, 1.4fr) 180px minmax(0, 1fr) 110px 180px; align-items: center; gap: 20px; padding: 16px 16px 16px 18px; }
.qs-row + .qs-row { border-top: 1px solid var(--qs-border); }
.qs-row__date { display: flex; align-items: center; gap: 10px; }
.qs-row__day { font-size: 36px; line-height: 40px; font-weight: 500; color: var(--qs-navy); letter-spacing: -.02em; }
.qs-row__date > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.qs-row__date .qs-mono { font-size: 11px; color: var(--qs-text); }
.qs-row__weekday { font-size: 13px; color: var(--qs-text-2); }
.qs-row__course { display: flex; flex-direction: column; gap: 4px; }
.qs-row__course .qs-mono { font-size: 11px; color: var(--qs-navy); }
.qs-row__title { font-size: 17px; line-height: 23px; color: var(--qs-text); }
.qs-row__time, .qs-row__place { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--qs-text-2); }
.qs-row__time { text-transform: none; letter-spacing: 0; }
.qs-row__time svg, .qs-row__place svg { flex: 0 0 16px; width: 16px; height: 16px; }
.qs-row__action .qs-btn { display: flex; width: 100%; min-height: 44px; padding: 10px 16px; font-size: 15px; }
.qs-list__empty { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--qs-border); font-size: 15px; color: var(--qs-text-2); }
@media (max-width: 1279px) { .qs-row { grid-template-columns: 130px minmax(0, 1.4fr) 160px minmax(0, 1fr) 100px 170px; gap: 14px; } }
@media (max-width: 1024px) {
	.qs-row { grid-template-columns: 110px minmax(0, 1fr) auto; grid-template-areas: "date course status" "date time place" "action action action"; row-gap: 10px; }
	.qs-row__date { grid-area: date; } .qs-row__course { grid-area: course; } .qs-row__status { grid-area: status; justify-self: end; }
	.qs-row__time { grid-area: time; } .qs-row__place { grid-area: place; } .qs-row__action { grid-area: action; }
}
@media (max-width: 600px) {
	.qs-row { grid-template-columns: 1fr auto; grid-template-areas: "date status" "course course" "time time" "place place" "action action"; padding: 16px; }
	.qs-list__count { position: static; margin: -8px 0 16px; }
	.qs-list__month { font-size: 22px; }
}

/* ---- Request a seat ---- */
.qs-seat { padding: 40px; background: var(--qs-subtle); background-image: linear-gradient(var(--qs-grid-line-light) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line-light) 1px, transparent 1px); background-size: 32px 32px; }
.qs-seat__actions { align-items: center; }
.qs-seat__actions .qs-btn { flex: 0 0 auto; }
.qs-seat__note { margin: 0; font-size: 13px; color: var(--qs-text-2); }
@media (max-width: 767px) { .qs-seat { padding: 24px 20px; } .qs-seat__actions .qs-btn { flex: 1 1 100%; } }
.qs-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--qs-border); }
/* Breadcrumb ([qs_breadcrumb]) */
.qs-crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 11px; }
.qs-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--qs-muted); }
.qs-crumbs a { color: var(--qs-text-2); text-decoration: none; }
.qs-crumbs a:hover { color: var(--qs-navy); text-decoration: underline; text-underline-offset: 3px; }
.qs-crumbs [aria-current] { color: var(--qs-navy); }
.qs-status-tag svg { flex: 0 0 auto; }

/* ==========================================================================
   Home on phones (Figma "Home — Mobile 390", 220:17142; 2026-11-01). Layout order and sizes of the atomic
   sections are set on the elements in Elementor (mobile breakpoint); the parts below belong to shortcodes.
   ========================================================================== */
.qs-fc__short, .qs-partners__more { display: none; }
@media (max-width: 767px) {
	/* Header: call button beside a navy menu button */
	.jsw-header-bar .qs-header-call {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; height: 44px; padding: 0; margin-left: auto;
		border: 1.5px solid var(--qs-navy); border-radius: var(--qs-radius); background: #fff; color: var(--qs-navy); font-size: 0; line-height: 0; overflow: hidden;
	}
	.jsw-header-bar .qs-header-call::after { display: none; }
	.jsw-header-bar .qs-header-call::before {
		content: ""; width: 20px; height: 20px; background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.jsw-header-bar .elementor-widget-nav-menu { order: 5; margin-left: 0; flex: 0 0 auto; width: auto; }
	.jsw-header-bar .elementor-menu-toggle { background: var(--qs-navy); color: #fff; }
	.jsw-header-bar .elementor-menu-toggle:hover { background: var(--qs-navy-deep); color: #fff; }

	/* Hero: card without the location row, flush course strip that scrolls sideways */
	.qs-hero .qs-next-class__place { display: none; }
	.qs-hero div:has(> .elementor-widget-shortcode .qs-next-class) { right: -4px; bottom: 32px; }
	.qs-course-index ul { gap: 0; padding: 0; background: var(--qs-navy-deep); border-top: 1px solid rgba(255, 255, 255, .14); }
	.qs-course-index li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
	.qs-course-index a, .qs-course-index li + li a { min-width: 160px; min-height: 84px; padding: 16px 20px; border: 0; border-radius: 0; }
	.qs-course-index svg { display: none; }
	.qs-course-index__name { font-size: 15px; white-space: nowrap; }

	/* Featured courses: short tabs, facts as label/value rows */
	.qs-fc__tab .qs-fc__name { display: none; }
	.qs-fc__tab .qs-fc__short { display: inline; }
	.qs-fc__tab { min-height: 48px; padding: 10px 18px; font-size: 15px; }
	.qs-fc__facts { gap: 0; padding: 0; border-bottom: 0; }
	.qs-fc__facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--qs-border); }
	.qs-fc__facts dt { margin: 0; padding-top: 2px; }
	.qs-fc__title { font-size: 30px; line-height: 36px; }
	.qs-fc__text { font-size: 16px; line-height: 26px; }
	.qs-fc__actions { padding-top: 24px; }

	/* Upcoming classes: compact month (day numbers, a bar under days with classes; tap to select) */
	.qs-schedule__filters { display: none; }
	.qs-cal__head { padding: 12px 12px 12px 16px; }
	.qs-cal__month { font-size: 20px; line-height: 26px; }
	.qs-cal__days span { text-align: center; }
	.qs-cal__cell { position: relative; min-height: 48px; padding: 0; align-items: center; justify-content: center; }
	.qs-cal__num { padding: 0; font-size: 13px; }
	.qs-cal__event { position: absolute; inset: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 0; }
	.qs-cal__event > * { display: none !important; }
	.qs-cal__event::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 14px; height: 2px; margin-left: -7px; background: var(--qs-navy); }
	.qs-cal__event.is-full::after { background: var(--qs-pulse); }
	.qs-cal__event:hover, .qs-cal__event:focus, .qs-cal__event.is-full, .qs-cal__event.is-full:hover { background: transparent; }
	.qs-cal__cell.is-selected { background: var(--qs-navy); }
	.qs-cal__cell.is-selected .qs-cal__num { color: #fff; }
	.qs-cal__cell.is-selected .qs-cal__event::after { background: #fff; }
	.qs-cal__event.is-active { border: 0; }
	.qs-selected { padding: 20px; }
	.qs-selected__title { font-size: 20px; line-height: 26px; margin: 16px 0 12px; }
	.qs-upnext { padding: 6px 18px 2px; }

	/* Testimonials */
	.qs-quote__text p { font-size: 22px; line-height: 31px; }
	.qs-quote__nav { margin-top: 28px; }

	/* Partners: four logos a row, the navy cell is just an arrow, button below */
	.qs-partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.qs-partners__cell { min-height: 80px; padding: 8px; }
	.qs-partners__cell img { max-width: 100%; max-height: 40px; }
	.qs-partners__cta > a { align-items: center; justify-content: center; padding: 8px; }
	.qs-partners__cta-title { display: none; }
	.qs-partners__cta-link { font-size: 0; justify-content: center; }
	.qs-partners__cta-link svg { width: 22px; height: 22px; }
	.qs-partners__more { display: flex; width: 100%; margin-top: 20px; }

	/* Inquiry band */
	.qs-contact-rows a { grid-template-columns: 18px 1fr; row-gap: 2px; }
	.qs-contact-rows .qs-mono { grid-column: 2; }
	.qs-contact-rows svg { grid-row: 1 / span 2; }
	.qs-contact-rows__value { grid-column: 2; }

	/* Footer: brand on its own row, then two menu columns per row */
	.elementor-location-footer .qs-badges img { height: 48px; }
}
@media (max-width: 767px) {
	.jsw-header-bar .elementor-menu-toggle svg { fill: #fff; }
	.qs-course-index ul { scrollbar-width: none; }
	.qs-course-index ul::-webkit-scrollbar { display: none; }
}
/* Icon slots inside chips and tags size to the icon (an atomic div is full width by default) */
div:has(> p) > div:has(> .elementor-widget-shortcode .qs-icon:only-child) { width: auto; flex: 0 0 auto; }

/* ==========================================================================
   About Us (Figma 220:6931)
   ========================================================================== */
/* Instructors ([qs_instructors]) */
.qs-people__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.qs-people__title { margin: 0; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--qs-text); }
.qs-people__nav { display: flex; gap: 8px; }
.qs-people__nav .qs-icon-btn { width: 48px; height: 48px; }
.qs-people__nav .qs-icon-btn:disabled { opacity: .35; cursor: default; }
/* arrows always shown (Figma 220:7018); greyed out when there is nothing more to scroll to */
.qs-people__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; margin: 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.qs-people__track::-webkit-scrollbar { display: none; }
.qs-person { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); overflow: hidden; }
.qs-person__photo { display: block; width: 100%; aspect-ratio: 314 / 300; height: auto; object-fit: cover; background: var(--qs-tint); }
.qs-person__photo--empty { display: flex; align-items: center; justify-content: center; color: var(--qs-navy); }
.qs-person__body { padding: 20px; }
.qs-person__name { margin: 0 0 6px; font-size: 19px; line-height: 26px; font-weight: 500; color: var(--qs-text); }
.qs-person__role { margin: 0 0 8px; font-size: 14px; line-height: 20px; color: var(--qs-text-2); }
.qs-person__tag { display: inline-block; margin: 0; padding: 4px 8px; background: var(--qs-tint); border-radius: 2px; font-size: 11px; color: var(--qs-navy); }
@media (max-width: 1024px) { .qs-people__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 767px) { .qs-people__track { grid-auto-columns: 78%; } .qs-people__title { font-size: 24px; } }

/* Accreditations table ([qs_accreditations]) */
.qs-table-wrap { overflow-x: auto; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; }
.qs-acc { width: 100%; min-width: 760px; border-collapse: collapse; }
.qs-acc thead th { padding: 12px 24px; background: var(--qs-navy); color: #fff; font-size: 11px; font-weight: 500; text-align: left; }
.qs-acc tbody th, .qs-acc td { padding: 22px 24px; border-top: 1px solid var(--qs-border); text-align: left; vertical-align: middle; font-size: 15px; line-height: 22px; color: var(--qs-text-2); }
.qs-acc tbody tr:first-child > * { border-top: 0; }
.qs-acc tbody th { width: 32%; font-weight: 500; color: var(--qs-text); }
.qs-acc__name { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 26px; }
.qs-acc__name svg { flex: 0 0 22px; color: var(--qs-navy); }
.qs-acc tr.is-first .qs-acc__name svg { color: var(--qs-pulse); }
.qs-acc__ref { font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--qs-muted); }
.qs-acc__link { width: 200px; text-align: right !important; }
.qs-acc__link a { display: inline-flex; align-items: center; gap: 6px; color: var(--qs-navy); font-size: 15px; text-decoration: none; }
.qs-acc__link a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.qs-table-wrap { border: 0; background: transparent; overflow: visible; }
	.qs-acc { min-width: 0; }
	.qs-acc thead { display: none; }
	.qs-acc tbody tr { display: block; margin-bottom: 12px; padding: 18px; background: #fff; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); }
	.qs-acc tbody th, .qs-acc td { display: block; width: auto; padding: 4px 0; border: 0; }
	.qs-acc__link { text-align: left !important; }
}
/* Small laptops (1025–1279): page-hero headlines step down so they keep their lines beside the photo */
@media (min-width: 1025px) and (max-width: 1279px) { .qs-h1 { font-size: 68px; line-height: 70px; letter-spacing: -2.6px; } }
/* Pictograms keep their own size inside shrink-to-fit tiles (max-width: 100% of a 0-wide wrapper hid them) */
.elementor-widget-shortcode .qs-picto { max-width: none; }
@media (max-width: 767px) { .elementor-widget-shortcode .qs-picto[width="96"] { width: 60px; height: 60px; } }
/* Accreditations table to Figma 220:7074: Hello Elementor's default table styles (zebra striping, borders on every
   cell, hover tint) are reset; rows are white with horizontal dividers only and no outer box. */
.qs-table-wrap { border: 0; border-radius: 0; background: transparent; }
.qs-acc, .qs-acc :is(th, td) { border: 0; }
.qs-acc tbody > tr > :is(th, td), .qs-acc tbody > tr:nth-child(odd) > :is(th, td), .qs-acc tbody > tr:hover > :is(th, td) { background-color: #fff; }
.qs-acc tbody > tr > :is(th, td) { border-bottom: 1px solid var(--qs-border); }
.qs-acc tbody tr:first-child > * { border-top: 0; }
.qs-acc thead th { border: 0; background: var(--qs-navy); }
.qs-acc tbody th { font-weight: 500; }
.qs-acc__name { font-size: 18px; line-height: 26px; color: var(--qs-text); }
.qs-acc td { color: var(--qs-text-2); }
@media (max-width: 767px) {
	.qs-acc tbody tr { border: 1px solid var(--qs-border); }
	.qs-acc tbody > tr > :is(th, td) { border-bottom: 0; background-color: transparent; }
}

/* Drag-to-scroll photo strip + custom scroll bar (qs-sections.js 3c) */
.qs-drag-scroll { cursor: grab; scrollbar-width: none; overscroll-behavior-x: contain; user-select: none; -webkit-user-select: none; }
.qs-drag-scroll::-webkit-scrollbar { display: none; }
.qs-drag-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto; }
.qs-drag-scroll img { -webkit-user-drag: none; transition: scale .3s var(--qs-ease); }
.qs-drag-scroll:not(.is-dragging) img:hover { scale: 1.01; }
.qs-scrollbar { position: relative; width: min(1312px, calc(100% - 128px)); height: 4px; margin: 28px auto 0; background: var(--qs-tint-strong); border-radius: 2px; cursor: pointer; touch-action: none; }
.qs-scrollbar[hidden] { display: none; }
.qs-scrollbar span { position: absolute; left: 0; top: -4px; height: 12px; border-radius: 6px; background: transparent; cursor: grab; }
.qs-scrollbar span::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 4px; border-radius: 2px; background: var(--qs-navy); transition: height .15s ease, top .15s ease; }
.qs-scrollbar span:hover::before, .qs-scrollbar span:active::before { top: 3px; height: 6px; }
@media (max-width: 1024px) { .qs-scrollbar { width: calc(100% - 80px); } }
@media (max-width: 767px) { .qs-scrollbar { width: calc(100% - 40px); margin-top: 20px; } }

/* Footer menus: the current page link stays navy with a line under it (user, 2026-11-01) */
.elementor-location-footer .elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor-location-footer .elementor-nav-menu--main .current-menu-item > .elementor-item {
	color: var(--qs-navy) !important; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.elementor-location-footer .elementor-nav-menu--main .elementor-item:is(:hover, :focus) { color: var(--qs-navy) !important; }
.elementor-location-footer .qs-badges img { width: auto; max-width: none; height: 56px; object-fit: contain; }
.qs-drag-scroll > * { min-width: 0; } /* photos keep their set width instead of their natural width at 340px tall */
/* In-page anchors land below the sticky header */
section[id], [id].qs-people { scroll-margin-top: 100px; }

/* ==========================================================================
   Header main menu: lava lamp underline + mega panels (assets/js/qs-header.js; desktop 1025px and up)
   ========================================================================== */
/* Elementor's per-item pointer (default green) is replaced by the single sliding line */
.jsw-header-bar .elementor-nav-menu--main .elementor-item::after, .jsw-header-bar .elementor-nav-menu--main .elementor-item::before { display: none !important; }
.jsw-header-bar .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--qs-navy); }
.jsw-header-bar .elementor-nav-menu--main { position: relative; }
.qs-lava {
	position: absolute; top: var(--lava-top, 100%); left: var(--lava-l, 0px); right: var(--lava-r, 100%); height: 2px; border-radius: 2px;
	background: var(--qs-navy); opacity: 0; pointer-events: none;
	transition: left 420ms cubic-bezier(.22, .61, .36, 1), right 420ms cubic-bezier(.22, .61, .36, 1), opacity 200ms ease;
}
.qs-lava.is-on { opacity: 1; }
.qs-lava.is-going-right { transition: left 460ms cubic-bezier(.22, .61, .36, 1) 40ms, right 240ms cubic-bezier(.22, .61, .36, 1), opacity 200ms ease; }
.qs-lava.is-going-left { transition: left 240ms cubic-bezier(.22, .61, .36, 1), right 460ms cubic-bezier(.22, .61, .36, 1) 40ms, opacity 200ms ease; }
.qs-lava.is-jump { transition: opacity 200ms ease; }
@media (max-width: 1024px) { .qs-lava, .qs-mega { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .qs-lava, .qs-lava:is(.is-going-left, .is-going-right) { transition: opacity 150ms ease; } }

/* Desktop: Elementor's own dropdowns stay hidden (the mega panel shows the sub-items); a small chevron marks items with a panel */
@media (min-width: 1025px) {
	.jsw-header-bar .elementor-nav-menu--main .sub-menu { display: none !important; }
	.jsw-header-bar .elementor-nav-menu--main .elementor-item.has-submenu { padding-right: 30px !important; }
	.jsw-header-bar .elementor-nav-menu--main .sub-arrow { position: absolute; right: 12px; top: 50%; display: flex; margin: 0; padding: 0; transform: translateY(-50%); }
	.jsw-header-bar .elementor-nav-menu--main .sub-arrow :is(svg, i) { width: 10px; height: 10px; fill: currentColor; transition: transform .2s var(--qs-ease); }
	.jsw-header-bar .elementor-nav-menu--main .is-mega-open > a .sub-arrow :is(svg, i) { transform: rotate(180deg); }
	.jsw-header-bar .elementor-nav-menu--main .is-mega-open > a { color: var(--qs-navy); }
}

.qs-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 90; background: #fff; border-top: 1px solid var(--qs-border); box-shadow: 0 30px 60px rgba(0, 0, 92, .14); }
.qs-mega[hidden], .qs-mega__panel[hidden] { display: none; }
.qs-mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; max-width: 1440px; margin: 0 auto; padding: 36px 64px 40px; }
.qs-mega__sub { margin: 0 0 12px; color: var(--qs-muted); font-size: 11px; }
.qs-mega__link-title { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 22px; font-weight: 500; color: var(--qs-text); }
.qs-mega__link-title svg { flex: 0 0 auto; opacity: 0; translate: -4px 0; transition: opacity .2s ease, translate .2s var(--qs-ease); color: var(--qs-navy); }
.qs-mega__link-desc { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--qs-text-2); }
/* Courses: pictogram cards */
.qs-mega__grid--courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qs-mega__course { display: flex; gap: 16px; padding: 16px; border-radius: var(--qs-radius); text-decoration: none; transition: background-color .15s ease; }
.qs-mega__course:hover, .qs-mega__course:focus-visible { background: var(--qs-subtle); }
.qs-mega__course:hover .qs-mega__link-title { color: var(--qs-navy); }
.qs-mega__picto { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; height: 56px; background: var(--qs-tint); border-radius: 2px; }
.qs-mega__picto .qs-picto { width: 36px; height: 36px; max-width: none; }
.qs-mega__course-text { min-width: 0; }
.qs-mega__next { display: block; margin-top: 8px; font-size: 10.5px; color: var(--qs-navy); }
.qs-mega__promo { display: flex; flex-direction: column; padding: 28px; background: var(--qs-navy); color: #fff; border-radius: var(--qs-radius); background-image: linear-gradient(var(--qs-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line) 1px, transparent 1px); background-size: 32px 32px; }
.qs-mega__promo .qs-mono { margin: 0; color: var(--qs-tint-strong); font-size: 11px; }
.qs-mega__promo-day { margin: 10px 0 0; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.qs-mega__promo-day span { font-size: 20px; font-weight: 500; letter-spacing: 0; }
.qs-mega__promo-title { margin: 14px 0 6px; font-size: 18px; line-height: 24px; font-weight: 500; }
.qs-mega__promo-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 20px; font-size: 14px; color: var(--qs-tint-strong); }
.qs-mega__promo .qs-btn { display: flex; }
.qs-mega__promo-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: #fff; font-size: 14px; text-decoration: none; }
.qs-mega__promo-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Links (About, Partnership, schedule shortcuts) */
.qs-mega__links { display: flex; flex-direction: column; gap: 4px; }
.qs-mega__links--wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start; }
.qs-mega__link { display: block; padding: 16px; border-radius: var(--qs-radius); text-decoration: none; transition: background-color .15s ease; }
.qs-mega__link:hover, .qs-mega__link:focus-visible { background: var(--qs-subtle); }
:is(.qs-mega__link, .qs-mega__course):hover .qs-mega__link-title svg, :is(.qs-mega__link, .qs-mega__course):focus-visible .qs-mega__link-title svg { opacity: 1; translate: 0 0; }
.qs-mega__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; background: var(--qs-subtle); border-radius: var(--qs-radius); background-image: linear-gradient(var(--qs-grid-line-light) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line-light) 1px, transparent 1px); background-size: 32px 32px; }
.qs-mega__aside-title { margin: 0; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--qs-text); }
.qs-mega__all { display: inline-flex; align-items: center; gap: 8px; color: var(--qs-navy); font-size: 15px; font-weight: 500; text-decoration: none; }
.qs-mega__all:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Training Schedule: next open classes */
.qs-mega__panel:has(.qs-mega__classes) .qs-mega__inner { grid-template-columns: 340px minmax(0, 1fr); }
.qs-mega__classes ul { margin: 0 0 16px; padding: 0; list-style: none; }
.qs-mega__classes li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--qs-border); }
.qs-mega__tile { flex: 0 0 56px; width: 56px; height: 56px; }
.qs-mega__tile .qs-date-tile__day { font-size: 20px; line-height: 22px; }
.qs-mega__class { flex: 1 1 auto; min-width: 0; }
.qs-mega__classes .qs-btn { flex: 0 0 auto; min-height: 42px; padding: 8px 16px; font-size: 14px; }
@media (max-width: 1279px) { .qs-mega__inner { padding: 28px 40px 32px; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; } .qs-mega__links--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Mega menu fields: icons, badges, custom side card (inc/mega-menu.php) */
.qs-mega__link.has-icon { display: flex; align-items: flex-start; gap: 14px; }
.qs-mega__icon { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 2px; background: var(--qs-tint); color: var(--qs-navy); }
.qs-mega__icon .qs-picto { width: 30px; height: 30px; max-width: none; }
.qs-mega__badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 10px; background: var(--qs-pulse); color: #fff; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.qs-mega__aside--custom { gap: 16px; justify-content: flex-start; }
.qs-mega__aside--custom .qs-mega__all { margin-top: auto; }
.qs-mega__aside-img { width: 100%; height: 140px; object-fit: cover; border-radius: 2px; }
.qs-mega__aside-text { margin: 8px 0 0; font-size: 14px; line-height: 21px; color: var(--qs-text-2); }
.qs-mega__panel:not(:has(aside)):not(:has(.qs-mega__classes)) .qs-mega__inner { grid-template-columns: minmax(0, 1fr); }
.qs-mega__panel:has(.qs-mega__classes):has(aside) .qs-mega__inner { grid-template-columns: 300px minmax(0, 1fr) 300px; }
/* Phones: sub-item descriptions come from the menu fields, not the browser tooltip */
.jsw-header-bar .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item { padding-left: 40px !important; font-size: 16px; }

/* ==========================================================================
   Course module (inc/sections/courses.php, Figma Build · 03 · Courses)
   ========================================================================== */
/* ---- Courses landing: filters ---- */
.qs-catalogue__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.qs-catalogue__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.qs-filter-chip { min-height: 44px; padding: 10px 16px; border: 1px solid var(--qs-border-strong); border-radius: 2px; background: #fff; color: var(--qs-text); font: 500 14px/20px var(--qs-font, Geist, sans-serif); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.qs-filter-chip:hover { border-color: var(--qs-navy); color: var(--qs-navy); background: #fff; }
.qs-filter-chip.is-active, .qs-filter-chip.is-active:hover { background: var(--qs-navy); border-color: var(--qs-navy); color: #fff; }
.qs-filter-chip:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
.qs-catalogue__aud { display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 0 0 0 16px; border: 1px solid var(--qs-border-strong); border-radius: 2px; background: #fff; }
.qs-catalogue__aud > .qs-mono { flex: 0 0 auto; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-muted); }
.qs-catalogue__aud select, .qs-catalogue__aud .qs-select { flex: 1 1 auto; min-width: 0; border: 0 !important; background-color: transparent; }
.qs-catalogue__aud .qs-select { position: relative; }
.qs-catalogue__aud .qs-select__trigger, .qs-catalogue__aud .qs-select__trigger:hover, .qs-catalogue__aud .qs-select__trigger:focus { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 0 14px 0 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: var(--qs-text) !important; font: 500 14px/20px var(--qs-font, Geist, sans-serif); }
.qs-catalogue__aud .qs-select__trigger:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
.qs-catalogue__aud .qs-select__value { flex: 1 1 auto; text-align: left; }
.qs-catalogue__aud .qs-select__list { left: auto; right: -1px; min-width: 300px; }
.qs-catalogue__empty { margin: 0; padding: 32px; border: 1px dashed var(--qs-border-strong); text-align: center; color: var(--qs-text-2); }
.qs-catalogue__empty a { color: var(--qs-navy); font-weight: 500; }

/* ---- Courses landing: groups and rows ---- */
.qs-catgroup + .qs-catgroup { margin-top: 72px; }
.qs-catgroup[hidden], .qs-crow[hidden] { display: none; }
.qs-catgroup__head { display: flex; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--qs-border); }
.qs-catgroup__icon { flex: 0 0 64px; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 2px; background: var(--qs-tint); color: var(--qs-navy); }
.qs-catgroup__icon .qs-picto { width: 40px; height: 40px; max-width: none; }
.qs-catgroup__title { flex: 1 1 auto; margin: 0; font: 600 44px/50px var(--qs-font, Geist, sans-serif); letter-spacing: -1px; color: var(--qs-text); }
.qs-catgroup__count { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-muted); white-space: nowrap; }
.qs-crow { display: grid; grid-template-columns: 360px minmax(0, 1fr) 300px; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--qs-border); }
.qs-crow__media { display: block; align-self: start; overflow: hidden; border-radius: 2px; }
.qs-crow__img { display: block; width: 100%; height: 240px !important; max-width: none; object-fit: cover; transition: transform .6s var(--qs-ease); }
.qs-crow:hover .qs-crow__img { transform: scale(1.03); }
.qs-crow__cat { margin: 4px 0 10px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-navy); }
.qs-crow__title { margin: 0; font: 500 28px/36px var(--qs-font, Geist, sans-serif); letter-spacing: -.4px; color: var(--qs-text); }
.qs-crow__title a { color: inherit; text-decoration: none; }
.qs-crow__title a:hover { color: var(--qs-navy); }
.qs-crow__text { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: var(--qs-text-2); }
.qs-crow__next { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--qs-navy); }
.qs-crow__next svg { flex: 0 0 auto; }
.qs-crow__side { display: flex; flex-direction: column; gap: 12px; }
.qs-crow__spec { margin: 0 0 6px; }
.qs-crow__spec > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--qs-border); }
.qs-crow__spec > div:first-child { padding-top: 4px; }
.qs-crow__spec dt { font-size: 11px; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-muted); }
.qs-crow__spec dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--qs-text); }
.qs-crow__side .qs-btn { width: 100%; }
@media (max-width: 1279px) { .qs-crow { grid-template-columns: 280px minmax(0, 1fr) 280px; gap: 28px; } .qs-crow__img { height: 200px !important; } }
@media (max-width: 1024px) {
	.qs-crow { grid-template-columns: 240px minmax(0, 1fr); }
	.qs-crow__side { grid-column: 2; }
	.qs-catgroup__title { font-size: 34px; line-height: 40px; }
}
@media (max-width: 767px) {
	.qs-catalogue__bar { margin-bottom: 40px; }
	.qs-catalogue__chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
	.qs-filter-chip { flex: 0 0 auto; }
	.qs-catalogue__aud { width: 100%; }
	.qs-crow { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; }
	.qs-crow__side { grid-column: auto; }
	.qs-crow__img { height: 200px !important; }
	.qs-crow__title { font-size: 23px; line-height: 30px; }
	.qs-catgroup__head { gap: 12px; flex-wrap: wrap; }
	.qs-catgroup__icon { flex-basis: 48px; width: 48px; height: 48px; }
	.qs-catgroup__icon .qs-picto { width: 30px; height: 30px; }
	.qs-catgroup__title { font-size: 26px; line-height: 32px; letter-spacing: -.5px; flex-basis: calc(100% - 64px); }
	.qs-catgroup__count { width: 100%; padding-left: 60px; }
	.qs-catgroup + .qs-catgroup { margin-top: 56px; }
}

/* ---- Course finder table ---- */
.qs-finder__scroll { position: relative; overflow-x: auto; border: 1px solid var(--qs-border); border-radius: 4px; background: #fff; }
.qs-finder__table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; border: 0; }
.qs-finder__table th, .qs-finder__table td { border: 0; background: transparent !important; }
.qs-finder__table thead th { padding: 16px 12px; background: var(--qs-navy) !important; color: #fff; font-size: 11px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; text-align: center; font-weight: 400; }
.qs-finder__table thead th:first-child { padding-left: 28px; text-align: left; width: 34%; }
.qs-finder__table abbr { text-decoration: none; cursor: help; }
.qs-finder__table tbody tr + tr { border-top: 1px solid var(--qs-border); }
.qs-finder__table tbody tr:hover { background: var(--qs-subtle); }
.qs-finder__table tbody th { padding: 18px 12px 18px 28px; text-align: left; font-size: 16px; line-height: 22px; font-weight: 500; color: var(--qs-text); }
.qs-finder__table td { padding: 12px; text-align: center; }
.qs-finder__table td a, .qs-finder__cell { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.qs-finder__table td a:hover { background: var(--qs-tint); }
.qs-finder__mark { display: inline-block; vertical-align: middle; }
.qs-finder__mark--rec { width: 16px; height: 16px; border-radius: 50%; background: var(--qs-navy); }
.qs-finder__mark--dep { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--qs-navy); }
.qs-finder__mark--no { width: 10px; height: 1.5px; background: var(--qs-border-strong); }
.qs-finder__legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 18px; color: var(--qs-text-2); }
.qs-finder__legend li { display: inline-flex; align-items: center; gap: 10px; }
.qs-finder__legend .qs-finder__mark--rec, .qs-finder__legend .qs-finder__mark--dep { width: 12px; height: 12px; }
@media (max-width: 767px) {
	.qs-finder__table { min-width: 560px; }
	.qs-finder__table thead th:first-child, .qs-finder__table tbody th { position: sticky; left: 0; z-index: 1; width: 150px; padding-left: 16px; box-shadow: 1px 0 0 var(--qs-border); }
	.qs-finder__table tbody th { background: #fff !important; font-size: 14px; line-height: 19px; }
}

/* ---- Course Detail: hero ---- */
.qs-course-visual { position: relative; width: 100%; height: 400px; }
@media (max-width: 1024px) { .qs-course-visual { height: 360px; } }
@media (max-width: 767px) { .qs-course-visual { height: 240px; } }
.qs-course-visual__photo { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; border: 8px solid #fff; border-radius: 2px; box-shadow: 0 24px 60px rgba(0, 0, 92, .12); }
.qs-course-visual__picto { position: absolute; left: -72px; bottom: -36px; display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; background: #fff; border-radius: 2px; box-shadow: 0 16px 40px rgba(0, 0, 92, .12); }
.qs-course-visual__picto .qs-picto { width: 96px; height: 96px; max-width: none; }
.qs-course-facts { width: 100%; }
@media (max-width: 1024px) { .qs-course-visual__picto { left: 16px; } }
@media (max-width: 767px) { .qs-course-visual__picto { width: 88px; height: 88px; bottom: -24px; } .qs-course-visual__picto .qs-picto { width: 60px; height: 60px; } }

/* ---- Course Detail: section tabs ---- */
.qs-ctabs { position: relative; border-bottom: 1px solid var(--qs-border); background: #fff; }
.qs-ctabs ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.qs-ctabs ul::-webkit-scrollbar { display: none; }
.qs-ctabs__link { position: relative; display: block; padding: 16px 0 14px; white-space: nowrap; font-size: 14px; line-height: 20px; color: var(--qs-text-2); text-decoration: none; }
.qs-ctabs__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--qs-navy); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--qs-ease); }
.qs-ctabs__link:hover, .qs-ctabs__link.is-current { color: var(--qs-navy); }
.qs-ctabs__link.is-current::after { transform: scaleX(1); }
.qs-course-section { scroll-margin-top: 150px; }

/* ---- Course Detail: body parts ---- */
.qs-course-overview p { margin: 0 0 16px; font-size: 17px; line-height: 28px; color: var(--qs-text-2); }
.qs-course-overview p:last-child { margin-bottom: 0; }
.qs-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.qs-skill { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--qs-border); border-radius: 4px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.qs-skill:hover { border-color: var(--qs-tint-strong); box-shadow: 0 10px 24px rgba(0, 0, 92, .06); }
.qs-skill__icon { flex: 0 0 48px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 2px; background: var(--qs-tint); color: var(--qs-navy); }
.qs-skill__icon .qs-picto { width: 32px; height: 32px; max-width: none; }
.qs-skill__title { display: block; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--qs-text); }
.qs-skill__text { display: block; margin-top: 2px; font-size: 13px; line-height: 19px; color: var(--qs-text-2); }
.qs-attend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qs-attend li { padding: 8px 12px; border-radius: 2px; background: var(--qs-tint); color: var(--qs-navy); font-size: 13px; line-height: 18px; font-weight: 500; }
.qs-reqs { margin: 0; padding: 0; list-style: none; }
.qs-reqs li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--qs-border); font-size: 15px; line-height: 22px; color: var(--qs-text-2); }
.qs-reqs li:first-child { padding-top: 0; }
.qs-reqs svg { flex: 0 0 auto; color: var(--qs-navy); }
.qs-cert { display: flex; align-items: center; gap: 20px; padding: 28px; border: 1px solid var(--qs-border); border-radius: 4px; background-color: var(--qs-subtle); }
.qs-cert__icon { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 2px; background: #fff; color: var(--qs-navy); }
.qs-cert__label { margin: 0 0 6px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-navy); }
.qs-cert__text { margin: 0; font-size: 18px; line-height: 27px; font-weight: 500; color: var(--qs-text); }
.qs-accordion { border-top: 1px solid var(--qs-border); }
.qs-acc-item { border-bottom: 1px solid var(--qs-border); }
.qs-acc-item__q { margin: 0; font-size: inherit; }
.qs-acc-item__q button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border: 0; background: transparent; color: var(--qs-text); font: 500 18px/26px var(--qs-font, Geist, sans-serif); text-align: left; cursor: pointer; }
.qs-acc-item__q button:hover { background: transparent; color: var(--qs-navy); }
.qs-acc-item__q button { white-space: normal; }
.qs-acc-item__q button > span:first-child { flex: 1 1 auto; min-width: 0; }
.qs-acc-item__q button:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
.qs-acc-item__icon { transition: background-color .3s ease, color .3s ease, transform .38s cubic-bezier(.25, .46, .45, .94); }
.qs-acc-item__icon { flex: 0 0 32px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 2px; background: var(--qs-tint); color: var(--qs-navy); transition: background-color .2s ease, color .2s ease, transform .25s var(--qs-ease); }
.qs-acc-item.is-open .qs-acc-item__icon { background: var(--qs-navy); color: #fff; transform: rotate(180deg); }
.qs-acc-item__a p { margin: 0; max-width: 640px; font-size: 15px; line-height: 24px; color: var(--qs-text-2); }
.qs-acc-item__a p + p { margin-top: 12px; }
@media (max-width: 767px) { .qs-skills { grid-template-columns: minmax(0, 1fr); } .qs-acc-item__q button { font-size: 16px; line-height: 23px; } .qs-cert { flex-direction: column; align-items: flex-start; padding: 22px; } }

/* ---- Course Detail: booking card ---- */
.qs-book-wrap { display: flex; flex-direction: column; gap: 12px; }
.qs-book { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 28px; border-radius: 4px; color: #fff; }
.qs-book__title { margin: 0 0 8px; font: 600 26px/32px var(--qs-font, Geist, sans-serif); letter-spacing: -.4px; color: #fff; }
.qs-book__fee { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 16px; border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.qs-book__fee .qs-mono, .qs-book__label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-tint-strong); }
.qs-book__price { font-size: 18px; line-height: 24px; font-weight: 500; text-align: right; }
.qs-book__label { margin: 8px 0 0; }
.qs-book__classes { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qs-book__class { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 2px; background: #fff; color: var(--qs-text); text-decoration: none; transition: transform .2s var(--qs-ease), box-shadow .2s ease; }
.qs-book__class:hover { color: var(--qs-text); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 40, .25); }
.qs-book__class.is-full { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.qs-book__class.is-full:hover { color: #fff; }
.qs-book__day { flex: 0 0 auto; min-width: 30px; font-size: 26px; line-height: 30px; font-weight: 600; }
.qs-book__when { flex: 1 1 auto; display: flex; flex-direction: column; font-size: 14px; line-height: 19px; font-weight: 500; }
.qs-book__when .qs-mono { font-size: 10px; line-height: 14px; letter-spacing: 1px; color: var(--qs-muted); }
.qs-book__class.is-full .qs-book__when .qs-mono { color: var(--qs-tint-strong); }
.qs-book__none { margin: 0; padding: 14px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 2px; font-size: 14px; line-height: 20px; color: var(--qs-tint-strong); }
.qs-book .qs-btn { width: 100%; }
.qs-book .qs-btn:first-of-type { margin-top: 8px; }
.qs-btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.qs-btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.qs-book__note { display: flex; gap: 8px; margin: 4px 0 0; font-size: 12px; line-height: 18px; color: var(--qs-tint-strong); }
.qs-book__note svg { flex: 0 0 auto; margin-top: 1px; }
.qs-book-team { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--qs-border); border-radius: 4px; background: #fff; color: var(--qs-navy); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.qs-book-team:hover { border-color: var(--qs-navy); background: var(--qs-subtle); color: var(--qs-navy); }
.qs-book-team > span:nth-child(2) { flex: 1 1 auto; }
.qs-book-team__icon { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 2px; background: var(--qs-tint); }
.qs-book-team__title { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--qs-text); }
.qs-book-team__link { display: block; font-size: 13px; line-height: 19px; }

/* ---- Course Detail: related courses ---- */
.qs-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.qs-related__card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--qs-border); border-radius: 4px; background: #fff; color: var(--qs-text); text-decoration: none; transition: box-shadow .25s ease, transform .25s var(--qs-ease); }
.qs-related__card a:hover { transform: translateY(-3px); box-shadow: var(--qs-shadow); color: var(--qs-text); }
.qs-related__cover { display: flex; align-items: center; justify-content: center; height: 200px; background-size: 32px 32px; }
.qs-related__cover--navy { background-color: var(--qs-navy); background-image: linear-gradient(var(--qs-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line) 1px, transparent 1px); }
.qs-related__cover--tint { background-color: var(--qs-tint); background-image: linear-gradient(rgba(0, 0, 128, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 128, .1) 1px, transparent 1px); }
.qs-related__cover--pulse { background-color: #FDEDEB; background-image: linear-gradient(rgba(224, 70, 60, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(224, 70, 60, .16) 1px, transparent 1px); }
.qs-related__picto { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 2px; background: #fff; transition: transform .35s var(--qs-ease); }
.qs-related__card a:hover .qs-related__picto { transform: scale(1.06); }
.qs-related__picto .qs-picto { width: 64px; height: 64px; max-width: none; }
.qs-related__body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 84px 24px 24px; }
.qs-related__code { font-size: 11px; letter-spacing: 1px; color: var(--qs-navy); }
.qs-related__title { font-size: 19px; line-height: 26px; font-weight: 500; }
.qs-related__aud { font-size: 13px; line-height: 19px; color: var(--qs-text-2); }
.qs-related__go { position: absolute; right: 24px; top: 50%; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--qs-navy); color: #fff; transition: transform .25s var(--qs-ease); }
.qs-related__card a:hover .qs-related__go { transform: translateX(3px); }
@media (max-width: 1024px) { .qs-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .qs-related { grid-template-columns: minmax(0, 1fr); } .qs-related__cover { height: 160px; } }

/* ==========================================================================
   Partnership page (inc/sections/partnership.php, Figma Build · 05 · Partnership)
   ========================================================================== */
/* ---- Who we partner with: expanding panels (desktop 1025+: side by side; below: stacked accordion) ----
   Desktop motion: only flex-basis animates (closed width <-> --qs-pp-open, set in px by qs-partnership.js);
   the open content has that fixed width from the start, so nothing re-wraps while the panels slide. The
   closed label fades out first, then the photo settles and the text rises in, line by line. */
.qs-pp { --qs-pp-closed: 190px; --qs-pp-ease: cubic-bezier(.65, .05, .36, 1); display: flex; gap: 12px; height: 600px; }
.qs-pp__panel { position: relative; flex: 0 0 var(--qs-pp-closed); min-width: 0; overflow: hidden; border-radius: 2px; background-color: var(--qs-subtle); background-image: linear-gradient(var(--qs-grid-line-light) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line-light) 1px, transparent 1px); background-size: 32px 32px; box-shadow: inset 0 0 0 1px var(--qs-border); }
.qs-pp__panel.is-open { flex-basis: var(--qs-pp-open, 706px); }
.qs-pp.is-ready .qs-pp__panel { transition: flex-basis .75s var(--qs-pp-ease), box-shadow .4s ease; }
.qs-pp__heading { position: absolute; inset: 0; z-index: 1; margin: 0; font-size: inherit; opacity: 1; visibility: visible; transition: opacity .35s ease .4s, visibility 0s linear .4s; }
.qs-pp__panel.is-open .qs-pp__heading { opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility 0s linear .15s; }
.qs-pp__head { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 28px 22px 24px; white-space: normal; border: 0; border-radius: 0; background: transparent; color: var(--qs-text); text-align: left; cursor: pointer; font: inherit; }
.qs-pp__head:hover, .qs-pp__head:focus { background: rgba(0, 0, 128, .03); color: var(--qs-text); }
.qs-pp__head:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: -4px; }
.qs-pp__tile { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 56px; height: 56px; border-radius: 2px; background: #fff; color: var(--qs-navy); }
.qs-pp__tile .qs-picto { width: 42px; height: 42px; max-width: none; }
.qs-pp__tile--lg { width: 64px; height: 64px; }
.qs-pp__tile--lg .qs-picto { width: 48px; height: 48px; }
.qs-pp__head-text { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.qs-pp__name { font: 600 21px/28px var(--qs-font, Geist, sans-serif); letter-spacing: -.3px; color: var(--qs-text); }
.qs-pp__short { font-size: 13px; line-height: 22px; color: var(--qs-text-2); }
.qs-pp__go { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; margin-top: 16px; border: 1.5px solid var(--qs-navy); border-radius: 50%; color: var(--qs-navy); transition: background-color .2s ease, color .2s ease, transform .3s var(--qs-ease); }
.qs-pp__head:hover .qs-pp__go { background: var(--qs-navy); color: #fff; transform: translateX(3px); }
.qs-pp__body { position: absolute; top: 0; bottom: 0; left: 0; width: var(--qs-pp-open, 706px); opacity: 0; transition: opacity .25s ease; }
.qs-pp__panel.is-open .qs-pp__body { opacity: 1; transition: opacity .3s ease .1s; }
.qs-pp__inner { display: flex; height: 100%; }
.qs-pp__photo { flex: 0 0 260px; overflow: hidden; }
.qs-pp__img { width: 100%; height: 100% !important; max-width: none; object-fit: cover; transform: scale(1.08); transition: transform 1.1s var(--qs-ease); }
.qs-pp__panel.is-open .qs-pp__img { transform: none; }
.qs-pp__content { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; padding: 36px; background-color: var(--qs-navy); color: #fff; }
.qs-pp__content > * { opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease; }
.qs-pp__panel.is-open .qs-pp__content > * { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s var(--qs-ease); transition-delay: .3s; }
.qs-pp__panel.is-open .qs-pp__content > :nth-child(2) { transition-delay: .36s; }
.qs-pp__panel.is-open .qs-pp__content > :nth-child(3) { transition-delay: .42s; }
.qs-pp__panel.is-open .qs-pp__content > :nth-child(4) { transition-delay: .48s; }
.qs-pp__panel.is-open .qs-pp__content > :nth-child(5) { transition-delay: .54s; }
.qs-pp__title { margin: 16px 0 0; font: 600 34px/40px var(--qs-font, Geist, sans-serif); letter-spacing: -1px; color: #fff; }
.qs-pp__lead { margin: 16px 0 0; font-size: 18px; line-height: 30px; color: var(--qs-tint-strong); }
.qs-pp__items { margin: 16px 0 0; padding: 0; list-style: none; }
.qs-pp__items li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; line-height: 21px; font-weight: 500; }
.qs-pp__items svg { flex: 0 0 auto; color: var(--qs-tint-strong); }
.qs-pp__cta { align-self: flex-start; margin-top: auto; }
@media (max-width: 1279px) { .qs-pp { --qs-pp-closed: 150px; } .qs-pp__photo { flex-basis: 200px; } .qs-pp__name { font-size: 18px; line-height: 24px; } .qs-pp__head { padding: 24px 18px 20px; } }
/* Tablet and phone: a stacked accordion; the open panel's content opens with a height animation (grid rows 0fr -> 1fr) */
@media (max-width: 1024px) {
	.qs-pp { flex-direction: column; height: auto; }
	.qs-pp__panel, .qs-pp__panel.is-open { flex: 0 0 auto; }
	.qs-pp__heading, .qs-pp__panel.is-open .qs-pp__heading { position: relative; inset: auto; opacity: 1; visibility: visible; transition: none; }
	.qs-pp__head { flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
	.qs-pp__head-text { margin-top: 0; flex: 1 1 auto; gap: 2px; }
	.qs-pp__go { margin-top: 0; transition: transform .45s var(--qs-ease), background-color .2s ease, color .2s ease; }
	.qs-pp__panel.is-open .qs-pp__go { transform: rotate(90deg); background: var(--qs-navy); color: #fff; }
	.qs-pp__body { position: static; width: auto; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--qs-pp-ease), opacity .3s ease; }
	.qs-pp__panel.is-open .qs-pp__body { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .55s var(--qs-pp-ease), opacity .4s ease .1s; }
	.qs-pp__inner { flex-direction: column; min-height: 0; height: auto; overflow: hidden; }
	.qs-pp__photo { flex: 0 0 auto; height: 260px; }
	.qs-pp__content > .qs-pp__tile, .qs-pp__content > .qs-pp__title { display: none; }
	.qs-pp__lead { margin-top: 0; }
	.qs-pp__cta { margin-top: 24px; }
}
@media (max-width: 767px) { .qs-pp__photo { height: 200px; } .qs-pp__content { padding: 24px 20px; } .qs-pp__lead { font-size: 16px; line-height: 26px; } .qs-pp__cta { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .qs-pp *, .qs-pp.is-ready .qs-pp__panel { transition-duration: 1ms !important; transition-delay: 0s !important; } }

/* ---- What a partnership includes (atomic rows; icons from [qs_icon]) ---- */
.qs-spec-icon .qs-icon { display: flex; color: var(--qs-navy); }

/* ---- How a partnership works: pulse line with step nodes ---- */
.qs-steps-trace { position: relative; height: 90px; }
.qs-steps-trace .qs-ecg { position: absolute; inset: 0; height: 90px; }
.qs-steps-trace .qs-ecg svg { width: 100%; height: 100%; }
.qs-steps-trace__node { position: absolute; top: 62%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid #fff; border-radius: 50%; background: var(--qs-navy); box-sizing: content-box; z-index: 1; }
@media (max-width: 1024px) { .qs-steps-trace { display: none; } }

/* ---- Organizations that trained with us: auto-scrolling logo strip ---- */
.qs-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 160px, #000 calc(100% - 160px), transparent); mask-image: linear-gradient(90deg, transparent, #000 160px, #000 calc(100% - 160px), transparent); }
.qs-marquee__track { display: flex; flex: 0 0 auto; gap: 16px; margin: 0; padding: 8px 8px 8px 8px; list-style: none; animation: qs-marquee 60s linear infinite; }
.qs-marquee:hover .qs-marquee__track, .qs-marquee.is-paused .qs-marquee__track { animation-play-state: paused; }
@keyframes qs-marquee { to { transform: translateX(-100%); } }
.qs-marquee__cell { display: flex; align-items: center; justify-content: center; width: 180px; height: 104px; padding: 18px 24px; border: 1px solid var(--qs-border); border-radius: 2px; background: #fff; }
.qs-marquee__cell a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.qs-marquee__cell img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s ease, opacity .25s ease; }
.qs-marquee__cell:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .qs-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .qs-marquee__track { animation: none; } .qs-marquee__track[aria-hidden] { display: none; } }
@media (max-width: 767px) { .qs-marquee__cell { width: 140px; height: 84px; padding: 14px 16px; } .qs-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); } }

/* ---- Partnership form: course chips (atomic checkbox + label pairs) ---- */
.qs-check-chip { cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.qs-check-chip:has(input:checked) { background: var(--qs-tint) !important; border-color: var(--qs-navy) !important; }
.qs-check-chip:has(input:focus-visible) { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
.qs-check-chip label { cursor: pointer; }

/* ---- About Us: "Inside our classes" strip ([qs_class_photos], photos from the About Us edit screen) ---- */
.qs-class-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(64px, calc((100% - 1312px) / 2)); scroll-padding-left: max(64px, calc((100% - 1312px) / 2)); }
.qs-class-strip:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 4px; }
.qs-class-strip__link { position: relative; flex: 0 0 460px; display: block; height: 340px; overflow: hidden; border-radius: 2px; scroll-snap-align: start; }
.qs-class-strip__link.is-wide { flex-basis: 560px; }
.qs-class-strip__img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; }
.qs-class-strip__link::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000080' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h4v4'/%3E%3Cpath d='M14 10l6 -6'/%3E%3Cpath d='M8 20h-4v-4'/%3E%3Cpath d='M4 20l6 -6'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 6px 18px rgba(0, 0, 40, .2); opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .25s var(--qs-ease); }
.qs-drag-scroll:not(.is-dragging) .qs-class-strip__link:hover::after, .qs-class-strip__link:focus-visible::after { opacity: 1; transform: none; }
.qs-class-strip__link:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 3px; }
@media (max-width: 1024px) { .qs-class-strip { padding: 0 40px; scroll-padding-left: 40px; } }
@media (max-width: 767px) { .qs-class-strip { padding: 0 20px; scroll-padding-left: 20px; } .qs-class-strip__link, .qs-class-strip__link.is-wide { flex-basis: 82%; height: 220px; } .qs-class-strip__link::after { opacity: 1; transform: none; width: 34px; height: 34px; } }

/* ---- Elementor lightbox (class photo slideshow): navy backdrop, brand arrows and caption ---- */
.elementor-lightbox { --lightbox-ui-color: rgba(255, 255, 255, .8); --lightbox-ui-color-hover: #fff; --lightbox-text-color: rgba(255, 255, 255, .85); background-color: rgba(0, 0, 40, .94) !important; }
.elementor-lightbox .elementor-swiper-button { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; }
.elementor-lightbox .elementor-swiper-button:hover { background: rgba(255, 255, 255, .22); }
.elementor-lightbox .elementor-slideshow__description { font-family: var(--qs-font, Geist, sans-serif); font-size: 14px; }
.elementor-lightbox .elementor-slideshow__counter { font-family: var(--qs-font-mono, monospace); letter-spacing: 1px; }

/* ==========================================================================
   Testimonials page (inc/sections/testimonials-page.php, Figma Build · 06 · Testimonials)
   ========================================================================== */
/* ---- Featured story ---- */
.qs-tfeature { display: flex; margin: 0; min-height: 560px; border-radius: 2px; overflow: hidden; }
.qs-tfeature__photo { flex: 0 0 520px; }
.qs-tfeature__photo img { width: 100%; height: 100% !important; max-width: none; object-fit: cover; }
.qs-tfeature__body { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; padding: 56px 64px 120px; background-color: var(--qs-navy); color: #fff; overflow: hidden; }
.qs-tfeature__label { margin: 0; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-tint-strong); }
.qs-tfeature__mark, .qs-tcard__mark { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: var(--qs-pulse); line-height: 1; }
.qs-tfeature__mark { margin-top: 18px; font-size: 96px; height: 60px; }
.qs-tfeature__quote { margin: 28px 0 0; padding: 0; border: 0; }
.qs-tfeature__quote p { margin: 0; font: 600 32px/44px var(--qs-font, Geist, sans-serif); letter-spacing: -.6px; color: #fff; }
.qs-tfeature__person { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.qs-tfeature__person .qs-tcard__avatar { width: 52px; height: 52px; background: rgba(255, 255, 255, .12); color: #fff; }
.qs-tfeature__name { display: block; font-size: 18px; line-height: 26px; font-weight: 500; }
.qs-tfeature__role { display: block; font-size: 14px; line-height: 22px; color: var(--qs-tint-strong); }
.qs-tfeature__ecg { position: absolute; left: 0; right: 0; bottom: 30px; height: 70px; }
.qs-tfeature__ecg .qs-ecg { height: 70px; }
@media (max-width: 1024px) { .qs-tfeature { flex-direction: column; } .qs-tfeature__photo { flex: 0 0 auto; height: 380px; } .qs-tfeature__body { padding: 44px 40px 110px; } }
@media (max-width: 767px) { .qs-tfeature__photo { height: 260px; } .qs-tfeature__body { padding: 32px 20px 96px; } .qs-tfeature__quote p { font-size: 22px; line-height: 31px; letter-spacing: -.3px; } .qs-tfeature__mark { font-size: 72px; height: 44px; } }

/* ---- Stories from our classes ---- */
.qs-twall__filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.elementor-widget-shortcode:has(> .elementor-widget-container > .elementor-shortcode > .qs-twall__filters), .elementor-shortcode:has(> .qs-twall__filters) { min-width: 0; max-width: 100%; }
.qs-twall__grid { column-count: 3; column-gap: 24px; }
.qs-twall__grid.is-masonry { display: flex; align-items: flex-start; gap: 24px; column-count: auto; }
.qs-twall__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.qs-tcard { display: flex; flex-direction: column; margin: 0 0 24px; padding: 28px 28px 26px; border: 1px solid var(--qs-border); border-radius: 2px; background: #fff; break-inside: avoid; animation: qs-tcard-in .45s var(--qs-ease) both; }
.qs-twall__grid.is-masonry .qs-tcard { margin: 0; }
@keyframes qs-tcard-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.qs-tcard--tint { background: var(--qs-tint); border-color: var(--qs-tint); }
.qs-tcard--navy { background: var(--qs-navy); border-color: var(--qs-navy); color: #fff; }
.qs-tcard:focus { outline: 2px solid var(--qs-navy); outline-offset: 3px; }
.qs-tcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.qs-tcard__label { margin: 8px 0 0; font-size: 11px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-text-2); }
.qs-tcard--navy .qs-tcard__label { color: var(--qs-tint-strong); }
.qs-tcard__mark { font-size: 44px; height: 24px; }
.qs-tcard__quote { margin: 20px 0 0; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--qs-border); }
.qs-tcard--tint .qs-tcard__quote { border-bottom-color: var(--qs-tint-strong); }
.qs-tcard--navy .qs-tcard__quote { border-bottom-color: rgba(255, 255, 255, .2); }
.qs-tcard__quote p { margin: 0; font-size: 19px; line-height: 30px; color: var(--qs-text); }
.qs-tcard--navy .qs-tcard__quote p { color: #fff; }
.qs-tcard__person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.qs-tcard__avatar { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--qs-tint); color: var(--qs-navy); }
.qs-tcard__avatar img { width: 100%; height: 100% !important; object-fit: cover; }
.qs-tcard--tint .qs-tcard__avatar { background: #fff; }
.qs-tcard--navy .qs-tcard__avatar { background: rgba(255, 255, 255, .12); color: #fff; }
.qs-tcard__name { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--qs-text); }
.qs-tcard__role { display: block; font-size: 13px; line-height: 20px; color: var(--qs-text-2); }
.qs-tcard--navy .qs-tcard__name { color: #fff; }
.qs-tcard--navy .qs-tcard__role { color: var(--qs-tint-strong); }
.qs-twall__more { display: flex; justify-content: center; margin-top: 40px; }
.qs-twall__more[hidden] { display: none; }
@media (max-width: 1024px) { .qs-twall__grid { column-count: 2; } }
@media (max-width: 767px) { .qs-twall__grid { column-count: 1; } .qs-tcard { padding: 24px 20px 22px; } .qs-tcard__quote p { font-size: 17px; line-height: 27px; } .qs-twall__filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; } .qs-twall__filters .qs-filter-chip { flex: 0 0 auto; } .qs-twall__more .qs-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .qs-tcard { animation: none; } }

/* ---- Share your experience: photo upload field ---- */
.qs-upload input[type="file"] { width: 100%; font-size: 14px; color: var(--qs-text-2); }
.qs-tfeature__person, .qs-tcard__person { font-style: normal; text-align: left; color: inherit; font-size: inherit; margin-bottom: 0; }
#share-your-experience input[type="file"] { font: 400 13px/20px var(--qs-font, Geist, sans-serif); color: var(--qs-text-2); }
#share-your-experience input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--qs-navy); border-radius: 2px; background: #fff; color: var(--qs-navy); font: 500 13px/18px var(--qs-font, Geist, sans-serif); cursor: pointer; transition: background-color .15s ease; }
#share-your-experience input[type="file"]::file-selector-button:hover { background: var(--qs-tint); }

/* ==========================================================================
   FAQs page (inc/sections/faq-page.php, Figma Build · 07 · FAQs)
   ========================================================================== */
/* ---- Hero search ---- */
.qs-faq-search { display: flex; align-items: center; gap: 12px; max-width: 560px; padding: 8px 8px 8px 18px; border: 1.5px solid var(--qs-navy); border-radius: 2px; background: #fff; color: var(--qs-muted); }
.qs-faq-search:focus-within { box-shadow: 0 0 0 3px var(--qs-tint-strong); }
.qs-faq-search svg { flex: 0 0 auto; }
.qs-faq-search input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0; border: 0 !important; outline: 0; background: transparent; box-shadow: none !important; font: 400 16px/24px var(--qs-font, Geist, sans-serif); color: var(--qs-text); }
.qs-faq-search input::placeholder { color: var(--qs-muted); }
.qs-faq-search .qs-icon-btn { flex: 0 0 44px; }
/* ---- Facts strip (topic counts) ---- */
.qs-faq-facts dd a { color: inherit; text-decoration: none; }
.qs-faq-facts dd a:hover { color: var(--qs-navy); text-decoration: underline; text-underline-offset: 4px; }
/* ---- Topic list ---- */
.qs-faq-nav { display: flex; flex-direction: column; }
.qs-faq-nav__label { margin: 0 0 12px; padding-left: 20px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-muted); }
.qs-faq-nav ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--qs-border); }
.qs-faq-nav li[hidden] { display: none; }
.qs-faq-nav__link { display: flex; align-items: center; gap: 12px; margin-left: -1px; padding: 14px 16px 14px 20px; border-left: 3px solid transparent; color: var(--qs-text); text-decoration: none; font-size: 15px; line-height: 22px; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.qs-faq-nav__link span:first-of-type { flex: 1 1 auto; }
.qs-faq-nav__link svg { flex: 0 0 auto; color: var(--qs-navy); }
.qs-faq-nav__link:hover { background: var(--qs-subtle); color: var(--qs-navy); }
.qs-faq-nav__link.is-current { border-left-color: var(--qs-navy); background: var(--qs-tint); color: var(--qs-navy); font-weight: 500; }
.qs-faq-nav__count { font-family: var(--qs-font-mono, monospace); font-size: 12px; color: var(--qs-muted); }
.qs-faq-help { margin-top: 24px; padding: 20px; border-radius: 2px; background-color: var(--qs-navy); color: #fff; }
.qs-faq-help__title { margin: 0; font-size: 19px; line-height: 26px; font-weight: 600; color: #fff; }
.qs-faq-help__text { margin: 8px 0 16px; font-size: 13px; line-height: 21px; color: var(--qs-tint-strong); }
.qs-faq-help .qs-btn { width: 100%; }
/* ---- Groups and question cards ---- */
.qs-faq-group { scroll-margin-top: 110px; }
.qs-faq-group[hidden] { display: none; }
.qs-faq-group + .qs-faq-group { margin-top: 56px; }
.qs-faq-group__title { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font: 600 30px/36px var(--qs-font, Geist, sans-serif); letter-spacing: -.6px; color: var(--qs-text); }
.qs-faq-group__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 2px; background: var(--qs-tint); color: var(--qs-navy); }
.qs-accordion--cards { display: flex; flex-direction: column; gap: 12px; border: 0; }
.qs-accordion--cards .qs-acc-item { border: 1px solid var(--qs-border); border-radius: 2px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.qs-accordion--cards .qs-acc-item[hidden] { display: none; }
.qs-accordion--cards .qs-acc-item:hover { border-color: var(--qs-tint-strong); }
.qs-accordion--cards .qs-acc-item { transition: border-color .3s ease, box-shadow .3s ease; }
.qs-accordion--cards .qs-acc-item.is-open { border-color: var(--qs-navy); box-shadow: inset 0 0 0 .5px var(--qs-navy), 0 10px 28px rgba(0, 0, 92, .06); }
.qs-accordion--cards .qs-acc-item__q button { padding: 24px 24px; font-size: 19px; line-height: 27px; }
.qs-accordion--cards .qs-acc-item__icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 50%; }
.qs-accordion--cards .qs-acc-item__body { padding: 0 24px 24px; }
.qs-accordion--cards .qs-acc-item__a p { max-width: none; font-size: 16px; line-height: 26px; }
.qs-faq-empty { margin: 0; padding: 28px; border: 1px dashed var(--qs-border-strong); text-align: center; color: var(--qs-text-2); }
.qs-faq-empty a { color: var(--qs-navy); font-weight: 500; }
@media (max-width: 767px) { .qs-faq-group__title { font-size: 24px; line-height: 30px; } .qs-accordion--cards .qs-acc-item__q button { padding: 18px 16px; font-size: 16px; line-height: 23px; } .qs-accordion--cards .qs-acc-item__body { padding: 0 16px 20px; } }
/* ---- Still have questions: contact channels ---- */
.qs-channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--qs-border); border-radius: 4px; background: #fff; }
.qs-channel { display: flex; flex-direction: column; align-items: flex-start; padding: 32px 28px; }
.qs-channel + .qs-channel { border-left: 1px solid var(--qs-border); }
.qs-channel__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--qs-tint); color: var(--qs-navy); }
.qs-channel.is-primary .qs-channel__icon { background: var(--qs-navy); color: #fff; }
.qs-channel__label { margin-top: 18px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-muted); }
.qs-channel__value { margin-top: 10px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--qs-text); overflow-wrap: anywhere; }
.qs-channel__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--qs-navy); text-decoration: none; }
.qs-channel__link svg { transition: transform .2s var(--qs-ease); }
.qs-channel__link:hover svg { transform: translateX(3px); }
@media (max-width: 1024px) { .qs-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qs-channel:nth-child(3) { border-left: 0; } .qs-channel:nth-child(n+3) { border-top: 1px solid var(--qs-border); } }
@media (max-width: 767px) { .qs-channels { grid-template-columns: minmax(0, 1fr); } .qs-channel { padding: 24px 20px; } .qs-channel + .qs-channel { border-left: 0; border-top: 1px solid var(--qs-border); } }

/* ==========================================================================
   Contact page (inc/sections/contact-page.php, Figma Build · 08 · Contact)
   ========================================================================== */
.qs-contact-facts dd { font-size: 18px; line-height: 26px; letter-spacing: -.2px; white-space: nowrap; }
@media (max-width: 1279px) { .qs-contact-facts dd { font-size: 17px; line-height: 24px; white-space: normal; overflow-wrap: anywhere; } }
.qs-contact-facts dd a { color: inherit; text-decoration: none; }
.qs-contact-facts dd a:hover { color: var(--qs-navy); text-decoration: underline; text-underline-offset: 4px; }
/* ---- "What can we help with?" segmented choice (atomic radio + label pairs, global class qs-segment) ---- */
.qs-segment { position: relative; cursor: pointer; transition: background-color .2s ease, color .2s ease; padding-left: 8px !important; padding-right: 8px !important; gap: 8px !important; }
.qs-segment input[type="radio"] { position: absolute; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0; cursor: pointer; }
.qs-segment label { cursor: pointer; }
.qs-segment:hover { background: var(--qs-tint) !important; }
.qs-segment:has(input:checked) { background: var(--qs-navy) !important; color: #fff !important; }
.qs-segment:has(input:checked) label, .qs-segment:has(input:checked) .qs-icon { color: #fff !important; }
.qs-segment:has(input:focus-visible) { outline: 2px solid var(--qs-navy); outline-offset: 2px; z-index: 1; }
/* ---- Right column cards ---- */
.qs-ccards { display: flex; flex-direction: column; gap: 16px; }
.qs-ccard { border-radius: 4px; }
.qs-ccard--call { padding: 28px; background-color: var(--qs-navy); color: #fff; }
.qs-ccard__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 22px; line-height: 28px; font-weight: 500; color: inherit; }
.qs-ccard__rows { margin: 16px 0 0; padding: 0; list-style: none; }
.qs-ccard__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--qs-border); font-size: 15px; line-height: 22px; }
.qs-ccard--call .qs-ccard__rows li { border-top-color: rgba(255, 255, 255, .18); }
.qs-ccard--call .qs-ccard__rows .qs-mono { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-tint-strong); }
.qs-ccard--call .qs-ccard__rows a { color: #fff; text-decoration: none; font-weight: 500; }
.qs-ccard--call .qs-ccard__rows a:hover { text-decoration: underline; }
.qs-ccard--call .qs-btn { width: 100%; margin-top: 12px; }
.qs-ccard--line { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border: 1px solid var(--qs-border); background: #fff; }
.qs-ccard__icon { flex: 0 0 48px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--qs-tint); color: var(--qs-navy); }
.qs-ccard__label { margin: 2px 0 4px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-muted); }
.qs-ccard__value { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--qs-text); overflow-wrap: anywhere; }
.qs-ccard__link { display: inline-block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--qs-navy); text-decoration: underline; text-underline-offset: 3px; }
.qs-ccard--hours { padding: 22px 24px; background: var(--qs-subtle); }
.qs-ccard--hours .qs-ccard__title { font-size: 20px; color: var(--qs-text); }
.qs-ccard--hours .qs-ccard__title svg { color: var(--qs-navy); }
.qs-ccard--hours .qs-ccard__rows li:first-child { border-top-color: var(--qs-border); }
.qs-ccard--hours .qs-ccard__rows span:first-child { color: var(--qs-text-2); }
.qs-ccard--hours .qs-ccard__rows .qs-mono { font-size: 14px; color: var(--qs-text); white-space: nowrap; }
/* ---- Visit us ---- */
.qs-locations-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.qs-location { overflow: hidden; border: 1px solid var(--qs-border); border-radius: 4px; background: #fff; }
.qs-location__map { position: relative; height: 300px; background: var(--qs-tint); }
.qs-location__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.qs-location__body { padding: 24px 28px 26px; }
.qs-location__tag { margin: 0; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--qs-navy); }
.qs-location__name { margin: 10px 0 0; font: 600 26px/32px var(--qs-font, Geist, sans-serif); letter-spacing: -.4px; color: var(--qs-text); }
.qs-location__address { margin: 10px 0 0; font-size: 16px; line-height: 26px; color: var(--qs-text-2); }
.qs-location__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--qs-navy); text-decoration: none; }
.qs-location__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .qs-locations-map { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .qs-location__map { height: 220px; } .qs-location__body { padding: 20px; } .qs-location__name { font-size: 22px; line-height: 28px; } .qs-contact-facts dd { font-size: 17px; line-height: 24px; } }

/* ---- Form checkboxes (Figma B / Field: 16px outlined square; ticked = navy with a white check-circle) ---- */
form input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 20px !important; height: 20px !important; margin: 0; padding: 0; border: 1.5px solid var(--qs-border-strong) !important; border-radius: 3px !important; background: #fff center / 14px no-repeat !important; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
form input[type="checkbox"]:hover { border-color: var(--qs-navy) !important; }
form input[type="checkbox"]:checked { border-color: var(--qs-navy) !important; background-color: var(--qs-navy) !important; background-size: 16px 16px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.2l2.4 2.4l4.6 -4.8'/%3E%3C/svg%3E") !important; }
/* inside a chip the chip shows the focus ring, not the box as well */
.qs-check-chip input[type="checkbox"]:focus-visible { outline: 0; }
form input[type="checkbox"]:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
.qs-check-chip:has(input:checked) { border-width: 1.5px !important; }
.qs-check-chip:has(input:checked) label { color: var(--qs-navy) !important; }

/* ---- Contact "What can we help with?": icon and label centred together ---- */
.qs-segment { justify-content: center !important; align-items: center !important; }
.qs-segment > .elementor-element { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; display: flex !important; align-items: center; }
/* each choice takes room in proportion to its label, so the longest one is never squeezed */
/* four in a row only where the form column is wide enough for the longest labels (1440+); 2 × 2 below that */
@media (min-width: 1440px) { :has(> .qs-segment) { display: grid !important; grid-template-columns: repeat(4, auto); } }
@media (min-width: 768px) and (max-width: 1439px) { :has(> .qs-segment) { display: grid !important; grid-template-columns: repeat(2, 1fr); } :has(> .qs-segment) > .qs-segment:nth-child(3) { border-left: 0 !important; } :has(> .qs-segment) > .qs-segment:nth-child(n+3) { border-top: 1px solid var(--qs-navy); } }
@media (min-width: 768px) {
	.qs-segment { padding: 14px 16px !important; gap: 8px !important; }
}
.qs-segment .elementor-widget-shortcode, .qs-segment .elementor-widget-container, .qs-segment .elementor-shortcode { display: flex; align-items: center; line-height: 0; }
.qs-segment .qs-icon { display: flex; }
.qs-segment label { flex: 0 1 auto; line-height: 20px !important; }

/* ---- Accordion motion (FAQs page, course FAQs): the answer row grows from 0 to its natural height ---- */
.qs-acc-item__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s cubic-bezier(.33, 1, .68, 1), visibility 0s linear .45s; }
.qs-acc-item.is-open .qs-acc-item__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s cubic-bezier(.33, 1, .68, 1), visibility 0s; }
.qs-acc-item__inner { min-height: 0; overflow: hidden; }
.qs-acc-item__body { padding-bottom: 22px; opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .3s ease; }
.qs-acc-item.is-open .qs-acc-item__body { opacity: 1; transform: none; transition: opacity .35s ease .1s, transform .45s cubic-bezier(.33, 1, .68, 1) .05s; }
.qs-acc-item__q button { transition: color .25s ease; }
@media (prefers-reduced-motion: reduce) { .qs-acc-item__a, .qs-acc-item__body, .qs-acc-item.is-open .qs-acc-item__a, .qs-acc-item.is-open .qs-acc-item__body { transition: none; } }

/* Kit buttons keep their label on one line (the reset lets buttons wrap) */
:is(.qs-btn-primary, .qs-btn-outline, .qs-btn-white, .qs-btn-ghost) { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 767px) { :is(.qs-btn-primary, .qs-btn-outline, .qs-btn-white, .qs-btn-ghost) { white-space: normal; flex-shrink: 1; } }

/* Home hero, small laptops: room for the heartbeat line between the buttons and the course strip */
@media (min-width: 1025px) and (max-width: 1365px) { .qs-hero .qs-course-index { margin-top: 64px; } }

/* ==================================================================== Blog (2026-11-01, inc/sections/blog.php) */
.qs-blog-facts dd { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.02em; }
.qs-blog-facts dd a { color: inherit; text-decoration: none; }
.qs-blog-facts dd a:hover { color: var(--qs-navy); text-decoration: underline; text-underline-offset: 4px; }

/* Featured post */
.qs-bfeat { display: grid; grid-template-columns: minmax(0, 760fr) minmax(0, 488fr); gap: 64px; align-items: center; }
.qs-bfeat__photo { position: relative; display: block; aspect-ratio: 760 / 520; overflow: hidden; border-radius: var(--qs-radius); }
.qs-bfeat__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--qs-ease); }
.qs-bfeat__photo:hover img { transform: scale(1.03); }
.qs-bfeat__chip, .qs-pcard__chip { position: absolute; top: 24px; left: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--qs-radius); background: var(--qs-navy); color: #fff; }
.qs-bfeat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--qs-pulse); }
.qs-bfeat__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.qs-bfeat__kicker { margin: 0; color: var(--qs-navy); white-space: pre-wrap; }
.qs-bfeat__title { margin: 0; font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -1.44px; color: var(--qs-text); }
.qs-bfeat__title a { color: inherit; text-decoration: none; }
.qs-bfeat__title a:hover { color: var(--qs-navy); }
.qs-bfeat__excerpt { margin: 0; font-size: 19px; line-height: 30px; color: var(--qs-text-2); }
.qs-bfeat__points { width: 100%; padding: 20px 0; border-top: 1px solid var(--qs-border); border-bottom: 1px solid var(--qs-border); }
.qs-bfeat__points > p { margin: 0 0 10px; color: var(--qs-muted); }
.qs-bfeat__points ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.qs-bfeat__points li { display: flex; gap: 16px; font-size: 16px; line-height: 26px; color: var(--qs-text); }
.qs-bfeat__points li .qs-mono { flex: 0 0 auto; font-size: 14px; line-height: 26px; font-weight: 400; letter-spacing: 0; color: var(--qs-navy); }
.qs-bfeat__meta, .qs-pcard__meta .qs-mono, .qs-byline__meta { margin: 0; font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--qs-muted); white-space: pre-wrap; }
@media (max-width: 1024px) { .qs-bfeat { grid-template-columns: minmax(0, 1fr); gap: 32px; } .qs-bfeat__title { font-size: 40px; line-height: 44px; letter-spacing: -1.2px; } }
@media (max-width: 767px) { .qs-bfeat__title { font-size: 30px; line-height: 36px; letter-spacing: -.8px; } .qs-bfeat__excerpt { font-size: 17px; line-height: 27px; } .qs-bfeat__chip { top: 16px; left: 16px; } .qs-bfeat__copy .qs-btn { width: 100%; justify-content: space-between; } }

/* Topic tabs + search */
.qs-bfilters { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.qs-btabs { display: flex; margin: 0; padding: 4px; list-style: none; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; }
.qs-btab { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 2px; color: var(--qs-text); font-size: 15px; line-height: 22px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.qs-btab:hover { background: var(--qs-tint); color: var(--qs-navy); }
.qs-btab.is-active, .qs-btab.is-active:hover { background: var(--qs-navy); color: #fff; }
.qs-bsearch { display: flex; align-items: center; gap: 10px; width: 260px; height: 52px; padding: 0 16px; border: 1px solid var(--qs-border-strong); border-radius: var(--qs-radius); background: #fff; color: var(--qs-muted); }
.qs-bsearch:focus-within { border-color: var(--qs-navy); box-shadow: 0 0 0 3px var(--qs-tint-strong); }
.qs-bsearch svg { flex: 0 0 auto; }
.qs-bsearch input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0; border: 0 !important; outline: 0; background: transparent; box-shadow: none !important; font: 400 15px/22px var(--qs-font, Geist, sans-serif); color: var(--qs-text); }
.qs-bsearch input::placeholder { color: var(--qs-muted); }
@media (max-width: 1024px) { .qs-bfilters { justify-content: flex-start; } .qs-bsearch { flex: 1 1 260px; } }
@media (max-width: 767px) {
	.qs-bfilters nav { width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; width: calc(100% + 40px); }
	.qs-bfilters nav::-webkit-scrollbar { display: none; }
	.qs-btabs { width: max-content; }
	.qs-btab { min-height: 42px; padding: 0 14px; font-size: 14px; }
	.qs-bsearch { flex: 1 1 100%; width: 100%; }
}

/* Post cards */
.qs-pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.qs-pcard > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; color: var(--qs-text); text-decoration: none; transition: box-shadow .25s ease, transform .25s var(--qs-ease); }
.qs-pcard > a:hover { transform: translateY(-3px); box-shadow: var(--qs-shadow); color: var(--qs-text); }
.qs-pcard__cover { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 416 / 240; overflow: hidden; background: var(--qs-tint); }
.qs-pcard__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--qs-ease); }
.qs-pcard > a:hover .qs-pcard__cover img { transform: scale(1.04); }
.qs-pcard__picto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.qs-pcard__chip { top: 20px; left: 20px; padding: 6px 10px; }
.qs-pcard__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; padding: 24px 24px 28px; }
.qs-pcard__topic { color: var(--qs-navy); }
.qs-pcard__title { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.2px; color: var(--qs-text); }
.qs-pcard > a:hover .qs-pcard__title { color: var(--qs-navy); }
.qs-pcard__excerpt { flex: 1 1 auto; font-size: 14px; line-height: 22px; color: var(--qs-text-2); }
.qs-pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; color: var(--qs-navy); }
.qs-pcard__meta svg { flex: 0 0 auto; transition: transform .2s var(--qs-ease); }
.qs-pcard > a:hover .qs-pcard__meta svg { transform: translateX(4px); }
@media (max-width: 1024px) { .qs-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .qs-pcards--related > li:nth-child(3) { display: none; } }
@media (max-width: 767px) { .qs-pcards { grid-template-columns: minmax(0, 1fr); gap: 20px; } .qs-pcards--related > li:nth-child(3) { display: list-item; } .qs-pcard__body { padding: 20px 20px 24px; } }

/* Results, pagination */
.qs-bgrid { transition: opacity .2s ease; }
.qs-bgrid.is-loading { opacity: .45; pointer-events: none; }
.qs-bgrid__note, .qs-bgrid__empty { margin: 0 0 24px; font-size: 16px; line-height: 26px; color: var(--qs-text-2); }
.qs-bgrid__empty { padding: 40px; border: 1px dashed var(--qs-border-strong); border-radius: var(--qs-radius); background: #fff; text-align: center; }
.qs-bgrid__note a, .qs-bgrid__empty a { color: var(--qs-navy); font-weight: 500; }
.qs-bpager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--qs-border); }
.qs-bpager ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qs-bpager__status, .qs-bpager__hint { margin: 0; font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--qs-muted); }
.qs-bpager__hint { text-align: right; }
.qs-bpage { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; color: var(--qs-text); font: 500 15px/1 var(--qs-font, Geist, sans-serif); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
a.qs-bpage:hover { border-color: var(--qs-navy); color: var(--qs-navy); }
.qs-bpage.is-current { border-color: var(--qs-navy); background: var(--qs-navy); color: #fff; }
.qs-bpage.is-gap { border-color: transparent; background: transparent; }
.qs-bpage.is-disabled { opacity: .4; }
@media (max-width: 767px) { .qs-bpager { grid-template-columns: minmax(0, 1fr); justify-items: center; } .qs-bpager__hint { display: none; } .qs-bpage { width: 44px; height: 44px; } }

/* Article hero */
.qs-ptopics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.qs-ptopics__chip { padding: 6px 10px; border-radius: var(--qs-radius); background: var(--qs-navy); color: #fff; text-decoration: none; }
.qs-ptopics__chip:hover { background: var(--qs-navy-deep); color: #fff; }
.qs-ptopics__sub { color: var(--qs-navy); white-space: pre-wrap; }
.qs-share { display: flex; align-items: center; gap: 16px; }
.qs-share > p { margin: 0; color: var(--qs-muted); }
.qs-share ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qs-share li { position: relative; }
.qs-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--qs-border-strong); border-radius: var(--qs-radius); background: #fff; color: var(--qs-navy); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.qs-share__btn:hover, .qs-share__btn:focus-visible { border-color: var(--qs-navy); background: var(--qs-tint); color: var(--qs-navy); }
.qs-share__done { position: absolute; left: 0; top: calc(100% + 8px); padding: 4px 8px; border-radius: 2px; background: var(--qs-text); color: #fff; white-space: nowrap; }
.qs-byline { display: flex; align-items: center; gap: 16px; }
.qs-byline p { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.qs-byline__who { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--qs-text); white-space: pre-wrap; }
.qs-author-mark { display: inline-flex; flex: 0 0 52px; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; }
.qs-phero { position: relative; isolation: isolate; }
.qs-phero::before { content: ""; position: absolute; z-index: -1; top: 50%; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #fff; } /* white base under the lower half of the photo */
.qs-phero img { display: block; width: 100%; height: auto; aspect-ratio: 1312 / 600; object-fit: cover; border-radius: var(--qs-radius); }
@media (max-width: 767px) { .qs-phero img { aspect-ratio: 4 / 3; } .qs-share { gap: 12px; } }

/* Article body */
.qs-article { display: flex; flex-direction: column; gap: 28px; }
.qs-article__caption, .qs-article__content figcaption { margin: 0; font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--qs-muted); font-family: "Geist Mono", ui-monospace, monospace; font-style: normal; text-align: left; }
.qs-article__content { display: flex; flex-direction: column; gap: 28px; }
.qs-article__content > * { margin: 0; }
.qs-article__content > p { font-size: 19px; line-height: 30px; letter-spacing: -.005em; color: var(--qs-text-2); }
.qs-article__content > h2 { padding-top: 24px; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.56px; color: var(--qs-text); scroll-margin-top: 110px; }
.qs-article__content > h3 { font-size: 22px; line-height: 30px; font-weight: 600; color: var(--qs-text); }
.qs-article__content > ul, .qs-article__content > ol { padding-left: 1.3em; font-size: 18px; line-height: 30px; color: var(--qs-text-2); }
.qs-article__content a:not(.qs-btn) { color: var(--qs-navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.qs-article__content figure { display: flex; flex-direction: column; gap: 28px; }
.qs-article__content figure img { width: 100%; height: auto; aspect-ratio: 888 / 480; object-fit: cover; border-radius: var(--qs-radius); }
.qs-checklist { padding: 28px; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: var(--qs-subtle); }
.qs-checklist__title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.2px; color: var(--qs-text); }
.qs-checklist__title svg, .qs-checklist li svg { flex: 0 0 auto; color: var(--qs-navy); }
.qs-checklist ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.qs-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 26px; color: var(--qs-text); }
.qs-checklist li svg { margin-top: 3px; }
.qs-callout { display: flex; align-items: flex-start; gap: 20px; padding: 28px; border-left: 4px solid var(--qs-navy); border-radius: var(--qs-radius); background: var(--qs-tint); }
.qs-callout__plate { display: inline-flex; flex: 0 0 56px; align-items: center; justify-content: center; height: 56px; border-radius: var(--qs-radius); background: #fff; color: var(--qs-navy); }
.qs-callout__label { margin: 0 0 8px; color: var(--qs-navy); }
.qs-callout__text { margin: 0; font-size: 16px; line-height: 26px; color: var(--qs-text); }
.qs-glance { overflow: hidden; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; }
.qs-glance table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.qs-glance caption { padding: 16px 24px; background: var(--qs-navy); color: #fff; text-align: left; caption-side: top; }
.qs-glance th, .qs-glance td { padding: 16px 24px; border: 0; border-top: 1px solid var(--qs-border); background: #fff; text-align: left; vertical-align: top; }
.qs-glance tr:first-child th, .qs-glance tr:first-child td { border-top: 0; }
.qs-glance th { width: 228px; padding-right: 0; line-height: 26px; color: var(--qs-muted); }
.qs-glance td { font-size: 16px; line-height: 26px; color: var(--qs-text); }
.qs-glance td a { font-size: 14px; }
.qs-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; }
.qs-article__tags > p { margin: 0; color: var(--qs-muted); }
.qs-article__tags ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qs-article__tags a { display: inline-flex; padding: 8px 12px; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; color: var(--qs-text); font-size: 14px; line-height: 22px; font-weight: 500; text-decoration: none; }
.qs-article__tags a:hover { border-color: var(--qs-navy); color: var(--qs-navy); }
.qs-authorbox { display: flex; align-items: flex-start; gap: 20px; padding: 28px; border-radius: var(--qs-radius); background: var(--qs-subtle); }
.qs-authorbox .qs-author-mark { flex-basis: 64px; width: 64px; height: 64px; }
.qs-authorbox__name { margin: 0 0 6px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--qs-text); }
.qs-authorbox__bio { margin: 0; font-size: 14px; line-height: 22px; color: var(--qs-text-2); }
@media (max-width: 767px) {
	.qs-article, .qs-article__content { gap: 22px; }
	.qs-article__content > p { font-size: 17px; line-height: 28px; }
	.qs-article__content > h2 { padding-top: 12px; font-size: 24px; line-height: 30px; }
	.qs-checklist, .qs-callout, .qs-authorbox { padding: 20px; }
	.qs-callout { gap: 16px; } .qs-callout__plate { flex-basis: 44px; height: 44px; }
	.qs-glance th, .qs-glance td { display: block; width: auto; padding: 0 20px; border-top: 0; }
	.qs-glance th { padding-top: 14px; } .qs-glance td { padding-bottom: 14px; }
	.qs-glance tr + tr th { border-top: 1px solid var(--qs-border); }
	.qs-authorbox { flex-direction: column; }
}

/* Rail */
.qs-rail { display: flex; flex-direction: column; gap: 16px; }
.qs-rail__book { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; overflow: hidden; border-radius: var(--qs-radius); }
.qs-rail__plate { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--qs-radius); background: #fff; }
.qs-rail__label { margin: 0; color: var(--qs-tint-strong); }
.qs-rail__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.2px; color: #fff; }
.qs-rail__text { margin: 0; font-size: 14px; line-height: 22px; color: var(--qs-tint-strong); }
.qs-rail__book .qs-btn { width: 100%; justify-content: space-between; }
.qs-rail__course { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; color: var(--qs-text); text-decoration: none; }
.qs-rail__course .qs-mono { color: var(--qs-muted); }
.qs-rail__course-title { font-size: 14px; line-height: 22px; font-weight: 500; }
.qs-rail__course-link { display: inline-flex; align-items: center; gap: 8px; color: var(--qs-navy); font-size: 14px; line-height: 22px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.qs-rail__course:hover { border-color: var(--qs-navy); color: var(--qs-text); }
.qs-rail__course:hover svg { transform: translateX(3px); }
.qs-rail__course svg { transition: transform .2s var(--qs-ease); }

/* Previous / next */
.qs-pnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--qs-border); border-bottom: 1px solid var(--qs-border); }
.qs-pnav__cell { display: flex; align-items: center; gap: 20px; min-width: 0; padding: 32px 32px 32px 0; color: var(--qs-text); text-decoration: none; }
.qs-pnav__cell--next { justify-content: flex-end; padding: 32px 0 32px 32px; border-left: 1px solid var(--qs-border); text-align: right; }
.qs-pnav__cell.is-empty + .qs-pnav__cell--next { border-left: 1px solid var(--qs-border); }
.qs-pnav__cell > span { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qs-pnav__cell .qs-mono { color: var(--qs-muted); }
.qs-pnav__title { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.2px; }
.qs-pnav__cell svg { flex: 0 0 auto; color: var(--qs-navy); transition: transform .2s var(--qs-ease); }
a.qs-pnav__cell:hover { color: var(--qs-navy); }
.qs-pnav__cell--prev:hover svg { transform: translateX(-4px); }
.qs-pnav__cell--next:hover svg { transform: translateX(4px); }
@media (max-width: 767px) {
	.qs-pnav { grid-template-columns: minmax(0, 1fr); }
	.qs-pnav__cell, .qs-pnav__cell--next { padding: 24px 0; }
	.qs-pnav__cell--next { border-left: 0 !important; border-top: 1px solid var(--qs-border); }
	.qs-pnav__cell.is-empty { display: none; }
	.qs-pnav__cell.is-empty + .qs-pnav__cell--next { border-top: 0; }
	.qs-pnav__title { font-size: 17px; line-height: 24px; }
}
.qs-glance table tbody > tr:nth-child(odd) > th, .qs-glance table tbody > tr:nth-child(odd) > td, .qs-glance table tbody > tr:hover > th, .qs-glance table tbody > tr:hover > td { background-color: #fff; } /* no zebra rows from the reset */

/* ==================================================================== Standard pages: Privacy, Terms (2026-11-01, inc/sections/standard-page.php) */
.qs-doc-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: var(--qs-muted); }
.qs-doc-meta__updated { color: var(--qs-navy); }
.qs-glance-box { padding: 28px; border-left: 4px solid var(--qs-navy); border-radius: var(--qs-radius); background: var(--qs-tint); }
.qs-glance-box > p { margin: 0 0 12px; color: var(--qs-navy); }
.qs-glance-box ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.qs-glance-box li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 26px; color: var(--qs-text); }
.qs-glance-box li svg { flex: 0 0 auto; margin-top: 3px; color: var(--qs-navy); }
.qs-doc { display: flex; flex-direction: column; gap: 14px; }
.qs-doc > * { margin: 0; }
.qs-doc > h2 { margin-top: 28px; padding-top: 28px; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.56px; color: var(--qs-text); scroll-margin-top: 108px; }
.qs-doc > h2:first-child { padding-top: 8px; margin-top: 0; }
.qs-doc > h3 { margin-top: 12px; font-size: 21px; line-height: 28px; font-weight: 600; color: var(--qs-text); }
.qs-doc > p, .qs-doc li { font-size: 19px; line-height: 30px; letter-spacing: -.005em; color: var(--qs-text-2); }
.qs-doc > ul, .qs-doc > ol { display: grid; gap: 10px; padding: 0; list-style: none; }
.qs-doc > ul > li { position: relative; padding-left: 20px; }
.qs-doc > ul > li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--qs-navy); }
.qs-doc > ol { counter-reset: qs-doc; }
.qs-doc > ol > li { position: relative; padding-left: 32px; counter-increment: qs-doc; }
.qs-doc > ol > li::before { content: counter(qs-doc) "."; position: absolute; left: 0; color: var(--qs-navy); font-family: "Geist Mono", ui-monospace, monospace; font-size: 15px; }
.qs-doc a { color: var(--qs-navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.qs-doc strong { color: var(--qs-text); font-weight: 600; }
.qs-doc-toc { padding: 24px 24px 16px; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; }
.qs-doc-toc > p { margin: 0 0 12px; color: var(--qs-muted); }
.qs-doc-toc ol { margin: 0; padding: 0; list-style: none; }
.qs-doc-toc li + li { border-top: 1px solid var(--qs-border); }
.qs-doc-toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--qs-text-2); font-size: 14px; line-height: 22px; text-decoration: none; }
.qs-doc-toc a .qs-mono { flex: 0 0 auto; font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: 0; color: var(--qs-muted); }
.qs-doc-toc a:hover, .qs-doc-toc a.is-current, .qs-doc-toc a.is-current .qs-mono { color: var(--qs-navy); }
.qs-doc-toc a.is-current { font-weight: 500; }
.qs-doc-contact { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 24px; overflow: hidden; border-radius: var(--qs-radius); }
.qs-doc-contact > p { margin: 0; }
.qs-doc-contact__label { color: var(--qs-tint-strong); }
.qs-doc-contact__title { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.2px; color: #fff; }
.qs-doc-contact__text { font-size: 14px; line-height: 22px; color: var(--qs-tint-strong); }
.qs-doc-contact > p:has(> a) { display: flex; flex-direction: column; gap: 2px; }
.qs-doc-contact > p > .qs-mono { color: var(--qs-tint-strong); }
.qs-doc-contact > p > a { color: #fff; font-size: 14px; line-height: 22px; font-weight: 500; text-decoration: none; }
.qs-doc-contact > p > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qs-doc-contact .qs-btn { width: 100%; justify-content: space-between; margin-top: 2px; }
.qs-doc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.qs-doc-link { display: flex; align-items: center; gap: 20px; height: 100%; padding: 24px; border-radius: var(--qs-radius); background: var(--qs-subtle); color: var(--qs-text); text-decoration: none; transition: background-color .2s ease; }
.qs-doc-link:hover { background: var(--qs-tint); color: var(--qs-text); }
.qs-doc-link__plate { display: inline-flex; flex: 0 0 56px; align-items: center; justify-content: center; height: 56px; border-radius: var(--qs-radius); background: #fff; color: var(--qs-navy); }
.qs-doc-link__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
.qs-doc-link__title { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.2px; }
.qs-doc-link__desc { font-size: 14px; line-height: 22px; color: var(--qs-text-2); }
.qs-doc-link > svg { flex: 0 0 auto; color: var(--qs-navy); transition: transform .2s var(--qs-ease); }
.qs-doc-link:hover > svg { transform: translateX(4px); }
@media (max-width: 767px) {
	.qs-doc > h2 { margin-top: 16px; padding-top: 16px; font-size: 24px; line-height: 30px; }
	.qs-doc > p, .qs-doc li { font-size: 17px; line-height: 28px; }
	.qs-doc > ul > li::before { top: 11px; }
	.qs-glance-box { padding: 20px; }
	.qs-doc-links { grid-template-columns: minmax(0, 1fr); }
	.qs-doc-link { gap: 16px; padding: 20px; }
	.qs-doc-link__plate { flex-basis: 48px; height: 48px; }
	.qs-doc-link__title { font-size: 18px; line-height: 26px; }
}

/* ==================================================================== Mobile navigation drawer (2026-11-01, inc/mobile-drawer.php)
   Motion and menu icon from the Hospo Safe Solution drawer (user request), in Quest colours. Shown wherever the
   header's menu button is (1279px and below); Elementor's own dropdown is replaced. */
@media (max-width: 1279px) {
	/* Menu button: two navy bars over a short pulse-red bar (the heartbeat accent), in the same 44px tint tile as the
	   drawer's close button so open and close read as one control. Elementor's own svg icons are hidden. */
	.jsw-header-bar .elementor-menu-toggle {
		position: relative; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: var(--qs-radius);
		background-color: var(--qs-tint); color: var(--qs-navy); cursor: pointer;
	}
	.jsw-header-bar .elementor-menu-toggle > * { display: none !important; }
	.jsw-header-bar .elementor-menu-toggle::before,
	.jsw-header-bar .elementor-menu-toggle::after { content: ""; position: absolute; left: 11px; height: 2.5px; border-radius: 2px; }
	.jsw-header-bar .elementor-menu-toggle::before { top: 15px; width: 22px; background-color: var(--qs-navy); box-shadow: 0 6.25px 0 var(--qs-navy); }
	.jsw-header-bar .elementor-menu-toggle::after { top: 27.5px; width: 12px; background-color: var(--qs-pulse); transition: width .3s cubic-bezier(.33, 1, .68, 1); }
	.jsw-header-bar .elementor-menu-toggle:is(:hover, :focus, :active, .elementor-active) { background-color: var(--qs-tint); color: var(--qs-navy); }
	.jsw-header-bar .elementor-menu-toggle:focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
	@media (hover: hover) {
		.jsw-header-bar .elementor-menu-toggle:hover { background-color: var(--qs-tint-strong); }
		.jsw-header-bar .elementor-menu-toggle:hover::after { width: 22px; }
	}
}
.jsw-header-bar .elementor-nav-menu--dropdown.elementor-nav-menu__container { display: none !important; }

.qs-drawer {
	position: fixed; inset: 0; top: 0; z-index: 100000; display: flex; flex-direction: column;
	background-color: #fff; overflow-y: auto; overscroll-behavior: contain;
	--qs-ease-out: cubic-bezier(.33, 1, .68, 1); /* GSAP power2.out, as the scroll reveals */
	--qs-ease-in: cubic-bezier(.32, 0, .67, 0);
	opacity: 0; transition: opacity .28s var(--qs-ease-out);
}
.qs-drawer[hidden] { display: none; }
.qs-drawer.is-open { opacity: 1; }
.qs-drawer.is-closing { opacity: 0; transition: opacity .18s var(--qs-ease-in); }
html.qs-drawer-open { overflow: hidden; scrollbar-gutter: stable; }

/* The bar sits exactly over the header: same height, logo and button positions */
.qs-drawer__bar { position: sticky; top: 0; z-index: 1; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 64px; background: #fff; border-bottom: 1px solid var(--qs-border); }
.qs-drawer__logo { display: block; width: 100px; line-height: 0; }
.qs-drawer__logo-img { display: block; width: 100%; height: auto; }
.qs-drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: var(--qs-radius); background: var(--qs-tint); color: var(--qs-navy); cursor: pointer; }
.qs-drawer .qs-drawer__close:is(:hover, :focus, :active) { background: var(--qs-tint-strong); color: var(--qs-navy); border: 0; }
@media (max-width: 1024px) { .qs-drawer__bar { height: 72px; padding: 0 40px; } }
@media (max-width: 767px) { .qs-drawer__bar { height: 68px; padding: 0 20px; } .qs-drawer__logo { width: 80px; } }

.qs-drawer__body { flex: 1 0 auto; padding: 8px 64px 32px; }
@media (max-width: 1024px) { .qs-drawer__body { padding: 8px 40px 32px; } }
@media (max-width: 767px) { .qs-drawer__body { padding: 4px 20px 24px; } }
.qs-drawer__nav { max-width: 640px; }
.qs-drawer__list, .qs-drawer__sublist { margin: 0; padding: 0; list-style: none; }
.qs-drawer__row {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 53px; padding: 0; margin: 0;
	border: 0; border-bottom: 1px solid var(--qs-border); border-radius: 0; background: transparent; cursor: pointer;
	font-family: var(--qs-font, "Geist", sans-serif); font-size: 21px; font-weight: 600; line-height: 28px; letter-spacing: -.3px; text-transform: none;
	color: var(--qs-text); text-align: left; text-decoration: none;
}
.qs-drawer .qs-drawer__row:is(:hover, :focus, :active) { background: transparent; border-color: var(--qs-border); color: var(--qs-text); text-decoration: none; }
.qs-drawer .qs-drawer__row.is-current, .qs-drawer .qs-drawer__toggle[aria-expanded="true"] { color: var(--qs-navy); }
.qs-drawer__go { display: inline-flex; align-items: center; gap: 10px; color: var(--qs-navy); }
.qs-drawer__dash { width: 18px; height: 3px; border-radius: 2px; background: var(--qs-pulse); }
.qs-drawer__chevron { display: inline-flex; color: var(--qs-navy); transition: transform .35s var(--qs-ease-out); }
.qs-drawer__toggle[aria-expanded="true"] .qs-drawer__chevron { transform: rotate(180deg); }
@media (hover: hover) { .qs-drawer .qs-drawer__row:hover, .qs-drawer .qs-drawer__sublink:hover { color: var(--qs-navy); } }

/* Panel grows open: the wrapper animates its grid row from 0fr to 1fr, the panel clips */
.qs-drawer__panel-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--qs-ease-out); }
.qs-drawer__panel-wrap.is-expanded { grid-template-rows: 1fr; }
.qs-drawer__panel { min-height: 0; overflow: hidden; }
.qs-drawer__panel-inner { margin: 8px 0 12px; padding: 6px 0 6px 16px; border-left: 2px solid var(--qs-navy); background: var(--qs-subtle); border-radius: 0 var(--qs-radius) var(--qs-radius) 0; }
.qs-drawer__sublink { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-right: 12px; font-size: 16px; font-weight: 500; line-height: 22px; color: var(--qs-text-2); text-decoration: none; }
.qs-drawer__sublink--page { color: var(--qs-navy); }
.qs-drawer__sublink.is-current { color: var(--qs-navy); font-weight: 600; }

/* Navy footer (Figma): affiliation line, inquiry button, call and Messenger */
.qs-drawer__footer { position: sticky; bottom: 0; flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 64px 24px; }
@media (max-width: 1024px) { .qs-drawer__footer { padding: 20px 40px 24px; } }
@media (max-width: 767px) { .qs-drawer__footer { padding: 18px 20px 20px; } }
.qs-drawer__aff { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--qs-tint-strong); font-size: 11px; }
.qs-drawer__aff svg { flex: 0 0 auto; color: var(--qs-pulse); }
.qs-drawer__cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px 0 22px; border-radius: var(--qs-radius); background: #fff; color: var(--qs-navy); font-size: 16px; font-weight: 500; text-decoration: none; }
.qs-drawer__cta:hover { background: var(--qs-tint); color: var(--qs-navy); }
.qs-drawer__contact { display: contents; }
.qs-drawer__line { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: var(--qs-radius); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; }
.qs-drawer__line:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.qs-drawer :focus-visible { outline: 2px solid var(--qs-navy); outline-offset: 2px; }
.qs-drawer__footer :focus-visible { outline-color: #fff; }

/* Entrance: rows and footer rise 16px and fade in, 40ms apart (--i is set in the markup) */
.qs-drawer .qs-drawer__item, .qs-drawer .qs-drawer__footer {
	opacity: 0; transform: translateY(16px);
	transition: opacity .45s var(--qs-ease-out), transform .45s var(--qs-ease-out);
	transition-delay: calc(60ms + var(--i, 0) * 40ms);
}
.qs-drawer.is-open .qs-drawer__item, .qs-drawer.is-open .qs-drawer__footer { opacity: 1; transform: none; }
.qs-drawer.is-closing .qs-drawer__item, .qs-drawer.is-closing .qs-drawer__footer { opacity: 1; transform: none; transition: none; }
/* The close icon turns in from the menu icon's position */
.qs-drawer .qs-drawer__close svg { opacity: 0; transform: rotate(-90deg); transition: opacity .3s var(--qs-ease-out), transform .45s var(--qs-ease-out); }
.qs-drawer.is-open .qs-drawer__close svg, .qs-drawer.is-closing .qs-drawer__close svg { opacity: 1; transform: none; }
/* Panel links fade up after the panel starts to open; collapsing hides them at once */
.qs-drawer__panel-wrap .qs-drawer__sublist > li { opacity: 0; transform: translateY(8px); transition: opacity .15s var(--qs-ease-in), transform .15s var(--qs-ease-in); }
.qs-drawer__panel-wrap.is-expanded .qs-drawer__sublist > li { opacity: 1; transform: none; transition: opacity .35s var(--qs-ease-out), transform .35s var(--qs-ease-out); transition-delay: calc(60ms + var(--j, 0) * 20ms); }
.qs-drawer__panel-wrap.is-instant, .qs-drawer__panel-wrap.is-instant * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	.qs-drawer, .qs-drawer.is-closing, .qs-drawer__chevron, .qs-drawer__panel-wrap, .qs-drawer .qs-drawer__item, .qs-drawer .qs-drawer__footer,
	.qs-drawer .qs-drawer__close svg, .qs-drawer__panel-wrap .qs-drawer__sublist > li { transition: none !important; }
	.qs-drawer .qs-drawer__item, .qs-drawer .qs-drawer__footer, .qs-drawer .qs-drawer__close svg { opacity: 1; transform: none; }
}

/* ==================================================================== 404 page (2026-11-01, inc/error-404.php; Theme Builder "Quest 404") */
.qs-404-path { margin: 0; color: var(--qs-muted); overflow-wrap: anywhere; }
.qs-404-path__v { color: var(--qs-text); text-transform: none; letter-spacing: 0; font-weight: 400; }
.qs-404-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.qs-404-card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px 24px 64px; border: 1px solid var(--qs-border); border-radius: var(--qs-radius); background: #fff; color: var(--qs-text); text-decoration: none; transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--qs-ease); }
.qs-404-card:hover { border-color: var(--qs-navy); box-shadow: var(--qs-shadow); transform: translateY(-3px); color: var(--qs-text); }
.qs-404-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: var(--qs-radius); background: var(--qs-tint); color: var(--qs-navy); }
.qs-404-card__title { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.2px; }
.qs-404-card__text { font-size: 14px; line-height: 22px; color: var(--qs-text-2); }
.qs-404-card__go { position: absolute; left: 24px; bottom: 24px; color: var(--qs-navy); transition: transform .2s var(--qs-ease); }
.qs-404-card:hover .qs-404-card__go { transform: translateX(4px); }
@media (max-width: 1024px) { .qs-404-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .qs-404-cards { grid-template-columns: minmax(0, 1fr); } .qs-404-card { padding: 22px 20px 56px; } .qs-404-card__go { left: 20px; bottom: 20px; } }
/* the large "404" only where it clears the headline (1280+) */
@media (max-width: 1279px) { .elementor-element-6aa21fa3 { display: none !important; } }

/* ==================================================================== Inner page motion: About Us, Courses, Training Schedule, Partnership, Testimonials, FAQs, Contact, Blog (2026-11-01, assets/js/qs-page-motion.js)
   Pre-states for the hero load sequence, only while the motion layer is on; the script (or a 2.5s safety timer) lifts them. */
html.jsw-motion .qs-page-motion [data-elementor-type="wp-page"] > :first-child h1 { overflow: hidden; padding-bottom: .06em; }
html.jsw-motion .qs-page-motion [data-elementor-type="wp-page"] > :first-child .qs-mask-inner { display: block; will-change: transform; }
html.jsw-motion:not(.qs-motion-shown) .qs-page-motion [data-elementor-type="wp-page"] > :first-child :is(h1, .qs-crumbs, .qs-lead, .qs-label, .qs-facts > div, a.e-button-base, .qs-faq-search) { opacity: 0; }
html.jsw-motion:not(.qs-motion-shown) .qs-page-motion [data-elementor-type="wp-page"] > :first-child .jsw-reveal > img { clip-path: inset(100% 0 0 0); }
/* checkboxes and radios inside form fields keep their own size (the 48px text-field minimum stretched the consent box) */
.qs-field :is(input[type="checkbox"], input[type="radio"]), form :is(input[type="checkbox"], input[type="radio"]) { min-height: 0 !important; align-self: flex-start; }
/* Styled Google map (assets/js/qs-map.js): graph-paper placeholder until it loads; Google's controls in brand tones */
.qs-location__map[data-qs-map]:not(.is-styled):not(:has(iframe)) { background-image: linear-gradient(var(--qs-grid-line-light) 1px, transparent 1px), linear-gradient(90deg, var(--qs-grid-line-light) 1px, transparent 1px); background-size: 32px 32px; }
.qs-location__map.is-styled .gm-style button { border-radius: var(--qs-radius) !important; }
.qs-location__map.is-styled .gmnoprint > div { border-radius: var(--qs-radius) !important; box-shadow: 0 6px 18px rgba(0, 0, 92, .12) !important; }
