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

/* Article Header */
.article-header {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 180px 0 60px;
    margin-bottom: 60px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.article-header-content {
    position: relative;
    z-index: 2;
    color: white;
}

.article-badge {
    display: inline-block;
    background: rgba(0, 71, 171, 0.9);
    color: white;
    padding: 6px 18px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.article-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 800px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 0.9rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.meta-item i {
    font-size: 1rem;
}

.meta-item strong {
    font-weight: 600;
}

/* Article Content */
.article-content {
    padding: 40px 0 80px;
    background: white;
}

.blog-article {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-article h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.blog-article h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 30px 0 15px;
    line-height: 1.4;
}

.blog-article p {
    margin-bottom: 20px;
    color: #444;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-article blockquote {
    background: #f8f9fa;
    border-left: 4px solid #0047AB;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #555;
    border-radius: 8px;
}

.blog-article ul,
.blog-article ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-article li {
    margin-bottom: 10px;
    color: #444;
}

.blog-article strong {
    color: #1a1a1a;
    font-weight: 600;
}

.blog-article a {
    color: #0047AB;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-article a:hover {
    color: #003d99;
}

/* Related Articles Section */
.related-articles {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
}

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.related-category {
    display: inline-block;
    background: #e8f2ff;
    color: #0047AB;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-date {
    color: #999;
    font-size: 0.8rem;
}

.related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.related-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: #0047AB;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.read-more:hover {
    color: #003d99;
    gap: 12px;
}

.read-more i {
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .article-title {
        font-size: 2.5rem;
    }

    .article-lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .article-header {
        min-height: 400px;
        padding: 140px 0 40px;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-lead {
        font-size: 1rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .blog-article {
        font-size: 1rem;
    }

    .blog-article h2 {
        font-size: 1.5rem;
    }

    .blog-article h3 {
        font-size: 1.25rem;
    }

    .related-articles {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    .article-header {
        min-height: 350px;
    }

    .article-content {
        padding: 30px 0 60px;
    }
}

