/* About us (team profiles) and Contact (the consultation calendar on the page). October 3, 2026. Loaded only by
   /about/ and /contact/, after site-v2.css; uses its colour tokens. */

.team-list {
    display: grid;
    gap: 22px;
    margin: 34px 0 10px;
}

.team-card {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.team-photo {
    display: block;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--sage);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 2px var(--orange);
}

.article-page .team-bio h2 {
    margin-top: 2px;
    margin-bottom: 12px;
    font-size: 27px;
}

.team-bio p {
    margin: 0 0 14px;
}

.team-bio p:last-child {
    margin-bottom: 0;
}

.contact-calendar {
    margin: 30px 0 8px;
}

.contact-calendar .calendar-container iframe {
    height: 700px;
    height: clamp(620px, calc(100dvh - 160px), 860px);
}

.contact-calendar .dialog-fallback {
    margin-top: 12px;
    font-size: 14px;
}

.contact-ways {
    margin: 30px 0 0;
    padding: 28px 30px;
    background: var(--sage);
    border-radius: 20px;
}

.article-page .contact-ways h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.article-page .contact-row .contact-email {
    margin: 0;
    color: var(--ink);
}

.contact-row .contact-email a {
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .team-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .team-photo {
        width: 132px;
        height: 132px;
    }

    .article-page .team-bio h2 {
        font-size: 24px;
    }

    .contact-ways {
        padding: 22px;
    }

    .contact-calendar .calendar-container iframe {
        height: 600px;
        height: max(560px, calc(100dvh - 140px));
    }
}
