:root {
        --primary-color: #00579e;
        --primary-hover: #00447c;
        --text-dark: #0f172a;
        --text-body: #334155;
        --text-light: #64748b;
        --bg-light: #f8fafc;
        --bg-white: #ffffff;
        --border-color: #e2e8f0;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
        --radius-sm: 6px;
        --radius-md: 10px;
        --radius-lg: 14px;
        --transition: all 0.25s ease;
    }

    /* Breadcrumb / Back Bar */
    .blog-breadcrumb-bar {
        background: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 0;
    }
    .blog-back-btn {
        color: var(--text-light);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
    }
    .blog-back-btn:hover {
        color: var(--primary-color);
        transform: translateX(-2px);
    }

    /* Container Spacing */
    .blog-detail-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    /* Single Post Article */
    .single-post {
        margin: 0;
        padding: 0;
        background: transparent;
    }
    .single-post-header {
        margin-bottom: 28px;
    }
    .single-post-category {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(0, 87, 158, 0.08);
        color: var(--primary-color);
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 18px;
    }
    .single-post-title {
        font-size: 38px;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 18px;
        line-height: 1.25;
    }
    .single-post-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
        color: var(--text-light);
        font-size: 14px;
    }
    .single-post-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    /* Featured Image */
    .single-post-image {
        width: 100%;
        max-height: 440px;
        border-radius: var(--radius-lg);
        overflow: hidden;
        margin-bottom: 36px;
        background: #f1f5f9;
        box-shadow: var(--shadow-sm);
    }
    .single-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Post Content Typography */
    .single-post-content {
        font-size: 16.5px;
        line-height: 1.85;
        color: var(--text-body);
    }
    .single-post-content p {
        margin-bottom: 22px;
    }
    .single-post-content h1,
    .single-post-content h2,
    .single-post-content h3,
    .single-post-content h4 {
        color: var(--text-dark);
        font-weight: 700;
        margin-top: 38px;
        margin-bottom: 16px;
        scroll-margin-top: 100px;
    }
    .single-post-content h2 { font-size: 26px; }
    .single-post-content h3 { font-size: 21px; }
    .single-post-content h4 { font-size: 18px; }

    /* Blue Bullet Points matching design */
    .single-post-content ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 24px;
    }
    .single-post-content ul li {
        position: relative;
        padding-left: 22px;
        margin-bottom: 12px;
    }
    .single-post-content ul li::before {
        content: "•";
        position: absolute;
        left: 4px;
        top: -2px;
        color: var(--primary-color);
        font-size: 22px;
        line-height: 1;
    }
    .single-post-content ol {
        padding-left: 24px;
        margin-bottom: 24px;
    }
    .single-post-content ol li {
        margin-bottom: 10px;
    }

    /* Responsive Tables */
    .single-post-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 28px 0;
        font-size: 13.5px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        overflow: hidden;
    }
    .single-post-content table th {
        background: #eef4fc;
        color: #1e3a5f;
        font-weight: 700;
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        text-align: left;
    }
    .single-post-content table td {
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        color: var(--text-body);
        vertical-align: top;
    }
    .single-post-content table tr:nth-child(even) td {
        background: #f8fafc;
    }
    .single-post-content img {
        display: block;
        margin: 28px auto;
        max-width: 100%;
        height: auto;
        border-radius: var(--radius-md);
    }

    /* Tags */
    .post-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 40px 0;
        padding: 24px 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    .post-tag {
        padding: 7px 16px;
        background: var(--bg-light);
        border-radius: 20px;
        font-size: 13px;
        color: var(--text-light);
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
    }
    .post-tag:hover {
        background: var(--primary-color);
        color: white;
    }

    /* Share Buttons */
    .share-buttons {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 40px;
    }
    .share-label {
        font-weight: 700;
        font-size: 14px;
        color: var(--text-dark);
    }
    .share-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: var(--transition);
        font-size: 14px;
    }
    .share-btn:hover {
        transform: translateY(-3px);
        color: white;
    }
    .share-btn.facebook { background: #1877f2; }
    .share-btn.twitter  { background: #1da1f2; }
    .share-btn.linkedin { background: #0077b5; }
    .share-btn.whatsapp { background: #25d366; }

    /* ── Sticky Sidebar ────────────────────────────────────────── */
    .blog-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 90px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .sidebar-box {
        background: var(--bg-white);
        border: 1px solid #eef2f6;
        border-radius: 12px;
        padding: 24px 20px;
        box-shadow: var(--shadow-sm);
    }
    .sidebar-box-title {
        font-size: 18px;
        font-weight: 800;
        color: var(--text-dark);
        margin: 0 0 16px 0;
        letter-spacing: -0.2px;
    }

    /* Table of Contents */
    .toc-list {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .toc-link {
        display: block;
        padding: 7px 12px;
        color: #475569;
        font-size: 14px;
        line-height: 1.45;
        text-decoration: none;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
        border-radius: 0 4px 4px 0;
    }
    .toc-link:hover {
        color: var(--primary-color);
        background: rgba(0, 87, 158, 0.04);
    }
    .toc-link.active {
        color: var(--primary-color);
        font-weight: 700;
        border-left-color: var(--primary-color);
        background: rgba(0, 87, 158, 0.05);
    }
    .toc-link.toc-sub {
        padding-left: 24px;
        font-size: 13px;
        color: #64748b;
    }

    /* CTA Box */
    .sidebar-box.cta-box {
        background: #084285;
        background: linear-gradient(145deg, #05336b 0%, #00579e 100%);
        border: none;
        border-radius: 10px;
        padding: 26px 22px;
        color: #ffffff;
        box-shadow: 0 6px 18px rgba(0, 87, 158, 0.18);
        position: relative;
        overflow: hidden;
    }
    .sidebar-box.cta-box::after {
        content: "";
        position: absolute;
        right: -25px;
        bottom: -35px;
        width: 140px;
        height: 140px;
        background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .cta-box-title {
        color: #ffffff;
        font-size: 17.5px;
        font-weight: 700;
        line-height: 1.35;
        margin: 0 0 10px 0;
    }
    .cta-box-text {
        color: rgba(255, 255, 255, 0.88);
        font-size: 13.5px;
        line-height: 1.5;
        margin: 0 0 20px 0;
    }
    .cta-box-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #ffffff;
        color: #084285;
        font-size: 13px;
        font-weight: 700;
        padding: 9px 18px;
        border-radius: 6px;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    .cta-box-btn:hover {
        background: #f0f7ff;
        color: #003e7a;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* Related Articles in Sidebar */
    .related-sidebar-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .related-sidebar-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        text-decoration: none;
        padding-bottom: 16px;
        border-bottom: 1px solid #f1f5f9;
        transition: transform 0.2s ease;
    }
    .related-sidebar-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
    .related-sidebar-thumb {
        width: 70px;
        height: 58px;
        flex-shrink: 0;
        border-radius: 6px;
        overflow: hidden;
        background: #f1f5f9;
    }
    .related-sidebar-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }
    .related-sidebar-item:hover .related-sidebar-thumb img {
        transform: scale(1.06);
    }
    .related-sidebar-info {
        flex: 1;
        min-width: 0;
    }
    .related-sidebar-title {
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.35;
        color: #1e293b;
        margin: 0 0 4px 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.2s ease;
    }
    .related-sidebar-item:hover .related-sidebar-title {
        color: var(--primary-color);
    }
    .related-sidebar-meta {
        font-size: 11.5px;
        color: #94a3b8;
        display: block;
    }

    @media (max-width: 991px) {
        .single-post-title { font-size: 28px; }
        .single-post-image { max-height: 280px; }
        .blog-sidebar { position: static; margin-top: 32px; }
    }
