/* Approved homepage arrangement, 24 November 2026.
   Preserve the decisions in docs/vaste-ontwerpafspraken.md. */
body.modern-home.mulders-calm .m-hero-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  order: 2;
  margin-bottom: 24px;
}
body.modern-home.mulders-calm .m-hero-visuals > * {
  min-width: 0;
  order: 0;
}
body.modern-home.mulders-calm .m-hero-visuals .m-hero-photo {
  margin: 0;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel [hidden] {
  display: none !important;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-heading {
  margin: 0 0 16px;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-heading h2 {
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0 0 10px;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-intro {
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-intro strong {
  font-size: 1rem;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-snapshot {
  font-size: .875rem;
  line-height: 1.5;
  margin-top: 2px;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-controls {
  position: static;
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-controls button {
  min-height: 44px;
  font-size: .875rem;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-viewport {
  height: auto;
  max-height: none;
  padding: 0 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scroll-behavior: auto;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-track,
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-group {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  width: max-content;
  height: auto;
  align-items: stretch;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-card {
  flex: 0 0 min(330px, calc(100vw - 48px));
  width: min(330px, calc(100vw - 48px));
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 280px;
  padding: 20px;
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-card blockquote {
  margin: 12px 0 16px;
  font-size: 1rem;
  line-height: 1.6;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-card .review-no-text {
  font-size: 1rem;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-byline,
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-byline strong,
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-read {
  font-size: .875rem;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-source {
  display: block;
  margin-top: 14px;
  line-height: 1.5;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-source > a,
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-source summary,
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-source details {
  font-size: .875rem;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-source details {
  margin-top: 4px;
}
body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-source details p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Frame the shoe wall in the original 1536 × 864 photograph.
   The crop starts at (285, 168) and is 940 × 512 pixels. */
body.modern-home.mulders-calm .m-wall {
  position: relative;
  aspect-ratio: 940 / 512;
  overflow: hidden;
}
body.modern-home.mulders-calm .m-wall img {
  position: absolute;
  display: block;
  width: calc(100% * 1536 / 940);
  max-width: none;
  height: auto;
  left: calc(-100% * 285 / 940);
  top: calc(-100% * 168 / 512);
  transform: none;
}

@media (min-width: 801px) {
  body.modern-home.mulders-calm .m-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(245px, 26vw, 320px);
    grid-template-areas:
      "intro reviews"
      "photo reviews"
      "promises promises";
    column-gap: clamp(18px, 2.1vw, 28px);
    align-items: start;
  }
  body.modern-home.mulders-calm .m-hero-heading {
    grid-area: intro;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 36px);
    margin-bottom: 28px;
  }
  body.modern-home.mulders-calm .m-hero-visuals {
    display: contents;
  }
  body.modern-home.mulders-calm .m-hero-visuals .m-hero-photo {
    grid-area: photo;
  }
  body.modern-home.mulders-calm .m-hero-visuals .reviews-reel {
    grid-area: reviews;
  }
  body.modern-home.mulders-calm .m-promises {
    grid-area: promises;
  }
  body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-viewport {
    height: 300px;
    max-height: 300px;
    padding: 0 6px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-anchor: none;
  }
  body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-track,
  body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-group {
    flex-direction: column !important;
    width: 100%;
  }
  body.modern-home.mulders-calm .m-hero-visuals .reviews-reel-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  body.modern-home.mulders-calm .m-hero-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 800px) {
  body.modern-home.mulders-calm .m-hero-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    order: 1;
    margin-bottom: 28px;
  }
  body.modern-home.mulders-calm .m-hero-copy {
    margin-bottom: 0;
  }
}
