/* ==========================================================================
   Partners - page-specific layout
   Measured on reference/pages/Partners.png (1920 px).
   The selectors start with the "CSS class" of a section (the seed in
   scripts/content-2026/pages/partners.php sets them).
   ========================================================================== */

/* Vertical rhythm. Sections carry only their top padding, so each gap is
   set once; the big blocks use .section--loose and .section--looser. */
.partners-intro {
    padding-top: calc(var(--section-y) * 0.85);
}

.partners-logos-section {
    padding-top: calc(var(--section-y) * 0.6);
}

/* Logo carousel: the cards start 92 px inside the panel, the arrows sit on
   the panel edge and the dots under the cards. */
.partners-logos-section .panel {
    --logos-inset: clamp(1.5rem, 0.5rem + 4vw, 5.75rem);
    padding: calc(var(--section-y) * 1.1) 0 calc(var(--section-y) * 0.8);
}

.partners-logos-section .carousel {
    margin-inline: var(--logos-inset);
}

.partners-logos-section .carousel__btn--prev {
    left: calc(-1 * var(--logos-inset) - 1.375rem);
}

.partners-logos-section .carousel__btn--next {
    right: calc(-1 * var(--logos-inset) - 1.375rem);
}

@media (max-width: 575.98px) {
    .partners-logos-section .carousel__btn--prev {
        left: calc(-1 * var(--logos-inset));
    }

    .partners-logos-section .carousel__btn--next {
        right: calc(-1 * var(--logos-inset));
    }
}

/* "Meer dan distributie": copy x 278 to 948, photo x 1106 to 1606 (500 x 429) */
@media (min-width: 992px) {
    .partners-distributie .split {
        grid-template-columns: minmax(0, 670fr) minmax(0, 536fr);
        column-gap: calc(var(--space-10) + var(--space-6));
    }

    .partners-distributie .split > .split__media {
        max-width: 31.25rem;
        justify-self: start;
    }
}
