/**
 * Modern Blog Pro - Ana CSS Dosyası
 * Sürüm: 1.0.0
 */

/* 1. CSS Değişkenleri & Temel Ayarlar */
:root {
    --mb-primary: #2563eb;
    --mb-primary-hover: #1d4ed8;
    --mb-secondary: #1e40af;
    --mb-accent: #f59e0b;
    --mb-bg: #f8fafc;
    --mb-surface: #ffffff;
    --mb-text-main: #1e293b;
    --mb-text-muted: #64748b;
    --mb-text-light: #94a3b8;
    --mb-border: #e2e8f0;
    --mb-border-light: #f1f5f9;
    --mb-radius-sm: 6px;
    --mb-radius-md: 10px;
    --mb-radius-lg: 16px;
    --mb-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --mb-shadow-md: 0 4px 15px rgba(0, 0, 0, 0.06);
    --mb-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09);
    --mb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mb-font-heading: var(--mb-font-body);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--mb-font-body);
    color: var(--mb-text-main);
    background-color: var(--mb-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Sayfa Düzeni (Genişlik & Kutulu) */
.layout-boxed {
    background-color: #e2e8f0;
}

.layout-boxed .site-container {
    max-width: 1320px;
    margin: 30px auto;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: var(--mb-radius-lg);
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--mb-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--mb-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Erişilebilirlik */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* 2. Header (Üst Kısım) */
.site-header {
    background: var(--mb-surface);
    border-bottom: 1px solid var(--mb-border);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.has-sticky-header .site-header.is-sticky {
    position: sticky;
    top: 0;
    box-shadow: var(--mb-shadow-md);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.custom-theme-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.site-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
}

.site-title a {
    color: var(--mb-text-main);
}

.site-description {
    font-size: 13px;
    color: var(--mb-text-muted);
    margin: 2px 0 0 0;
}

/* Gezinme Menüsü */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.primary-menu-list li {
    position: relative;
}

.primary-menu-list a {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    border-radius: var(--mb-radius-sm);
    transition: all 0.2s ease;
}

.primary-menu-list a:hover,
.primary-menu-list .current-menu-item > a {
    color: var(--mb-primary);
    background: rgba(37, 99, 235, 0.06);
}

/* Alt Açılır Menüler (Dropdown) */
.primary-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius-md);
    box-shadow: var(--mb-shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    list-style: none;
}

.primary-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu-list .sub-menu a {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 0;
}

.primary-menu-list .sub-menu a:hover {
    background: #f8fafc;
}

.sub-menu-toggle {
    display: none;
}

/* Header Aksiyonları & Sosyal Ağlar */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--mb-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.header-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #475569;
    transition: all 0.2s ease;
}

.header-search-toggle:hover {
    background: #f1f5f9;
    color: var(--mb-primary);
}

/* Arama Modalı */
.header-search-modal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--mb-border);
    box-shadow: var(--mb-shadow-md);
    padding: 20px 0;
}

.header-search-modal.is-open {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.search-modal-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-modal-inner form {
    flex: 1;
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--mb-text-muted);
}

/* Mobil Menü Butonu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background: var(--mb-text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 3. Hero / Banner Alanı */
.hero-banner-section {
    padding: 80px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-banner-section.has-gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}

.hero-banner-section.has-bg-image {
    background-size: cover;
    background-position: center;
}

.hero-banner-container {
    position: relative;
    z-index: 2;
}

.hero-banner-content {
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--mb-radius-sm);
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-hero {
    background: #ffffff;
    color: #1e3a8a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-hero:hover {
    background: #f8fafc;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--mb-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--mb-primary-hover);
    color: #ffffff;
}

/* 4. Arşiv ve Arama Başlığı Bannerı */
.archive-header-banner {
    background: #ffffff;
    border-bottom: 1px solid var(--mb-border);
    padding: 45px 0;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--mb-text-main);
    margin-bottom: 10px;
}

.archive-description {
    font-size: 15px;
    color: var(--mb-text-muted);
}

.highlight-query {
    color: var(--mb-primary);
}

/* 5. Ana İçerik ve Kenar Çubuğu Düzeni */
.main-content-area {
    padding: 50px 24px;
}

.content-sidebar-wrapper {
    display: flex;
    gap: 40px;
}

.content-sidebar-wrapper.sidebar-pos-right {
    flex-direction: row;
}

.content-sidebar-wrapper.sidebar-pos-left {
    flex-direction: row-reverse;
}

.content-sidebar-wrapper.sidebar-pos-none .content-area {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.site-sidebar {
    width: 340px;
    flex-shrink: 0;
}

/* 6. Blog Kartları ve Izgara */
.blog-posts-grid {
    display: grid;
    gap: 32px;
}

/* Klasik Liste Düzeni (1 Kolon) */
.blog-posts-grid.layout-classic {
    grid-template-columns: 1fr;
}

.blog-posts-grid.layout-classic .blog-card-item {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 25px;
}

.blog-posts-grid.layout-classic .post-thumbnail {
    height: 100%;
    min-height: 260px;
}

/* 2 Kolon Grid */
.blog-posts-grid.layout-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 Kolon Grid */
.blog-posts-grid.layout-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Blog Kart Tasarımı */
.blog-card-item {
    background: var(--mb-surface);
    border-radius: var(--mb-radius-md);
    border: 1px solid var(--mb-border);
    box-shadow: var(--mb-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--mb-shadow-lg);
    border-color: #cbd5e1;
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 230px;
    background: #e2e8f0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-categories {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--mb-primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.category-badge:hover {
    background: var(--mb-primary);
    color: #ffffff;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--mb-text-main);
}

.blog-card-title a:hover {
    color: var(--mb-primary);
}

.blog-card-excerpt {
    font-size: 14.5px;
    color: var(--mb-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Meta Bilgileri */
.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--mb-text-light);
    border-top: 1px solid var(--mb-border-light);
    padding-top: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-icon {
    vertical-align: middle;
    margin-right: 4px;
    color: var(--mb-text-light);
}

.blog-card-footer {
    display: flex;
    justify-content: flex-start;
}

.blog-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mb-primary);
}

.blog-read-more-btn:hover {
    color: var(--mb-primary-hover);
    gap: 9px;
}

/* 7. Sayfalama (Pagination) */
.blog-pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.navigation.pagination .nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius-sm);
    color: var(--mb-text-main);
    font-weight: 600;
    font-size: 14px;
}

.navigation.pagination .page-numbers.current {
    background: var(--mb-primary);
    color: #ffffff;
    border-color: var(--mb-primary);
}

.navigation.pagination .page-numbers:hover:not(.current) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* 8. Tekil Yazı (Single Post) Stilleri */
.single-post-article {
    background: #ffffff;
    border-radius: var(--mb-radius-lg);
    border: 1px solid var(--mb-border);
    padding: 40px;
    box-shadow: var(--mb-shadow-sm);
    margin-bottom: 40px;
}

.single-post-header {
    margin-bottom: 30px;
}

.single-post-categories {
    margin-bottom: 12px;
}

.single-post-categories a {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--mb-primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 6px;
}

.single-post-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--mb-text-main);
    margin-bottom: 16px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--mb-text-muted);
    border-bottom: 1px solid var(--mb-border);
    padding-bottom: 20px;
}

.single-post-featured-image {
    margin: 25px 0 35px 0;
    border-radius: var(--mb-radius-md);
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
}

/* Zengin İçerik Alanı (Entry Content Typography) */
.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.entry-content p {
    margin-bottom: 22px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--mb-text-main);
    font-weight: 700;
    margin: 35px 0 16px 0;
    line-height: 1.35;
}

.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 19px; }

.entry-content ul,
.entry-content ol {
    margin: 0 0 22px 24px;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    background: #f8fafc;
    border-left: 4px solid var(--mb-primary);
    border-radius: 0 var(--mb-radius-md) var(--mb-radius-md) 0;
    font-style: italic;
    color: #475569;
}

.entry-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px;
    border-radius: var(--mb-radius-md);
    overflow-x: auto;
    font-size: 14px;
    margin: 24px 0;
}

.entry-content code {
    background: #f1f5f9;
    color: #d97706;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14.5px;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 12px 16px;
    border: 1px solid var(--mb-border);
}

.entry-content table th {
    background: #f8fafc;
    font-weight: 700;
}

/* Etiketler (Tags) */
.single-post-tags {
    margin: 35px 0;
    padding-top: 25px;
    border-top: 1px solid var(--mb-border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--mb-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-cloud-list a {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-size: 13px;
    margin: 3px;
    transition: all 0.2s ease;
}

.tag-cloud-list a:hover {
    background: var(--mb-primary);
    color: #ffffff;
}

/* Sosyal Paylaşım */
.single-share-box {
    margin: 30px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--mb-radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.share-title {
    font-weight: 700;
    font-size: 15px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-buttons-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--mb-radius-sm);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-x { background: #000000; }
.share-fb { background: #1877f2; }
.share-linkedin { background: #0a66c2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #229ed9; }

/* Yazar Kutusu (Author Box) */
.single-author-box {
    margin: 40px 0;
    padding: 30px;
    background: #f8fafc;
    border-radius: var(--mb-radius-lg);
    border: 1px solid var(--mb-border);
    display: flex;
    gap: 24px;
    align-items: center;
}

.author-box-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mb-primary);
    font-weight: 700;
}

.author-box-name {
    font-size: 20px;
    margin: 2px 0 6px 0;
}

.author-box-name a {
    color: var(--mb-text-main);
}

.author-box-bio {
    font-size: 14.5px;
    color: var(--mb-text-muted);
}

/* Önceki / Sonraki Yazı */
.single-post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.single-post-navigation a {
    display: block;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius-md);
    transition: all 0.2s ease;
}

.single-post-navigation a:hover {
    border-color: var(--mb-primary);
    background: #ffffff;
    box-shadow: var(--mb-shadow-sm);
}

.single-post-navigation .nav-subtitle {
    display: block;
    font-size: 12px;
    color: var(--mb-text-light);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.single-post-navigation .nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--mb-text-main);
}

/* İlgili Yazılar (Related Posts) */
.related-posts-section {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid var(--mb-border);
}

.related-posts-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    background: #f8fafc;
    border-radius: var(--mb-radius-md);
    overflow: hidden;
    border: 1px solid var(--mb-border);
}

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

.related-post-body {
    padding: 16px;
}

.related-post-date {
    font-size: 12px;
    color: var(--mb-text-light);
    display: block;
    margin-bottom: 6px;
}

.related-post-headline {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.related-post-headline a {
    color: var(--mb-text-main);
}

.related-post-headline a:hover {
    color: var(--mb-primary);
}

/* 9. Yorumlar (Comments) */
.comments-area {
    background: #ffffff;
    border-radius: var(--mb-radius-lg);
    border: 1px solid var(--mb-border);
    padding: 40px;
    box-shadow: var(--mb-shadow-sm);
}

.comments-title,
.comment-reply-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--mb-text-main);
}

.comment-list {
    list-style: none;
    margin-bottom: 40px;
}

.comment-list .comment {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--mb-border-light);
}

.comment-list .children {
    list-style: none;
    margin-left: 50px;
    margin-top: 20px;
}

.comment-body {
    display: flex;
    gap: 18px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-meta {
    margin-bottom: 8px;
}

.comment-author .fn {
    font-weight: 700;
    color: var(--mb-text-main);
}

.comment-metadata a {
    font-size: 12.5px;
    color: var(--mb-text-light);
    margin-left: 8px;
}

.comment-content {
    font-size: 15px;
    color: #475569;
    margin-bottom: 10px;
}

.comment-reply-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--mb-primary);
}

/* Yorum Formu */
.comment-form p {
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius-sm);
    font-family: inherit;
    font-size: 15px;
    background: #f8fafc;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--mb-primary);
    background: #ffffff;
}

/* 10. Kenar Çubuğu (Sidebar) Bileşenleri */
.widget {
    background: #ffffff;
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius-md);
    padding: 26px;
    margin-bottom: 30px;
    box-shadow: var(--mb-shadow-sm);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--mb-text-main);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mb-primary);
    display: inline-block;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 10px 0;
    border-bottom: 1px solid var(--mb-border-light);
    font-size: 14.5px;
}

.widget li:last-child {
    border-bottom: none;
}

.widget li a {
    color: #334155;
    font-weight: 500;
}

.widget li a:hover {
    color: var(--mb-primary);
}

/* Özel Yazar Bileşeni Stili */
.mb-author-widget-card {
    text-align: center;
}

.mb-author-widget-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    object-fit: cover;
    border: 3px solid var(--mb-border);
}

.mb-author-widget-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mb-author-widget-role {
    font-size: 13px;
    color: var(--mb-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.mb-author-widget-bio {
    font-size: 14px;
    color: var(--mb-text-muted);
    line-height: 1.6;
}

/* Özel Görselli Son Yazılar Bileşeni */
.mb-recent-post-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px 0 !important;
}

.mb-recent-post-thumb img {
    width: 60px;
    height: 60px;
    border-radius: var(--mb-radius-sm);
    object-fit: cover;
}

.mb-recent-post-date {
    display: block;
    font-size: 12px;
    color: var(--mb-text-light);
    margin-bottom: 4px;
}

.mb-recent-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--mb-text-main);
}

/* 11. Footer (Alt Kısım) */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    margin-top: 60px;
}

.footer-widgets-area {
    padding: 70px 24px 50px 24px;
}

.footer-columns-grid {
    display: grid;
    gap: 40px;
}

.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: 1fr 1fr; }
.footer-cols-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.footer-cols-4 { grid-template-columns: 1.2fr 1fr 1fr 1fr; }

.footer-site-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-logo img {
    max-height: 48px;
    margin-bottom: 16px;
}

.footer-about-text {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social-badge {
    padding: 5px 12px;
    background: #1e293b;
    border-radius: 4px;
    font-size: 12.5px;
    color: #cbd5e1;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-social-badge:hover {
    background: var(--mb-primary);
    color: #ffffff;
}

.footer-widget-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    padding: 8px 0;
}

.footer-widget a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-widget a:hover {
    color: #ffffff;
}

.footer-bottom {
    background: #090e17;
    border-top: 1px solid #1e293b;
    padding: 24px 0;
    font-size: 14px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-menu-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-menu-list a {
    color: #64748b;
}

.footer-menu-list a:hover {
    color: #ffffff;
}

/* Başa Dön Butonu */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--mb-primary);
    color: #ffffff;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--mb-primary-hover);
    transform: translateY(-3px);
}

/* 12. 404 Sayfası */
.error-404-wrapper {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-404-badge {
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    color: var(--mb-primary);
    opacity: 0.15;
    margin-bottom: -40px;
}

.error-404-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.error-404-desc {
    color: var(--mb-text-muted);
    margin-bottom: 30px;
}

.error-404-search {
    margin-bottom: 30px;
}

/* 13. Responsive (Mobil & Tablet) */
@media (max-width: 992px) {
    .content-sidebar-wrapper {
        flex-direction: column !important;
    }
    .site-sidebar {
        width: 100%;
    }
    .blog-posts-grid.layout-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .header-social-links {
        display: none;
    }
    .nav-menu-wrapper {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: var(--mb-shadow-lg);
        padding: 20px;
        display: none;
        flex-direction: column;
        border-bottom: 1px solid var(--mb-border);
    }
    .nav-menu-wrapper.is-open {
        display: flex;
    }
    .primary-menu-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }
    .primary-menu-list li {
        width: 100%;
    }
    .primary-menu-list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
    }
    .sub-menu-toggle {
        display: inline-block;
        position: absolute;
        right: 10px;
        top: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .blog-posts-grid.layout-classic .blog-card-item {
        grid-template-columns: 1fr;
    }
    .blog-posts-grid.layout-grid-2,
    .blog-posts-grid.layout-grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 30px;
    }
    .single-post-article {
        padding: 24px;
    }
    .single-post-title {
        font-size: 26px;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    .footer-columns-grid {
        grid-template-columns: 1fr;
    }
}
