.page-header {
    h1 {
        font-size: 3.0625rem;
        color: var(--primary-text);
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    p {
        color: #555C74;
        font-size: 1.5625rem;
    }
}

.team-callout {
    background-color: #A3F6FF;
    border-radius: 16px;
    padding: 32px 72px 32px 32px;
    margin: 48px 0 32px 0;
    border: 1px solid #5DD1FF;
    position: relative;
    overflow: hidden;

    p {
        color: var(--primary-text);
        font-size: 1.5625rem;
        font-weight: 600;
        margin: 0;
        position: relative;
        z-index: 1;
    }

    svg {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 0;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-member-image {
    img {
        width: 100%;
        border-radius: 16px;
        height: 360px;
        object-fit: cover;
    }
}

.team-member-info {
    padding-top: 8px;
}

.team-member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-text);
    margin: 0;
}

.team-member-title {
    font-size: 1rem;
    color: #555C74;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.team-member-email {
    font-size: 0.875rem;
    color: #E42127;
    text-decoration: none;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;

    &:hover {
        text-decoration: none;
        color: #83191C;

        svg path {
            stroke: #83191C;
        }
    }
}


@media (max-width: 1439.98px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;

        .team-member-card {
            display: flex;
            gap: 12px;

            .team-member-image {
                img {
                    width: 126px;
                    height: 160px;
                }
            }

            .team-member-info {
                padding-top: 0;

                .team-member-email {
                    display: none;
                }

                .team-member-email-mobile-icon {
                    width: 40px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background-color: #E42127;
                    border-radius: 50%;
                }

                .team-member-title {
                    font-weight: 600;
                }
            }
        }
    }

    .team-callout {
        padding: 24px;
        margin: 28px 0 16px 0;

        p {
            font-size: 1.25rem;
        }
    }

    .page-header {
        h1 {
            font-size: 1.8125rem;
        }

        p {
            font-size: 1rem;
        }
    }
}