/* Responsive refinements for the Elementor implementation, 2026-11-27. */
html { font-size: 100% !important; }
body.kcs-elementor-site { font-size: 1rem; }
.kcs-elementor-site .elementor-element { min-width: 0; }
.kcs-elementor-site .kcs-mobile-contact { display: none; }
.kcs-elementor-site .kcs-header__bar { overflow: visible; }
.kcs-elementor-site .elementor-element[id],
.kcs-elementor-site .kcs-accordion__panel { scroll-margin-top: 96px; }
.kcs-elementor-site .kcs-form { container: kcs-form / inline-size; }
.kcs-elementor-site .kcs-form__row { grid-template-columns: minmax(0, 1fr); }
.kcs-elementor-site .kcs-form .kcs-field,
.kcs-elementor-site .kcs-form .kcs-fstep { min-width: 0; }
.kcs-elementor-site .kcs-form label,
.kcs-elementor-site .kcs-form .kcs-radio span { color: var(--kcs-gray-900); }
.kcs-elementor-site .kcs-form .kcs-radio input:checked + span { color: #fff; }
.kcs-elementor-site .kcs-form .kcs-radio input:focus-visible + span {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}
.kcs-elementor-site .kcs-course-label {
  display: grid;
  grid-template-columns: 2.25ch minmax(0, 1fr);
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.kcs-elementor-site .kcs-course-number { margin-right: 0 !important; font-variant-numeric: tabular-nums; }
.kcs-elementor-site .kcs-course-title { min-width: 0; overflow-wrap: break-word; }
.kcs-elementor-site .kcs-form h2,
.kcs-elementor-site .kcs-form h3 { font-family: var(--font-base) !important; line-height: 1.3; color: var(--kcs-black) !important; }
.kcs-elementor-site .kcs-form .kcs-button--ghost:not(.is-loading) { color: var(--kcs-black) !important; }
.kcs-elementor-site .kcs-form .kcs-button--ghost:hover,
.kcs-elementor-site .kcs-form .kcs-button--ghost:focus-visible { background: var(--kcs-off-white); border-color: var(--kcs-gray-300); }
.kcs-bg-hero-business { background-image: url('../images/stock/hero-business-web-20261127.jpg') !important; }
.kcs-elementor-site .kcs-burger-html { font-size: 16px !important; padding: 0 !important; color: #151515 !important; }
.kcs-elementor-site .kcs-burger-html svg { display: block !important; width: 24px !important; height: 24px !important; stroke: currentColor !important; fill: none !important; }
.kcs-elementor-site .kcs-burger-html svg path { stroke: currentColor !important; }
.kcs-bg-team { background-image: url('../images/stock/team-workshop-20261127.jpg') !important; }
.kcs-bg-education,
.kcs-bg-case-education { background-image: url('../images/stock/education-workshop-20261127.jpg') !important; }
.kcs-bg-gastronomy { background-image: url('../images/stock/culinary-training-20261127.jpg') !important; }
.kcs-bg-case-horeca { background-image: url('../images/stock/hospitality-training-20261127.jpg') !important; }
.kcs-about-split__media img[src*='team-workshop-20261127'] { object-position: center 24% !important; }

@media (min-width: 768px) {
  .kcs-elementor-site .kcs-form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* A form uses its own available width, including when it sits in a sidebar. */
@container kcs-form (max-width: 480px) {
  .kcs-form__row--2 { grid-template-columns: minmax(0, 1fr) !important; }
  .kcs-stepper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
    margin-bottom: 20px;
  }
  .kcs-stepper__item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    min-width: 0;
    font-size: .875rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .kcs-stepper__num { width: 24px; height: 24px; }
  .kcs-radio-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kcs-radio { display: block; min-width: 0; }
  .kcs-radio span {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 52px;
    padding: 10px 8px;
    border-radius: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
  .kcs-form__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .kcs-form__nav > :only-child { grid-column: 1 / -1; }
  .kcs-form__nav .kcs-button { min-width: 0; width: 100%; padding: 12px 14px; white-space: normal; line-height: 1.4; }
}

@container kcs-form (max-width: 280px) {
  .kcs-form__nav { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .elementor-page .e-con.kcs-topbar { display: none !important; }
  .elementor-page .e-con.kcs-header,
  .elementor-page .e-con.kcs-header__bar {
    min-height: 72px !important;
    height: auto !important;
  }
  .elementor-page .e-con.kcs-header__bar {
    position: relative !important;
    width: 100% !important;
    gap: 16px !important;
    padding: 12px var(--container-pad) !important;
    overflow: visible !important;
    justify-content: space-between !important;
  }
  .elementor-page .kcs-header .kcs-logo-html,
  .elementor-page .kcs-header .kcs-logo-html .kcs-logo { height: 40px !important; }
  .elementor-page .kcs-header .kcs-logo__mark { width: 150px; height: 40px; }
  .elementor-page .kcs-header .kcs-header__cta { display: none !important; }
  .elementor-page .kcs-header .kcs-burger-widget {
    display: inline-flex !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .elementor-page .kcs-header .kcs-burger-html { cursor: pointer; }
  .elementor-page .kcs-header .kcs-burger-html svg { pointer-events: none; }
  .elementor-page .kcs-header .e-con.kcs-header__actions {
    margin-left: auto !important;
    width: 48px !important;
  }
  .elementor-page .kcs-header .e-con.kcs-nav--simple {
    display: none !important;
    position: absolute !important;
    inset: 100% 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 72px) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px var(--container-pad) 20px !important;
    background: #fff !important;
    border-top: 1px solid var(--color-border) !important;
    border-bottom: 1px solid var(--color-border) !important;
    box-shadow: 0 16px 24px rgba(21,21,21,.12) !important;
    z-index: 110 !important;
  }
  .elementor-page .kcs-header.is-mobile-open .e-con.kcs-nav--simple { display: flex !important; }
  .elementor-page .kcs-header .kcs-nav__link,
  .elementor-page .kcs-header .kcs-nav__link .elementor-widget-container {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .elementor-page .kcs-header .kcs-nav__link .elementor-button {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 12px 4px !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--color-border) !important;
  }
  .elementor-page .kcs-header .kcs-mobile-contact {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--kcs-red-dark);
  }
  .elementor-page .e-con.kcs-process { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .elementor-page .e-con.kcs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .elementor-page .e-con.kcs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .elementor-page .kcs-contact-layout a,
  .elementor-page .kcs-footer a { overflow-wrap: anywhere; }
  .elementor-page .e-con.kcs-hero__grid,
  .elementor-page .e-con.kcs-contact-layout,
  .elementor-page .e-con.kcs-contact-grid,
  .elementor-page .e-con.kcs-check-split,
  .elementor-page .e-con.kcs-cta-band {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }
  .elementor-page .e-con.kcs-hero__grid .kcs-hero__title,
  .elementor-page .e-con.kcs-hero__grid .kcs-hero__title .elementor-heading-title {
    max-width: 24ch !important;
    font-size: clamp(2rem, 4.5vw, 3rem) !important;
    line-height: 1.16 !important;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  .elementor-page .e-con.kcs-hero__grid .kcs-hero__media {
    position: relative !important;
    width: 100%;
    height: clamp(180px, 38vw, 320px) !important;
    min-height: 0 !important;
    max-height: 320px;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }
  .elementor-page .e-con.kcs-hero__grid .kcs-hero__media > .elementor-widget-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  .elementor-page .e-con.kcs-hero__grid .kcs-hero__media img {
    position: absolute !important;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .elementor-page .kcs-header .e-con.kcs-nav--simple { overscroll-behavior: contain; }
}

@media (max-width: 767px) {
  :root { --container-pad: 20px; --section-y: 48px; }
  .elementor-page .e-con.kcs-hero-classic,
  .elementor-page .e-con.kcs-hero-classic:not(.kcs-home-hero),
  .elementor-page .e-con.kcs-home-hero {
    width: 100% !important;
    min-height: 0 !important;
    padding: 48px 0 52px !important;
  }
  .elementor-page .e-con.kcs-hero-classic .e-con.kcs-hero-classic__inner {
    width: 100% !important;
    max-width: 100% !important;
  }
  .elementor-page .kcs-hero-classic .kcs-hero-classic__title,
  .elementor-page .kcs-hero-classic .kcs-hero-classic__title .elementor-heading-title,
  .elementor-page .e-con.kcs-hero-classic:not(.kcs-home-hero) .kcs-hero-classic__title,
  .elementor-page .e-con.kcs-hero-classic:not(.kcs-home-hero) .kcs-hero-classic__title .elementor-heading-title {
    font-size: clamp(1.875rem, 7.6vw, 2.5rem) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  .elementor-page .kcs-hero-classic .kcs-hero-classic__lead,
  .elementor-page .kcs-hero-classic .kcs-hero-classic__lead p,
  .elementor-page .kcs-hero-classic .kcs-hero-classic__lead .elementor-widget-container {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
  }
  .elementor-page .e-con.kcs-hero-classic__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
    margin-top: 28px !important;
  }
  .elementor-page .e-con.kcs-hero-classic__actions > .elementor-element,
  .elementor-page .kcs-hero-classic__actions .elementor-widget-container,
  .elementor-page .kcs-hero-classic__actions .elementor-button {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .elementor-page .kcs-hero-classic__actions .elementor-button {
    justify-content: center;
    min-height: 50px;
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.35;
    white-space: normal;
  }
  .elementor-page .e-con.kcs-grid,
  .elementor-page .e-con.kcs-grid--2,
  .elementor-page .e-con.kcs-grid--3,
  .elementor-page .e-con.kcs-compare,
  .elementor-page .e-con.kcs-process,
  .elementor-page .e-con.kcs-contact-layout,
  .elementor-page .e-con.kcs-contact-grid,
  .elementor-page .e-con.kcs-contact-split,
  .elementor-page .e-con.kcs-cta-band,
  .elementor-page .e-con.kcs-check-split,
  .elementor-page .e-con.kcs-hero__grid,
  .elementor-page .e-con.kcs-about-split {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  .elementor-page .e-con.kcs-footer__grid { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; }
  .elementor-page .e-con.kcs-fin-tile,
  .elementor-page .e-con.kcs-contact-panel,
  .elementor-page .e-con.kcs-contact-grid > .e-con.kcs-stack {
    padding: 24px !important;
  }
  .elementor-page .kcs-form { padding: 20px !important; }
  .elementor-page .kcs-input,
  .elementor-page .kcs-select,
  .elementor-page .kcs-textarea { min-width: 0; width: 100%; font-size: 16px !important; }
  .elementor-page .kcs-section__title,
  .elementor-page .kcs-section__title .elementor-heading-title { overflow-wrap: break-word; text-wrap: balance; }
  .elementor-page .kcs-section__lead,
  .elementor-page .kcs-section__lead p { font-size: 1rem !important; line-height: 1.65 !important; }
  .elementor-page .kcs-offer-tile__desc,
  .elementor-page .kcs-card__text { font-size: .9375rem !important; }
  .elementor-page .kcs-accordion__trigger { padding: 16px; line-height: 1.4; text-align: left; }
  .elementor-page .kcs-footer__legal,
  .elementor-page .kcs-footer__legal-links { flex-direction: column !important; align-items: flex-start !important; }
  .elementor-page .elementor-widget-button.kcs-button { max-width: 100% !important; }
  .elementor-page .elementor-widget-button.kcs-button .elementor-widget-container,
  .elementor-page .elementor-widget-button.kcs-button .elementor-button {
    min-width: 0;
    max-width: 100% !important;
  }
  .elementor-page .elementor-widget-button.kcs-button .elementor-button,
  .elementor-page .kcs-cta-band .kcs-button {
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
    text-align: center;
    padding-inline: 16px;
  }
  .elementor-page .elementor-widget-button.kcs-button .elementor-button-content-wrapper,
  .elementor-page .elementor-widget-button.kcs-button .elementor-button-text { min-width: 0; }
  .elementor-page .e-con.kcs-hero__actions,
  .elementor-page .e-con.kcs-cta-band__actions {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .elementor-page .e-con.kcs-hero__actions > .elementor-element,
  .elementor-page .e-con.kcs-cta-band__actions > .elementor-element,
  .elementor-page .e-con.kcs-hero__actions .elementor-widget-container,
  .elementor-page .e-con.kcs-cta-band__actions .elementor-widget-container,
  .elementor-page .e-con.kcs-hero__actions .elementor-button,
  .elementor-page .e-con.kcs-cta-band__actions .elementor-button { width: 100% !important; }
  .elementor-page .elementor-widget-html.kcs-accordion-html .kcs-accordion__trigger {
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  .elementor-page .elementor-widget-html.kcs-accordion-html .kcs-accordion__icon { margin-top: 2px; }
  .elementor-page .elementor-widget-html.kcs-accordion-html .kcs-accordion__panel {
    padding: 0 16px 20px !important;
    font-size: 1rem;
    line-height: 1.65;
  }
  .elementor-page .kcs-accordion__panel .kcs-link-arrow { min-height: 44px; flex-wrap: wrap; }
  .elementor-page .kcs-breadcrumbs ol { gap: 4px 8px !important; line-height: 1.5; }
  .elementor-page .kcs-breadcrumbs li { min-width: 0; max-width: 100%; flex-wrap: wrap; overflow-wrap: anywhere; }
  .elementor-page .kcs-footer__col ul { gap: 0 !important; }
  .elementor-page .kcs-footer__col ul a,
  .elementor-page .kcs-footer__legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }
  .elementor-page .kcs-footer__col ul a { font-size: .9375rem; }
  .elementor-page .kcs-footer__legal,
  .elementor-page .kcs-footer__legal .elementor-widget-container,
  .elementor-page .kcs-footer__note,
  .elementor-page .kcs-footer__note .elementor-widget-container { font-size: .875rem !important; line-height: 1.6; }
  .elementor-page .e-con.kcs-cta-band { padding: 24px !important; }
  .elementor-page .e-con.kcs-compare__card { padding: 20px !important; }
  .elementor-page .e-con.kcs-about-split { gap: 24px !important; }
  .elementor-page .kcs-about-split__media {
    position: relative !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
  }
  .elementor-page .kcs-about-split__media img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .kcs-elementor-site #ast-scroll-top {
    width: 44px;
    height: 44px;
    line-height: 44px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--kcs-black);
    color: #fff;
    border-radius: 8px;
  }
  .kcs-elementor-site #ast-scroll-top .ast-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
  }
  .kcs-elementor-site #ast-scroll-top .ast-arrow-svg { display: block; }
}

@media (min-width: 560px) and (max-width: 767px) {
  .elementor-page .e-con.kcs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 359px) {
  :root { --container-pad: 16px; }
  .elementor-page .kcs-header .kcs-logo__mark { width: 135px; height: 36px; }
  .elementor-page .kcs-form { padding: 16px !important; }
}

@media (min-width: 1025px) {
  .elementor-page .kcs-header .kcs-burger-widget { display: none !important; }
  .elementor-page .kcs-header .kcs-mobile-contact { display: none !important; }
}

/* Tie the scrim to the caption so wrapped text always has a dark backing. */
.elementor-page .e-con.kcs-offer-tile::before,
.elementor-page .e-con.kcs-offer-tile::after { background: none !important; }
.elementor-page .kcs-offer-tile .e-con.kcs-offer-tile__body {
  background: rgba(12, 17, 22, .66) linear-gradient(180deg, transparent, rgba(12, 17, 22, .70)) !important;
  color: #fff;
}
.elementor-page .kcs-offer-tile .e-con.kcs-offer-tile__body::after {
  content: "";
  position: absolute;
  inset: auto 0 100%;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(12, 17, 22, .66));
  pointer-events: none;
}
.elementor-page .kcs-offer-tile__body :is(.elementor-heading-title, .kcs-block, .kcs-offer-tile__desc, .kcs-offer-tile__link) {
  color: #fff !important;
}
.elementor-page .kcs-offer-tile .kcs-offer-tile__body .kcs-badge,
.elementor-page .kcs-offer-tile .kcs-offer-tile__body .kcs-badge :is(p, span, .elementor-widget-container) {
  background-color: #fff2f0 !important;
  color: #66192c !important;
  font-weight: 750;
}
.elementor-page .kcs-offer-tile .kcs-tile-cover-link:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: -6px !important;
  box-shadow: inset 0 0 0 8px #281722;
}
