.home-team-section {
    padding: 72px 0 70px;
    background: #f4f8fc;
}

#team.section {
    padding: 72px 0 80px;
}

.home-team-section .home-section-heading,
#team .solutions-listing-container > .eyebrow {
    margin-bottom: 10px;
}

.home-team-section .eyebrow,
#team .eyebrow {
    color: #1687d9;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
}

.home-team-section .home-section-heading h2,
#team .solutions-listing-container > h2 {
    margin: 0;
    color: #102342;
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 700;
    line-height: 1.12;
}

.home-team-section .home-section-heading > p:last-child,
.team-section__support {
    max-width: 720px;
    margin: 14px 0 0;
    color: #58677d;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.6;
}

.home-team-grid,
#team .team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.home-team-grid--1,
#team .team-grid--1 {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
}

.home-team-grid--2,
#team .team-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin-inline: auto;
}

.team-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 12px;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 39, 71, .05);
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.team-card:hover {
    transform: translateY(-3px);
    border-color: #cbdced;
    box-shadow: 0 11px 24px rgba(15, 39, 71, .08);
}

.team-card__photo {
    width: 100%;
    aspect-ratio: 4 / 4.15;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f6f9;
}

.team-card__photo img,
.team-card__avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-card__photo img {
    transition: transform .35s ease;
}

.team-card:hover .team-card__photo img {
    transform: scale(1.025);
}

.team-card__avatar {
    display: grid;
    place-items: center;
    color: #06276b;
    font-size: 42px;
    font-weight: 700;
}

.team-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 8px 12px;
}

.team-card h3 {
    margin: 0;
    color: #102342;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.team-card strong {
    display: block;
    margin-top: 6px;
    color: #087fd5;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.team-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0 0;
    color: #58677d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.team-card--home p {
    -webkit-line-clamp: 3;
}

.team-card__body a {
    margin-top: 12px;
    color: #087fd5;
    font-size: 14px;
    font-weight: 600;
}

.team-card__body a:hover {
    color: #06276b;
}

.home-team-section__action a {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 9px;
}

@media (max-width: 1023px) {
    .home-team-section,
    #team.section {
        padding: 60px 0;
    }

    .home-team-grid,
    .home-team-grid--3,
    #team .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-team-grid--1,
    #team .team-grid--1 {
        grid-template-columns: minmax(0, 360px);
        justify-content: center;
    }
}

@media (max-width: 699px) {
    .home-team-section,
    #team.section {
        padding: 48px 0;
    }

    .home-team-grid,
    .home-team-grid--1,
    .home-team-grid--2,
    .home-team-grid--3,
    #team .team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-team-grid--1,
    #team .team-grid--1 {
        justify-content: stretch;
    }
}
