/* Blog Detail Custom Styles */
:root {
    --blog-serif: 'EB Garamond', serif;
    --blog-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --blog-primary: #1E42B8;
    --blog-accent: #005E96;
    --blog-text: #334155;
    --blog-muted: #64748b;
}

/* Hero Section */
.blog-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    padding: 100px 0 60px;
    background-color: var(--blog-primary);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(31, 58, 93, 0.8) 0%, rgba(31, 58, 93, 0.95) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.blog-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--blog-accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.blog-hero-title {
    font-family: var(--blog-serif);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main Content Area */
.blog-post-content {
    font-family: var(--blog-sans);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--blog-text);
}

.blog-post-content p {
    margin-bottom: 25px;
}

.blog-post-content h2,
.blog-post-content h3 {
    font-family: var(--blog-serif);
    color: var(--blog-primary);
    margin: 40px 0 20px;
    font-weight: 600;
}

/* Featured Image */
.blog-featured-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Share Buttons */
.blog-share-box {
    padding: 30px;
    background-color: #f8fafc;
    border-left: 4px solid var(--blog-accent);
    margin: 40px 0;
}

.blog-share-box .share-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--blog-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    display: block;
}

/* Sidebar Styling */
.blog-sidebar-widget {
    margin-bottom: 50px;
}

.blog-sidebar-title {
    font-family: var(--blog-serif);
    font-size: 1.5rem;
    color: var(--blog-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.blog-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--blog-accent);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f1f5f9;
    color: var(--blog-muted);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    background-color: var(--blog-accent);
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 350px;
        padding-top: 80px;
    }

    .blog-hero-title {
        font-size: 2rem;
    }
}