/* Final overrides for images and header CTA. Loaded after style.css. */
.hero {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.72)),
        url("https://images.unsplash.com/photo-1752697589029-0fd0ce96a395?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
}

.main-nav a.nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 188px;
    min-height: 46px;
    padding: 0 24px;
    color: #ffffff;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.main-nav a.nav-cta svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

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

.team-photo img,
.team-card img,
.profile-head img {
    background: #e2e8f0;
    object-fit: cover;
    object-position: top center;
}

.team-card img {
    height: 360px;
}

.why-visual img {
    background: #e2e8f0;
    object-fit: cover;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .main-nav {
        gap: 18px;
    }

    .main-nav a.nav-cta {
        min-width: 176px;
        padding-right: 18px;
        padding-left: 18px;
        font-size: 0.88rem;
    }
}

@media (max-width: 760px) {
    .home-team-grid,
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}
