/* ==========================================================================
   Homepage - page-specific layout
   Measured on reference/pages/Homepage_Mediquipt.png (1920 px).
   ========================================================================== */

/* Vertical rhythm: about 88 px above the first two sections and about
   125 px (.section--loose) above the later blocks. The exceptions below
   are calibrated on the heading anchors of the render at 1920 (care
   areas y 1373, Service & training y 3411, Documentatie y 4160). */
.home-contact {
    padding-top: calc(var(--section-y) * 1.14);
    padding-bottom: calc(var(--section-y) * 1.25);
}

.home-care {
    padding-top: calc(var(--section-y) * 0.91);
}

.home-service {
    padding-top: calc(var(--section-y) * 1.5);
}

/* the render sets this button 76 px below the copy (36 px elsewhere) */
.home-service .section-intro .btn-row {
    margin-top: clamp(1.5rem, 0.6rem + 3.5vw, 4.75rem);
}

.home-docs {
    padding-top: calc(var(--section-y) * 1.43);
}

/* "Het laatste nieuws": the card surfaces start 225 px below the heading */
.home-news .section-intro + .carousel {
    margin-top: clamp(2rem, 1rem + 3.2vw, 4.4375rem);
}

/* "Documentatie en downloads": the copy and photo sit 138 px inside the
   green panel at the top and the bottom */
.home-docs .panel {
    padding-block: var(--panel-pad);
}

/* "Documentatie en downloads": the render sets the buttons closer to the copy than other splits. */
.home-docs .split__body > .btn-row {
    margin-top: clamp(1rem, 0.6rem + 0.8vw, 1.4rem);
}

/* Care areas: the icon panel starts about 33 px below the title top */
@media (min-width: 992px) {
    .home-care .split > .split__media {
        margin-top: var(--space-6);
    }
}
