/* ===================================
    Blog Detail Page Styles
====================================== */

/* Blog Banner */
.blog-banner {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.blog-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.7); /* Dark blue overlay */
    z-index: 1;
}

.blog-banner__content {
    position: relative;
    z-index: 2;
}

.blog-banner__category {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.blog-banner__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFF !important;
}

.blog-banner__meta {
    font-size: 1rem;
    font-weight: 400;
    color: #FFF !important;
}

.blog-banner__meta span {
    margin: 0 15px;
    color: #FFF !important;
}

/* Blog Content Section */
.blog-content-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-post-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.blog-post-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #001F3F;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Sidebar */
.blog-sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sidebar-widget__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #001F3F;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

/* Author Bio Widget */
.author-bio p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Social Share Widget */
.social-share__links {
    display: flex;
    gap: 15px;
}

.social-share__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f2f5;
    color: #001F3F;
    transition: all 0.3s ease;
}

.social-share__link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Related Posts Widget */
.related-post-item {
    margin-bottom: 20px;
}

.related-post-item:last-child {
    margin-bottom: 0;
}

.related-post-item__title {
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-item__title {
    color: #FFF !important;
}

.custom-black {
    color: #000000 !important;
}

.related-post-item__title:hover {
    color: var(--primary-color);
}

.related-post-item__meta {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

/* Professional CTA Section */
.professional-cta-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.professional-cta__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

.professional-cta__text {
    flex-basis: 60%;
}

.professional-cta__title {
    font-size: 2rem;
    font-weight: 600;
    color: #001F3F;
    margin-bottom: 15px;
}

.professional-cta__subtitle {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.professional-cta__actions {
    display: flex;
    gap: 15px;
}

.professional-cta__actions .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.professional-cta__actions .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.professional-cta__actions .btn-primary:hover {
    background-color: #001F3F;
    border-color: #001F3F;
}

.professional-cta__actions .btn-outline-secondary {
    background-color: transparent;
    border-color: #ccc;
    color: #333;
}

.professional-cta__actions .btn-outline-secondary:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

@media (max-width: 768px) {
    .professional-cta__content {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }

    .professional-cta__text {
        margin-bottom: 30px;
        flex-basis: auto;
    }

    .professional-cta__actions {
        flex-direction: column;
        width: 100%;
    }
}
