/* Public leadership cards + homepage news thumbnails */

.iam-team {
    background: #fff;
}

.iam-team__grid {
    display: grid;
    gap: 1.5rem;
    justify-content: center;
}

.iam-team__grid--solo {
    grid-template-columns: minmax(0, 40rem);
}

@media (min-width: 768px) {
    .iam-team__grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    }

    .iam-team__grid--solo {
        grid-template-columns: minmax(0, 44rem);
    }

    .iam-team__grid--solo .iam-team__card {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        text-align: left;
        align-items: stretch;
    }

    .iam-team__grid--solo .iam-team__photo {
        height: 100%;
        min-height: 220px;
        border-radius: 0;
    }

    .iam-team__grid--solo .iam-team__body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem 1.6rem;
    }
}

.iam-team__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.iam-team__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    background: #0b1220;
}

.iam-team__photo--fallback {
    display: grid;
    place-items: center;
    font-family: var(--font-display, inherit);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, #0b1220, #0a84ff);
}

.iam-team__body {
    padding: 1.15rem 1.2rem 1.4rem;
}

.iam-team__name {
    margin: 0;
    font-family: var(--font-display, inherit);
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0a0a;
}

.iam-team__role {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0a84ff;
}

.iam-team__dept {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.iam-team__bio {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #4b5870;
}

.home-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-news-card__media {
    display: block;
    margin: -2rem -2rem 1.15rem;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
    aspect-ratio: 16 / 9;
    background: #e8eef6;
}

.home-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iam-build-card__media-label {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    text-align: center;
}
