/* Blog Post Specific Styles */
.blog-post-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.blog-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.4;
    z-index: 1;
}

.blog-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.5), rgba(42, 82, 152, 0.3));
    z-index: 2;
}

.blog-post-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 6px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.blog-post-category {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-post-date {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.blog-post-title {
    font-size: 3rem !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white !important;
}

.blog-post-excerpt {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #D3D3D3;
}

.blog-post-content {
    padding: 6rem 0;
    background: #ffffff;
    color: #333;
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-post-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.blog-post-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
}

.blog-post-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
    margin: 2.5rem 0 1rem 0;
    line-height: 1.4;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
    color: #374151;
}

.blog-post-body blockquote {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(96, 165, 250, 0.05));
    border-left: 4px solid #60a5fa;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #1e3a8a;
}

.blog-post-body ul, 
.blog-post-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
    color: #374151;
}

.blog-post-image {
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 1rem;
    font-style: italic;
}

.blog-post-highlight {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(96, 165, 250, 0.1));
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.blog-post-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.blog-post-cta h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-post-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.related-posts {
    padding: 6rem 0;
    background: #f8f9fa;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.related-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.related-post-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    height: 200px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    overflow: hidden;
}

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

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.related-post-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.related-post-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}

.blog-navigation {
    padding: 4rem 0;
    background: #1a1a1a;
    color: white;
}

.blog-nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    max-width: 300px;
}

.blog-nav-link:hover {
    background: rgba(96, 165, 250, 0.1);
}

.blog-nav-link.prev {
    text-align: left;
}

.blog-nav-link.next {
    text-align: right;
    flex-direction: row-reverse;
}

.blog-nav-arrow {
    font-size: 1.5rem;
    color: #60a5fa;
}

.blog-nav-text {
    flex: 1;
}

.blog-nav-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.blog-nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Highlight class for content */
.blog-post-body .highlight {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0.1));
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: #1e3a8a;
    font-weight: 600;
}

/* Strong text styling */
.blog-post-body strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Link styling */
.blog-post-body a {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.blog-post-body a:hover {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
}

/* Read more link */
.related-post-content .read-more,
.related-post-card .read-more,
a.read-more {
    color: #60a5fa !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: inline-block !important;
    margin-top: 1rem !important;
    width: auto !important;
    overflow: visible !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
}

.related-post-content .read-more:hover,
.related-post-card .read-more:hover,
a.read-more:hover {
    color: #3b82f6 !important;
    text-decoration: underline !important;
}

/* Remove any pseudo-elements */
.read-more::before,
.read-more::after {
    display: none !important;
    content: none !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .blog-post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-container {
        padding: 0 1rem;
    }
    
    .blog-post-body {
        font-size: 1rem;
    }
    
    .blog-nav-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .blog-nav-link {
        max-width: 100%;
        width: 100%;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}