/* Match the white logo artwork across the full tile, including its gutters. */
.logogrid-wrapper .logo-grid > .mix {
    background-color: #fff;
}

/* Preserve complete brand marks without the inherited square thumbnail crop. */
.logogrid-wrapper .mix.cs26-partner-logo {
    aspect-ratio: 1;
    padding: 18px;
    background: #fff;
}
.logogrid-wrapper .cs26-partner-logo picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.logogrid-wrapper .cs26-partner-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* The supplied Eclos mark is white on transparency: retain its exact artwork. */
.logogrid-wrapper .cs26-partner-logo-dark img {
    filter: brightness(0);
    opacity: .88;
}

/* Keep header clearance inside the hero, not above its viewport-height panel. */
.page-template-partners .hero-wrapper {
    padding-top: 0;
    min-height: 0;
}
.page-template-partners .hero-wrapper > .bgc-layer {
    min-height: calc(70vh - var(--wp-admin--admin-bar--height, 0px));
    min-height: calc(70svh - var(--wp-admin--admin-bar--height, 0px));
    padding-top: calc(var(--header-height, 140px) + 32px);
    padding-bottom: clamp(24px, 6vh, 64px);
}
/* Short and landscape screens still need room for the complete introduction. */
@media (max-height: 650px) {
    .page-template-partners .hero-wrapper > .bgc-layer {
        padding-top: calc(var(--header-height, 140px) + 16px);
        padding-bottom: 24px;
    }
    .page-template-partners .hero-wrapper h1 {
        font-size: clamp(32px, min(6.5vw, 9svh), 64px);
    }
    .page-template-partners .hero-wrapper h5 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .page-template-partners .hero-wrapper p {
        font-size: 16px;
        line-height: 1.5;
    }
}
