/* ── Page Banner with Overlay ───────────────────────────────────────────── */

:root {
    --pbo-banner-height-desktop: 500px;
    --pbo-banner-height-mobile: 300px;
    --pbo-text-white: #ffffff;
    --pbo-text-white-muted: rgba(255, 255, 255, 0.65);
    --pbo-font-display: 'Gelo', 'Arial Black', sans-serif;
    --pbo-font-body: 'Barlow Condensed', Arial, sans-serif;
}

/* ── Banner wrapper ── */
.pbo-banner {
    position: relative;
    width: 100%;
    height: var(--pbo-banner-height-desktop);
    max-height: var(--pbo-banner-height-desktop);
    overflow: hidden;
}

/* ── Layer 1: background image ── */
.pbo-banner__bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.pbo-banner__bg-placeholder {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, #c4722a 0%, #7a3210 45%, #2a1205 100%);
}

/* ── Layer 2: two-column overlay ── */
.pbo-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    pointer-events: none;
    z-index: 1;
}

.pbo-banner__col-left {
    flex: 0 0 auto;
    width: 160px;
    margin-left: -70px;
    margin-top: -100px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    opacity: 0.5;
}

.pbo-banner__col-right {
    flex: 1;
}

/* ── Layer 3: text overlay ── */
.pbo-banner__text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.pbo-banner__row {
    padding-left: 10%;
    padding-right: 4%;
    display: flex;
    align-items: flex-start;
}

.pbo-banner__row--1 {
    flex: 0 0 22%;
}

.pbo-banner__row--2 {
    flex: 0 0 35%;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    container-type: size;
    container-name: pbo-wordrow;
}

.pbo-banner__word {
    flex: 0 0 33.333%;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: clamp(36px, 9vw, 142px);
    font-size: 38cqh;
    line-height: 0.95;
    font-family: var(--pbo-font-display);
    font-weight: bold;
    text-transform: uppercase;
    color: var(--pbo-text-white);
    text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.02em;
    pointer-events: auto;
}

.pbo-banner__row--3 {
    flex: 0 0 32%;
}

.pbo-banner__row--4 {
    flex: 0 0 10%;
    align-items: center;
    justify-content: flex-end;
}

.pbo-banner__serving {
    font-family: var(--pbo-font-body);
    font-size: clamp(6px, 0.9vw, 10px);
    font-weight: 300;
    color: var(--pbo-text-white-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ── Layer 4: logo watermark ── */
.pbo-banner__logo {
    position: absolute;
    top: 20%;
    left: 0;
    width: auto;
    height: 30%;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
}

.pbo-banner__logo img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: top left;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .pbo-banner {
        height: var(--pbo-banner-height-mobile);
        max-height: var(--pbo-banner-height-mobile);
    }

    .pbo-banner__col-left {
        width: 140px;
    }

    .pbo-banner__serving {
        font-size: clamp(8px, 1.8vw, 11px);
        letter-spacing: 0.14em;
    }
}

/* ── object-fit fallback for IE 11 ── */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .pbo-banner__bg {
        width: auto;
        height: auto;
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.pbo-banner-separator {
    background-color: #ed9b3c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    text-align: center;
    height: 50px;
    position: relative;
}

.pbo-banner-separator-text {
    font-family: 'Al-Fresco', Arial, sans-serif !important;
    font-size: 50px !important;
    font-weight: 900;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    color: #fff;
    white-space: nowrap;

    @media (max-width: 600px) {
        white-space: normal;
        font-size: 7vw !important;
    }
}

/* ── Gray zone — wraps orange band, open area, bottom pattern ── */
.pbo-banner-gray {
    background-color: #eeebea;
    display: flex;
    flex-direction: column;
    font-size: 0;
    margin-bottom: -350px;
}

/* ── Orange pattern band ── */
.pbo-banner-band {
    margin-top: -6px !important;
    padding-top: 0px;
    background-image: url(/dona-maria/wp-content/themes/maria-theme/inc/assets/img/text-under-banner-2.png);
    background-repeat: repeat-x;
    background-size: auto 80px;
    background-position: top center;
    height: 80px;
    margin-bottom: 40px;
}

/* ── Open gray area — navigator sits here ── */
.pbo-banner-gray-body {
    height: 300px;

    @media (max-width: 700px) {
        height: 300px;
    }
}