/*
 * One page-header look across the public site.
 *
 * Pages historically used four header styles: photo + centred title
 * (.breadcrumbs / .breadcrumbs-contact), a flat navy band (.reviews-hero),
 * a gradient band (.modern-hero-events) and the detail hero (.case-detail-hero).
 * This normalises them to the same deep-navy band, left-aligned to the page
 * grid, with the breadcrumb above the title and consistent sizes and height.
 * Markup and copy are unchanged; loaded after page styles, prefixed for priority.
 */

:root {
    --hero-navy-1: rgba(14, 30, 58, 0.94);
    --hero-navy-2: rgba(30, 62, 116, 0.86);
    --hero-title: clamp(1.9rem, 3.1vw, 2.7rem);
    --hero-copy: 1.04rem;
}

/* ── Shared band ── */
html body .breadcrumbs,
html body .breadcrumbs-contact,
html body .reviews-hero,
html body .modern-hero-events {
    position: relative;
    padding: 64px 0 56px !important;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: left !important;
    overflow: hidden;
}

/* Photo headers keep their image under a consistent navy overlay. */
html body .breadcrumbs.overlay::before,
html body .breadcrumbs-contact.overlay::before {
    background: linear-gradient(120deg, var(--hero-navy-1) 0%, var(--hero-navy-2) 100%) !important;
    opacity: 1 !important;
}

/* Flat/gradient headers get the same navy gradient. */
html body .reviews-hero {
    background: linear-gradient(120deg, #0e1e3a 0%, #1e3e74 100%) !important;
}
html body .modern-hero-events {
    background: linear-gradient(120deg, #0e1e3a 0%, #1e3e74 100%) !important;
}
html body .modern-hero-events::before {
    opacity: 0.35;
}

/* ── Layout: left-aligned, breadcrumb above the title ── */
html body .breadcrumbs .bread-inner,
html body .breadcrumbs-contact .bread-inner {
    position: relative;
    z-index: 2;
    text-align: left !important;
}
html body .breadcrumbs .bread-inner .col-12,
html body .breadcrumbs-contact .bread-inner .col-12 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
html body .breadcrumbs .bread-list,
html body .breadcrumbs-contact .bread-list {
    order: -1;
    margin: 0 0 14px !important;
    padding: 0;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}
html body .breadcrumbs ul li,
html body .breadcrumbs ul li a,
html body .breadcrumbs-contact ul li,
html body .breadcrumbs-contact ul li a {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    color: rgba(219, 232, 255, 0.85) !important;
}
html body .breadcrumbs ul li.active,
html body .breadcrumbs ul li.active a,
html body .breadcrumbs-contact ul li.active,
html body .breadcrumbs-contact ul li.active a {
    color: #ffffff !important;
}
html body .breadcrumbs ul li a:hover,
html body .breadcrumbs-contact ul li a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
html body .breadcrumbs ul li i,
html body .breadcrumbs-contact ul li i {
    margin: 0 8px !important;
    font-size: 0.7rem !important;
    color: rgba(219, 232, 255, 0.6) !important;
}

/* ── Titles ── */
html body .breadcrumbs h2,
html body .breadcrumbs-contact h2,
html body .reviews-hero-title,
html body .hero-title-events {
    font-size: var(--hero-title) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    text-transform: none !important;
    max-width: 24ch;
    margin: 0 0 12px !important;
}

/* ── Supporting copy ── */
html body .reviews-hero-copy,
html body .hero-subtitle-events {
    font-size: var(--hero-copy) !important;
    line-height: 1.65 !important;
    color: rgba(226, 236, 255, 0.85) !important;
    max-width: 62ch;
    margin: 0 !important;
}

/* ── Eyebrows ── */
html body .reviews-hero-eyebrow,
html body .modern-hero-events .events-badge {
    display: inline-flex !important;
    align-items: center;
    margin: 0 0 14px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #dbe8ff !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

/* Customer stories: align its centred inner column to the page grid. */
html body .reviews-hero-inner {
    width: min(1140px, 100%) !important;
    margin: 0 auto !important;
    padding: 0 15px;
}
html body .reviews-hero-title,
html body .reviews-hero-copy {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 767px) {
    html body .breadcrumbs,
    html body .breadcrumbs-contact,
    html body .reviews-hero,
    html body .modern-hero-events {
        padding: 44px 0 40px !important;
    }
}
