/* ==========================================================================
   Blog Details Page Styling
   ========================================================================== */

.blog-detail-hero {
    padding-top: 140px;
    padding-bottom: 40px;
    background: linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 767.98px) {
    .blog-detail-hero {
        padding-top: 105px;
        padding-bottom: 30px;
    }
}

.blog-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 20px;
}

.blog-breadcrumbs a {
    color: #0b324f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover {
    color: #007bff;
}

.blog-breadcrumbs .separator {
    color: #cbd5e1;
}

.blog-category-badge {
    display: inline-block;
    background-color: rgba(179, 231, 233, 0.45);
    color: #032838;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-category-badge:hover {
    background-color: #032838;
    color: #ffffff;
}

.blog-detail-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1.22;
    color: #08283e;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.blog-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 12px;
    font-size: 0.9rem;
    color: #64748b;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e2e8f0;
}

.blog-meta-item strong {
    color: #0b324f;
    font-weight: 600;
}

/* Article Container & Sticky Sidebar */
.blog-content-section {
    padding: 50px 0 80px;
    background-color: #ffffff;
}

.blog-layout-grid {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 48px;
    position: relative;
}

@media (max-width: 991.98px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.blog-share-sidebar {
    position: sticky;
    top: 110px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .blog-share-sidebar {
        position: static;
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 20px;
    }
}

.blog-share-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.blog-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-share-btn:hover {
    background-color: #01639b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 99, 155, 0.25);
}

.blog-featured-img-wrap {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 7, 45, 0.08);
}

.blog-featured-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Body Typography */
.blog-article-body {
    max-width: 860px;
    color: #2d3748;
    font-size: 1.08rem;
    line-height: 1.85;
}

.blog-lead-text {
    font-size: 1.22rem;
    line-height: 1.75;
    color: #0b324f;
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf2f7;
}

.blog-article-body h2,
.blog-article-body h3 {
    font-family: "Poppins", sans-serif;
    color: #08283e;
    margin-top: 48px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.blog-article-body h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.2px;
}

.blog-article-body h3 {
    font-size: clamp(1.35rem, 1.9vw, 1.65rem);
    font-weight: 600;
}

.blog-article-body p {
    margin-bottom: 24px;
}

/* Callout Box / Key Takeaway */
.blog-callout-card {
    background: linear-gradient(135deg, rgba(179, 231, 233, 0.25) 0%, rgba(240, 249, 255, 0.85) 100%);
    border-left: 4px solid #007bff;
    border-radius: 10px;
    padding: 26px 30px;
    margin: 36px 0;
}

.blog-callout-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b324f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-callout-card p:last-child {
    margin-bottom: 0;
}

/* Checklist List Items */
.blog-checklist {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}

.blog-checklist li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.blog-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* In-Article CTA Box */
.blog-cta-banner {
    background: linear-gradient(135deg, #07283d 0%, #0c4366 100%);
    border-radius: 16px;
    padding: 40px;
    color: #ffffff;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 16px 36px rgba(7, 40, 61, 0.15);
}

.blog-cta-content h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.blog-cta-content p {
    color: #cbd5e1;
    margin: 0;
    font-size: 1rem;
}

/* Comments Section */
.blog-comments-area {
    margin-top: 60px;
    padding-top: 45px;
    border-top: 2px solid #edf2f7;
}

.blog-comments-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #08283e;
    margin-bottom: 8px;
}

.blog-comments-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 30px;
}

.blog-comment-form .form-group {
    margin-bottom: 20px;
}

.blog-comment-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.blog-comment-form .form-control {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.blog-comment-form .form-control:focus {
    background-color: #ffffff;
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}

.blog-comment-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 0.88rem;
    color: #64748b;
}

/* Blog Article Table Styling */
.blog-table-responsive {
    overflow-x: auto;
    margin: 32px 0 36px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.blog-custom-table {
    width: 100%;
    margin-bottom: 0;
    font-size: 0.95rem;
    border-collapse: collapse;
    background: #ffffff;
}

.blog-custom-table th {
    background-color: #08283e;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.blog-custom-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #edf2f7;
    color: #475569;
    vertical-align: middle;
    font-size: 0.93rem;
    line-height: 1.55;
}

.blog-custom-table tr:last-child td {
    border-bottom: none;
}

.blog-custom-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.blog-custom-table tr:hover {
    background-color: #f1f5f9;
}

.blog-pill-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blog-pill-success {
    background: #dcfce7;
    color: #15803d;
}

.blog-pill-warning {
    background: #fef3c7;
    color: #b45309;
}

.blog-pill-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.blog-pill-info {
    background: #e0f2fe;
    color: #0369a1;
}

/* Blog Stat Highlight Grid */
.blog-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin: 32px 0 36px;
}

.blog-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(8, 40, 62, 0.08);
}

.blog-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #007bff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
    margin-bottom: 8px;
}

.blog-stat-label {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Related Articles Section */
.blog-related-section {
    padding: 80px 0;
    background-color: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
