/* ==========================================================================
   Gallery Page Banner Component - SS Healing Rays
   Clean, Minimal Banner with Pure Black Linear Gradient Overlay (Bottom to Top)
   Typography: Marcellus headline across two balanced lines with Playfair italic accents
   ========================================================================== */

.gallery-banner-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 52vh;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0b0b1a;
}

/* 1. Background Cover Image */
.gallery-banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 2. Black Linear Gradient Overlay from Bottom to Top */
.gallery-banner-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.52) 48%,
        rgba(0, 0, 0, 0.22) 80%,
        rgba(0, 0, 0, 0.08) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* 3. Content Wrapper */
.gallery-banner-content-wrap {
    position: relative;
    z-index: 10;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #ffffff;
    max-width: 1080px;
    margin: 0 auto;
}

/* 4. Breadcrumb */
.gallery-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.gallery-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.gallery-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
}

.gallery-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
    content: "/";
    padding: 0 0.5rem;
}

/* 5. Typography: Headline on Two Lines Without Line Breaking */
.gallery-banner-title {
    font-family: var(--brand-font-marcellus, 'Marcellus', serif);
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    font-weight: 500;
    line-height: 1.24;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: none !important;
}

/* Each line stays strictly on its own line on desktop/tablets without breaking */
.gallery-banner-title .banner-title-line {
    display: block;
    white-space: nowrap;
}

.gallery-banner-title em,
.gallery-banner-title i {
    font-family: var(--brand-font-serif, 'Playfair Display', Georgia, serif) !important;
    font-style: italic !important;
    font-weight: 500 !important;
    color: #ffffff;
    text-shadow: none !important;
}

/* 6. Subtitle / Description */
.gallery-banner-subtitle {
    font-family: var(--brand-font-sans, 'Lato', system-ui, sans-serif);
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 760px;
    margin: 0 auto;
    text-shadow: none !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 767.98px) {
    .gallery-banner-section {
        min-height: 360px;
        height: auto;
        padding: 4.5rem 1rem 3rem;
    }
    .gallery-banner-title {
        font-size: clamp(1.8rem, 6vw, 2.25rem);
        margin-bottom: 1rem;
    }
    .gallery-banner-title .banner-title-line {
        white-space: normal;
    }
    .gallery-banner-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
    }
}
