/* Overrides to ensure the shared hero layout wins over page-specific rules */
.p-home .hero,
.p-home .hero-landing {
    /* Prefer shared hero visuals: make the section large, centered, and use shared background */
    padding: 0; /* hero-shared handles content padding for visual composition */
    min-height: 66vh;
    display: flex;
    align-items: center;
}

/* Ensure the container and content from hero-shared are above overlays */
.p-home .hero-landing .container,
.p-home .hero .container {
    position: relative;
    z-index: 3; /* match hero-content z-index */
}

.p-home .hero .hero-content,
.p-home .hero-landing .hero-content {
    position: relative;
    z-index: 3; /* must be above scrim (z-index: 2), pattern (z-index: 1), and video (z-index: 0) */
}

/* Make sure the hero-video wrapper is positioned behind content */
.p-home .hero .hero-video-wrap,
.p-home .hero-landing .hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
