/* Original Page Title & Breadcrumb styling - PREMIUM COMPACT VERSION */

/* Sticky Header Compensation */
body.sticky-header #sp-header {
    margin-bottom: 0px !important;
}

.home-menu section#sp-main-body {
    margin-top: 60px;
}

/* Base compensation applied only to the wrapper sections */
body.sticky-header .sp-title-wrapper {
    padding-top: 60px !important;
    /* Clears the header inside the grey background */
}


body.sticky-header #sp-main-body {
    /* Clears the header if no title row */
}

@media (max-width: 991px) {

    body.sticky-header .sp-title-wrapper,
    body.sticky-header #sp-main-body {
        padding-top: 60px !important;
        /* Smaller header on mobile */
    }
}

/* 1. Unified Background - Full Width */
.sp-title-wrapper {
    background: #838383!important;
    /* Premium Dark Grey background */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: none !important;
    /* Shown via inline style in title.php */
}

/* 2. Compact inner block */
.sp-page-title {
    background: transparent !important;
    padding: 20px 0 !important;
    /* Compact padding */
    margin: 0 !important;
    text-align: left;
}

/* 3. Hide on home page / specific itemids */
.home-menu .sp-title-wrapper,
.itemid-101 .sp-title-wrapper,
.itemid-227 .sp-title-wrapper,
.itemid-274 .sp-title-wrapper {
    display: none !important;
}

/* Hide if empty to avoid gaps */
.sp-title-wrapper:empty {
    display: none !important;
}

/* 4. Text and Breadcrumb styling */
.sp-page-title-heading {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 5px 0 !important;
    line-height: 1.2;
}

/* Breadcrumbs inside Page Title */
.sp-page-title .mod-breadcrumbs {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sp-page-title .mod-breadcrumbs li {
    color: #cccccc !important;
    font-size: 13px;
    display: inline-block;
}

.sp-page-title .mod-breadcrumbs li a {
    color: #dddddd !important;
    text-decoration: none;
}

.sp-page-title .mod-breadcrumbs li a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.sp-page-title .mod-breadcrumbs li.active {
    color: #ffffff !important;
}

/* Fix generic row/column padding that might create gaps */
#sp-title-row .sp-column {
    padding: 0 !important;
    margin: 0 !important;
}

/* Floating article image left */
.article-details .article-full-image {
    width: 320px;
    float: left;
    margin: 0 20px 15px 0 !important;
}

.article-details .article-full-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .article-details .article-full-image {
        width: 100%;
        float: none;
        margin: 0 0 15px 0 !important;
    }
}

/* Z-Index for modals/lightboxes above sticky header */
.mfp-wrap,
.mfp-bg,
.sigProContainer,
.sigProModal,
.sp-modal-container,
.sp-lightbox,
.modal,
.modal-backdrop,
.sppBLightboxParent {
    z-index: 999999 !important;
}

#sppb-addon-1656662050768 #sp-slider-141.nivoSlider img {
    opacity: 1 !important;
}