@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/Manrope-Regular.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/Manrope-Medium.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/Manrope-SemiBold.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/Manrope-Bold.ttf") format("truetype");
}

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --color-yellow-light: #ffe868;
  --color-orange-light: #ffbf80;
  --color-blue-light: #b4dad7;
  --color-blue: #6ab5b0;
  --color-dark-blue: #53a1a5;
  --color-yellow: #f4d319;
  --color-orange: #ff7f00;
  --color-grey: #d3d3d3;
  --color-black: #313131;
  --color-text: #191819;

  --pf-color-primary: var(--color-dark-blue);
  --pf-color-secondary: var(--color-orange);
  --pf-color-accent: var(--color-yellow);
  --pf-color-text: var(--color-text);
  --pf-color-background: #ffffff;
  --pf-color-muted: var(--color-blue-light);
  --pf-color-border: var(--color-grey);
  --pf-color-surface-alt: var(--color-yellow-light);

  --pf-container-width: 1680px;
  --pf-container-padding-x: clamp(1.25rem, 5vw, 2.5rem);
  --pf-border-radius: 0.75rem;

  --pf-button-padding-y: 0.875rem;
  --pf-button-padding-x: 1.75rem;
  --pf-button-gap: 0.5rem;
  --pf-button-transition: 180ms ease;
  --pf-button-min-height: 52px;
  --pf-button-radius: 1rem;

  --pf-font-size-body: 18px;
  --pf-line-height-body: 1.4;
  --pf-font-size-h1: 70px;
  --pf-line-height-h1: 1.03;
  --pf-font-size-h2: 70px;
  --pf-line-height-h2: 1.03;
  --pf-font-size-h3: 48px;
  --pf-line-height-h3: 1.03;
  --pf-font-size-h4: 36px;
  --pf-line-height-h4: 1.4;
  --pf-font-size-h5: 24px;
  --pf-line-height-h5: 1.4;
  --pf-font-size-button: 16px;
  --pf-line-height-button: 1.2;

  --pf-font-family-base: "Manrope", sans-serif;
  --pf-font-family-heading: "Manrope", sans-serif;
  --pf-font-family-button: "Manrope", sans-serif;

  /* Spacing schaal */
  --pf-space-xs:  clamp(0.75rem, 1.5vw, 1rem);
  --pf-space-sm:  clamp(1rem,    2vw,   1.5rem);
  --pf-space-md:  clamp(1.5rem,  3vw,   2.5rem);
  --pf-space-lg:  clamp(2.5rem,  5vw,   4.5rem);
  --pf-space-xl:  clamp(4rem,    7vw,   7rem);
  --pf-space-2xl: clamp(5rem,    9vw,   9rem);
}

/* =========================================================
   BASE
   ========================================================= */
html,
body {
  font-family: var(--pf-font-family-base);
  overflow-x: clip;
}

.elementor a {
  transition:
    color var(--pf-button-transition),
    background-color var(--pf-button-transition),
    border-color var(--pf-button-transition),
    opacity var(--pf-button-transition);
}

.elementor img,
.elementor-widget img {
  display: block;
  height: auto;
  max-width: 100%;
}

/* =========================================================
   SWIPER BASE
   ========================================================= */
.swiper {
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.swiper-wrapper {
  box-sizing: content-box;
  display: flex;
  height: 100%;
  position: relative;
  transition-property: transform;
  width: 100%;
}

.swiper-slide {
  display: block;
  flex-shrink: 0;
  height: 100%;
  position: relative;
  transition-property: transform;
  width: 100%;
}

/* =========================================================
   LAYOUT / CONTAINER
   ========================================================= */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-container,
.e-con.e-parent {
  margin-inline: auto;
  max-width: min(100%, var(--pf-container-width));
  padding-inline: var(--pf-container-padding-x);
}

/* Section spacing utilities */
.pf-section-sm {
  padding-block: var(--pf-space-md);
}

.pf-section-md {
  padding-block: var(--pf-space-lg);
}

.pf-section-lg {
  padding-block: var(--pf-space-xl);
}

.pf-section-xl {
  padding-block: var(--pf-space-2xl);
}

/* =========================================================
   TYPOGRAPHY / TEXT UTILITIES
   ========================================================= */
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-theme-post-content,
.elementor-widget-theme-post-content p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-base);
  font-size: var(--pf-font-size-body);
  line-height: var(--pf-line-height-body);
}

.pf-text-body,
.elementor-widget-text-editor.pf-text-body,
.elementor-widget-text-editor.pf-text-body p,
.elementor-text-editor.pf-text-body,
.elementor-text-editor.pf-text-body p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-base);
  font-size: var(--pf-font-size-body);
  font-weight: 400;
  line-height: var(--pf-line-height-body);
}

.pf-text-body-bold,
.elementor-widget-text-editor.pf-text-body-bold,
.elementor-widget-text-editor.pf-text-body-bold p,
.elementor-text-editor.pf-text-body-bold,
.elementor-text-editor.pf-text-body-bold p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-base);
  font-size: var(--pf-font-size-body);
  font-weight: 700;
  line-height: var(--pf-line-height-body);
}

.pf-text-h1,
.elementor-widget-text-editor.pf-text-h1,
.elementor-widget-text-editor.pf-text-h1 p,
.elementor-text-editor.pf-text-h1,
.elementor-text-editor.pf-text-h1 p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-heading);
  font-size: clamp(2rem, 5vw, var(--pf-font-size-h1));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: var(--pf-line-height-h1);
}

.pf-text-h2,
.elementor-widget-text-editor.pf-text-h2,
.elementor-widget-text-editor.pf-text-h2 p,
.elementor-text-editor.pf-text-h2,
.elementor-text-editor.pf-text-h2 p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-heading);
  font-size: clamp(1.875rem, 4.4vw, var(--pf-font-size-h2));
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: var(--pf-line-height-h2);
}

.pf-text-h3,
.elementor-widget-text-editor.pf-text-h3,
.elementor-widget-text-editor.pf-text-h3 p,
.elementor-text-editor.pf-text-h3,
.elementor-text-editor.pf-text-h3 p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-heading);
  font-size: clamp(1.5rem, 3vw, var(--pf-font-size-h3));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--pf-line-height-h3);
}

.pf-text-h4,
.elementor-widget-text-editor.pf-text-h4,
.elementor-widget-text-editor.pf-text-h4 p,
.elementor-text-editor.pf-text-h4,
.elementor-text-editor.pf-text-h4 p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-heading);
  font-size: clamp(1.375rem, 2.6vw, var(--pf-font-size-h4));
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: var(--pf-line-height-h4);
}

.pf-text-h5,
.elementor-widget-text-editor.pf-text-h5,
.elementor-widget-text-editor.pf-text-h5 p,
.elementor-text-editor.pf-text-h5,
.elementor-text-editor.pf-text-h5 p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-heading);
  font-size: clamp(1.125rem, 2vw, var(--pf-font-size-h5));
  font-weight: 600;
  line-height: var(--pf-line-height-h5);
}

.pf-text-button-copy,
.elementor-widget-text-editor.pf-text-button-copy,
.elementor-widget-text-editor.pf-text-button-copy p,
.elementor-text-editor.pf-text-button-copy,
.elementor-text-editor.pf-text-button-copy p {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-button);
  font-size: var(--pf-font-size-button);
  font-weight: 600;
  line-height: var(--pf-line-height-button);
}

/* =========================================================
   BUTTONS
   ========================================================= */
/* Knoptekst breekt nooit af — de breedte van de knop wint van de layout.
   flex-shrink:0 is nodig omdat een knop in een flex-rij anders alsnog wordt
   samengeperst en de tekst eruit loopt. */
.elementor-button {
  white-space: nowrap;
}

.elementor-button .elementor-button-content-wrapper {
  flex-wrap: nowrap;
}

.elementor-widget-button,
.elementor-button-wrapper {
  flex-shrink: 0;
}

/* Knop naar de onderkant van een kolomcontainer, terwijl de tekst bovenaan
   blijft. margin-top:auto slurpt de resterende ruimte op; werkt alleen als de
   container flex-direction:column heeft en de kolommen even hoog zijn. */
.pf-push-bottom {
  margin-top: auto !important;
}

.elementor-button.btn-pri,
.elementor-button.btn-sec,
.elementor-button.btn-ter,
.elementor-button.btn-qua,
.elementor-button.btn-outline-blue {
  align-items: center;
  border-radius: var(--pf-button-radius);
  border-style: solid;
  border-width: 1px;
  display: inline-flex;
  font-family: var(--pf-font-family-button);
  font-size: var(--pf-font-size-button);
  font-weight: 600;
  gap: var(--pf-button-gap);
  justify-content: center;
  line-height: var(--pf-line-height-button);
  min-height: var(--pf-button-min-height);
  padding: var(--pf-button-padding-y) var(--pf-button-padding-x);
  text-decoration: none;
  transition:
    color var(--pf-button-transition),
    background-color var(--pf-button-transition),
    border-color var(--pf-button-transition),
    box-shadow var(--pf-button-transition),
    transform var(--pf-button-transition);
}

.elementor-button.btn-pri:hover,
.elementor-button.btn-pri.pf-force-hover,
.elementor-button.btn-sec:hover,
.elementor-button.btn-sec.pf-force-hover,
.elementor-button.btn-ter:hover,
.elementor-button.btn-ter.pf-force-hover,
.elementor-button.btn-qua:hover,
.elementor-button.btn-qua.pf-force-hover,
.elementor-button.btn-outline-blue:hover,
.elementor-button.btn-outline-blue.pf-force-hover,
.elementor-button.btn-pri:focus-visible,
.elementor-button.btn-sec:focus-visible,
.elementor-button.btn-ter:focus-visible,
.elementor-button.btn-qua:focus-visible,
.elementor-button.btn-outline-blue:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.elementor-button.btn-pri {
  background: var(--color-black);
  border-color: var(--color-black);
  color: #ffffff;
}

.elementor-button.btn-pri:hover,
.elementor-button.btn-pri.pf-force-hover,
.elementor-button.btn-pri:focus-visible {
  background: var(--color-blue-light);
  border-color: var(--color-blue-light);
  box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, var(--color-blue-light) 22%, transparent);
  color: var(--pf-color-text);
}

.elementor-button.btn-sec {
  background: var(--color-blue-light);
  border-color: var(--color-blue-light);
  color: var(--pf-color-text);
}

.elementor-button.btn-sec:hover,
.elementor-button.btn-sec.pf-force-hover,
.elementor-button.btn-sec:focus-visible {
  background: var(--color-black);
  border-color: var(--color-black);
  color: #ffffff;
}

.elementor-button.btn-ter {
  background: var(--pf-color-background);
  border-color: var(--pf-color-background);
  color: var(--pf-color-text);
}

.elementor-button.btn-ter:hover,
.elementor-button.btn-ter.pf-force-hover,
.elementor-button.btn-ter:focus-visible {
  background: var(--color-grey);
  border-color: var(--color-grey);
  color: var(--pf-color-text);
}

.elementor-button.btn-qua {
  background: transparent;
  border-color: var(--color-black);
  color: var(--pf-color-text);
}

.elementor-button.btn-qua:hover,
.elementor-button.btn-qua.pf-force-hover,
.elementor-button.btn-qua:focus-visible {
  background: var(--color-black);
  border-color: var(--color-black);
  color: #ffffff;
}

.elementor-button.btn-outline-blue {
  background: transparent;
  border-color: var(--color-black);
  color: var(--pf-color-text);
}

.elementor-button.btn-outline-blue:hover,
.elementor-button.btn-outline-blue.pf-force-hover,
.elementor-button.btn-outline-blue:focus-visible {
  background: var(--color-blue-light);
  border-color: var(--color-blue-light);
  color: var(--pf-color-text);
}

/* =========================================================
   LABEL BUTTONS
   ========================================================= */

/* Basis */
.zzp-button .elementor-button,
.mkb-button .elementor-button,
.medisch-button .elementor-button {
  border-width: 1px;
  border-style: solid;
  color: var(--color-black) !important;
}

/* ZZP */
.zzp-button .elementor-button {
  background-color: var(--color-orange) !important;
  border-color: var(--color-orange) !important;
}

/* MKB */
.mkb-button .elementor-button {
  background-color: var(--color-yellow) !important;
  border-color: var(--color-yellow) !important;
}

/* Medisch */
.medisch-button .elementor-button {
  background-color: var(--color-blue) !important;
  border-color: var(--color-blue) !important;
}

/* Hover */
.zzp-button .elementor-button:hover,
.zzp-button .elementor-button:focus,
.mkb-button .elementor-button:hover,
.mkb-button .elementor-button:focus,
.medisch-button .elementor-button:hover,
.medisch-button .elementor-button:focus {
  color: #fff !important;
}

/* =========================================================
   TYPOGRAPHY / HEADING UTILITIES
   ========================================================= */
.elementor-heading-title.hd-1,
.elementor-heading-title.hd-2,
.elementor-heading-title.hd-3,
.elementor-heading-title.hd-4,
.elementor-heading-title.hd-5 {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-heading);
  font-weight: 700;
  margin: 0;
}

.elementor-heading-title.hd-1 {
  font-size: clamp(2rem, 5vw, var(--pf-font-size-h1));
  line-height: var(--pf-line-height-h1);
  letter-spacing: -0.03em;
}

.elementor-heading-title.hd-2 {
  font-size: clamp(1.875rem, 4.4vw, var(--pf-font-size-h2));
  line-height: var(--pf-line-height-h2);
  letter-spacing: -0.025em;
}

.elementor-heading-title.hd-3 {
  font-size: clamp(1.5rem, 3vw, var(--pf-font-size-h3));
  line-height: var(--pf-line-height-h3);
  letter-spacing: -0.02em;
}

.elementor-heading-title.hd-4 {
  font-size: clamp(1.375rem, 2.6vw, var(--pf-font-size-h4));
  font-weight: 600;
  line-height: var(--pf-line-height-h4);
  letter-spacing: -0.015em;
}

.elementor-heading-title.hd-5 {
  font-size: clamp(1.125rem, 2vw, var(--pf-font-size-h5));
  font-weight: 600;
  line-height: var(--pf-line-height-h5);
}

/* =========================================================
   LINKS
   ========================================================= */
.pf-link-arrow,
.elementor a.pf-link-arrow {
  align-items: center;
  color: var(--pf-color-text);
  display: inline-flex;
  font-family: var(--pf-font-family-base);
  font-size: var(--pf-font-size-body);
  font-weight: 400;
  gap: 0.45rem;
  line-height: var(--pf-line-height-body);
  text-decoration: none;
}

.pf-link-arrow::after,
.elementor a.pf-link-arrow::after {
  color: var(--color-orange);
  content: "\2197";
  font-size: 1.1em;
  line-height: 1;
  transform: translateY(-0.02em);
  transition:
    color var(--pf-button-transition),
    transform var(--pf-button-transition);
}

.pf-link-arrow:hover,
.pf-link-arrow:focus-visible,
.elementor a.pf-link-arrow:hover,
.elementor a.pf-link-arrow:focus-visible {
  color: var(--pf-color-text);
  text-decoration: none;
}

.pf-link-arrow:hover::after,
.pf-link-arrow:focus-visible::after,
.elementor a.pf-link-arrow:hover::after,
.elementor a.pf-link-arrow:focus-visible::after {
  color: color-mix(in srgb, var(--color-orange) 86%, var(--color-black));
  transform: translate(0.12rem, -0.08rem);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.elementor-widget-text-editor.pf-scroll-reveal .elementor-widget-container,
.elementor-widget-text-editor.pf-scroll-reveal .elementor-widget-container p {
  color: color-mix(in srgb, var(--pf-color-text) 32%, white);
  font-weight: 500;
}

.pf-scroll-word {
  color: color-mix(in srgb, var(--pf-color-text) 32%, white);
  font-weight: 500;
  transition: color 220ms ease;
}

.pf-scroll-word.is-active {
  color: var(--pf-color-text);
}

/* =========================================================
   REVIEWS
   ========================================================= */

/* Review block and theme colors */
.pf-reviews-block {
  --pf-reviews-block-background: var(--color-blue-light);
  --pf-reviews-block-card-border: color-mix(
    in srgb,
    var(--pf-color-background) 50%,
    transparent
  );

  background: var(--pf-reviews-block-background);
  border-radius: 1.5rem;
  overflow: hidden;
  padding: clamp(2.25rem, 4vw, 3.25rem);
}

.pf-reviews-block--default {
  --pf-reviews-block-background: var(--color-blue-light);
}

.pf-reviews-block--mkb {
  --pf-reviews-block-background: var(--color-yellow);
}

.pf-reviews-block--medisch {
  --pf-reviews-block-background: var(--color-blue);
}

.pf-reviews-block--zzp {
  --pf-reviews-block-background: var(--color-orange-light);
}

/* Header */
.pf-reviews-block__header {
  align-items: flex-end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.pf-reviews-block__title {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.pf-reviews-block__rating {
  align-items: center;
  display: grid;
  flex: 0 0 auto;
  gap: 0.15rem 0.75rem;
  grid-template-columns: auto auto;
}

.pf-reviews-block__rating-label {
  font-size: 0.75rem;
  grid-column: 1 / -1;
  line-height: 1.2;
}

.pf-reviews-block__rating-score {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.pf-reviews-block__rating-stars {
  color: var(--color-orange);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

/* Slider */
.pf-reviews-slider {
  overflow: hidden;
}

.pf-reviews-slider .swiper-wrapper {
  align-items: stretch;
  display: flex;
}

/*
 * Default: one card per view.
 * From tablet upwards this becomes two cards per view.
 */
.pf-reviews-slider .swiper-slide {
  align-self: stretch;
  flex: 0 0 100%;
  height: auto;
  width: 100% !important;
}

/* Base review card */
.pf-review-card {
  border-left: 1px solid var(--pf-reviews-block-card-border);
  color: var(--pf-color-text);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  padding-left: clamp(1.25rem, 2vw, 1.75rem);
  padding-right: clamp(0.25rem, 1vw, 0.75rem);
}

/* Logo tile */
.pf-review-card__logo {
  align-items: center;
  background: #fff;
  border-radius: 0.5rem;
  display: flex;
  height: 3.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
  padding: 0.6rem 0.8rem;
  width: 8rem;
}

.pf-review-card__logo img {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

/* Quote */
.pf-review-card__quote {
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  line-height: 1.45;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

/* Reviewer details */
.pf-review-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-top: auto;
}

.pf-review-card__name,
.pf-review-card__role,
.pf-review-card__company {
  margin: 0;
}

.pf-review-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.1;
}

.pf-review-card__role,
.pf-review-card__company {
  font-size: 1.0625rem;
  line-height: 1.1;
}

.pf-review-card__company {
  opacity: 0.8;
}

/* Review with optional portrait photo */
.pf-reviews-slider .pf-review-card--with-photo {
  border-left: 0;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  padding: 0;
}

.pf-review-card--with-photo .pf-review-card__photo {
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  min-height: 0;
  overflow: hidden;
}

.pf-review-card--with-photo .pf-review-card__photo-image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.pf-review-card--with-photo .pf-review-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-block: clamp(1rem, 2vw, 2rem);
}

.pf-review-card--with-photo .pf-review-card__footer {
  margin-top: auto;
}

.pf-review-card--with-photo .pf-review-card__name {
  font-size: 1.25rem;
  font-weight: 500;
}

.pf-review-card--with-photo .pf-review-card__role,
.pf-review-card--with-photo .pf-review-card__company {
  font-size: 1.125rem;
  line-height: 1.3;
}

/* =========================================================
   LOGO SLIDER
   ========================================================= */
.pf-logo-slider-block {
  --pf-logo-slider-title-inset: 30px;
  align-items: center;
  display: grid;
  gap: 1.25rem;
  overflow: hidden;
}

.pf-logo-slider-block__header {
  margin-bottom: 30px;
  padding-inline-end: clamp(1.25rem, 3vw, 3rem);
  padding-inline-start: var(--pf-logo-slider-title-inset);
}

.pf-logo-slider-block__title {
  color: var(--pf-color-text);
  font-family: var(--pf-font-family-base);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}

h5.pf-logo-slider-block__title {
  line-height: 1.4;
}

.pf-logo-slider {
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.pf-logo-slider .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear;
}

.pf-logo-slide {
  align-self: stretch;
  display: flex;
  height: auto;
  width: auto !important;
}

.pf-logo-slide__link {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 4rem;
  padding: 0;
  transition:
    opacity var(--pf-button-transition),
    transform var(--pf-button-transition);
  width: auto;
}

.pf-logo-slide__link.is-static {
  cursor: default;
}

.pf-logo-slide__link:hover,
.pf-logo-slide__link:focus-visible {
  opacity: 0.8;
  outline: none;
  transform: translateY(-1px);
}

.pf-logo-slide__image {
  height: auto;
  max-height: 2.875rem;
  object-fit: contain;
  width: auto;
}

.pf-logo-slide__fallback {
  color: var(--pf-color-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   NEWS CARDS
   ========================================================= */
.pf-news-cards {
  display: grid;
  gap: clamp(1.5rem, 2vw, 2rem);
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.pf-news-card {
  display: flex;
  flex-direction: column;
}

.pf-news-card__image {
  aspect-ratio: 1.42 / 1;
  border-radius: 0.75rem;
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
}

.pf-news-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform var(--pf-button-transition);
  width: 100%;
}

.pf-news-card:hover .pf-news-card__image img,
.pf-news-card:focus-within .pf-news-card__image img {
  transform: scale(1.02);
}

.pf-news-card__meta {
  align-items: center;
  color: var(--color-blue);
  display: flex;
  font-size: 0.8125rem;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.pf-news-card__meta--vakstudienieuws {
  color: var(--color-orange);
}

.pf-news-card__meta--nieuws {
  color: var(--color-blue);
}

.pf-news-card__type,
.pf-news-card__date {
  color: inherit;
}

.pf-news-card__title {
  font-size: clamp(1.25rem, 1.4vw, 1.625rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.pf-news-card__title a {
  color: inherit;
  text-decoration: none;
}

.pf-news-card__excerpt {
  margin: 0;
}

.pf-news-card__meta--download {
  color: var(--color-black);
}

.pf-news-card--download .pf-news-card__excerpt {
  margin-bottom: 1.25rem;
}

.pf-news-card__download {
  align-items: center;
  background: transparent;
  border: 1px solid var(--color-black);
  border-radius: 16px;
  color: var(--pf-color-text);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 500;
  gap: 12px;
  margin-top: auto;
  margin-right: auto;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pf-news-card__download:hover,
.pf-news-card__download:focus-visible {
  background: var(--color-black);
  color: #fff;
}

.pf-news-card__download-icon {
  display: block;
  flex: 0 0 24px;
  height: 24px;
  position: relative;
  width: 24px;
}

.pf-news-card__download-icon::before,
.pf-news-card__download-icon::after {
  background: currentColor;
  content: "";
  position: absolute;
}

.pf-news-card__download-icon::before {
  height: 2px;
  left: 0;
  top: 11px;
  width: 24px;
}

.pf-news-card__download-icon::after {
  height: 24px;
  left: 11px;
  top: 0;
  width: 2px;
}

/* =========================================================
   SHOWCASE ROTATOR
   ========================================================= */
.pf-showcase-rotator {
  --pf-showcase-height: min(72vw, 38rem);
  --pf-showcase-min-height: 28rem;
  border-radius: 2rem;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.pf-showcase-rotator__slides {
  min-height: var(--pf-showcase-min-height);
  position: relative;
}

.pf-showcase-slide {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 600ms ease;
}

.pf-showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.pf-showcase-slide__media,
.pf-showcase-slide__media img {
  height: var(--pf-showcase-height);
  min-height: var(--pf-showcase-min-height);
  width: 100%;
}

.pf-showcase-slide__media img {
  display: block;
  object-fit: cover;
}

.pf-showcase-slide__overlay {
  background: linear-gradient(90deg, var(--pf-showcase-overlay-from) 0%, var(--pf-showcase-overlay-to) 58%, rgba(25, 24, 25, 0) 100%);
  inset: 0;
  position: absolute;
}

.pf-showcase-slide__content {
  align-items: flex-start;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  inset: 0 auto 0 0;
  justify-content: center;
  max-width: min(32rem, 42%);
  padding: clamp(2rem, 4vw, 4rem);
  position: absolute;
  z-index: 2;
}

.pf-showcase-slide__logo {
  margin-bottom: 0.25rem;
  max-width: clamp(4.75rem, 9vw, 7.5rem);
}

.pf-showcase-slide__logo img {
  display: block;
  height: auto;
  width: 100%;
}

.pf-showcase-slide__title {
  color: inherit;
  font-family: var(--pf-font-family-heading);
  font-size: clamp(2.6rem, 5.3vw, 4.2rem) !important;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0;
  max-width: 8ch;
}

.pf-showcase-slide__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px !important;
  line-height: 1.5;
  margin: -0.25rem 0 0;
  max-width: 28rem;
}

.pf-showcase-slide__button {
  margin-top: 0.25rem;
}

.pf-showcase-slide__button.is-static {
  cursor: default;
}

.pf-showcase-slide__button.elementor-button.btn-ter {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--pf-color-text);
}

.pf-showcase-slide__button.elementor-button.btn-ter:hover,
.pf-showcase-slide__button.elementor-button.btn-ter:focus-visible {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--pf-color-text);
}

.pf-showcase-rotator--logo-corner .pf-showcase-slide__content {
  align-items: flex-end;
  inset: auto 0 0 0;
  justify-content: flex-end;
  max-width: none;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.pf-showcase-rotator--logo-corner .pf-showcase-slide__logo {
  margin-bottom: 0;
  max-width: clamp(6rem, 11vw, 10rem);
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.pf-header {
  background: var(--pf-color-background);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  transition:
    box-shadow 200ms ease,
    background-color 200ms ease;
  z-index: 100;
}

.pf-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

.pf-header__inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-inline: auto;
  max-width: min(100%, var(--pf-container-width));
  min-height: clamp(3.75rem, 5vw, 5rem);
  padding: 0.75rem var(--pf-container-padding-x) 20px;
}

.elementor-location-header .elementor-section.elementor-section-boxed > .elementor-container,
.elementor-location-header .elementor-container,
.elementor-location-header .e-con.e-parent {
  padding-bottom: 20px;
}

.pf-header__logo img {
  height: auto;
  max-height: clamp(1.75rem, 2.8vw, 2.5rem);
  width: auto;
}

.pf-nav {
  align-items: center;
  display: flex;
  gap: clamp(1.25rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-nav a {
  color: var(--pf-color-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--pf-button-transition);
}

.pf-nav a:hover,
.pf-nav a:focus-visible {
  color: var(--pf-color-primary);
}

.pf-header__cta {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
}

.pf-nav-toggle {
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 44px;
  justify-content: center;
  padding: 0.5rem;
  width: 44px;
}

.pf-nav-toggle__line {
  background: var(--pf-color-text);
  border-radius: 2px;
  height: 2px;
  transition:
    transform 300ms ease,
    opacity 300ms ease;
  width: 22px;
}

.pf-nav-toggle[aria-expanded="true"] .pf-nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.pf-nav-toggle[aria-expanded="true"] .pf-nav-toggle__line:nth-child(2) {
  opacity: 0;
}
.pf-nav-toggle[aria-expanded="true"] .pf-nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.elementor-nav-menu--main .elementor-item {
  font-family: var(--pf-font-family-base);
  font-size: 1rem;
  font-weight: 500;
}

.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item.elementor-item-active {
  color: var(--pf-color-primary);
}

.elementor-nav-menu--dropdown {
  border-radius: var(--pf-border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* =========================================================
   CUSTOM UTILITIES / COMPONENT HELPERS
   ========================================================= */
.elementor .overflow-below-radius img {
  border-radius: 3px !important;
  height: auto;
  margin-bottom: -60px;
  display: block;
  max-width: 100%;
  width: 100%;
}

.overflow-below-radius,
.overflow-below-radius .elementor-widget-container {
  overflow: visible !important;
}

.elementor .radius-24 img {
	border-radius: 24px 0 0 24px !important;
}

/* Breedte en min-height komen uit Elementor per container — hier niet forceren,
   anders wordt het blok hoger dan de containerhoogte uit het design. */
.pf-cta-image-cover {
	align-self: stretch;
	overflow: hidden;
	background-position: center right !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	border-radius: 0;
}

.pf-cta-image-cover:not(.elementor-motion-effects-element-type-background),
.pf-cta-image-cover
	> .elementor-motion-effects-container
	> .elementor-motion-effects-layer {
	background-position: center right !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

.pf-cta-image-cover img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: center right;
}

/* CTA split — layout (breedtes, padding, gap, overflow) zit in Elementor zelf.
   Hier alleen wat Elementor niet kan: de gap-variabelen hard op 0 en de radius
   laten clippen, zodat de vierkante fotokolom niet over de hoeken valt.
   Zet hier GEEN width op .pf-cta-split — dat overschrijft de containerbreedte. */
.pf-cta-split {
  gap: 0 !important;
  overflow: hidden;
  --column-gap: 0 !important;
  --gap: 0 !important;
  --row-gap: 0 !important;
}

/* FAQ accordion icon */
.faq-accordion .e-n-accordion-item-title-icon svg {
  fill: none !important;
  transition: transform 0.5s ease-in-out;
}

.faq-accordion details.e-n-accordion-item[open] .e-n-accordion-item-title-icon svg {
  transform: rotate(90deg);
}

.faq-accordion .e-n-accordion-item-title-icon svg path:first-child {
  fill: #f16139 !important;
}

/* Anchor utility for in-page links below the sticky header */
.pf-anchor-target {
  scroll-margin-top: clamp(6rem, 10vw, 8rem);
}

/* Elementor tab items can receive a CSS ID, but not a per-item CSS class */
.elementor-widget-tabs .elementor-tab-title[id],
.elementor-widget-n-tabs .e-n-tab-title[id],
.elementor-widget-n-tabs [role="tab"][id] {
  scroll-margin-top: clamp(6rem, 10vw, 8rem);
}

/* =========================================================
   LATEST VACANCIES
   ========================================================= */

.pf-latest-vacatures {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-latest-vacatures__item {
  margin: 0;
  padding: 0;
}

.pf-latest-vacatures__link {
  align-items: center;
  color: var(--pf-color-text);
  display: inline-flex;
  font-family: var(--pf-font-family-base);
  font-size: 1.125rem;
  gap: 1rem;
  line-height: 1.3;
  text-decoration: none;
}

.pf-latest-vacatures__link:hover,
.pf-latest-vacatures__link:focus-visible {
  color: var(--pf-color-text);
}

.pf-latest-vacatures__link .elementor-icon-list-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 13px;
  justify-content: center;
}

.pf-latest-vacatures__link svg {
  display: block;
  height: 13px;
  transition: transform var(--pf-button-transition);
  width: 13px;
}

.pf-latest-vacatures__link:hover svg,
.pf-latest-vacatures__link:focus-visible svg {
  transform: translate(2px, -2px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Mobile: up to 767px */
@media (max-width: 767px) {
  :root {
    --pf-container-padding-x: 0.75rem;
  }

  /* Reviews */
  .pf-reviews-block__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .pf-reviews-slider .swiper-slide {
    flex-basis: 100%;
    width: 100% !important;
  }

  .pf-reviews-slider .pf-review-card--with-photo {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .pf-review-card--with-photo .pf-review-card__photo {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .pf-review-card--with-photo .pf-review-card__content {
    padding-block: 0 1rem;
  }

  .pf-review-card--with-photo .pf-review-card__footer {
    margin-top: 2.5rem;
  }

  /* Showcase */
  .pf-showcase-rotator {
    --pf-showcase-height: 32rem;
    --pf-showcase-min-height: 32rem;
  }

  .pf-showcase-slide__overlay {
    background: linear-gradient(
      180deg,
      rgba(25, 24, 25, 0.2) 0%,
      rgba(25, 24, 25, 0.78) 48%,
      rgba(25, 24, 25, 0.92) 100%
    );
  }

  .pf-showcase-slide__content {
    inset: auto 0 0;
    justify-content: flex-end;
    max-width: none;
    padding: 1.5rem;
  }

  .pf-showcase-slide__logo {
    max-width: 4.75rem;
  }

  .pf-showcase-slide__title {
    font-size: clamp(2rem, 8.5vw, 3.1rem) !important;
    max-width: 10ch;
  }

  .pf-showcase-rotator--logo-corner .pf-showcase-slide__content {
    padding: 1.25rem;
  }

  .pf-showcase-rotator--logo-corner .pf-showcase-slide__logo {
    max-width: 6.25rem;
  }

  /* Navigation */
  .pf-header,
  .elementor-location-header {
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 100;
  }

  .pf-nav-toggle {
    display: flex;
  }

  .pf-nav,
  .elementor-nav-menu--main {
    display: none;
  }

  .pf-nav.is-open {
    background: var(--pf-color-background);
    border-top: 1px solid var(--pf-color-border);
    display: flex;
    flex-direction: column;
    gap: 0;
    inset: clamp(3.75rem, 5vw, 5rem) 0 0;
    overflow-y: auto;
    padding: 1rem var(--pf-container-padding-x) 2rem;
    position: fixed;
    z-index: 99;
  }

  .pf-nav.is-open li {
    border-bottom: 1px solid var(--pf-color-border);
  }

  .pf-nav.is-open a {
    display: block;
    font-size: 1.125rem;
    padding-block: 1rem;
  }

  .pf-header__cta {
    display: none;
  }

  /* CTA split */
  .pf-cta-image-cover {
    --width: 100%;
    flex-basis: 100%;
    max-width: 100%;
    min-height: 18rem;
    width: 100%;
  }

  .pf-cta-split,
  .pf-cta-split > .e-con-inner {
    flex-direction: column;
  }

  .pf-cta-split > .e-con,
  .pf-cta-split > .e-con-inner > .e-con {
    --width: 100% !important;
    flex-basis: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Elementor spacing */
  .elementor .e-con {
    --column-gap: 20px !important;
    --gap: 6px 20px !important;
    --row-gap: 6px !important;
    column-gap: 20px;
    row-gap: 6px;
  }

  /* Headings */
  .elementor-kit-57 h1,
  .elementor-heading-title.hd-1 {
    font-size: clamp(2.75rem, 12vw, 4rem) !important;
  }

  .elementor-kit-57 h2,
  .elementor-heading-title.hd-2 {
    font-size: clamp(1.875rem, 4.4vw, 3rem) !important;
  }

  .elementor-kit-57 h3,
  .elementor-heading-title.hd-3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
  }

  .elementor-kit-57 h4,
  .elementor-heading-title.hd-4 {
    font-size: clamp(1.375rem, 2.6vw, 2rem) !important;
  }

  .elementor-kit-57 h5,
  .elementor-heading-title.hd-5 {
    font-size: clamp(1.125rem, 2vw, 1.5rem) !important;
  }
}

/* Tablet and up: 768px+ */
@media (min-width: 768px) {
  /* Reviews: exactly two cards, except full-width photo reviews */
  .pf-reviews-slider .swiper-slide {
    flex-basis: calc((100% - 28px) / 2);
    width: calc((100% - 28px) / 2) !important;
  }

  .pf-reviews-slider .pf-review-card--with-photo {
    flex-basis: calc((100% - 28px) / 2);
    width: calc((100% - 28px) / 2) !important;
  }

  /* Logo slider */
  .pf-logo-slider-block {
    gap: clamp(1.5rem, 3vw, 3rem);
    grid-template-columns: minmax(max-content, 24rem) minmax(0, 1fr);
  }

  .pf-logo-slider-block__header {
    margin-bottom: 0;
  }

  /* News */
  .pf-news-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small tablet: 768px–1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .pf-nav {
    gap: 1.25rem;
  }

  .pf-header__cta .elementor-button {
    padding-inline: 1.25rem;
  }
}

/* Tablet layout: 768px–1199px */
@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --pf-container-padding-x: 20px;
  }

  /* Elementor layout */
  .elementor-section.elementor-section-boxed > .elementor-container,
  .elementor-container,
  .e-con.e-parent {
    --gap: 20px !important;
    gap: 20px;
  }

  .elementor .e-con {
    --column-gap: 20px !important;
    --gap: 6px 20px !important;
    --row-gap: 6px !important;
    column-gap: 20px;
    row-gap: 6px;
  }

  .elementor .e-con > .e-con,
  .elementor .e-con > .elementor-element,
  .elementor-widget-heading,
  .elementor-widget-text-editor {
    min-width: 0;
  }

  /* News */
  .pf-news-cards {
    align-items: start;
    gap: 1.5rem;
  }

  /* Logo slider */
  .pf-logo-slider-block {
    gap: 1.5rem;
    grid-template-columns: minmax(max-content, 24rem) minmax(0, 1fr);
  }

  /* Showcase */
  .pf-showcase-rotator {
    --pf-showcase-height: min(58vw, 34rem);
  }

  /* Typography */
  .elementor-widget-text-editor,
  .elementor-widget-text-editor p {
    max-width: 72ch;
  }

  .elementor-heading-title {
    hyphens: manual;
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
    word-break: normal;
  }

  .elementor-widget-heading {
    margin-block-end: 16px;
  }

  .elementor-widget-heading + .elementor-widget-text-editor {
    margin-block-start: 0;
  }

  .elementor-kit-57 h1,
  .elementor-heading-title.hd-1 {
    font-size: clamp(3rem, 6vw, 4.75rem) !important;
  }

  .elementor-kit-57 h2,
  .elementor-heading-title.hd-2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
  }

  .elementor-kit-57 h3,
  .elementor-heading-title.hd-3 {
    font-size: clamp(1.625rem, 3vw, 2.25rem) !important;
  }

  /* Section spacing */
  .pf-section-lg {
    padding-block: var(--pf-space-lg);
  }

  .pf-section-xl {
    padding-block: var(--pf-space-xl);
  }
}

/* Desktop: 1200px+ */
@media (min-width: 1200px) {
  .pf-news-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
