.blog-detail-section {
    padding: 160px 0 0;
    background-color: var(--bg-color);
}

body.admin-mode .blog-detail-section {
    padding-top: 210px;
}

@media (max-width: 900px) {
    .blog-detail-section {
        padding-top: 90px;
    }

    body.admin-mode .blog-detail-section {
        padding-top: 130px;
    }
}

.blog-detail-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.blog-detail-wrapper.no-sidebar {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
}

.blog-detail-wrapper.no-sidebar .blog-content-column {
    width: 100%;
}

/* Sidebar - Premium Bold Dark */
.blog-sidebar {
    position: sticky;
    top: 50px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--component-radius);
    padding: 2.5rem 1.75rem;
    color: #fff;
    box-shadow: var(--component-shadow);
}

.sidebar-block {
    margin-bottom: 2.5rem;
}

.sidebar-block:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    /* Başlıklar beyaz yapıldı */
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-list a {
    color: #fff;
    /* Kategori linkleri beyaz yapıldı */
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-list a:hover {
    opacity: 0.8;
    /* Hareket efekti kaldırıldı, hafif opaklık eklendi */
}

.sidebar-list a i {
    font-size: 0.6rem;
    color: #fff;
    /* İkonlar beyaz yapıldı */
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.blog-back-link:hover {
    color: #fff;
    /* Hover rengi beyaz bırakıldı */
    transform: none;
    /* Hareket kaldırıldı */
}

.social-share {
    display: flex;
    gap: 0.65rem;
}

.share-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Main Post Card - Refined Light */
.blog-main-card {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.meta-badge {
    padding: 0.4rem 0.85rem;
    background: #f8f8f8;
    color: #666;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #eee;
}

.date-badge {
    background: #fff;
    color: var(--primary-color);
    border-color: rgba(0, 0, 0, 0.05);
}

.category-badge {
    background: rgba(var(--primary-rgb, 32, 32, 32), 0.05);
    color: var(--primary-color);
    border-color: transparent;
}

.blog-post-title {
    font-size: 2.75rem;
    /* Reduced from 4rem */
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #000;
    margin-bottom: 0.75rem;
}

.blog-post-featured-image {
    width: calc(100% + 10rem);
    margin-left: -5rem;
    margin-right: -5rem;
    margin-bottom: 2rem;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    display: block;
}

/* Content Typography - Standardized */
.blog-post-content.content-editorial {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-post-content.content-editorial strong,
.blog-post-content.content-editorial b {
    color: #000;
}

.blog-post-content.content-editorial * {
    max-width: 100% !important;
}

.blog-post-content.content-editorial p {
    margin-bottom: 1.25rem;
}

/* Editor Font Sizes (fontSize 1-7) */
.blog-post-content.content-editorial font[size="1"] {
    font-size: 0.75rem;
}

.blog-post-content.content-editorial font[size="2"] {
    font-size: 0.875rem;
}

.blog-post-content.content-editorial font[size="3"] {
    font-size: 1rem;
}

.blog-post-content.content-editorial font[size="4"] {
    font-size: 1.15rem;
}

.blog-post-content.content-editorial font[size="5"] {
    font-size: 1.4rem;
}

.blog-post-content.content-editorial font[size="6"] {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
}

.blog-post-content.content-editorial font[size="7"] {
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Fix for div-based lines created by editor */
.blog-post-content.content-editorial div {
    line-height: inherit;
}

/* Allow top-level divs to have paragraph spacing like <p> tags */
.blog-post-content.content-editorial>div {
    margin-bottom: 1.25rem;
}

/* Remove margin for empty divs created by the editor to prevent extra spacing */
.blog-post-content.content-editorial>div:empty,
.blog-post-content.content-editorial>div:has(> br:only-child) {
    margin-bottom: 0 !important;
}

.blog-post-content.content-editorial>*:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .blog-post-content.content-editorial font[size="7"] {
        font-size: 2rem;
        line-height: 1;
    }

    .blog-post-content.content-editorial font[size="6"] {
        font-size: 1.7rem;
        line-height: 1;
    }
}

.blog-post-content.content-editorial img {
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    display: inline-block;
    /* Inline-block allows text-align: center on parent to work */
}

/* Ensure images in centered paragraphs/divs behave correctly */
.blog-post-content.content-editorial *[style*="text-align: center"] img,
.blog-post-content.content-editorial *[style*="text-align:center"] img {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-content.content-editorial div[style*="text-align: center"],
.blog-post-content.content-editorial div[style*="text-align:center"],
.blog-post-content.content-editorial p[style*="text-align: center"],
.blog-post-content.content-editorial p[style*="text-align:center"] {
    display: block;
    width: 100%;
}

.blog-post-content.content-editorial h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #000;
    margin: 3.5rem 0 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.blog-post-content.content-editorial h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin: 1rem 0 1rem;
    line-height: 1.1;
}

.blog-post-content.content-editorial strong {
    color: #000;
    font-weight: 700;
}

.blog-post-content.content-editorial blockquote {
    border-left: 3px solid #000;
    padding: 1.25rem 2.5rem;
    font-size: 1.35rem;
    /* Reduced from 1.6rem */
    font-weight: 400;
    font-style: italic;
    color: #000;
    line-height: 1.5;
    background: #f9f9f9;
    border-radius: 0 6px 6px 0;
}

.blog-post-content.content-editorial ul,
.blog-post-content.content-editorial ol {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.blog-post-content.content-editorial li {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Premium Page Components (Visual Builder Elements) - Compact & Modern
   ========================================================================== */

/* Page Header / Hero Area */
.page-header-block {
    margin: 0 !important;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-title-xl {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.page-title-xl span {
    color: var(--primary-color, #76b882);
}

.page-intro-lead {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin-bottom: 1rem;
    max-width: 800px;
}

.page-intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 900px;
}

/* Editorial Content Flex Layout */
@media (min-width: 1025px) {
    .blog-post-content.content-editorial {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        /* Prevent vertical stretching */
    }

    /* Keep regular content full width */
    .blog-post-content.content-editorial>* {
        flex: 0 0 100%;
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .blog-detail-section {
        padding-bottom: 0 !important;
    }

    .blog-main-card {
        padding: 0 !important;
    }

    .page-title-xl {
        font-size: 2.1rem;
        line-height: 1.4;
        letter-spacing: -0.04em;
    }

    .blog-post-title {
        font-size: 1.85rem;
        line-height: 1.05;
    }
}