/* ===== Blog Post Page Styles ===== */

/* Hero Banner for Blog Posts */
.blog-post-hero {
    background: linear-gradient(135deg, #001d3d 0%, #003366 50%, #00264d 100%);
    padding: 100px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-post-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 118, 52, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.blog-post-hero .container {
    position: relative;
    z-index: 2;
}

.blog-post-hero .blog-category-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(0, 118, 52, 0.2);
    border: 1px solid rgba(0, 118, 52, 0.4);
    color: #6fda9c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.blog-post-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    max-width: 850px;
    margin: 0 auto 18px;
    font-weight: 800;
}

.blog-post-hero .blog-hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 24px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.blog-post-hero .blog-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-post-hero .blog-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-hero .blog-meta-bar i {
    font-size: 0.85rem;
    color: rgba(0, 118, 52, 0.8);
}

.blog-post-hero .blog-meta-bar .meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

/* Article Content Area */
.blog-content-section {
    padding: 60px 0 80px;
    background: #f7f9fc;
}

.blog-content-section .container {
    max-width: 860px;
}

.blog-article-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 48px 50px;
    box-shadow: 0 12px 40px rgba(14, 34, 52, 0.06);
    border: 1px solid #e4ecf3;
}

.blog-article-wrapper p {
    color: #2c3e50;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

.blog-article-wrapper h2 {
    color: #0f2539;
    font-size: 1.55rem;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-left: 18px;
    position: relative;
    line-height: 1.3;
}

.blog-article-wrapper h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #007634, #00a34a);
}

.blog-article-wrapper h3 {
    color: #122335;
    font-size: 1.28rem;
    font-weight: 700;
    margin: 32px 0 12px;
    line-height: 1.35;
}

.blog-article-wrapper ul {
    margin: 0 0 20px 24px;
    padding: 0;
}

.blog-article-wrapper li {
    color: #344a5e;
    line-height: 1.85;
    margin-bottom: 10px;
    position: relative;
}

.blog-article-wrapper li::marker {
    color: #007634;
}

.blog-article-wrapper strong {
    color: #0f2539;
}

.blog-article-wrapper .article-highlight {
    background: linear-gradient(135deg, #e8f5ee 0%, #f0f9f4 100%);
    border-left: 4px solid #007634;
    padding: 22px 26px;
    border-radius: 0 14px 14px 0;
    margin: 30px 0;
    font-style: italic;
    color: #1a3a2a;
    line-height: 1.8;
    font-weight: 500;
}

/* Breadcrumb */
.blog-breadcrumb-bar {
    padding: 14px 0;
    background: #f0f4f8;
    border-bottom: 1px solid #e2e9f0;
}

.blog-breadcrumb-bar .breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: #6b7c8a;
}

.blog-breadcrumb-bar .breadcrumb-list a {
    color: #007634;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.blog-breadcrumb-bar .breadcrumb-list a:hover {
    color: #005627;
    text-decoration: underline;
}

.blog-breadcrumb-bar .breadcrumb-list .sep {
    color: #b0bec5;
}

/* CTA Banner */
.blog-cta-banner {
    margin-top: 48px;
    padding: 36px 32px;
    background: linear-gradient(135deg, #0f2539 0%, #183650 100%);
    border-radius: 16px;
    text-align: center;
    color: #fff;
}

.blog-cta-banner h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.blog-cta-banner p {
    color: #b0c8d8;
    margin-bottom: 22px;
    font-size: 1rem;
}

.blog-cta-banner .btn-primary {
    background: #007634;
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.blog-cta-banner .btn-primary:hover {
    background: #005627;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 86, 39, 0.4);
}

/* Related Articles Section */
.blog-related-section {
    padding: 60px 0 80px;
    background: #fff;
}

.blog-related-section .section-header {
    text-align: center;
    margin-bottom: 36px;
}

.blog-related-section .section-header h2 {
    font-size: 1.8rem;
    color: #0f2539;
}

.blog-related-section .section-header h2::before {
    display: none;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-card {
    background: #f7f9fc;
    border: 1px solid #e4ecf3;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(14, 34, 52, 0.1);
    border-color: #c1d1de;
}

.related-card .related-category {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 100px;
    background: rgba(0, 118, 52, 0.06);
    color: #007634;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}

.related-card h3 {
    color: #102438;
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0;
    transition: color 0.3s;
}

.related-card:hover h3 {
    color: #004e8c;
}

.related-card p {
    color: #556576;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Author Box */
.blog-author-box {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding: 24px;
    background: #f7f9fc;
    border-radius: 14px;
    border: 1px solid #e4ecf3;
}

.blog-author-box .author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #007634);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.blog-author-box .author-info h4 {
    margin: 0 0 4px;
    color: #0f2539;
    font-size: 1rem;
}

.blog-author-box .author-info p {
    margin: 0;
    color: #556576;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Share Buttons */
.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e4ecf3;
}

.blog-share-bar span {
    color: #556576;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-share-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f0f4f8;
    color: #344a5e;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.blog-share-bar a:hover {
    background: #007634;
    color: #fff;
    transform: translateY(-2px);
}

/* Reading progress bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #007634, #00a34a);
    z-index: 10000;
    transition: width 0.15s ease-out;
    border-radius: 0 2px 2px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .blog-post-hero {
        padding: 80px 0 50px;
    }

    .blog-article-wrapper {
        padding: 28px 20px;
        border-radius: 14px;
    }

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

    .blog-content-section {
        padding: 40px 0 60px;
    }

    .blog-author-box {
        flex-direction: column;
        text-align: center;
    }

    .blog-cta-banner {
        padding: 28px 20px;
    }
}