/* ===== Blog Article — default (dark mode) ===== */
.blog-single {
    padding: 50px 0;
}
.blog-single .blog-post-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #eef2ff;
}
.blog-single .blog-post-meta {
    font-size: 0.85rem;
    opacity: 0.6;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #ccd6f6;
}
.blog-single .blog-post-content {
    line-height: 1.8;
    color: #c8d1e8;
}
.blog-single .blog-post-content h2 {
    font-size: 1.3rem;
    margin-top: 2.2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    line-height: 1.4;
    color: #eef2ff;
}
.blog-single .blog-post-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #dde4f5;
}
.blog-single .blog-post-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.blog-single .blog-post-content ul,
.blog-single .blog-post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.blog-single .blog-post-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.blog-single .blog-post-content strong {
    font-weight: 600;
    color: #eef2ff;
}

/* Table — dark mode */
.blog-single .blog-post-content .table-responsive {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.blog-single .blog-post-content .table {
    margin-bottom: 0;
    font-size: 0.88rem;
    color: #c8d1e8;
    background: rgba(255,255,255,0.04);
}
.blog-single .blog-post-content .table th {
    font-size: 0.85rem;
    padding: 10px 12px;
    white-space: nowrap;
    background: rgba(93,80,240,0.3);
    color: #fff;
    border-color: rgba(255,255,255,0.1);
}
.blog-single .blog-post-content .table td {
    padding: 8px 12px;
    vertical-align: middle;
    border-color: rgba(255,255,255,0.06);
}
.blog-single .blog-post-content .table-striped tbody tr:nth-of-type(odd) {
    background: rgba(255,255,255,0.03);
}
.blog-single .blog-post-content .table-striped tbody tr:nth-of-type(even) {
    background: rgba(255,255,255,0.06);
}
.blog-single .blog-post-content .table-bordered {
    border-color: rgba(255,255,255,0.08);
}
.blog-single .blog-post-content .table-bordered td,
.blog-single .blog-post-content .table-bordered th {
    border-color: rgba(255,255,255,0.08);
}

.blog-single .blog-post-content em {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* CTA button */
.blog-single .btn-primary {
    background: #5d50f0;
    border-color: #5d50f0;
}
.blog-single .btn-primary:hover {
    background: #7b6ff7;
    border-color: #7b6ff7;
}

/* ===== Light mode ===== */
html[data-theme="light"] .blog-single .blog-post-title {
    color: #1a1a2e;
}
html[data-theme="light"] .blog-single .blog-post-meta {
    color: #555;
}
html[data-theme="light"] .blog-single .blog-post-content {
    color: #444;
}
html[data-theme="light"] .blog-single .blog-post-content h2 {
    color: #1a1a2e;
    border-bottom-color: rgba(0,0,0,0.1);
}
html[data-theme="light"] .blog-single .blog-post-content h3 {
    color: #2a2a4a;
}
html[data-theme="light"] .blog-single .blog-post-content strong {
    color: #1a1a2e;
}
html[data-theme="light"] .blog-single .blog-post-content .table-responsive {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
html[data-theme="light"] .blog-single .blog-post-content .table {
    color: #333;
    background: #fff;
}
html[data-theme="light"] .blog-single .blog-post-content .table th {
    background: #3454a4;
    color: #fff;
    border-color: #2a4590;
}
html[data-theme="light"] .blog-single .blog-post-content .table td {
    border-color: #e2e8f0;
}
html[data-theme="light"] .blog-single .blog-post-content .table-striped tbody tr:nth-of-type(odd) {
    background: #f8fafc;
}
html[data-theme="light"] .blog-single .blog-post-content .table-striped tbody tr:nth-of-type(even) {
    background: #fff;
}
html[data-theme="light"] .blog-single .blog-post-content .table-bordered {
    border-color: #e2e8f0;
}
html[data-theme="light"] .blog-single .blog-post-content .table-bordered td,
html[data-theme="light"] .blog-single .blog-post-content .table-bordered th {
    border-color: #e2e8f0;
}
html[data-theme="light"] .blog-single .btn-primary {
    background: #3454a4;
    border-color: #3454a4;
}
html[data-theme="light"] .blog-single .btn-primary:hover {
    background: #2a4590;
    border-color: #2a4590;
}

/* Inner banner / breadcrumb area */
.blog-single .inner-banner,
.inner-banner.blog-banner {
    padding: 30px 0;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .blog-single .blog-post-title {
        font-size: 1.4rem;
    }
    .blog-single .blog-post-content h2 {
        font-size: 1.15rem;
    }
    .blog-single .blog-post-content p,
    .blog-single .blog-post-content li {
        font-size: 0.9rem;
    }
    .blog-single .blog-post-content .table {
        font-size: 0.8rem;
    }
    .blog-single .blog-post-content .table th,
    .blog-single .blog-post-content .table td {
        padding: 6px 8px;
    }
}
