/* Bizim Mekan Blog Ultra Modern Stilleri */
:root {
    --bm-primary: #6c5ce7;
    --bm-primary-hover: #5b4bc4;
    --bm-secondary: #d63031;
    --bm-accent: #00b894;
    --bm-dark: #0b092b;
    --bm-dark-surface: #13103c;
    --bm-light: #f8fafc;
    --bm-border: #e2e8f0;
    --bm-text: #1e293b;
    --bm-muted: #64748b;
    --bm-card-shadow: 0 10px 25px -5px rgba(11, 9, 43, 0.06), 0 8px 10px -6px rgba(11, 9, 43, 0.04);
    --bm-hover-shadow: 0 20px 35px -5px rgba(108, 92, 231, 0.15), 0 10px 10px -5px rgba(108, 92, 231, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8fafc;
    color: var(--bm-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Navbar */
.blog-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    z-index: 1030;
}

.blog-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.blog-brand-text {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: var(--bm-dark);
}

.blog-brand-text span {
    color: var(--bm-secondary);
}

.blog-badge {
    background: linear-gradient(135deg, var(--bm-primary), #a29bfe);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Header Buttons */
.btn-sohbet-action {
    background: linear-gradient(135deg, var(--bm-secondary) 0%, #ff7675 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50rem;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.3);
    transition: all 0.25s ease;
    border: none;
}

.btn-sohbet-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214, 48, 49, 0.45);
}

/* Featured Hero Post */
.featured-hero-card {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: var(--bm-card-shadow);
    transition: all 0.35s ease;
    background: #ffffff;
}

.featured-hero-card:hover {
    box-shadow: var(--bm-hover-shadow);
    transform: translateY(-3px);
}

.featured-hero-img-wrap {
    height: 420px;
    position: relative;
    overflow: hidden;
}

.featured-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-hero-card:hover .featured-hero-img-wrap img {
    transform: scale(1.04);
}

.featured-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 9, 43, 0.1) 0%, rgba(11, 9, 43, 0.85) 75%, rgba(11, 9, 43, 0.98) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: #ffffff;
}

/* Standard Post Cards */
.blog-post-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--bm-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--bm-card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bm-hover-shadow);
    border-color: rgba(108, 92, 231, 0.3);
}

.blog-post-thumb-wrap {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-post-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-badge-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    color: var(--bm-primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 50rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reading-time-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 9, 43, 0.75);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 50rem;
    backdrop-filter: blur(4px);
}

/* Category Filter Chips Bar */
.category-filter-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.category-filter-chips::-webkit-scrollbar {
    display: none;
}

.cat-chip {
    padding: 0.45rem 1.1rem;
    border-radius: 50rem;
    background: #ffffff;
    border: 1px solid var(--bm-border);
    color: var(--bm-text);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cat-chip:hover, .cat-chip.active {
    background: var(--bm-primary);
    color: #ffffff;
    border-color: var(--bm-primary);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--bm-border);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--bm-card-shadow);
}

.sidebar-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--bm-dark);
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trending-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px dashed #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-num {
    font-weight: 900;
    font-size: 1.4rem;
    color: #cbd5e1;
    min-width: 28px;
}

.trending-item:hover .trending-num {
    color: var(--bm-primary);
}

.trending-item:hover h6 {
    color: var(--bm-primary) !important;
}

/* Detail Article Styles */
.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2.3rem;
    line-height: 1.25;
    color: var(--bm-dark);
}

.article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--bm-card-shadow);
}

.article-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #334155;
}

.article-body h2, .article-body h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--bm-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1.4rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.6rem;
}

/* Social Share Bar */
.share-bar-pill {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-share {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-share:hover {
    transform: translateY(-2px);
}

.btn-share.whatsapp { background: #25d366; }
.btn-share.twitter { background: #000000; }
.btn-share.facebook { background: #1877f2; }
.btn-share.telegram { background: #0088cc; }
.btn-share.copy { background: #64748b; }

/* Footer */
.blog-footer {
    background: var(--bm-dark);
    color: #cbd5e1;
    border-top: 3px solid var(--bm-primary);
}

.blog-footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-footer-link:hover {
    color: #ffffff;
    padding-left: 4px;
}


/* =========================================================
   RESPONSİVE İÇERİK & DIŞA KAYMA KORUMASI (REVİZYON 1)
   ========================================================= */
.article-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #334155;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.article-body * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.article-body img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 14px !important;
    margin: 24px auto !important;
    display: block !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.article-body p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    margin-bottom: 1.4rem;
}

.article-body figure {
    max-width: 100% !important;
    margin: 24px auto !important;
    display: block !important;
    text-align: center;
}

.article-body figure img {
    max-width: 100% !important;
    height: auto !important;
}

.article-body iframe,
.article-body video,
.article-body embed,
.article-body object {
    max-width: 100% !important;
    border-radius: 12px;
}

.article-body table {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
}

.article-body pre,
.article-body code {
    max-width: 100% !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-x: auto !important;
}

.article-hero-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 480px;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--bm-card-shadow);
}
