.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(240px, 20vw, 300px);
    background-color: var(--color-header-muted-bg, #eaf5ff);
    background-image: var(--hero-bg, none);
    background-image: var(--hero-bg-set, var(--hero-bg, none));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(99 145 181) 0%, rgb(135 186 226 / 20%) 55%, rgb(135 186 226 / 0%) 100%);
    pointer-events: none;
}

.hero:not([style*="--hero-bg"])::before {
    display: none;
}

.hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.75rem);
    max-width: 820px;
}

.hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero:not([style*="--hero-bg"]) .hero__title {
    color: #020202;
}

.hero__breadcrumb {
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.3;
}

.hero__breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero__breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__breadcrumb-item:not(:first-child)::before {
    content: "/";
    color: rgba(255, 255, 255, 0.6);
}

.hero:not([style*="--hero-bg"]) .hero__breadcrumb-item:not(:first-child)::before {
    color: rgba(2, 2, 2, 0.45);
}

.hero .hero__breadcrumb-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: opacity 0.2s ease;
}

.hero .hero__breadcrumb-link:hover,
.hero .hero__breadcrumb-link:focus-visible {
    color: #ffffff;
    opacity: 0.75;
}

.hero__breadcrumb-current {
    color: #ffffff;
    opacity: .8;
}

.hero:not([style*="--hero-bg"]) .hero__breadcrumb-link {
    color: rgba(2, 2, 2, 0.7);
}

.hero:not([style*="--hero-bg"]) .hero__breadcrumb-link:hover,
.hero:not([style*="--hero-bg"]) .hero__breadcrumb-link:focus-visible {
    color: #020202;
}

.hero:not([style*="--hero-bg"]) .hero__breadcrumb-current {
    color: #020202;
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
    }

    .hero__container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .hero::before {
        background: linear-gradient(90deg, rgb(99 145 181) 10%, rgb(135 186 226 / 30%) 85%, rgb(135 186 226 / 0%) 100%);
    }
}
