/* BUZ YAZILIM — Blog Detail Page Styles */

/* ===== Blog Content Typography ===== */
.blog-content__text { font-size: 15px; color: var(--color-texts, #475569); }
.blog-content__text h2 { font-size: 1.35rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--color-headings, #1e293b); }
.blog-content__text h3 { font-size: 1.15rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.6rem; color: var(--color-headings, #1e293b); }
.blog-content__text h4 { font-size: 1.05rem; font-weight: 600; margin-top: 1.25rem; margin-bottom: 0.5rem; color: var(--color-headings, #1e293b); }
.blog-content__text p { margin-bottom: 1rem; line-height: 1.85; }
.blog-content__text ul, .blog-content__text ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.blog-content__text li { margin-bottom: 0.4rem; line-height: 1.75; }
.blog-content__text blockquote { border-left: 4px solid #6366f1; padding: 1rem 1.5rem; margin: 1.5rem 0; background: rgba(99,102,241,0.04); border-radius: 4px; }
.blog-content__text blockquote p { margin-bottom: 0; }
.blog-content__text table { width: 100%; margin-bottom: 1.5rem; border-collapse: collapse; font-size: 14px; }
.blog-content__text table th, .blog-content__text table td { padding: 0.6rem 0.8rem; border: 1px solid #dee2e6; text-align: left; }
.blog-content__text table th { background: #f1f3f5; font-weight: 600; }
.blog-content__text table tr:nth-child(even) { background: #f8f9fa; }
.blog-content__text code { background: #f1f3f5; padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.88em; }
.blog-content__text pre { background: #1e293b; color: #e2e8f0; padding: 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; overflow-x: auto; font-size: 13px; }
.blog-content__text pre code { background: none; padding: 0; color: inherit; }

/* ===== Blog Title & Meta ===== */
.blog-title__heading {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-headings, #1e293b);
    margin-bottom: 20px;
}
.blog__metainfo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--color-texts, #64748b);
}
.blog__metainfo span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-right: 1px solid var(--border-color, #e2e8f0);
    line-height: 1;
}
.blog__metainfo span:first-child { padding-left: 0; }
.blog__metainfo span:last-child { border-right: none; }
.blog__metainfo span i {
    font-size: 13px;
    color: #6366f1;
}
.blog__metainfo span.blog__metainfo__category {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-right: none;
    margin-right: 6px;
}
.blog__metainfo span.blog__metainfo__category i { color: #fff; }

/* ===== Featured Image ===== */
.blog-content__img {
    border-radius: 12px;
    overflow: hidden;
}
.blog-content__img img {
    border-radius: 12px;
}

/* ===== Tags ===== */
.post-tags .badge {
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}
.post-tags .badge:hover {
    background: #6366f1 !important;
    color: #fff !important;
    border-color: #6366f1 !important;
}

/* ===== Prev/Next ===== */
.next-prev-btn .btn-link {
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.next-prev-btn .btn-link:hover { gap: 10px; }

/* ===== Sidebar ===== */
.buz-sidebar-widget {
    background: var(--bg, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.buz-sidebar-widget__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-headings, #1e293b);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #6366f1;
    display: inline-block;
}
.buz-sidebar-widget__post {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
}
.buz-sidebar-widget__post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.buz-sidebar-widget__post a {
    text-decoration: none;
    display: block;
}
.buz-sidebar-widget__post-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-headings, #1e293b);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
}
.buz-sidebar-widget__post a:hover .buz-sidebar-widget__post-title {
    color: #6366f1;
}
.buz-sidebar-widget__post-date {
    display: block;
    font-size: 12px;
    color: var(--color-texts, #94a3b8);
}
.buz-sidebar-widget__post-date i {
    margin-right: 4px;
    font-size: 11px;
    color: #6366f1;
}

/* Category list */
.buz-sidebar-widget__cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.buz-sidebar-widget__cat-list li {
    margin-bottom: 8px;
}
.buz-sidebar-widget__cat-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-headings, #1e293b);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.buz-sidebar-widget__cat-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
    flex-shrink: 0;
}
.buz-sidebar-widget__cat-list a:hover {
    background: rgba(99,102,241,0.06);
    color: #6366f1;
}

/* CTA Widget */
.buz-sidebar-cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}
.buz-sidebar-cta::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.buz-sidebar-cta h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.buz-sidebar-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.buz-sidebar-cta .btn {
    background: #fff;
    color: #6366f1;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    transition: all 0.3s;
}
.buz-sidebar-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #4f46e5;
}

@media (max-width: 991px) {
    .blog-title__heading { font-size: 24px; }
}
@media (max-width: 575px) {
    .blog-title__heading { font-size: 22px; }
    .blog-content__text { font-size: 14px; }
    .blog__metainfo span { font-size: 12px; padding: 0 10px; }
}
