/* Single Blog Header Widget Styles */
.gire-single-blog-header {
    position: relative;
    width: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #e8f4f8 0%, #CDE8F9 100%);
    overflow: visible;
    margin-bottom: 80px;
}

.gire-single-blog-header .header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.gire-single-blog-header .header-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    margin-top:60px;
    gap: 40px;
}

.gire-single-blog-header .header-text {
    flex: 1;
    max-width: 50%;
    padding-top: 20px;
}

.gire-single-blog-header .author-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 10px;
}

.gire-single-blog-header .author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.gire-single-blog-header .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gire-single-blog-header .author-text {
    color: #333;
    font-size: 14px;
    font-weight: normal;
}

.gire-single-blog-header .blog-title {
    color: #2c5aa0;
    font-size: 28px !important;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.gire-single-blog-header .post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 0px;
    font-size: 14px;
    color: #666;
}

.gire-single-blog-header .post-meta i {
    margin-right: 5px;
    color: #2c5aa0;
}

.gire-single-blog-header .post-meta a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gire-single-blog-header .post-meta a:hover {
    color: #1a4480;
}

.gire-single-blog-header .post-date,
.gire-single-blog-header .post-categories {
    display: flex;
    align-items: center;
}

.gire-single-blog-header .header-image {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 500px !important;
    height: 300px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    background: #f8f9fa;
    z-index: 3;
    flex-shrink: 0;
    margin-top: -20px;
}

.gire-single-blog-header .header-image-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gire-single-blog-header .featured-image-preview {
    color: #999;
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

.gire-single-blog-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: visible;
    margin-bottom: 20px;
    margin-top: -120px;
    position: relative;
    z-index: 5;
}

.gire-single-blog-header .breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gire-single-blog-header .breadcrumb a:hover {
    color: #2c5aa0;
}

.gire-single-blog-header .breadcrumb-separator {
    color: #999;
}

.gire-single-blog-header .breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* Pattern overlay */
.gire-single-blog-header .header-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Responsive design for Single Blog Header */
@media (max-width: 1024px) {
    .gire-single-blog-header .header-text {
        max-width: 45%;
        padding-top: 20px;
    }
    
    .gire-single-blog-header .header-image {
        width: 400px !important;
        height: 250px !important;
    }
}

@media (max-width: 1025px) {
    .gire-single-blog-header {
        min-height: auto;
        padding-bottom: 40px;
    }
    
    .gire-single-blog-header .header-content {
        padding: 40px 20px 30px 20px;
        min-height: auto;
        flex-direction: column;
    }
    
    .gire-single-blog-header .header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
        margin-bottom: 20px;
        order: 1;
    }
    
    .gire-single-blog-header .breadcrumb {
        display: none !important;
    }
    
    .gire-single-blog-header .header-text {
        max-width: 100%;
        text-align: left;
        padding-top: 0;
        margin-bottom: 20px;
        order: 1;
    }
    
    .gire-single-blog-header .post-meta {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .gire-single-blog-header .header-image {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: 200px !important;
        margin: 0;
        order: 2;
    }
    
    .gire-single-blog-header .breadcrumb {
        margin-top: 0px;
        order: 3;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .gire-single-blog-header .header-content {
        padding: 30px 15px 25px 15px;
    }
    
    .gire-single-blog-header .author-name {
        font-size: 12px;
    }
    
    .gire-single-blog-header .author-text {
        font-size: 12px;
    }
    
    .gire-single-blog-header .author-avatar {
        width: 28px;
        height: 28px;
    }
    
    .gire-single-blog-header .author-avatar img {
        width: 100%;
        height: 100%;
    }
    
    .gire-single-blog-header .blog-title {
        font-size: 24px !important;
        line-height: 1.3;
    }
    
    .gire-single-blog-header .header-image {
        height: 180px !important;
        margin: 0;
    }
    
    .gire-single-blog-header .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
