/* Existing Elementor widgets and tokens remain the source of the design. */
.leus-choice-pending .elementor-location-header .leus-header-navigation,
.leus-choice-pending .elementor-location-header .leus-header-cta,
.leus-choice-pending .elementor-location-header .leus-header-menu-toggle{display:block!important;order:-1}
body.leus-choice-pending .leus-section-selector{display:none!important}
.leus-header-switcher .elementor-icon-list-icon{display:none}
.leus-header-switcher a,.leus-header-phone a{white-space:nowrap}
body .elementor-nav-menu .leus-mobile-choice-switch{display:none!important}
.leus-price-action{min-width:0;flex-shrink:0}
.leus-price-action .elementor-button{max-width:100%;white-space:normal}
.leus-booking-form .elementor-field-group-field_64ea755,
.leus-booking-form .elementor-field-group-field_6f66772,
.leus-proefles-form .elementor-field-group-field_6f66772{font-family:"aktiv-grotesk",sans-serif!important;font-size:19px!important;line-height:1.5!important;font-weight:400!important;text-transform:none!important}
.leus-booking-form .elementor-field-group-field_64ea755 *,
.leus-booking-form .elementor-field-group-field_6f66772 *,
.leus-proefles-form .elementor-field-group-field_6f66772 *{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;text-transform:none!important}
.leus-booking-form [hidden]{display:none!important}
@media(max-width:1300px){.elementor-location-header .leus-header-utility .leus-header-hours{display:none!important}}
@media(max-width:1200px){.leus-booking-form .elementor-field-group-field_64ea755,.leus-booking-form .elementor-field-group-field_6f66772,.leus-proefles-form .elementor-field-group-field_6f66772{font-size:18px!important}}
@media(max-width:1024px){.leus-booking-form .elementor-field-group-field_64ea755,.leus-booking-form .elementor-field-group-field_6f66772,.leus-proefles-form .elementor-field-group-field_6f66772{font-size:16px!important}}
@media(max-width:767px){
 .leus-section-selector{display:block!important;order:-1}
 body .elementor-nav-menu--dropdown .elementor-nav-menu .leus-mobile-choice-switch,body .elementor-popup-modal .elementor-nav-menu .leus-mobile-choice-switch{display:list-item!important}
 .leus-has-choice .leus-header-utility .leus-header-top-navigation .menu-item-36,.leus-has-choice .leus-header-utility .leus-header-top-navigation .menu-item-35{display:none!important}
 .leus-has-choice .leus-header-utility{padding-inline:12px!important}
 .leus-has-choice .leus-header-utility .elementor-item,.leus-has-choice .leus-header-utility .elementor-icon-list-text{font-size:11px!important}
 .leus-booking-form .elementor-field-group-field_64ea755,.leus-booking-form .elementor-field-group-field_6f66772,.leus-proefles-form .elementor-field-group-field_6f66772{font-size:14px!important}
}

body.home.page-id-1000.leus-choice-pending .elementor-location-header .leus-header-main .leus-header-actions.elementor-element{display:none!important}
.leus-booking-form .elementor-field-group-field_6f66772 a,.leus-proefles-form .elementor-field-group-field_6f66772 a{color:var(--e-global-color-primary,#091850)!important;text-decoration:underline;text-underline-offset:3px}

.leus-section-selector .elementor-nav-menu--main > ul{flex-wrap:nowrap}
.leus-section-selector .sub-arrow{padding-left:8px!important}

/* Site headers use their existing Elementor utility-menu colours. */
.elementor-popup-modal .leus-header-utility .leus-section-selector .elementor-nav-menu--main a.elementor-item {
    color: var(--leus-header-ink, var(--e-global-color-secondary, #fff)) !important;
}
.elementor-popup-modal .leus-header-utility .leus-section-selector .elementor-nav-menu--main a.elementor-item:is(:hover, :focus-visible) {
    color: var(--e-global-color-accent, #00a7ff) !important;
}

/* The existing utility-row dropdown must overlay the main navigation row. */
.leus-header-utility{position:relative;z-index:40!important}

@media (max-width: 420px) {
    .leus-has-choice .elementor-location-header .leus-header-utility .leus-section-selector .sub-arrow {
        flex-basis: 18px;
        width: 18px;
        min-width: 18px;
        padding-left: 4px !important;
    }
    .leus-has-choice .elementor-location-header .leus-header-utility .leus-header-phone .elementor-icon-list-icon {
        display: none;
    }
    .leus-has-choice .elementor-location-header .leus-header-utility .leus-header-phone .elementor-icon-list-text {
        padding-left: 0;
    }
}
@media (max-width: 360px) {
    /* Contact remains available in the mobile menu. */
    .leus-has-choice .elementor-location-header .leus-header-utility > .leus-header-top-navigation {
        display: none;
    }
}

/* Extend the hero behind the transparent header without moving its content. */
.elementor-location-header + .elementor > .e-con#content:first-child[data-settings*='"background_background":'] {
    --leus-hero-bleed: 32px;
    margin-top: calc(var(--margin-top) - var(--leus-hero-bleed));
}
.elementor-location-header + .elementor > .e-con-boxed#content:first-child[data-settings*='"background_background":'] > .e-con-inner,
.elementor-location-header + .elementor > .e-con-full#content:first-child[data-settings*='"background_background":'] {
    padding-top: calc(var(--padding-top) + var(--leus-hero-bleed));
}

/* Course prices and their associated actions use the same vertical order. */
.leus-card-price-action,
.leus-price-action {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}
.leus-card-price-action .elementor-button-text,
.leus-price-action .elementor-button-text {
    white-space: nowrap;
}
.leus-card-price-action .elementor-button-content-wrapper {
    gap: 8px;
    align-items: center;
}
#ept-assessment { scroll-margin-top: 112px; }

/* The existing artwork needs a light background on the dark header. */
.leus-header-review a {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    background: #fff;
    border-radius: 6px;
}
.leus-header-review img {
    display: block;
    width: 70px;
    height: auto;
}
.leus-header-review-mobile { display: none !important; }
@media (max-width: 767px) {
    .leus-header-review-desktop { display: none !important; }
    .leus-header-review-mobile { display: block !important; flex: 0 0 auto; }
    .leus-header-review img { width: 58px; }
    .leus-header-main .leus-header-brand:has(> .leus-header-review-mobile) {
        flex-flow: row nowrap !important;
        align-items: center;
        gap: 10px;
        width: auto !important;
        max-width: none !important;
    }
    .leus-header-brand:has(> .leus-header-review-mobile) > .elementor-widget-icon {
        flex: 0 0 auto;
        width: auto !important;
    }
    .leus-proefles-form .elementor-field-group { width: 100%; }
}
@media (max-width: 380px) {
    .leus-header-brand:has(> .leus-header-review-mobile) .elementor-widget-icon svg { max-width: 125px; }
}
@media (min-width: 768px) {
    .leus-proefles-form .elementor-field-group-straat { width: 65%; }
}
.leus-proefles-form .elementor-field-group > .elementor-field-label {
    color: var(--e-global-color-primary, #091850);
    font-family: "aktiv-grotesk", sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}
.leus-proefles-form #form-field-geslacht {
    padding-inline-end: 38px;
}
.leus-proefles-form .elementor-field-group-geslacht .select-caret-down-wrapper {
    right: 12px;
    display: grid;
    place-items: center;
    width: 16px;
    height: 20px;
    color: var(--e-global-color-accent, #00a7ff);
    pointer-events: none;
}
.leus-proefles-form .elementor-field-group-geslacht .select-caret-down-wrapper > svg {
    display: none;
}
.leus-proefles-form .elementor-field-group-geslacht .select-caret-down-wrapper::before {
    content: "";
    width: 8.707px;
    height: 15.414px;
    background-color: currentColor;
    -webkit-mask: url('/wp-content/uploads/2025/02/leus-button-arrow.svg') no-repeat center / contain;
    mask: url('/wp-content/uploads/2025/02/leus-button-arrow.svg') no-repeat center / contain;
    transform: rotate(90deg) scale(.75);
}
.leus-proefles-form .elementor-field-type-checkbox .elementor-field-option {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.leus-proefles-form .elementor-field-type-checkbox .elementor-field-subgroup .elementor-field-option label {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding-inline-end: 12px;
    cursor: pointer;
}
.leus-proefles-form .elementor-field-type-checkbox .elementor-field-subgroup input[type="checkbox"] {
    appearance: none;
    display: inline-grid;
    place-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid var(--e-global-color-primary, #091850);
    border-radius: 5px;
    background: var(--e-global-color-secondary, #fff);
    cursor: pointer;
}
.leus-proefles-form .elementor-field-type-checkbox .elementor-field-subgroup input[type="checkbox"]:checked {
    background: var(--e-global-color-primary, #091850);
}
.leus-proefles-form .elementor-field-type-checkbox .elementor-field-subgroup input[type="checkbox"]:checked::before {
    content: "";
    width: 10px;
    height: 6px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: translateY(-1px) rotate(-45deg);
}
.leus-proefles-form .elementor-field-type-checkbox .elementor-field-subgroup input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--e-global-color-accent, #00a7ff);
    outline-offset: 3px;
}
@media (forced-colors: active) {
    .leus-proefles-form .elementor-field-type-checkbox .elementor-field-subgroup input[type="checkbox"] {
        appearance: auto;
    }
    .leus-proefles-form .elementor-field-type-checkbox .elementor-field-subgroup input[type="checkbox"]:checked::before {
        content: none;
    }
}

/* Homepage choice uses the same two weights, colours and arrow as the splash. */
.leus-home-choice {
  --leus-choice-primary: var(--e-global-color-secondary, #fff);
  --leus-choice-accent: var(--e-global-color-accent, #00a7ff);
}

.leus-home-choice :is(.leus-choice-school, .leus-choice-training) .elementor-heading-title {
  transition: color .25s ease;
}

.leus-home-choice :is(.leus-choice-school, .leus-choice-training) .elementor-heading-title a {
  position: relative;
  display: block;
}

.leus-home-choice:has(.leus-choice-training a:is(:hover, :focus-visible)):not(:has(.leus-choice-school a:hover)) .leus-choice-school .elementor-heading-title {
  color: var(--leus-choice-accent);
  font-weight: 500;
}

.leus-home-choice:has(.leus-choice-training a:is(:hover, :focus-visible)):not(:has(.leus-choice-school a:hover)) .leus-choice-training .elementor-heading-title {
  color: var(--leus-choice-primary);
  font-weight: 800;
}

@media (min-width: 768px) {
  .leus-home-choice :is(.leus-choice-school, .leus-choice-training) .elementor-heading-title a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    width: clamp(34px, 2.7vw, 44px);
    aspect-ratio: 1;
    background: url('/wp-content/uploads/2025/02/leus-splash-arrow.svg') center / contain no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }

  .leus-home-choice :is(.leus-choice-school, .leus-choice-training) .elementor-heading-title a:is(:hover, :focus-visible)::before {
    opacity: 1;
  }
}

@media (min-width: 1441px) and (max-width: 1600px) {
  .leus-home-choice :is(.leus-choice-school, .leus-choice-training).elementor-element.elementor-widget-heading .elementor-heading-title {
    font-size: min(calc(4vw + 1px), 65px);
    line-height: 1;
  }
}

@media (max-width: 329px) {
  .leus-home-choice :is(.leus-choice-school, .leus-choice-training).elementor-element.elementor-widget-heading .elementor-heading-title {
    font-size: 8.75vw;
  }
}

.leus-home-choice .leus-choice-picture .elementor-widget-container {
  position: relative;
}

.leus-home-choice .leus-choice-picture .leus-choice-preview {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.leus-home-choice:has(.leus-choice-training a:is(:hover, :focus-visible)):not(:has(.leus-choice-school a:hover)) .leus-choice-picture .leus-choice-preview.is-loaded {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .leus-home-choice .elementor-heading-title,
  .leus-home-choice :is(.leus-choice-school, .leus-choice-training) .elementor-heading-title a::before,
  .leus-home-choice .leus-choice-picture .leus-choice-preview {
    transition: none;
  }
}

.leus-b-tariffs {
    box-sizing: border-box;
    max-width: 640px;
    margin: clamp(32px, 4vw, 56px) auto 0;
    padding: clamp(20px, 3vw, 32px);
    border-radius: 20px;
    background: #def4ff;
    color: var(--e-global-color-primary, #091850);
    text-align: left;
}
.leus-b-tariffs > h3 {
    margin: 0 0 16px;
    color: inherit;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}
.leus-b-tariffs dl {
    margin: 0;
}
.leus-b-tariffs dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(9, 24, 80, .16);
    line-height: 1.45;
}
.leus-b-tariffs dl > div:last-child {
    padding-bottom: 0;
}
.leus-b-tariffs dd {
    margin: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
}
