.teamBlock {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: transparent;
}

.teamBlock_Block {
    --team-grid-gap: clamp(1.25rem, 3vw, 2rem);
    --team-grid-pad-inline: clamp(1rem, 4vw, 3rem);
    margin-inline: auto;
    box-sizing: border-box;
    width: 100%;
    max-width: 70vw;
    padding: clamp(2.5rem, 5vw, 4rem) var(--team-grid-pad-inline);
}

.teamBlock_Title {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
    color: #A3B199;
    font-family: "WixMadeforText", "Raleway", system-ui, sans-serif;
    font-size: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    text-align: left;
}

.teamBlock_Grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--team-grid-gap);
    align-items: start;
}

.teamBlock_Card {
    width: 100%;
    min-width: 0;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow 0.2s ease;
}

.teamBlock_CardMedia {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    aspect-ratio: 800 / 629;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.teamBlock_CardImg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.teamBlock_CardImg--placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
}

.teamBlock_CardOverlay {
    position: absolute;
    z-index: 1;
    inset: auto 0 0 0;
    padding: clamp(1rem, 3vw, 1.75rem) clamp(0.875rem, 2vw, 1.25rem);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        transparent 100%
    );
}

.teamBlock_CardHeading {
    margin: 0 0 0.65rem;
    color: #fff;
    font-family: "WixMadeforText", "Raleway", system-ui, sans-serif;
    font-size: clamp(0.9375rem, 0.82rem + 0.45vw, 1.125rem);
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
}

.teamBlock_CardRole {
    color: #A3B199;
}

.teamBlock_CardMeta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.teamBlock_CardRow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #e8e8e8;
    font-family: "WixMadeforText", "Raleway", system-ui, sans-serif;
    font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    transition: color 0.15s ease;
}


.teamBlock_CardIcon {
    flex-shrink: 0;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.teamBlock_CardAt {
    color: #fff;
    font-family: inter, system-ui, sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.teamBlock_CardRowText {
    min-width: 0;
    word-break: break-word;
    
    color: #A3B199;
}

@media (max-width: 800px) {
    .teamBlock_Grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .teamBlock_Block {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .teamBlock_Grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        justify-items: stretch;
    }

    .teamBlock_Card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-column: 1 / -1;
        justify-self: stretch;
        box-sizing: border-box;
    }

    .teamBlock_CardMedia {
        width: 100%;
        max-width: 100%;
    }
}
