/* Shared inner-page layout refinements. Existing brand and booking integrations retained. */
.page-hero{padding-block:32px!important}
.page-hero .breadcrumb{margin-bottom:22px}
.page-hero h1{font-size:clamp(32px,4vw,48px);line-height:1.12;margin-block:0 16px;max-width:22ch}
.page-hero .lead{font-size:18px;line-height:1.65;max-width:60ch;margin-bottom:20px}
.page-hero .hero-grid{gap:40px;align-items:center}
.page-hero .hero-photo{max-height:260px;overflow:hidden}
.page-hero .hero-photo img{width:100%;height:260px;object-fit:cover}
.page-hero .small-note{font-family:Montserrat,Arial,sans-serif;font-size:14px;line-height:1.6;font-weight:500;margin-block:18px 0}
.content-layout{padding-block:32px;gap:36px}
.content-layout>*{min-width:0}
.article{line-height:1.75}
.article h2,.info-card h2{font-size:clamp(25px,2.6vw,32px);line-height:1.25}
.course-facts{gap:16px;padding:24px;border:1px solid #e5e2dc;border-radius:14px;background:#f7f5ef;margin-bottom:28px}
.course-facts>div{min-width:0}
.course-facts strong{overflow-wrap:anywhere}
.course-direct-booking .course-booking-intro h2{font-size:clamp(25px,3vw,34px)}
.course-direct-booking iframe{width:100%;border:0;min-height:650px}
.booking-panel,[id],.info-card{scroll-margin-top:24px}
.side-card{padding:24px;border-radius:14px}
.side-card .button{width:100%;white-space:normal;text-align:center}
.side-card small{display:block;line-height:1.65;margin-top:16px}
.help-grid{gap:24px;align-items:stretch}
.info-card{padding:28px;min-width:0}
.info-card .text-link{line-height:1.5}
.support-actions{display:flex;flex-wrap:wrap;gap:10px;padding-block:24px}
.support-actions a,.catalog-tabs a{padding:12px 16px;line-height:1.4;border-radius:8px}
.agency-wrap{width:min(980px,calc(100% - var(--page-gutter) - var(--page-gutter)));padding-block:36px;margin-inline:auto}
.agency-wrap>h1{font-size:clamp(32px,4vw,46px);line-height:1.15;max-width:25ch;margin-bottom:16px}
.agency-wrap>p{max-width:75ch;line-height:1.75}
.agency-form{padding:28px;border:1px solid #e5e2dc;border-radius:14px;background:#f7f5f1}
.agency-form h2{font-size:28px;line-height:1.25;margin-block:30px 20px;padding-top:24px;border-top:1px solid #dedbd4}
.agency-form h2:first-of-type{margin-top:20px;padding-top:0;border-top:0}
.agency-form h3{font-size:23px;line-height:1.3}
.agency-form .agency-grid{gap:20px 24px}
.agency-form label{line-height:1.5}
.agency-form input:not([type=checkbox]):not([type=hidden]),.agency-form select,.agency-form textarea{font-size:16px;width:100%;min-height:48px;border-radius:8px;box-sizing:border-box}
.agency-form textarea{min-height:120px;resize:vertical}
.agency-form input[type=checkbox]{width:20px;height:20px;min-height:20px;flex-shrink:0;vertical-align:middle;margin-right:8px;accent-color:#d22a1d}
.agency-note{border-radius:0 10px 10px 0;line-height:1.7;padding:20px}
.article.location-details>h4:first-child{padding:22px;border-left:4px solid #d22a1d;background:#f7f5ef;border-radius:0 10px 10px 0}
.article.location-details .transport-label{border-top:1px solid #e5e2dc;padding-top:12px}
body.layout-booking .page-hero .hero-photo{display:none}
body.layout-booking .page-hero .hero-grid{display:block}
body.layout-booking .page-hero h1{max-width:none;font-size:clamp(32px,4vw,44px)}
body.layout-booking .page-hero h1 br{display:none}
body.layout-booking .page-hero .small-note{display:none}
.cookie-choices:not([hidden]){position:relative!important;inset:auto!important;transform:none!important;width:min(1160px,calc(100% - 32px))!important;max-width:1160px!important;margin:16px auto!important;padding:16px 20px!important;box-sizing:border-box;box-shadow:none!important;border:1px solid #dedbd4;border-left:4px solid #d22a1d;border-radius:10px;background:#fffefa;display:flex;gap:16px;align-items:center;z-index:1}
.cookie-choices>div:first-child{flex:1;min-width:0}
.cookie-choices p{font-size:13px;line-height:1.5;margin:4px 0 0}
.cookie-choices .cookie-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0;margin:0}
.cookie-choices .cookie-actions button{min-height:44px;padding:10px 12px;font-size:13px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #172f42;outline-offset:4px}
@media(max-width:850px){
.page-hero{padding-block:26px!important}.page-hero .hero-grid{gap:24px}.page-hero .hero-photo,.page-hero .hero-photo img{height:200px;max-height:200px}
.content-layout{grid-template-columns:minmax(0,1fr);padding-block:26px;gap:24px}.content-layout aside{position:static}
.course-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}
.cookie-choices:not([hidden]){align-items:start;flex-direction:column;gap:12px}
}
@media(max-width:600px){
.page-hero .hero-photo{display:none}.page-hero .hero-grid{display:block}.page-hero .lead{font-size:16px}.page-hero .breadcrumb{font-size:12px;margin-bottom:18px}
.page-hero .actions{display:grid;grid-template-columns:1fr;gap:12px}.page-hero .button{width:100%;justify-content:center;white-space:normal;text-align:center}
.agency-wrap{padding-block:26px}.agency-form{padding:20px}.agency-form h2{font-size:25px}.agency-form .agency-grid{grid-template-columns:minmax(0,1fr);gap:18px}
.agency-form button[type=submit]{width:100%;white-space:normal}.info-card{padding:22px}.help-grid,.contact-grid{grid-template-columns:minmax(0,1fr)}
.support-actions{gap:8px}.support-actions a{font-size:14px;padding:10px 12px}
.cookie-choices .cookie-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.cookie-choices .cookie-actions button:last-child{grid-column:1/-1}
.course-facts{gap:20px 12px}.course-facts strong{font-size:18px}.finder-links{gap:12px;line-height:1.6}
}
.page-hero .small-note,.page-hero .small-note.training-availability{font-family:Montserrat,Arial,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:1.6!important}
.course-facts>div>strong{font-size:18px;line-height:1.4}
.course-facts>div>span{font-size:12px;line-height:1.5}

/* One expandable help control keeps floating tools clear of page content. */
.support-dock{inset:auto 18px calc(14px + env(safe-area-inset-bottom)) auto!important;display:block!important;pointer-events:auto!important}
.support-menu{position:relative}
.support-menu>summary{list-style:none;cursor:pointer;background:#172f42;color:#fff;min-height:48px;padding:13px 20px;border-radius:28px;font:600 14px/1.5 Montserrat,Arial,sans-serif;box-shadow:0 3px 12px #0002}
.support-menu>summary::-webkit-details-marker{display:none}
.support-menu>summary:after{content:" +";font-size:18px;margin-left:10px}
.support-menu[open]>summary:after{content:" −"}
.support-menu-items{position:absolute;bottom:62px;right:0;display:grid;gap:10px;width:210px;padding:14px;border:1px solid #dedbd4;border-radius:14px;background:#fffefa;box-shadow:0 6px 24px #0002}
.support-dock .support-menu-items>a,.support-dock .support-menu-items>button{position:static!important;inset:auto!important;transform:none!important;pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;border-radius:8px;padding:10px 14px;border:0;box-sizing:border-box;text-decoration:none;font:600 14px/1.5 Montserrat,Arial,sans-serif}
.support-dock .support-menu-items>[hidden]{display:none!important}
@media(max-width:550px){.support-dock{inset-inline:auto 12px!important}.support-menu>summary{padding:12px 16px}}

/* WhatsApp brand colour with readable text in the help menu. */
.support-dock .support-menu-items>a.support-whatsapp{background:#25d366;color:#072f1a}
.support-dock .support-menu-items>a.support-whatsapp:is(:hover,:focus-visible){background:#1fbd5b;color:#072f1a}

/* Neutral live chat action. */
.support-dock .support-menu-items>a.support-chat{background:#fff;color:#172f42;border:1px solid #c4c9cd}
.support-dock .support-menu-items>a.support-chat:is(:hover,:focus-visible){background:#f3f5f6;color:#172f42;border-color:#8c969e}

.support-dock .support-menu-items>a.support-call{background:#172f42;color:#fff}
.support-dock .support-menu-items>a.support-call:is(:hover,:focus-visible){background:#0e2030;color:#fff}
.support-call svg{width:21px;height:21px;flex-shrink:0}
.support-call span{text-align:left;line-height:1.35}
.support-call small{display:block;font-size:12px;font-weight:500;margin-top:2px}
.support-menu-items{max-height:calc(100dvh - 100px);overflow:auto}

.support-menu>summary{background:#000;color:#fff;font-family:Poetsen,Arial,sans-serif;font-weight:400;font-style:normal;font-size:16px}
.support-menu>summary:hover{background:#222}
/* Balance the label independently of the expand/collapse icon. */
.support-menu>summary{display:grid;grid-template-columns:16px auto 16px;align-items:center;justify-content:center;column-gap:8px;min-height:48px;padding:12px 18px;line-height:1.2;text-align:center}
.support-menu>summary:before{content:"";width:16px;height:16px}
.support-menu>summary:after{content:"+";display:flex;align-items:center;justify-content:center;width:16px;height:20px;margin:0;font:400 20px/1 Arial,sans-serif}
.support-menu[open]>summary:after{content:"−"}
@media(max-width:550px){.support-menu>summary{padding:12px 16px}}
.support-dock .support-menu-items>a.support-call{height:46px;min-height:46px;padding:5px 14px;background:#fff;color:#172f42;border:1px solid #c4c9cd}
.support-dock .support-menu-items>a.support-call:is(:hover,:focus-visible){background:#f3f5f6;color:#172f42;border-color:#8c969e}
.support-call span{line-height:1.2}
.support-call small{line-height:1.2;margin-top:1px}
.support-dock .support-menu-items>a.support-whatsapp,.support-dock .support-menu-items>a.support-whatsapp:is(:link,:visited,:hover,:focus-visible,:active){color:#000}
/* Help actions swap solid and outline styles on hover and keyboard focus. */
.support-dock .support-menu .support-menu-items>:is(a,button),.support-dock .support-menu>summary{filter:none;box-shadow:none;transition:background-color .15s ease,color .15s ease,border-color .15s ease;cursor:pointer;box-sizing:border-box}
.support-dock .support-menu .support-menu-items>:is(a,button){border:1px solid transparent}
.support-dock .support-menu .support-menu-items>:is(.support-call,.support-chat){background:#fff;color:#172f42;border-color:#c4c9cd}
.support-dock .support-menu .support-menu-items>.accessibility-toggle{background:#000;color:#fff;border-color:#000}
.support-dock .support-menu .support-menu-items>.support-whatsapp{background:#25d366;color:#000;border-color:#25d366}
.support-dock .support-menu>summary{background:#000;color:#fff;border:1px solid #000}
.support-dock .support-menu .support-menu-items>:is(.support-call,.support-chat):is(:hover,:focus-visible,:active){background:#000;color:#fff;border-color:#000;filter:none;box-shadow:none}
.support-dock .support-menu .support-menu-items>.accessibility-toggle:is(:hover,:focus-visible,:active){background:#fff;color:#000;border-color:#000;filter:none;box-shadow:none}
.support-dock .support-menu .support-menu-items>.support-whatsapp:is(:hover,:focus-visible,:active){background:#fff;color:#000;border-color:#12843e;filter:none;box-shadow:none}
.support-dock .support-menu>summary:is(:hover,:focus-visible,:active){background:#fff;color:#000;border-color:#000;filter:none;box-shadow:none}
@media(prefers-reduced-motion:reduce){.support-dock .support-menu .support-menu-items>:is(a,button),.support-dock .support-menu>summary{transition:none}}
/* Override the legacy site-wide button hover rule for the accessibility action. */
.support-dock .support-menu .support-menu-items>.accessibility-toggle:is(:hover,:focus-visible,:active){background:#fff!important;color:#000!important;border-color:#000!important}
/* Agency booking actions stay black on hover, keyboard focus and touch press. */
html body .hero .actions a.agency-hero-link{-webkit-tap-highlight-color:transparent}
html body .hero .actions a.agency-hero-link:is(:hover,:focus,:active,.catch-button-pressed){background:#000!important;background-image:none!important;border-color:#000!important;color:#fff!important;-webkit-text-fill-color:#fff;box-shadow:none!important;filter:none!important;transition:none!important}
html body .hero .actions a.agency-hero-link:is(:hover,:focus,:active,.catch-button-pressed)>:is(span,small){color:#fff!important;-webkit-text-fill-color:#fff}

/* Keep iOS native date fields inside their grid columns. */
.agency-form .agency-grid,.agency-form .agency-grid>label{min-width:0;max-width:100%}
.agency-form input:not([type=checkbox]):not([type=hidden]),.agency-form select,.agency-form textarea{min-width:0;max-width:100%;box-sizing:border-box}
.agency-form input[type=date]{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;max-width:100%;height:48px;min-height:48px;line-height:1.4;text-align:left}
.agency-form input[type=date]::-webkit-date-and-time-value{min-height:1.4em;text-align:left}
@media(max-width:600px){
.agency-wrap{width:calc(100% - 32px)}
.agency-form{padding:16px}
.agency-form .agency-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.agency-form .agency-grid>label{display:block}
.agency-form input:not([type=checkbox]):not([type=hidden]),.agency-form select,.agency-form textarea{font-size:16px;padding:10px 12px}
.agency-live-options{padding:14px;margin:18px 0 24px}
.agency-live-options h3{font-size:23px;line-height:1.25;margin-bottom:10px}
.agency-live-options p{font-size:14px;line-height:1.6;margin-bottom:14px}
.agency-live-options .agency-live-notice{padding:0;border:0;background:transparent}
}
@media(max-width:600px){.agency-wrap{padding-inline:0}}
/* Equal mobile actions and a compact availability note on inner-page headers. */
@media(max-width:850px){
html body .hero.page-hero .actions{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-items:stretch;gap:12px;width:100%;max-width:360px;margin:18px auto 16px}
html body .hero.page-hero .actions .button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:none;min-width:0;min-height:52px;height:auto;margin:0;padding:12px 18px;font-size:16px;line-height:1.5;box-sizing:border-box;text-align:center;white-space:normal}
html body .hero.page-hero .lead{margin-bottom:18px}
html body .hero.page-hero p.small-note{white-space:normal!important;max-width:100%;margin:16px 0 0;line-height:1.5!important;font-size:13px!important}
html body .hero.page-hero:has(.actions){padding-block:26px!important}
}
