/* ==========================================================
   L'ART — WERKWIJZE / TIMELINE SLIDER
========================================================== */

.lart-process {
  background: var(--lart-background);
  overflow: visible;
}

.lart-process-header {
  max-width: 740px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.75rem);
  padding-inline: 1.65rem;
  text-align: center;
}

.lart-process-header h2 {
  font-size: 38px !important;
  line-height: 1!important;
  margin-bottom: 1.25rem !important;
}

.lart-process-header > p:last-child {
  font-size: 15px;
  line-height: 1.65;
}

.lart-process-slider {
  position: relative;
  width: 100%;
}

.lart-process-track {
  position: relative;

  display: flex;
  align-items: stretch !important;
  justify-content: flex-start !important;

  gap: 1.5rem;

  overflow-x: auto;

  padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem) 2.5rem;

  scroll-padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lart-process-track::-webkit-scrollbar { display: none; }

/* Subtle timeline behind the cards. */
.lart-process-track::before {
  content: "";
  position: absolute;
  top: 43px;
  left: clamp(1.25rem, 4vw, 4.5rem);
  right: clamp(1.25rem, 4vw, 4.5rem);
  height: 1px;
  background: rgba(74, 80, 51, 0.16);
  pointer-events: none;
}

.lart-process-card {
  position: relative;
  flex: 0 0 330px !important;
  width: 330px !important;
  min-width: 330px !important;
  max-width: 330px !important;
  height: 480px !important;
  min-height: 480px !important;
  max-height: 480px !important;
  margin: 0 !important;
  padding: 1.35rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  background: #FDFDFD;
  color: var(--lart-olive);
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lart-process-mark {
  position: relative;
  z-index: 2;
  flex: 0 0 58px;
  width: 58px !important;
  height: 58px !important;
  margin: 0 0 1.25rem !important;
}

.lart-process-mark img {
  display: block;
  width: 58px !important;
  height: 58px !important;
  object-fit: contain;
}

.lart-process-card h3,
.lart-process-card p,
.lart-process-card ul {
  margin-top: 0 !important;
}

.lart-process-card h3 {
  margin-bottom: 0.85rem !important;
  color: var(--lart-olive) !important;
  font-family: var(--lart-font) !important;
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.lart-process-card p,
.lart-process-card li {
  color: var(--lart-olive) !important;
  font-size: 13px !important;
  line-height: 1.55;
}

.lart-process-card p { margin-bottom: 0.9rem !important; }
.lart-process-card ul { margin: 0 0 1rem 1rem !important; padding: 0; }
.lart-process-card li + li { margin-top: 0.4rem; }
.lart-process-card .wp-block-buttons { margin-top: auto !important; }
.lart-process-card .wp-block-button__link { font-size: 13px !important; }

@media (min-width: 1200px) {
  .lart-process-track { justify-content: center; }
}

@media (max-width: 781px) {

  .lart-process-header {
    text-align: left;
  }

  .lart-process-track {
    gap: 1rem;
    padding-top: 1rem;
  }

  .lart-process-track::before {
    top: 38px;
  }

  .lart-process-card {
    flex: 0 0 330px !important;

    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;

    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
  }

  /* Extra ademruimte tussen beeldmerk en H3 */

  .lart-process-mark {
    margin-bottom: 2rem !important;
  }
}