.blog-detail-wrapper {
        --blog-primary: #204591;
        --blog-secondary: #00194C;
        --blog-accent: #00D4FF;
        --blog-text: #334770;
        --blog-heading: #00194C;
        --blog-bg-light: #F8FAFF;
        --blog-border: #E1E5EE;
    }

    /* Main Container */
    .blog-detail-wrapper {
        padding: 60px 0;
        background-color: #fbfbfd;
    }

    .blog-detail-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* ====== MAIN CONTENT AREA ====== */

    /* Hero Title Section */
    .blog-hero-title {
        margin-bottom: 40px;
    }

    .blog-hero-title h1 {
        font-family: var(--tg-heading-font-family);
        font-size: 26px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--blog-secondary);
        margin-bottom: 15px;
        text-transform: capitalize;
        text-align: left;
    }

    .blog-meta-info {
        display: flex;
        align-items: center;
        gap: 25px;
        padding-bottom: 20px;
        border-bottom: 2px solid var(--blog-border);
    }

    .blog-meta-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--tg-body-font-family);
        font-size: 14px;
        color: var(--blog-text);
    }

    .blog-meta-item i {
        color: var(--blog-primary);
        font-size: 16px;
    }

    .blog-author-name {
        font-weight: 600;
        color: var(--blog-secondary);
    }

    /* Featured Image */
    .blog-featured-image {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 25, 76, 0.15);
        margin-bottom: 33px;
    }

    /* Main Content */
    .blog-main-content {
        font-family: var(--tg-body-font-family);
        color: var(--blog-text);
        line-height: 1.8;
    }

    .blog-main-content p {
        margin-bottom: 25px;
        font-size: 16px;
        color: var(--blog-text);
        text-align: justify;
    }

    .blog-main-content h2 {
        font-family: var(--tg-heading-font-family);
        font-size: 32px;
        font-weight: 700;
        color: var(--blog-secondary);
        margin: 45px 0 20px 0;
        text-transform: capitalize;
        position: relative;
        padding-bottom: 15px;
    }

    .blog-main-content h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--blog-primary), var(--blog-accent));
        border-radius: 2px;
    }

    .blog-main-content h3 {
        font-family: var(--tg-heading-font-family);
        font-size: 24px;
        font-weight: 700;
        color: var(--blog-secondary);
        margin: 30px 0 15px 0;
        text-transform: capitalize;
    }

    .blog-main-content ul,
    .blog-main-content ol {
        margin: 20px 0 25px 25px;
    }

    .blog-main-content li {
        margin-bottom: 12px;
        color: var(--blog-text);
    }

    /* Highlight Box */
    .blog-highlight-box {
        background: linear-gradient(135deg, var(--blog-bg-light), #EEF4FF);
        border-left: 5px solid var(--blog-primary);
        padding: 25px;
        margin: 30px 0;
        border-radius: 8px;
        font-size: 16px;
        color: var(--blog-text);
        position: relative;
    }

    .blog-highlight-box::before {
        content: '💡';
        position: absolute;
        top: 15px;
        right: 25px;
        font-size: 28px;
        opacity: 0.7;
    }

    /* Quote Section */
    .blog-quote {
        border-left: 5px solid var(--blog-primary);
        padding: 30px 25px;
        margin: 40px 0;
        background-color: #F8FAFF;
        font-style: italic;
        color: var(--blog-secondary);
        font-size: 18px;
        line-height: 1.8;
        font-family: var(--tg-heading-font-family);
    }

    /* Code Block */
    .blog-code-block {
        background: #1E1E1E;
        color: #D4D4D4;
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
        margin: 25px 0;
        font-family: 'Monaco', 'Courier New', monospace;
        font-size: 14px;
    }

    /* Image in Content */
    .blog-content-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 30px 0;
        box-shadow: 0 5px 20px rgba(0, 25, 76, 0.1);
    }

    /* ====== SIDEBAR STYLES ====== */

    .blog-sidebar {
        position: relative;
    }

    .blog-sidebar-sticky {
        position: sticky;
        top: 30px;
        transition: all 0.3s ease;
    }

    /* Table of Contents Widget */
    .blog-widget {
        background: white;
        border-radius: 12px;
        padding: 30px;
        margin-bottom: 30px;
        box-shadow: 0 5px 20px rgba(0, 25, 76, 0.08);
        border-top: 4px solid var(--blog-primary);
    }

    .blog-widget-title {
        font-family: var(--tg-heading-font-family);
        font-size: 18px;
        font-weight: 700;
        color: var(--blog-secondary);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-transform: capitalize;
    }

    .blog-widget-title i {
        color: var(--blog-primary);
        font-size: 20px;
    }

    /* TOC List */
    .blog-toc-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .blog-toc-list li {
        margin-bottom: 0;
        padding: 0;
    }

    .blog-toc-list a {
        display: block;
        padding: 10px 15px;
        color: var(--blog-text);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        position: relative;
    }

    .blog-toc-list a:hover {
        background-color: var(--blog-bg-light);
        border-left-color: var(--blog-primary);
        padding-left: 20px;
        color: var(--blog-primary);
    }

    .blog-toc-list a.active {
        background-color: var(--blog-bg-light);
        border-left-color: var(--blog-primary);
        color: var(--blog-primary);
        font-weight: 600;
    }

    /* Recent Posts Widget */
    .blog-recent-post-item {
        display: flex;
        gap: 15px;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--blog-border);
        transition: all 0.3s ease;
    }

    .blog-recent-post-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .blog-recent-post-item:hover {
        transform: translateX(5px);
    }

    .blog-recent-post-thumb {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .blog-recent-post-content h4 {
        font-family: var(--tg-heading-font-family);
        font-size: 14px;
        font-weight: 600;
        color: var(--blog-secondary);
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .blog-recent-post-content a {
        color: var(--blog-secondary);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .blog-recent-post-content a:hover {
        color: var(--blog-primary);
    }

    .blog-recent-post-date {
        font-size: 12px;
        color: var(--blog-text);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .blog-recent-post-date i {
        color: var(--blog-primary);
    }

    /* Tags Widget */
    .blog-tags-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .blog-tags-list li {
        margin: 0;
    }

    .blog-tag {
        display: inline-block;
        background-color: var(--blog-bg-light);
        color: var(--blog-primary);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        border: 1px solid var(--blog-border);
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .blog-tag:hover {
        background-color: var(--blog-primary);
        color: white;
        border-color: var(--blog-primary);
        transform: translateY(-2px);
    }

/* ====== RESPONSIVE - MOBILE OPTIMIZATION ====== */

@media (max-width: 768px) {
    .blog-form-section {
        padding: 20px 0;
    }

    .blog-form-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .blog-form-title {
        font-size: 22px;
    }

    .blog-form-subtitle {
        font-size: 12px;
    }

    .blog-form-control {
        font-size: 12px;
        padding: 7px 10px;
    }

    textarea.blog-form-control {
        min-height: 50px;
    }
}

@media (max-width: 576px) {
    .blog-form-section {
        padding: 15px 0;
    }

    .blog-form-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .blog-form-subtitle {
        font-size: 11px;
        margin-bottom: 15px;
    }

    .blog-form-control {
        font-size: 12px;
        height: 32px;
    }

    .blog-form-btn {
        font-size: 13px;
        height: 32px;
        padding: 7px 15px;
    }

    .blog-form-group {
        margin-bottom: 10px;
    }
}

    /* ====== RESPONSIVE ====== */

    @media (max-width: 768px) {
        .blog-form-section {
            padding: 40px 0;
            /* Reduced for mobile */
        }

        .blog-form-title {
            font-size: 28px;
        }

        .blog-form-subtitle {
            font-size: 14px;
        }

        textarea.blog-form-control {
            min-height: 80px;
        }
    }

    @media (max-width: 576px) {
        .blog-form-section {
            padding: 30px 0;
        }

        .blog-form-title {
            font-size: 24px;
        }

        .blog-form-overlay {
            background: rgba(0, 25, 76, 0.90);
        }
    }

    /* ====== RESPONSIVE ====== */

    @media (max-width: 768px) {
        .blog-detail-wrapper {
            padding: 40px 0;
        }

        .blog-hero-title h1 {
            font-size: 32px;
        }

        .blog-featured-image {
            height: 250px;
        }

        .blog-main-content h2 {
            font-size: 24px;
        }

        .blog-main-content h3 {
            font-size: 18px;
        }

        .blog-sidebar-sticky {
            position: relative;
            top: auto;
        }

        .blog-widget {
            margin-bottom: 25px;
        }

        .blog-meta-info {
            flex-wrap: wrap;
            gap: 15px;
        }

        .blog-form-title {
            font-size: 28px;
        }
    }

    @media (max-width: 576px) {
        .blog-hero-title h1 {
            font-size: 24px;
        }

        .blog-featured-image {
            height: 200px;
        }

        .blog-detail-container {
            padding: 0 15px;
        }

        .blog-main-content h2 {
            font-size: 20px;
        }

        .blog-main-content p {
            font-size: 14px;
        }
    }

    /* ====== DUAL SECTION: NEWSLETTER + QUICK CONTACT ====== */

.dual-section-wrapper {
        padding: 25px 0;
    background: linear-gradient(135deg, #F8FAFF 0%, #FFFFFF 100%);
    margin: 0px 0;
    border-top: 1px solid #E1E5EE;
    border-bottom: 1px solid #E1E5EE;
}

.dual-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== NEWSLETTER BOX (LEFT) ====== */

.newsletter-box {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, #051432 0%, #006aa8 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.newsletter-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.newsletter-title {
    font-family: var(--tg-heading-font-family);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: capitalize;
    color: white;
}

.newsletter-subtitle {
    font-family: var(--tg-body-font-family);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 25px;
    font-family: var(--tg-body-font-family);
    font-size: 14px;
    background: white;
    color: #333;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #B0B8CC;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    padding: 12px 28px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 25px;
    font-family: var(--tg-body-font-family);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: white;
    color: var(--tg-blue);
    transform: translateY(-2px);
}

/* Newsletter Illustration */
.newsletter-illustration {
    flex: 0 0 140px;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.newsletter-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ====== QUICK CONTACT BOX (RIGHT) ====== */

.quick-contact-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 25, 76, 0.1);
    border-left: 4px solid #204591;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quick-contact-title {
    font-family: var(--tg-heading-font-family);
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-secondary-color);
    margin-bottom: 20px;
    text-transform: capitalize;
}

.quick-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.quick-form-group {
    display: flex;
    flex-direction: column;
}

.quick-form-input,
.quick-form-textarea {
    font-family: var(--tg-body-font-family);
    font-size: 13px;
    padding: 10px 14px;
    border: 1.5px solid #E1E5EE;
    border-radius: 6px;
    color: #333;
    background: white;
    transition: all 0.3s ease;
}

.quick-form-input::placeholder,
.quick-form-textarea::placeholder {
    color: #B0B8CC;
}

.quick-form-input:focus,
.quick-form-textarea:focus {
    outline: none;
    border-color: var(--tg-blue);
    box-shadow: 0 0 0 3px rgba(0, 73, 220, 0.1);
}

.quick-form-textarea {
    resize: vertical;
    min-height: 70px;
    max-height: 100px;
}

.quick-submit-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #051432 0%, #006aa8 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: var(--tg-body-font-family);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.quick-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 73, 220, 0.3);
}

.quick-submit-btn:active {
    transform: translateY(0);
}

/* ====== RESPONSIVE DESIGN ====== */

@media (max-width: 1024px) {
    .newsletter-box {
        padding: 30px;
        gap: 20px;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .newsletter-subtitle {
        font-size: 13px;
    }

    .newsletter-illustration {
        flex: 0 0 120px;
    }
}

@media (max-width: 768px) {
    .dual-section-wrapper {
        padding: 40px 0;
        margin: 40px 0;
    }

    .dual-section-container {
        padding: 0 15px;
    }

    .row {
        gap: 20px;
    }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .newsletter-content {
        width: 100%;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .newsletter-illustration {
        flex: 0 0 100px;
    }

    .quick-contact-box {
        border-left: 4px solid var(--tg-blue);
    }

    .newsletter-title {
        font-size: 18px;
    }

    .quick-contact-title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .dual-section-wrapper {
        padding: 30px 0;
    }

    .newsletter-box {
        padding: 20px;
    }

    .newsletter-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .newsletter-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .newsletter-input {
        padding: 10px 14px;
        font-size: 12px;
    }

    .newsletter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .quick-contact-box {
        padding: 20px;
    }

    .quick-contact-title {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .quick-form-input,
    .quick-form-textarea {
        padding: 9px 12px;
        font-size: 12px;
    }

    .quick-form-textarea {
        min-height: 60px;
    }

    .quick-submit-btn {
        padding: 9px 16px;
        font-size: 12px;
    }

    .newsletter-illustration {
        flex: 0 0 80px;
    }
}
.simple-bullets {
    list-style: none;
    padding-left: 0;
}

.simple-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.simple-bullets li::before {
    content: "•"; /* simple dot */
    position: absolute;
    left: 0;
    color: #199e82; /* your theme color */
    font-size: 18px;
    line-height: 1;
}
.blog-detail-wrapper .risk-table-wrapper {
    width: 100%;
    overflow: hidden; /* IMPORTANT */
    border-radius: 12px;
    border: 1px solid var(--blog-border);
}

.blog-detail-wrapper .risk-table {
    width: 100%;
   border-collapse: separate; 
    border-spacing: 0;
    font-size: 15px;
    color: var(--blog-text);
}

.blog-detail-wrapper .risk-table thead tr {
    background: var(--blog-secondary);
}

.blog-detail-wrapper .risk-table thead th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.blog-detail-wrapper .risk-table thead th:last-child {
    text-align: center;
}

.blog-detail-wrapper .risk-table tbody tr {
    border-bottom: 1px solid var(--blog-border);
    transition: background 0.15s ease;
}

.blog-detail-wrapper .risk-table tbody tr:last-child {
    border-bottom: none;
}

.blog-detail-wrapper .risk-table tbody tr:nth-child(even) {
    background: var(--blog-bg-light);
}

.blog-detail-wrapper .risk-table tbody tr:hover {
    background: #eef2ff;
}

.blog-detail-wrapper .risk-table td {
    padding: 14px 20px;
    vertical-align: top;
    line-height: 1.6;
}

.blog-detail-wrapper .risk-table td:last-child {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.blog-detail-wrapper .feature-name {
    font-weight: 600;
    color: var(--blog-heading);
    width: 28%;
}

.blog-detail-wrapper .reasoning {
    color: var(--blog-text);
    font-size: 14px;
    width: 52%;
}

.blog-detail-wrapper .risk-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.blog-detail-wrapper .risk-very-high {
    background: var(--blog-secondary);
    color: #ffffff;
}

.blog-detail-wrapper .risk-high {
    background: var(--blog-bg-light);
    color: var(--blog-primary);
    border: 1.5px solid var(--blog-primary);
}

.blog-detail-wrapper .risk-medium {
    background: #fff8ec;
    color: #b45309;
    border: 1.5px solid #f5c26b;
}

@media (max-width: 640px) {
    .blog-detail-wrapper .risk-table thead th,
    .blog-detail-wrapper .risk-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .blog-detail-wrapper .feature-name {
        width: auto;
    }
}

.blog-detail-wrapper .risk-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--blog-border);
}

.blog-detail-wrapper .risk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: var(--blog-text);
}

.blog-detail-wrapper .risk-table thead tr {
    background: var(--blog-secondary);
}

.blog-detail-wrapper .risk-table thead th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.blog-detail-wrapper .risk-table thead th:last-child {
    text-align: center;
}

.blog-detail-wrapper .risk-table tbody tr {
    border-bottom: 1px solid var(--blog-border);
    transition: background 0.15s ease;
}

.blog-detail-wrapper .risk-table tbody tr:last-child {
    border-bottom: none;
}

.blog-detail-wrapper .risk-table tbody tr:nth-child(even) {
    background: var(--blog-bg-light);
}

.blog-detail-wrapper .risk-table tbody tr:hover {
    background: #eef2ff;
}

.blog-detail-wrapper .risk-table td {
    padding: 14px 20px;
    vertical-align: top;
    line-height: 1.6;
}

.blog-detail-wrapper .risk-table td:last-child {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.blog-detail-wrapper .feature-name {
    font-weight: 600;
    color: var(--blog-heading);
    width: 28%;
}

.blog-detail-wrapper .reasoning {
    color: var(--blog-text);
    font-size: 14px;
    width: 52%;
}

.blog-detail-wrapper .risk-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.blog-detail-wrapper .risk-very-high {
    background: var(--blog-secondary);
    color: #ffffff;
}

.blog-detail-wrapper .risk-high {
    background: var(--blog-bg-light);
    color: var(--blog-primary);
    border: 1.5px solid var(--blog-primary);
}

.blog-detail-wrapper .risk-medium {
    background: #fff8ec;
    color: #b45309;
    border: 1.5px solid #f5c26b;
}

@media (max-width: 640px) {
    .blog-detail-wrapper .risk-table thead th,
    .blog-detail-wrapper .risk-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .blog-detail-wrapper .feature-name {
        width: auto;
    }
}
.blog-detail-wrapper .blog-content h1,
.blog-detail-wrapper .blog-content h2,
.blog-detail-wrapper .blog-content h3,
.blog-detail-wrapper .blog-content h4 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.blog-detail-wrapper .blog-content ul {
    margin-bottom: 16px;
    padding-left: 0;
}

.blog-detail-wrapper .blog-content li {
    margin-bottom: 8px;
}

.blog-detail-wrapper .blog-content table {
    margin: 20px 0;
}
.blog-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
}