/* Header Styles for Single Blog (White Background) */
body.single-custom_blog {
    background-color: #fff !important;
}

body.single-custom_blog .site-header {
    position: relative !important;
    background: #fff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    padding: 15px 0;
}

body.single-custom_blog .main-navigation a,
body.single-custom_blog .header-actions i,
body.single-custom_blog .search-submit i {
    color: #333 !important;
}

body.single-custom_blog .main-navigation a:hover {
    color: var(--primary-gold) !important;
}

body.single-custom_blog .header-search .search-field {
    border: 1px solid #eee !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

body.single-custom_blog .header-search .search-field::placeholder {
    color: #bbb !important;
}

/* Single Custom Blog Styles */
.single-blog-container {
    padding-top: 10px;
    /* Header Offset */
    padding-bottom: 100px;
    background-color: #fff;
}

/* Breadcrumbs */
.breadcrumbs-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.breadcrumbs-container a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.breadcrumbs-container a:hover {
    color: var(--primary-gold);
}

.breadcrumbs-container i {
    font-size: 10px;
    color: var(--primary-gold);
}

.current-post {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.current-post.mobile-title {
    display: none;
}

/* Hero Section */
.single-blog-hero {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.hero-text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-category-badge {
    background-color: #FFFFFF33;
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 2px;
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
    color: #fff;
}

.hero-date {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.8;
}

/* Layout Grid (Main + Sidebar) */
.single-blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2/3 Content, 1/3 Sidebar */
    gap: 60px;
}

/* Main Content Styles */
.blog-main-content {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-main-content h2,
.blog-main-content h3,
.blog-main-content h4 {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 500;
    color: #000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-main-content p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #808080;
}

.blog-main-content ul,
.blog-main-content ol {
    margin-bottom: 25px;
    padding-left: 40px;
}

.blog-main-content ul {
    list-style-type: disc;
}

.blog-main-content ol {
    list-style-type: decimal;
}

.blog-main-content li {
    margin-bottom: 10px;
}

/* Sidebar Styling */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.sidebar-widget .widget-title {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 25px;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* Related Articles Widget */
.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.related-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.related-image {
    width: 120px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    display: flex;
    flex-direction: column;
}

.related-title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.related-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.related-title a:hover {
    color: var(--primary-gold);
}

.related-date {
    font-size: 14px;
    font-weight: 400;
    color: #808080;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Design Colors */
    background-color: #C38F26;
    /* Primary Gold/Ochre */
    color: #fff;
    border: none;
}

.tag-link:hover {
    background-color: #a8791d;
    color: #fff;
    transform: translateY(-2px);
}

/* Remove alternating colors as design shows uniform style or specific colors. 
   Keeping uniform gold for now as per "Grey Wall Tiles" etc in image. */


/* Responsive Adjustments */
@media (max-width: 992px) {
    .single-blog-layout {
        grid-template-columns: 1fr;
        /* Stack on Tablet/Mobile */
        gap: 60px;
    }

    .hero-text-content {
        padding: 30px;
    }

    .entry-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .single-blog-hero {
        width: 100%;
        height: 462px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .entry-title {
        font-size: 28px;
    }

    .blog-main-content h2,
    .blog-main-content h3,
    .blog-main-content h4 {
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 14px;
    }

    .blog-main-content p {
        font-size: 14px;
    }

    .sidebar-widget .widget-title {
        font-size: 20px;
    }

}

@media (max-width: 768px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .current-post.desktop-title {
        display: none;
    }

    .current-post.mobile-title {
        display: inline;
    }
}