/* ==========================================================================
   Brochure & Chapter Hero Banner with Plasser & Theurer Polygon Divider
   ========================================================================== */

.brochure-hero {
    position: relative;
    min-height: min(86svh, 840px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--blue);
    color: var(--white);
}

.brochure-hero--chapter {
    min-height: min(76svh, 740px);
}

.brochure-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
}

.brochure-hero__bg picture,
.brochure-hero__bg img,
.brochure-hero__bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 40%;
}

.brochure-hero--chapter .brochure-hero__bg img,
.brochure-hero--chapter .brochure-hero__bg-img {
    object-position: 50% 35%;
}

.brochure-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 22, 52, 0.72) 0%, rgba(0, 22, 52, 0.35) 55%, rgba(0, 22, 52, 0.1) 100%);
}

.brochure-hero--chapter::after {
    background: linear-gradient(90deg, rgba(0, 22, 52, 0.75) 0%, rgba(0, 22, 52, 0.3) 70%);
}

.brochure-hero .poly {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(90px, 13vw, 190px);
    z-index: -1;
    display: block;
    pointer-events: none;
}

.brochure-hero__wrap {
    width: 100%;
    max-width: var(--maxw, 1240px);
    margin-inline: auto;
    padding-inline-start: var(--gut-l);
    padding-inline-end: var(--gut-r);
    padding-block: 110px clamp(110px, 15vw, 210px);
}

.brochure-hero--chapter .brochure-hero__wrap {
    padding-block: 100px clamp(110px, 14vw, 200px);
}

/* ---------- Brochure Variant ---------- */

.brochure-hero .slogan {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--white);
}

.brochure-hero--brochure h1 {
    font-size: clamp(42px, 7.6vw, 108px);
    margin: 16px 0 20px;
    max-width: 12ch;
    color: var(--white);
    line-height: 1.02;
}

.brochure-hero h1 .ln {
    display: block;
}

.brochure-hero .hero-sub {
    max-width: 44ch;
    color: var(--white);
}

.brochure-hero .hero-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    align-items: center;
}

/* ---------- Chapter Variant ---------- */

.brochure-hero .ch-num {
    font-weight: 500;
    font-size: clamp(80px, 14vw, 200px);
    line-height: 0.85;
    color: var(--yellow);
}

.brochure-hero--chapter h1 {
    font-size: clamp(40px, 6.8vw, 96px);
    margin-top: 14px;
    color: var(--white);
}

.brochure-hero--chapter .brochure-hero__lead {
    margin-top: 16px;
    max-width: 46ch;
    color: var(--white);
}

.brochure-hero .ch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--claim);
}

/* ---------- Responsive Readability Gradient ---------- */

@media (max-width: 860px) {
    .brochure-hero::after,
    .brochure-hero--chapter::after {
        background: linear-gradient(180deg, rgba(0, 22, 52, 0.35) 0%, rgba(0, 22, 52, 0.7) 60%, rgba(0, 22, 52, 0.8) 100%);
    }
}
