.mikformen-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    /* Shorter panoramic banner: less forced cover-upscale soft blur */
    min-height: clamp(16.5rem, 28vw, 22rem);
    overflow: hidden;
    background: #141516;
    color: var(--mikformen-color-white);
}

.mikformen-banner__media,
.mikformen-banner__overlay {
    position: absolute;
    inset: 0;
}

.mikformen-banner__media {
    z-index: -2;
    background:
        linear-gradient(135deg, #222426 0%, #121314 58%, #090a0b 100%);
}

.mikformen-banner__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.mikformen-banner__overlay {
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 8, 9, 0.94) 0%,
            rgba(7, 8, 9, 0.82) 25%,
            rgba(7, 8, 9, 0.48) 52%,
            rgba(7, 8, 9, 0.13) 76%,
            rgba(7, 8, 9, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(7, 8, 9, 0.45) 0%,
            rgba(7, 8, 9, 0) 46%,
            rgba(7, 8, 9, 0.24) 100%
        );
    pointer-events: none;
}

.mikformen-banner--without-image .mikformen-banner__overlay {
    background:
        linear-gradient(90deg, rgba(7, 8, 9, 0.82), rgba(7, 8, 9, 0.24)),
        radial-gradient(circle at 78% 34%, rgba(155, 28, 49, 0.16), transparent 32%);
}

.mikformen-banner__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: calc(var(--mik-container-max) + (var(--mikformen-page-gutter) * 2));
    margin-inline: auto;
    padding-inline: var(--mikformen-page-gutter);
    padding-top: calc(var(--mikformen-banner-header-height, var(--mikformen-header-height)) + 1.25rem);
    padding-bottom: 1.25rem;
}

.mikformen-banner__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(100%, 52rem);
}

.mikformen-banner__eyebrow {
    color: rgba(255, 255, 255, 0.68);
}

.mikformen-banner__title {
    margin: 0;
    color: var(--mikformen-color-white);
    font-family: var(--mikformen-font-display);
    font-size: clamp(3rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.mikformen-banner__nav {
    width: 100%;
    margin-top: 1.5rem;
}

.mikformen-banner__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--mikformen-font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
    list-style: none;
    scrollbar-width: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.mikformen-banner__breadcrumb::-webkit-scrollbar {
    display: none;
}

.mikformen-banner__breadcrumb-item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.mikformen-banner__breadcrumb-item:not(:last-child)::after {
    width: 0.6875rem;
    height: 0.6875rem;
    margin-inline: 0.625rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M4 2.25L7.25 5.5L4 8.75' stroke='%239b1c31' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
}

.mikformen-banner__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mikformen-banner__breadcrumb a:hover,
.mikformen-banner__breadcrumb a:focus-visible,
.mikformen-banner__breadcrumb-item.is-current {
    color: var(--mikformen-color-white);
}

@media screen and (max-width: 991.98px) {
    .mikformen-banner {
        min-height: clamp(15.5rem, 38vw, 18.5rem);
    }

    .mikformen-banner__media img {
        object-position: 78% center;
    }

    .mikformen-banner__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 8, 9, 0.92) 0%,
                rgba(7, 8, 9, 0.7) 42%,
                rgba(7, 8, 9, 0.24) 78%,
                rgba(7, 8, 9, 0.12) 100%
            ),
            linear-gradient(0deg, rgba(7, 8, 9, 0.5), transparent 58%);
    }

    .mikformen-banner__container {
        padding-top: calc(var(--mikformen-banner-header-height, var(--mikformen-header-height)) + 1rem);
        padding-bottom: 1rem;
    }

    .mikformen-banner__title {
        font-size: clamp(2.75rem, 6vw, 3.25rem);
    }
}

@media screen and (max-width: 575.98px) {
    .mikformen-banner {
        min-height: 14.5rem;
    }

    .mikformen-banner__media img {
        object-position: 82% center;
    }

    .mikformen-banner__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 8, 9, 0.94) 0%,
                rgba(7, 8, 9, 0.72) 56%,
                rgba(7, 8, 9, 0.28) 100%
            ),
            linear-gradient(0deg, rgba(7, 8, 9, 0.58), transparent 64%);
    }

    .mikformen-banner__container {
        padding-top: calc(var(--mikformen-banner-header-height, var(--mikformen-header-height)) + 0.875rem);
        padding-bottom: 0.875rem;
    }

    .mikformen-banner__title {
        max-width: 15ch;
        font-size: clamp(2.125rem, 10vw, 2.75rem);
        line-height: 0.98;
    }

    .mikformen-banner__nav {
        margin-top: 0.75rem;
    }

    .mikformen-banner__breadcrumb {
        font-size: 0.6875rem;
        letter-spacing: 0.06em;
    }

    .mikformen-banner__breadcrumb-item:not(:last-child)::after {
        width: 0.625rem;
        height: 0.625rem;
        margin-inline: 0.4375rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mikformen-banner__breadcrumb a {
        transition: none;
    }
}
