/* Shared static-image hero treatment. Video hero overlays are intentionally unchanged. */
.hero-overly::before {
    opacity: 1 !important;
    background: linear-gradient(90deg, rgba(2, 15, 34, 0.25), rgba(2, 20, 43, 0.1) 58%, rgba(2, 20, 43, 0.02)) !important;
}

.hero-overly .hero-cap h1,
.hero-overly .hero-cap h2,
.hero-overly .hero-cap p,
.hero-overly .breadcrumb {
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.68);
}

.about-page-hero {
    background-image: linear-gradient(90deg, rgba(2, 15, 34, 0.34), rgba(2, 20, 43, 0.14) 48%, rgba(2, 20, 43, 0.01) 78%), url("../img/hero/about-hero-desktop.webp") !important;
}

@media (max-width: 767px) {
    .about-page-hero {
        background-image: linear-gradient(90deg, rgba(2, 15, 34, 0.38), rgba(2, 20, 43, 0.12) 72%, rgba(2, 20, 43, 0.02)), url("../img/hero/about-hero-mobile.webp") !important;
    }
}

.contact-page-hero {
    background-image: linear-gradient(90deg, rgba(2, 15, 34, 0.46), rgba(2, 20, 43, 0.13) 54%, rgba(2, 20, 43, 0.01) 82%), url("../img/hero/contact-hero-desktop.webp") !important;
}

@media (max-width: 767px) {
    .contact-page-hero {
        background-image: linear-gradient(90deg, rgba(2, 15, 34, 0.48), rgba(2, 20, 43, 0.12) 74%, rgba(2, 20, 43, 0.02)), url("../img/hero/contact-hero-mobile.webp") !important;
    }
}

.about-page-hero h1,
.about-page-hero__content > p {
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.68);
}

.services-page .hero-overly::before {
    opacity: 1 !important;
    background: linear-gradient(90deg, rgba(0, 20, 43, 0.29), rgba(0, 20, 43, 0.15) 50%, rgba(0, 20, 43, 0.015)) !important;
}
