/**
 * Custom CSS for DParty Plugin
 */

/* Featured Image in Breadcrumb */
.header-title-breadcrumb-overlay {
    position: relative;
    padding: 0; /* Remove padding as we'll position content with absolute positioning */
    background-color: rgba(45, 57, 126, 0.8);
    background-blend-mode: multiply;
    color: #fff;
    z-index: 1;
    min-height: 600px; /* Ensure minimum height regardless of content */
    display: block; /* Change from flex to block */
}

.header-title-breadcrumb-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 57, 126, 0.5);
    z-index: -1;
    border-radius:0 0 20px 20px;

}

.header-title-breadcrumb-overlay h1 {
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    font-size: 32px;
    text-align: left;
}

.header-title-breadcrumb-overlay .post-subtitle {
    color: #E8AE01;
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:20px;
}

.header-title-breadcrumb-overlay .post-category {
    display: inline-block;
    background-color: #E8AE01;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 14px;
    margin-right: 10px;
    text-shadow: none;
    margin-bottom: 5px;
}

/* Position content at bottom of breadcrumb overlay */
.header-title-breadcrumb-overlay .cont {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 50px;
    text-align: left;
    border-radius:20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding-top: 100px;
}

.header-title-breadcrumb-overlay .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

.header-title-breadcrumb-overlay .breadcrumb li,
.header-title-breadcrumb-overlay .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 14px;
}

.header-title-breadcrumb-overlay .breadcrumb li.active {
    color: #E8AE01;
}

/* Row styling for better layout */
.header-title-breadcrumb-overlay .row {
    margin: 0;
}

.header-title-breadcrumb-overlay .col-md-12 {
    padding-left: 30px;
}

/* RTL Support */
html[dir="rtl"] .header-title-breadcrumb-overlay .breadcrumb {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .header-title-breadcrumb-overlay .post-category {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .header-title-breadcrumb-overlay h1,
html[dir="rtl"] .header-title-breadcrumb-overlay .post-subtitle {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .header-title-breadcrumb-overlay .col-md-12 {
    padding-left: 15px;
    padding-right: 30px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .header-title-breadcrumb-overlay {
        min-height: 400px;
    }
    
    .header-title-breadcrumb-overlay .cont {
        padding-bottom: 30px;
        padding-top: 60px;
    }
    
    .header-title-breadcrumb-overlay h1 {
        font-size: 24px;
    }
    
    .header-title-breadcrumb-overlay .col-md-12 {
        padding-left: 15px;
        padding-right: 15px;
    }
}
