/*
Theme Name: Lafdoku
Theme URI: https://lafdoku.com
Author: Mustafa Demir / Ayzweb
Description: Lafdoku sosyal akış ve söz paylaşım teması.
Version: 1.0.0
Text Domain: lafdoku
*/

/* ==========================================================================
   1. CSS DEĞİŞKENLERİ & SIFIRLAMA (RESET)
   ========================================================================== */
:root {
    --primary: #0e7490;
    --primary-hover: #4338ca;
    --primary-light: #e0f2fe;
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   2. HEADER & MÜNÜ DÜZENİ
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    height: 64px;
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger-btn {
    display: none;
    background: transparent;
    font-size: 20px;
    color: var(--text-main);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 14px;
    height: 40px;
    transition: border-color 0.2s;
}

.search-bar:focus-within {
    border-color: var(--primary);
}

.search-bar input {
    width: 100%;
    background: transparent;
    padding-left: 10px;
    font-size: 14px;
    color: var(--text-main);
}

.btn-new-post {
    background-color: var(--primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-new-post:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   3. ANA YERLEŞİM (LAYOUT)
   ========================================================================== */
.main-layout {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 24px;
}

/* Sol Sidebar */
.sidebar-left {
    position: sticky;
    top: 84px;
    height: calc(100vh - 104px);
}

.nav-menu {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-menu li.active a,
.nav-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 12px 0;
}

.menu-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 14px 8px;
    letter-spacing: 0.5px;
}

/* Sağ Sidebar / Widget'lar */
.sidebar-right {
    position: sticky;
    top: 84px;
    height: calc(100vh - 104px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.widget {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.widget-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-list .category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-main);
    border-bottom: 1px solid #f1f5f9;
}

.category-list .category-item:last-child a {
    border-bottom: none;
}

.category-count {
    font-size: 12px;
    background-color: var(--bg-body);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.trend-item {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.trend-tag {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.trend-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   4. ORTA AKIŞ (FEED) & KARTLAR
   ========================================================================== */
.feed-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Kategori Filtre Butonları */
.feed-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.feed-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* Gönderi Kartları */
.post-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.author-name {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* Görselli / Tuval Paylaşım Alanı */
.post-canvas {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.post-canvas-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.post-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 2;
}

.post-canvas .post-text-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Etkileşim Butonları */
.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #f1f5f9;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.action-btn i {
    font-size: 18px;
}

.action-btn:hover {
    color: var(--primary);
}

.action-btn.liked {
    color: #e11d48;
}

.action-btn.bookmark-btn.active {
    color: var(--primary);
}

/* ==========================================================================
   5. MODAL VE ÇEKMECE (DRAWER) ELEMANLARI
   ========================================================================== */
/* Mobil Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--bg-surface);
    z-index: 999;
    padding: 20px;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Mobil Alt Navigasyon */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    z-index: 90;
    align-items: center;
    justify-content: space-around;
}

.mobile-nav-item {
    color: var(--text-muted);
    font-size: 18px;
}

.mobile-nav-item.active {
    color: var(--primary);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-surface);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 20px;
}

.modal-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-close {
    background: transparent;
    font-size: 24px;
    color: var(--text-muted);
}

.modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-body textarea {
    width: 100%;
    height: 100px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    resize: none;
    font-size: 14px;
}

.modal-body select,
.modal-body input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 14px;
}

.modal-footer {
    padding: 12px 16px;
    background-color: var(--bg-body);
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   6. RESPONSIVE DÜZENLEMELER
   ========================================================================== */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr 300px;
    }
    .sidebar-left {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
        padding: 0 12px;
        margin: 12px auto 70px auto;
    }
    .sidebar-right {
        display: none;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    .header-container {
        padding: 0 12px;
    }
    .search-bar {
        max-width: 200px;
    }
}

/* --- LAFDOKU TEK YAZI (SINGLE.PHP) STİLLERİ --- */

:root {
    --primary: #0e7490;
    --primary-light: #e0f2fe;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-card: 16px;
}

/* --- YAZI DETAY ALANI --- */
.article-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    padding: 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

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

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.author-details .name {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-details .date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hero Kapak Görseli */
.article-hero {
    position: relative;
    min-height: 320px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    margin-bottom: 24px;
    overflow: hidden;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

.article-hero-text {
    position: relative;
    z-index: 2;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/* Yazı Metin İçeriği */
.article-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 24px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-weight: 600;
    color: var(--primary);
    margin: 20px 0;
}

/* Etiketler */
.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.tag-item {
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.tag-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Etkileşim & Paylaşım Barı */
.article-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-top: 16px;
}

.social-share {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- YORUM ALANI STİLLERİ --- */
.comments-section {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    padding: 24px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-input-box {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.comment-input-box textarea {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    outline: none;
    font-size: 13px;
    resize: none;
    height: 80px;
    background: #f8fafc;
}

.comment-input-box textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

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

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.comment-author {
    font-size: 13px;
    font-weight: 700;
}

.comment-time {
    font-size: 11px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-main);
}

.btn-follow {
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    background: var(--primary-light);
    color: var(--primary);
}

.btn-follow:hover {
    background: var(--primary);
    color: white;
}

.btn-new-post {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

/* RESPONSIVE MAVİ DETAY YAPI */
@media (max-width: 768px) {
    .article-title { font-size: 20px; }
    .article-hero { min-height: 220px; }
}

/* ==========================================
   LAFDOKU - ÖZEL PROFİL SAYFASI CSS STİLLERİ
   ========================================== */

:root {
    --primary: #0e7490;
    --primary-light: #e0f2fe;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-card: 16px;
}

/* Genel Düzen ve Reset */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Profil Kartı */
.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.profile-cover {
    height: 140px;
    background: linear-gradient(135deg, #0e7490 0%, #0284c7 50%, #38bdf8 100%);
    position: relative;
}

.profile-header-content {
    padding: 0 24px 20px 24px;
    position: relative;
}

.profile-avatar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -45px;
    margin-bottom: 14px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    object-fit: cover;
    background: var(--card-bg);
}

.profile-actions {
    display: flex;
    gap: 8px;
}

.btn-edit-profile, 
.btn-follow-user {
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-edit-profile {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-edit-profile:hover {
    background: #e2e8f0;
}

.btn-follow-user {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-follow-user:hover {
    opacity: 0.9;
}

.profile-info .profile-name {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
}

.profile-info .profile-handle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.profile-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 16px;
}

/* İstatistik Sayaçları */
.profile-stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Sekmeli Gezinti (Tabs) */
.profile-tabs {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    padding: 6px;
    gap: 6px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.tab-btn.active {
    background: var(--primary-light);
    color: var(--primary);
}

/* Akış ve Post Kartları */
.feed-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.post-header {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-main);
}

.post-time {
    font-size: 11px;
    color: var(--text-muted);
}

.post-canvas {
    position: relative;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: white;
}

.post-canvas-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.post-badge {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    align-self: flex-start;
}

.post-text-content {
    position: relative;
    z-index: 2;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.post-actions {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.action-group {
    display: flex;
    gap: 16px;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.action-btn:hover, 
.action-btn.active {
    color: var(--primary);
}

.action-btn.liked {
    color: #e11d48;
}

/* Sağ Widget Alanı */
.widget {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    padding: 16px;
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.suggested-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.suggested-user:last-child {
    border-bottom: none;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-sm-follow {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-sm-follow:hover {
    background: var(--primary);
    color: white;
}

/* Duyarlı (Responsive) Düzenler */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .sidebar-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .profile-stats {
        gap: 16px;
    }
    .stat-value {
        font-size: 14px;
    }
}

/* --- PROFİL DÜZENLEME SAYFASI ÖZEL DÜZELTME --- */

/* Profil Düzenleme Ana Kart Kapsayıcısı */
.profile-edit-card, 
.profile-card {
    position: relative;
    background: var(--card-bg, #ffffff);
    border-radius: var(--radius-card, 16px);
    border: 1px solid var(--border-color, #e2e8f0);
    overflow: hidden;
    margin-bottom: 24px;
}

/* Kapak Görseli Alanı */
.profile-cover-upload,
.profile-cover {
    height: 160px;
    background: linear-gradient(135deg, #0e7490 0%, #0284c7 50%, #38bdf8 100%);
    position: relative;
    width: 100%;
}

/* Profil Bilgileri Form İçeriği */
.profile-edit-body,
.profile-header-content {
    padding: 24px;
    position: relative;
}

/* Avatarın Kapak Üzerine Oturtulduğu Alan (Kritik Düzeltme) */
.profile-avatar-upload-wrapper,
.profile-avatar-wrapper {
    position: relative;
    margin-top: -65px; /* Resmi yukarı doğru kapağın üzerine taşır */
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    z-index: 5;
}

/* Profil Fotoğrafının Kendisi */
.profile-avatar-preview,
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: block;
}

```css
/* =========================================================
   LAFDOKU KEŞFET NAVİGASYONU
========================================================= */

.feed-discover-nav {
    margin-bottom: 20px;
}


/* ANA SEKME GRUBU */

.feed-main-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.feed-main-tabs::-webkit-scrollbar {
    display: none;
}


.feed-main-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 9px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.feed-main-tab i {
    font-size: 14px;
}


.feed-main-tab:hover {
    background: #f8fafc;
    color: var(--primary);
}


.feed-main-tab.active {
    background: var(--primary);
    color: #fff;
}


/* =========================================================
   KATEGORİLER
========================================================= */

.feed-category-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
}

.feed-category-scroll::-webkit-scrollbar {
    display: none;
}


.feed-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}


.feed-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}


/* =========================================================
   GÖNDERİ METİN ÖNİZLEMESİ
========================================================= */

.post-content-preview {
    padding: 0 20px 12px;
}


.post-text-link {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    word-break: break-word;
}


.post-text-link:hover {
    color: var(--primary);
}


/* =========================================================
   GÖNDERİ GÖRSELİ
========================================================= */

.post-image-wrap {
    padding: 0 16px 16px;
}


.post-image-link {
    display: block;
    text-decoration: none;
}


.post-canvas {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.post-canvas-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.40),
        transparent
    );
    pointer-events: none;
}


/* =========================================================
   YAZAR ALANI
========================================================= */

.post-author-avatar {
    width: 40px;
    height: 40px;
    display: block;
    flex: 0 0 40px;
    overflow: hidden;
    border-radius: 50%;
    background: #f1f5f9;
}


.post-author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.author-name a {
    color: inherit;
    text-decoration: none;
}


.author-name a:hover {
    color: var(--primary);
}


/* =========================================================
   BOŞ AKIŞ
========================================================= */

.feed-empty {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 30px 20px;
}


.feed-empty > i {
    margin-bottom: 5px;
    font-size: 30px;
    color: var(--primary);
}


.feed-empty strong {
    color: var(--text-main);
    font-size: 15px;
}


.feed-empty span {
    color: #64748b;
    font-size: 14px;
}


/* =========================================================
   SAYFALANDIRMA
========================================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 20px 0;
}


.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
}


.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 768px) {

    .feed-discover-nav {
        margin-bottom: 14px;
    }


    .feed-main-tabs {
        border-radius: 10px;
        padding: 5px;
        gap: 3px;
    }


    .feed-main-tab {
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }


    .feed-main-tab i {
        font-size: 13px;
    }


    .feed-category-scroll {
        margin-top: 9px;
        gap: 6px;
    }


    .feed-filter {
        min-height: 32px;
        padding: 0 11px;
        font-size: 12px;
    }


    .post-content-preview {
        padding: 0 16px 11px;
    }


    .post-text-link {
        font-size: 14px;
        line-height: 1.55;
    }


    .post-image-wrap {
        padding: 0 12px 12px;
    }


    .post-canvas {
        height: 280px;
        border-radius: 10px;
    }

}
