﻿/* innerBanner.css */

/* Banner base */
.innerBanner {
    position: relative;
    width: 100%;
    height: 120px; /* adjust height as needed */
    overflow: hidden;
}

    /* Banner image fills the strip */
    .innerBanner .ImgWrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Overlay content positioned near bottom, lefted horizontally */
    .innerBanner .overlayContent {
        position: absolute;
        bottom: 18px; /* place content near bottom */
        left: 0;
        right: 0;
        z-index: 5; /* above the image */
        pointer-events: auto; /* allow clicks (breadcrumb links) */
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: left;
        padding: 0 15px; /* keeps it within container padding */
        text-align: left;
        color: maroon;
    }

    /* Title sits just above breadcrumb */
    .innerBanner .innerHeader {
        margin-bottom: 8px;
    }

        .innerBanner .innerHeader h2 {
            margin: 0;
            font-size: 34px; /* adjust */
            font-weight: 600;
            line-height: 1.05;
            color: maroon;
            text-shadow: 0 2px 6px rgba(0,0,0,0.55); /* improves contrast on images */
        }

    /* Breadcrumb list (flex, lefted) */
    .innerBanner .breadcrumbNav {
        width: 100%;
    }

    .innerBanner .breadcrumbList {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 10px;
        justify-content: left;
        align-items: left;
        flex-wrap: wrap;
    }

        /* List items / links style */
      
        .innerBanner .breadcrumbList > a,
        .innerBanner .breadcrumbList > span {
            display: inline-block;
            color: #fff;
            margin: 0 6px;
        }

        .innerBanner .breadcrumbList > a {
            text-decoration: underline;
        }

            /* Add separators if your markup doesn't already include them */
            .innerBanner .breadcrumbList > a + span,
            .innerBanner .breadcrumbList > span + a {
                /* you may have separators already; otherwise you can add via pseudo-elements */
            }

    /* Fallback: force overlay to be absolute (if other CSS overrides it) */
    .innerBanner .overlayContent {
        position: absolute !important;
    }


/* Small-screen tweaks */
@media (max-width: 576px) {
    .innerBanner {
        height: 140px;
    }

        .innerBanner .innerHeader h2 {
            font-size: 22px;
        }

        .innerBanner .breadcrumbList {
            gap: 6px;
            font-size: 13px;
        }
}
