/**
 * Top Hero - Center with Background Image Layout Styles
 * Specific styles for centered content with background image variant
 */

.top-hero {
    position: relative;
    min-height: 0;
    height: 600px;
    background-position: center 60%;
    background-repeat: no-repeat;
    background-color: #c2b1a0; /* warm fallback so any uncovered edge blends with the palette, never grey */
}

/* Below 1540px the 85% image leaves empty side columns / a grey gap,
   so fall back to cover (always fills full width) with a focal position on the faces. */
@media (max-width: 1540px) {
    .top-hero {
        background-size: cover;
        background-position: center 82%;
    }
}

/* Shorter band on small screens so the hero isn't an oversized block. */
@media (max-width: 700px) {
    .top-hero {
        height: 440px;
    }
}

.top-hero>.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative; /* lift ALL hero content (title, subtitle, CTA) above the overlay */
    z-index: 2;
}

/* Flat mono-colour overlay (opacity) for legibility - no gradient. */
.top-hero__mask {
    background-color: rgba(46, 28, 22, 0.5);
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Hero content reads white over the darkened image. */
.top-hero .title-section,
.top-hero .title-section *,
.top-hero__title,
.top-hero__title *,
.top-hero__sub-title,
.top-hero__sub-title * {
    color: #fff;
}

.top-hero__title {
    text-align: center;
}

.top-hero__sub-title {
    text-align: center;
}
