/**
 * WPBakery Responsive Fullscreen Hero Styles
 * Standard CSS rules without reliance on fragile variable overrides or !important hacks.
 */

.vc-responsive-hero-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 10%;
    z-index: 1;
    overflow: hidden;
}

@media (max-width: 768px) {
    .vc-responsive-hero-section {
        padding: 24px;
    }
}

/* HTML5 Picture Element Strategy */
.vc-responsive-hero-section .hero-picture-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.vc-responsive-hero-section .hero-picture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay Layer */
.vc-responsive-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Content Container */
.vc-responsive-hero-section .hero-content-wrap {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
}

/* Alignment Grid Rules */
.vc-responsive-hero-section.content-pos-center_center { justify-content: center; align-items: center; }
.vc-responsive-hero-section.content-pos-top_left     { justify-content: flex-start; align-items: flex-start; }
.vc-responsive-hero-section.content-pos-top_center   { justify-content: flex-start; align-items: center; }
.vc-responsive-hero-section.content-pos-top_right    { justify-content: flex-start; align-items: flex-end; }
.vc-responsive-hero-section.content-pos-center_left  { justify-content: center; align-items: flex-start; }
.vc-responsive-hero-section.content-pos-center_right { justify-content: center; align-items: flex-end; }
.vc-responsive-hero-section.content-pos-bottom_left  { justify-content: flex-end; align-items: flex-start; }
.vc-responsive-hero-section.content-pos-bottom_center{ justify-content: flex-end; align-items: center; }
.vc-responsive-hero-section.content-pos-bottom_right { justify-content: flex-end; align-items: flex-end; }

.vc-responsive-hero-section.text-align-left   { text-align: left; }
.vc-responsive-hero-section.text-align-center { text-align: center; }
.vc-responsive-hero-section.text-align-right  { text-align: right; }