/* Matches peptara's .about-top-section.contact-top exactly (style.css:3581-3644). */
.contact-hero {
    position: relative;
    /* margin-top 72px + the page's own reduced 64px topbar clearance (site.css,
       body.page-id-122 #primary) = 136px from viewport top, restoring the same
       36px visible gap below the header as before the clearance was reduced. */
    margin: 72px 40px 40px 40px;
    max-width: 100%;
    border-radius: 40px;
    overflow: hidden;
    background-color: #0d1a24;
}
@media screen and (max-width: 1240px) {
    /* Was a flat "margin: 20px", which reset margin-top to 20px regardless of the
       actual (JS-measured, viewport-dependent) header height — on narrow screens the
       notice bar wraps to more lines and the header grows taller than 20px can clear,
       so the hero collapsed up underneath it. Compute margin-top from --topbar-height
       instead so it can never overlap, whatever the header's real height turns out to
       be at this breakpoint. */
    .contact-hero {
        margin: calc(var(--topbar-height) - 28px) 20px 20px 20px;
    }
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 26, 36, 0.85) 0%, rgba(13, 26, 36, 0.35) 70%);
}
.contact-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 210px;
    padding-bottom: 170px;
    max-width: 1280px;
    margin: 0 auto;
}
@media screen and (max-width: 1395px) {
    .contact-hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media screen and (max-width: 550px) {
    .contact-hero-content {
        padding-top: 80px;
        padding-bottom: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }
}
.contact-hero-title {
    color: #fff;
    text-align: left;
    font-size: 60px;
    font-weight: 700;
    line-height: 100%;
    max-width: 750px;
    margin: 0 0 40px 0;
}
@media screen and (max-width: 550px) {
    .contact-hero-title {
        font-size: 40px;
    }
}
.contact-hero-text {
    max-width: 750px;
    text-align: left;
    margin: 0 0 1rem 0;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}
.contact-hero-text:last-child {
    margin-bottom: 0;
}
@media screen and (max-width: 550px) {
    .contact-hero-text {
        font-size: 14px;
    }
}
