:root {
    --accent: #1063ac;
    --accent-light: #16a5d5;
    --accent-soft: rgba(16, 99, 172, 0.05);
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-soft: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --container-width: 1200px;
    --content-width: 800px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* ── Breadcrumbs ─────────────────────────────────── */
.page-breadcrumbs {
    padding: 5px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--text-body);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--accent);
}

.breadcrumb-nav .sep {
    color: var(--border-soft);
}

/* ── Blog Hero Section ────────────────────────────── */
.blog-hero {
    padding: 20px 0 40px !important;
    background: #fff;
    text-align: center;
}

.blog-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.blog-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 10px;
    text-align: left;
}

.blog-meta-top {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.blog-meta-top span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta-top svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* ── Banner Image ────────────────────────────────── */
.blog-banner-wrap {
    margin-top: 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 21 / 9;
}

.blog-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Main Layout (Content + Sidebar) ──────────────── */
.blog-detail-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    padding: 60px 0 100px;
}


.blog-content-body li{margin-left: 10px}

.blog-content-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.blog-content-body h2 {
    font-size: 1.5rem;
    color: var(--text-heading);
    font-weight: 700;
}

.blog-content-body h3 {
    font-size: 1.5rem;
    color: var(--text-heading);
    margin: 30px 0 15px;
    font-weight: 700;
}

.blog-content-body p {
    margin-bottom: 12px;
    font-size: 15px;
}

.blog-content-body li {
    font-size: 15px;
}

.blog-content-body ul, .blog-content-body ol {
    padding-left: 20px;list-style: disc; margin: 10px 0 ;
}


.blog-content-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 30px;
    background: var(--bg-body);
    font-style: italic;
    font-size: 1.25rem;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
}

/* ── Author Box ──────────────────────────────────── */
.author-box {
    margin-top: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.author-details h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.author-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ── Sidebar ─────────────────────────────────────── */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-soft);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent);
}

/* Recent Posts widget */
.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}

.recent-post-info h5 a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color 0.2s;
}

.recent-post-info h5 a:hover {
    color: var(--accent);
}

.recent-post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Categories widget */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.category-list a:hover {
    color: var(--accent);
}

/* Share widget */
.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    color: var(--text-body);
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* ── Animations ──────────────────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
    .blog-detail-container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 0;
    }
    
    .blog-hero h1 {
        font-size: 1rem;
    }
    
    .blog-meta-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}
