/* About Us page only — mobile width and background video correction */
body.about-us-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
body.about-us-page .video-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    overflow: hidden;
}
body.about-us-page .video-bg video {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    object-fit: cover;
}
body.about-us-page .about-hero,
body.about-us-page .about-band,
body.about-us-page .about-team,
body.about-us-page .about-intro,
body.about-us-page .about-values,
body.about-us-page .about-cta-strip,
body.about-us-page .contact-section,
body.about-us-page footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
body.about-us-page .about-team,
body.about-us-page .about-intro,
body.about-us-page .about-values-inner {
    box-sizing: border-box;
}
body.about-us-page .team-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.about-us-page .team-card,
body.about-us-page .team-info,
body.about-us-page .team-photo-wrap {
    min-width: 0;
    max-width: 100%;
}
body.about-us-page .team-video video,
body.about-us-page .team-intro-video video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
body.about-us-page img {
    max-width: 100%;
}
@media (max-width: 768px) {
    body.about-us-page .about-hero {
        min-height: 260px;
        height: auto;
        padding: 56px 18px;
    }
    body.about-us-page .about-hero h1 {
        font-size: clamp(27px, 7vw, 40px);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
    body.about-us-page .about-hero p {
        font-size: 16px;
    }
    body.about-us-page .about-team,
    body.about-us-page .about-intro {
        padding: 38px 18px 44px;
    }
    body.about-us-page .team-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin: 28px 0;
    }
    body.about-us-page .team-card.assistant-card {
        grid-column: auto;
        width: 100%;
        justify-self: stretch;
    }
    body.about-us-page .team-info {
        padding: 20px 18px 24px;
        overflow-wrap: break-word;
    }
    body.about-us-page .team-role {
        line-height: 1.5;
    }
    body.about-us-page .team-video,
    body.about-us-page .team-intro-video {
        padding: 12px;
    }
    body.about-us-page .about-values {
        padding: 42px 18px;
        margin: 24px 0;
    }
    body.about-us-page .values-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    body.about-us-page .registrations {
        gap: 12px;
    }
    body.about-us-page .reg-badge {
        min-width: 0;
        flex: 1 1 140px;
    }
}

/* Mobile: size the group photograph to the same compact column as a team card.
   Keep the desktop layout and all individual team portraits unchanged. */
@media (max-width: 768px) {
    body.about-us-page figure.team-group-photo {
        display: block !important;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 420px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 22px auto 28px !important;
        overflow: hidden;
    }

    body.about-us-page figure.team-group-photo > img {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
    }
}
