/* ICWH-06F.1 — Host and Co-Host cards use the same maximum dimensions.
   This file intentionally overrides ONLY the public partner section styles. */

/* A single co-host must never grow to fill the entire partner row. */
.icwh06f-section .icwh06f-cohost-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 23px;
}

.icwh06f-section .icwh06f-host-card,
.icwh06f-section .icwh06f-cohost-card {
    box-sizing: border-box;
    width: min(100%, 430px);
    max-width: 430px;
    min-height: 194px;
    padding: 27px 24px;
    margin-inline: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Each co-host takes one normal-sized card; more co-hosts wrap and center. */
.icwh06f-section .icwh06f-cohost-card {
    flex: 0 1 430px;
}

/* Logo and institution-name proportions are identical to the Host card. */
.icwh06f-section .icwh06f-host-card img,
.icwh06f-section .icwh06f-cohost-card img {
    display: block;
    width: min(100%, 280px);
    height: 110px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.icwh06f-section .icwh06f-host-card h3,
.icwh06f-section .icwh06f-cohost-card h4 {
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.45;
    margin: 0;
    font-weight: 800;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 650px) {
    .icwh06f-section .icwh06f-host-card,
    .icwh06f-section .icwh06f-cohost-card {
        padding: 23px 16px;
    }

    .icwh06f-section .icwh06f-host-card img,
    .icwh06f-section .icwh06f-cohost-card img {
        height: 96px;
    }
}
