/* ================================================================
   EEA Page Hero — Inner page banner with bg + overlay + script accent
   ================================================================ */

.eea-phero {
    --eea-phero-navy:   #080872;
    --eea-phero-gold:   #C7A73E;
    --eea-phero-white:  #ffffff;
    --eea-phero-ease:   cubic-bezier(.2, .8, .2, 1);

    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--eea-phero-white);
    font-family: 'Montserrat', 'Poppins', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.eea-phero,
.eea-phero *,
.eea-phero *::before,
.eea-phero *::after {
    box-sizing: border-box;
}

.eea-phero p { margin: 0; }

/* Full-width breakout */
.eea-phero--fullwidth {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Background image */
.eea-phero__bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
    z-index: 0;
    display: block !important;
}

/* Overlay */
.eea-phero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Inner content */
.eea-phero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    padding: 80px 32px;
    text-align: center;
    margin: 0 auto;
}

/* ================================================================
   TITLE
   ================================================================ */
.eea-phero__title {
    position: relative;
    z-index: 3;
    margin: 0;
    color: var(--eea-phero-navy);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
}

/* ================================================================
   SCRIPT ACCENT — three positions
   ================================================================ */
.eea-phero__script {
    font-family: 'Baskervville', 'GFS Didot', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--eea-phero-gold);
    line-height: 1;
    margin: 0;
}

/* Behind (large faded watermark) */
.eea-phero--script-behind .eea-phero__script--behind {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 14vw, 200px);
    opacity: 0.16;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* Above / Below (small inline) */
.eea-phero__script--small {
    font-size: clamp(28px, 3.6vw, 42px);
    margin: 0 0 8px;
    line-height: 1.1;
}

.eea-phero--script-below .eea-phero__script--small {
    margin: 14px 0 0;
}

/* ================================================================
   SUBTITLE
   ================================================================ */
.eea-phero__sub {
    margin: 18px auto 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.6;
    color: #3a3a55;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.eea-phero__bcrumbs {
    margin-top: 24px;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.eea-phero__bcrumbs a {
    color: #3a3a55;
    text-decoration: none !important;
    transition: color .25s var(--eea-phero-ease);
}

.eea-phero__bcrumbs a:hover {
    color: var(--eea-phero-gold);
}

.eea-phero__bcrumbs .sep {
    color: var(--eea-phero-gold);
    opacity: .7;
}

.eea-phero__bcrumbs .is-current {
    color: var(--eea-phero-gold);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .eea-phero {
        min-height: 280px;
    }
    .eea-phero__inner {
        padding: 48px 20px;
    }
    .eea-phero--script-behind .eea-phero__script--behind {
        font-size: clamp(64px, 22vw, 130px);
    }
    .eea-phero__bcrumbs {
        font-size: 11px;
        letter-spacing: 1px;
        gap: 6px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .eea-phero *,
    .eea-phero *::before,
    .eea-phero *::after {
        animation: none !important;
        transition: none !important;
    }
}
