.team-members {
    padding-inline: clamp(1.5rem, 4vw, 2rem);
    padding-block: clamp(4rem, 9vw, 7rem);
    margin-inline: calc(1rem * -1);

    >.intro {
        max-width: 740px;
        margin: auto;
    }

    >.intro .subtitle {
        font-style: normal;
        font-weight: 500;
        text-align: center;
        font-size: clamp(.9rem, 0.9rem + ((1vw - 0.2rem) * 0.255), 1.05rem);
    }

    >.intro .headline {
        text-align: center;
        margin-block-start: clamp(.5rem, 2.5vw, 1rem);
        font-size: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 1.447), 2.35rem);
        line-height: 1.2;
    }

    >.intro .description {
        text-align: center;
        margin-block-start: clamp(.5rem, 2.5vw, 1rem);
    }

    >.members {
        max-width: 1260px;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
        container-type: inline-size;
        gap: clamp(1.5rem, 4vw, 2rem);
        margin-block-start: clamp(3rem, 7vw, 5rem);
        margin-inline: auto;
    }

    >.members .member {
        border-radius: 5px;
        padding-bottom: clamp(1.5rem, 4vw, 2rem);
        min-height: 500px;
        aspect-ratio: 3 / 4;
        height: unset;
        min-height: unset;
        align-items: flex-end;
        justify-content: center;
        overflow: clip;
        padding: 2.75rem;
        position: relative;
        background-position: 50%;
        box-sizing: border-box;
        display: flex;
    }

    >.members .member .image {
        border: none;
        bottom: 0;
        box-shadow: none;
        height: 100%;
        left: 0;
        margin: 0;
        max-height: none;
        max-width: none;
        -o-object-fit: cover;
        object-fit: cover;
        outline: none;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        border-radius: 5px;
    }

    >.members .member .overlay {
        bottom: 0;
        left: 0;
        opacity: .5;
        position: absolute;
        right: 0;
        top: 0;
        background-color: #1E1E26;
    }

    >.members .member .info {
        color: inherit;
        position: relative;
        width: 100%;
        margin: 0;
        display: flex;
        gap: 5px;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        max-width: 740px;
        margin-inline: auto;
    }

    >.members .member .info .name {
        text-align: center;
        color: #fff;
        font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.281), 1.165rem);
        font-weight: 600;
        line-height: 1.5;
    }

    >.members .member .info .title {
        text-align: center;
        color: #fff;
        font-size: clamp(.9rem, 0.9rem + ((1vw - 0.2rem) * 0.255), 1.05rem)
    }
}