/* Hero */
.f12-home .hero-section {
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.f12-home .hero-image,
.f12-home .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.f12-home .hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.f12-home .hero-content {
    position: relative;
    z-index: 3;
    padding: var(--f12-space-16) 0;
    max-width: 800px;
    text-align: center;
}

.f12-home .hero-search {
    margin-top: calc(var(--f12-space-16) * -1);
    position: relative;
    z-index: 4;
}

.f12-home .hero-search__field {
    max-width: 520px;
    margin: 0 auto;
}

.f12-home .hero-search .ep-search-form {
    width: 100%;
    position: relative;
}

.f12-home .hero-search + .home-page-container {
    padding-top: var(--f12-space-6);
}

@media (max-width: 768px) {
    .f12-home .hero-search {
        margin-top: calc(var(--f12-space-12) * -1);
    }
}
