.wbn-hero-banner {
    --wbn-hero-height: 600px;
    --wbn-hero-color: var(--bs-primary);
    --wbn-hero-opacity: 65%;
    --wbn-hero-blur: 24px;
    --wbn-hero-text-color: var(--bs-white);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    background-color: var(--wbn-hero-color);
    color: var(--wbn-hero-text-color);
}

.wbn-hero-banner,
.wbn-hero-banner * {
    box-sizing: border-box;
}

.wbn-hero-banner--height-fixed {
    min-height: var(--wbn-hero-height);
}

.wbn-hero-banner__background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.wbn-hero-banner__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.wbn-hero-banner--fit-contain .wbn-hero-banner__image {
    object-fit: contain;
}

.wbn-hero-banner__title {
    margin: 0 0 0.75rem;
    color: inherit;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
}

.wbn-hero-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.wbn-hero-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wbn-hero-banner__button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

.wbn-hero-banner__textbox {
    &, .frame,
    .frame-group-container,
    .frame-group-inner,
    .frame-container,
    .frame-inner,
    .wbn-teaser-box {
        height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wbn-hero-banner__button {
        transition: none;
    }
}
