/*------------------------------------*\

    Flexible Content Page hero

    Always renders on the Flexible Content template. Uses a solid brand
    background when no image is set; image variant adds a dark gradient
    overlay for text contrast (same approach as the CTA banner).
    Page title always renders; WYSIWYG is optional supporting copy.

\*------------------------------------*/

.fx-hero {
    background: var(--fx-dark-green);
    color: rgba(255, 255, 255, 0.88);
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.fx-hero.section-padding {
    padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

@media (min-width: 768px) {
    .fx-hero.section-padding {
        padding-block: 3rem;
    }
}


/*------------------------------------*\
    Image background
\*------------------------------------*/

.fx-hero--image::before {
    background:
        radial-gradient(70% 90% at 50% 50%, rgba(15, 24, 16, 0.35), transparent 70%),
        linear-gradient(180deg, rgba(15, 24, 16, 0.62), rgba(12, 20, 13, 0.82));
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.fx-hero__bg {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: -2;
}


/*------------------------------------*\
    Content
\*------------------------------------*/

.fx-hero__wrapper {
    margin-inline: auto;
    max-width: 56.25rem;
    position: relative;
    text-align: center;
    z-index: 1;
}

.fx-hero__title {
    color: var(--fx-white);
    font-family: var(--fx-font-display);
    font-size: clamp(2rem, 1.4rem + 2.4vw, 2.875rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 0.5em;
}

.fx-hero__content,
.fx-hero__content * {
    text-align: center !important;
}

.fx-hero__content > :first-child {
    margin-top: 0;
}

.fx-hero__content > :last-child {
    margin-bottom: 0;
}

.fx-hero__wrapper h2,
.fx-hero__wrapper h3,
.fx-hero__wrapper h4 {
    color: var(--fx-white);
}

.fx-hero__wrapper p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.125rem;
    margin-inline: auto !important;
}

.fx-hero__wrapper a:not(.fusion-button) {
    color: var(--fx-white);
}

.fx-hero__content .fusion-button {
    margin-top: 0.75rem;
}

.fx-hero__content .btn-group {
    justify-content: center;
}


/*------------------------------------*\
    Breadcrumbs
\*------------------------------------*/

.fx-hero__breadcrumbs {
    margin-bottom: 1rem;
}

.fx-hero__breadcrumbs .fusion-breadcrumbs,
.fx-hero__breadcrumbs .awb-breadcrumb-list {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    text-align: center;
}

.fx-hero__breadcrumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.fx-hero__breadcrumbs a:hover {
    color: var(--fx-white);
}
