/**
 * bizdeboyle.net - Ana Stil (Görsel tasarıma uyumlu)
 */

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --blue: #3b82f6;
    --blue-dark: #1e40af;
    --teal: #14b8a6;
    --teal-light: #5eead4;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #059669;
    --danger: #dc2626;
    --radius: 12px;
    --radius-btn: 999px;
    --shadow: 0 1px 3px rgba(0,0,0,.06);
    --shadow-card: 0 2px 8px rgba(0,0,0,.08);
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Gece modu (Tema: dark) */
html.theme-dark {
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #e2e8f0;
    --text-dark: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --shadow: 0 1px 3px rgba(0,0,0,.3);
    --shadow-card: 0 2px 12px rgba(0,0,0,.4);
}
html.theme-dark .header-search input,
html.theme-dark .hero-actions .btn-outline,
html.theme-dark .load-more-wrap .btn-outline { background: var(--surface); }
html.theme-dark .cta-box .btn { background: var(--surface); }
html.theme-dark .cta-box .btn:hover { background: var(--bg); }

/* Form alanları - Gece modu (textarea, input, select) */
html.theme-dark textarea,
html.theme-dark input[type="text"],
html.theme-dark input[type="email"],
html.theme-dark input[type="password"],
html.theme-dark input[type="url"],
html.theme-dark input[type="search"],
html.theme-dark input[type="number"],
html.theme-dark select {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}
html.theme-dark textarea::placeholder,
html.theme-dark input::placeholder {
    color: var(--text-muted);
}
html.theme-dark textarea:focus,
html.theme-dark input:focus,
html.theme-dark select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .25);
}

/* Hero banner - Gece modu */
html.theme-dark .hero-new {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-card);
}
html.theme-dark .hero-badge {
    background: rgba(124, 58, 237, .2);
    color: var(--primary-light);
}
html.theme-dark .hero-title { color: var(--text-dark); }
html.theme-dark .hero-title .highlight { color: var(--primary-light); }
html.theme-dark .hero-lead { color: var(--text-muted); }
html.theme-dark .hero-actions .btn-outline {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}
html.theme-dark .hero-actions .btn-outline:hover {
    background: var(--bg);
    border-color: var(--primary);
    color: var(--primary);
}
html.theme-dark .hero-graphic {
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
    border-radius: var(--radius);
}
html.theme-dark .hero-banner {
    background: var(--surface);
    border-bottom-color: var(--border);
}
html.theme-dark .hero-banner .hero-actions .btn-outline {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}
html.theme-dark .hero-banner .hero-actions .btn-outline:hover {
    background: var(--bg);
    border-color: var(--primary);
    color: var(--primary);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========== ANNOUNCEMENT BAR (Kayan Yazı) ========== */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary) 0%, #6366f1 50%, var(--primary) 100%);
    color: #fff;
    padding: 0.5rem 0;
    overflow: hidden;
    font-size: 0.9rem;
    position: relative;
}
.announcement-bar-inner { overflow: hidden; }
.announcement-marquee {
    display: flex;
    gap: 2rem;
    animation: announcement-scroll 50s linear infinite;
    width: max-content;
}
.announcement-marquee:hover { animation-play-state: paused; }
@keyframes announcement-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.announcement-item { display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.announcement-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.announcement-genel .announcement-badge { background: rgba(255,255,255,.25); }
.announcement-onemli .announcement-badge { background: #fbbf24; color: #78350f; }
.announcement-bakim .announcement-badge { background: #60a5fa; color: #1e3a8a; }
.announcement-kampanya .announcement-badge { background: #34d399; color: #064e3b; }
.announcement-link, .announcement-text { color: #fff; }
.announcement-link:hover { color: #fff; text-decoration: none; opacity: .95; }
.announcement-sep { opacity: .4; font-size: 0.6rem; }
.announcement-bar a { color: inherit; }
.announcement-mobile { display: none; }
@media (max-width: 768px) {
    .announcement-bar { font-size: 0.8rem; padding: 0.4rem 0; }
    .announcement-marquee { gap: 1.5rem; }
    .announcement-full { display: none; }
    .announcement-mobile { display: inline; }
}

/* ========== HEADER (Sade & Modern) ========== */
.site-header {
    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);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.header-hidden {
    transform: translateY(-100%);
}
html.theme-dark .site-header {
    background: rgba(15, 23, 42, 0.92);
    border-bottom-color: rgba(51, 65, 85, 0.8);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, .06); }
html.theme-dark .site-header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Logo - admin panelinden veya varsayılan ikon */
.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    max-width: 180px;
    border-radius: 10px;
    color: var(--primary);
    transition: transform .25s ease, color .25s ease, background .25s ease;
}
.logo-wrap:hover {
    text-decoration: none;
    color: var(--primary-dark);
    background: rgba(124, 58, 237, .08);
    transform: scale(1.05);
}
.logo-img {
    height: 44px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}
.logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 100%; height: 100%; }

/* Nav - İkonlu linkler */
.nav-main {
    display: flex;
    gap: 0.15rem;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-link:hover {
    color: var(--primary);
    background: rgba(124, 58, 237, .08);
    text-decoration: none;
    transform: translateY(-1px);
}
.nav-link .nav-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.nav-link .nav-icon svg {
    width: 100%;
    height: 100%;
    min-width: 18px;
    min-height: 18px;
    overflow: visible;
    transition: transform .25s ease;
}
.nav-link:hover .nav-icon svg { transform: scale(1.1); }
.nav-link.active { color: var(--primary); background: rgba(124, 58, 237, .1); }
.nav-link.active:hover { color: var(--primary-dark); }
.nav-text { white-space: nowrap; }
@media (max-width: 900px) {
    .nav-text { display: none; }
    .nav-link { padding: 0.5rem; }
}

/* Search - Kompakt */
.header-search {
    flex: 1;
    min-width: 140px;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
}
.header-search form { display: flex; width: 100%; }
.header-search input {
    width: 100%;
    padding: 0.5rem 0.9rem 0.5rem 2.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--bg);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.header-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search .icon-search {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 16px;
    height: 16px;
}
.header-search .icon-search svg { width: 100%; height: 100%; }

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.header-actions > * { flex-shrink: 0; }
.header-actions a { text-decoration: none; }
.header-actions a:hover { text-decoration: none; }
.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-icon svg { width: 18px; height: 18px; }
.header-actions .btn-add {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}
.header-actions .btn-add .btn-add-plus {
    display: block;
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
}
.header-actions .btn-add .btn-add-plus::before,
.header-actions .btn-add .btn-add-plus::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 2px;
}
.header-actions .btn-add .btn-add-plus::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 3px;
    height: 14px;
}
.header-actions .btn-add .btn-add-plus::after {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 14px;
    height: 3px;
}
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.9rem; }
.header-actions .btn-ghost { color: var(--text); }
.header-actions .btn-ghost:hover { background: var(--bg); color: var(--primary); text-decoration: none; }
.header-actions .btn-primary { background: var(--primary); color: #fff; border: none; border-radius: 8px; }
.header-actions .btn-primary:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.avatar-dropdown { position: relative; z-index: 50; }
.avatar-trigger {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
}
.header-actions-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
}
.header-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: var(--border);
    transition: box-shadow .2s ease, transform .2s ease;
}
.header-actions-avatar:hover .header-avatar {
    box-shadow: 0 0 0 2px var(--primary-light);
    transform: scale(1.02);
}
.header-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    background: #ede9fe;
    border-radius: 8px;
}
.header-icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.header-icon-btn:hover {
    background: rgba(124, 58, 237, .08);
    color: var(--primary);
    transform: scale(1.05);
}
.header-icon-btn svg { width: 20px; height: 20px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--bg); text-decoration: none; }
.btn-block { width: 100%; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

/* ========== LAYOUT ========== */
.main { min-height: calc(100vh - 120px); padding: 1.5rem 1rem; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.layout-with-sidebar { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.layout-with-right { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.layout-home { padding-left: 0; padding-right: 0; }
.layout-three { display: grid; grid-template-columns: 220px 1fr 300px; gap: 1.5rem; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (max-width: 1024px) {
    .layout-with-sidebar, .layout-with-right { grid-template-columns: 1fr; }
    .layout-three { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    /* Mobilde ana içerik (soru/anket) başta, kategoriler ve sidebar en altta */
    .layout-three > *:nth-child(1) { order: 2; }
    .layout-three > *:nth-child(2) { order: 1; }
    .layout-three > *:nth-child(3) { order: 3; }
}

/* ========== PAGE HERO (Sorular, Tartışmalar, Blog, Arama) ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    text-align: center;
}
.page-hero-title { font-size: 1.75rem; font-weight: 800; margin: 0 0 0.35rem; }
.page-hero-desc { font-size: 0.95rem; opacity: .95; margin: 0 0 1rem; }
.page-hero .btn { color: #fff; background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.5); }
.page-hero .btn:hover { background: rgba(255,255,255,.35); border-color: #fff; color: #fff; }
.page-hero-blog { padding: 2.5rem 1.5rem; }
.page-hero-blog .page-hero-title { font-size: 2rem; letter-spacing: -0.02em; }
.page-hero-anket { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }
.page-hero-tartisma { background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%); }

.breadcrumb-nav { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb-nav a { color: var(--primary); }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.35rem; }

.empty-state-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    margin: 1.5rem 0;
}
.empty-state-icon { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--text-muted); opacity: .6; }
.empty-state-icon svg { width: 100%; height: 100%; }
.empty-state-card h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.empty-state-card p { color: var(--text-muted); margin: 0 0 1rem; }

.pagination-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.pagination-info { color: var(--text-muted); font-size: 0.9rem; }

.sidebar-card { margin-bottom: 1rem; }
.sidebar-title { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.75rem; }
.sidebar-categories { display: flex; flex-direction: column; gap: 0.35rem; }
.sidebar-cat-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    transition: background .2s;
}
.sidebar-cat-item:hover { background: var(--bg); text-decoration: none; color: var(--primary); }
.sidebar-cat-item.active { background: rgba(124, 58, 237, .1); color: var(--primary); font-weight: 500; }
.sidebar-cat-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ========== TARTIŞMALAR GRID ========== */
.discussion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.discussion-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.discussion-card:hover { box-shadow: var(--shadow-card); border-color: var(--primary-light); }
.discussion-card a { display: block; padding: 1.25rem; text-decoration: none; color: inherit; }
.discussion-badge { font-size: 0.65rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; }
.discussion-title { font-size: 1rem; font-weight: 600; margin: 0.5rem 0 0.35rem; line-height: 1.35; }
.discussion-card:hover .discussion-title { color: var(--primary); }
.discussion-excerpt { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 0.75rem; line-height: 1.5; }
.discussion-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.25rem; }
.discussion-stats { display: inline-flex; align-items: center; gap: 0.25rem; }
.discussion-stats .icon-inline { width: 14px; height: 14px; }

/* ========== ANKET DETAY ========== */
.poll-option-label { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.5rem; cursor: pointer; transition: border-color .2s, background .2s; }
.poll-option-label:hover { border-color: var(--primary); background: rgba(99, 102, 241, 0.05); }
.poll-option-label input[type="radio"] { flex-shrink: 0; }
.poll-option-text { flex: 1; }
.poll-vote-form .btn { margin-top: 0.75rem; }
.poll-results { margin: 1rem 0; }
.poll-result-row { margin-bottom: 0.75rem; }
.poll-result-bar-wrap { position: relative; height: 2rem; background: var(--bg-muted, #f1f5f9); border-radius: var(--radius); overflow: hidden; }
.poll-result-bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--primary), #6366f1); min-width: 2%; transition: width .3s; }
.poll-result-label { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); font-weight: 500; font-size: 0.9rem; z-index: 1; }
.poll-result-meta { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; margin-left: 0.5rem; }
.poll-result-row.user-voted .poll-result-bar { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.poll-login-hint { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; }
.poll-login-hint a { color: var(--primary); }
.poll-option-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; align-items: center; }
.poll-option-row input { flex: 1; }
.poll-option-row .poll-option-remove { flex-shrink: 0; min-width: 2rem; }
.poll-option-row .poll-option-remove:disabled { opacity: 0.5; cursor: not-allowed; }

/* ========== ARAMA ========== */
.search-form-hero { max-width: 560px; margin: 0 auto 1rem; }
.search-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.2);
    border-radius: var(--radius);
    padding: 0.35rem;
    gap: 0.5rem;
}
.search-icon { width: 20px; height: 20px; flex-shrink: 0; margin-left: 0.5rem; opacity: .9; }
.search-input-wrap input { flex: 1; background: transparent; border: none; color: #fff; padding: 0.6rem; font-size: 1rem; }
.search-input-wrap input::placeholder { color: rgba(255,255,255,.7); }
.search-input-wrap .btn { flex-shrink: 0; }
.search-filters { display: flex; gap: 1rem; justify-content: center; margin-top: 0.75rem; flex-wrap: wrap; }
.search-filters .filter-label { display: flex; align-items: center; gap: 0.35rem; color: rgba(255,255,255,.9); font-size: 0.9rem; cursor: pointer; }
.search-empty-hint { text-align: center; padding: 2rem; color: var(--text-muted); }
.search-hint-icon { width: 48px; height: 48px; margin: 0 auto 0.75rem; opacity: .5; }
.search-hint-icon svg { width: 100%; height: 100%; }
.search-results-section { margin-bottom: 2rem; }
.search-results-section:last-child { margin-bottom: 0; }
.search-section-title { font-size: 1rem; font-weight: 600; margin: 0 0 1rem; color: var(--text); display: flex; align-items: center; gap: 0.5rem; }
.search-section-count { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.search-results-users { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0; }
.search-result-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, border-color .2s;
}
.search-result-user:hover { box-shadow: var(--shadow-card); border-color: var(--primary-light); }
.search-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light), var(--teal-light));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}
img.search-user-avatar { display: block; background: transparent; }
.search-result-user-info { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.search-result-username { font-weight: 600; color: var(--text); }
.search-result-user:hover .search-result-username { color: var(--primary); }
.search-result-display-name { font-size: 0.9rem; color: var(--text-muted); }
.search-results-header { margin-bottom: 1rem; color: var(--text-muted); }
.search-results-list { display: flex; flex-direction: column; gap: 0.75rem; }
.search-result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: box-shadow .2s;
}
.search-result-card:hover { box-shadow: var(--shadow-card); }
.search-result-card a { text-decoration: none; color: inherit; display: block; }
.search-result-badge { font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 4px; }
.badge-blue { background: rgba(59, 130, 246, .15); color: var(--blue); }
.badge-purple { background: #ede9fe; color: var(--primary); }
.search-result-title { font-size: 1rem; font-weight: 600; margin: 0.35rem 0; }
.search-result-card:hover .search-result-title { color: var(--primary); }
.search-result-excerpt { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 0.5rem; line-height: 1.5; }
.search-result-meta { font-size: 0.85rem; color: var(--text-muted); }

/* ========== STATIC PAGES ========== */
.static-page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #fff;
    padding: 2.5rem 1.5rem;
    text-align: center;
}
.static-page-icon { width: 56px; height: 56px; margin: 0 auto 1rem; opacity: .95; }
.static-page-icon svg { width: 100%; height: 100%; }
.static-page-title { font-size: 2rem; font-weight: 800; margin: 0; }
.static-page-body { padding: 2rem 0; }
.static-content { font-size: 1rem; line-height: 1.7; }
.static-content .lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.static-content h2 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
.static-content ul { margin: 0 0 1rem; padding-left: 1.5rem; }
.static-content li { margin-bottom: 0.35rem; }
.static-content a { color: var(--primary); }
.static-content a:hover { text-decoration: underline; }
.static-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.static-meta { font-size: 0.9rem; color: var(--text-muted); margin-top: 2rem; }

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form textarea { min-height: 120px; resize: vertical; }

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

.blog-list-views { display: inline-flex; align-items: center; gap: 0.25rem; }
.blog-list-views svg { opacity: .8; vertical-align: middle; }

/* ========== BANNER (Ana sayfa hero) ========== */
.main:has(.hero-banner) { padding-top: 0.75rem; }
.hero-banner {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 0;
    scroll-margin-top: 4rem; /* Kaydırma sırasında header ile çakışmayı önler */
}
.hero-banner-inner {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}
.hero-banner-left {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-banner-right {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.hero-banner .hero-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.hero-banner .hero-actions .btn {
    text-decoration: none;
    border-radius: var(--radius-btn);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
.hero-banner .hero-actions .btn-primary {
    background: var(--primary);
    color: #fff;
}
.hero-banner .hero-actions .btn-outline {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}
.hero-banner .hero-actions .btn-outline:hover {
    background: var(--bg);
    border-color: var(--border);
    color: var(--text);
}
.hero-banner-placeholder {
    width: 100%;
    height: 56px;
    background: #e2e8f0;
    border-radius: var(--radius);
}
html.theme-dark .hero-banner-placeholder {
    background: var(--border);
}
.hero-banner .hero-graphic {
    position: relative;
    width: 100%;
    height: 56px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    background: var(--border);
    overflow: hidden;
}
.hero-banner .hero-graphic img,
.hero-banner .hero-graphic video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.hero-banner .hero-graphic iframe {
    width: 100%;
    height: 56px;
    border: none;
}
@media (max-width: 768px) {
    .hero-banner-inner { flex-direction: column; gap: 1rem; }
    /* Mobilde banner içindeki görsel/başlık alanı gizlenir - sadece butonlar görünür */
    .hero-banner-right,
    .hero-banner-placeholder,
    .hero-banner .hero-graphic { display: none !important; }
    .hero-banner .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
    .hero-banner .hero-actions .btn { width: auto; flex: 0 0 auto; justify-content: center; min-width: 0; }
}

/* Eski hero (diğer sayfalar için) */
.hero-new {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.6rem;
    background: #f5f3ff;
    border-radius: var(--radius-btn);
}
.hero-title { font-size: 2.25rem; font-weight: 800; margin: 0 0 0.5rem; color: var(--text-dark); line-height: 1.25; }
.hero-title .highlight { color: var(--primary); }
.hero-lead { font-size: 1rem; color: var(--text-muted); margin: 0 0 1.5rem; max-width: 520px; line-height: 1.5; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-actions .btn { text-decoration: none; border-radius: var(--radius-btn); }
.hero-actions .btn-primary { background: var(--primary); }
.hero-actions .btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.hero-actions .btn-outline:hover { background: var(--bg); color: var(--text); border-color: var(--border); }
.hero-graphic {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 260px;
    min-width: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.hero-graphic img, .hero-graphic video { width: 100%; height: 100%; object-fit: cover; }
.hero-graphic iframe { width: 100%; height: 100%; border: none; }

/* ========== SECTIONS ========== */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--text);
}
.section-subtitle { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 1rem; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.section-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.section-header .link-muted { font-size: 0.9rem; color: var(--primary); }
.section-header .link-muted:hover { text-decoration: underline; }

/* ========== CARDS ========== */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}
.card-body { padding: 1.25rem; }
.card-title { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--primary); text-decoration: none; }
.card-excerpt { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--text-muted); }
.card-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.badge-purple { background: #ede9fe; color: var(--primary); }
.badge-blue { background: #dbeafe; color: #2563eb; }
.badge-green { background: #d1fae5; color: var(--success); }
.badge-orange { background: #ffedd5; color: #ea580c; }

/* Trend / topic cards - yatay kaydırma */
.trend-scroll-wrap {
    position: relative;
}
.trend-scroll-wrap:hover .trend-scroll-btn { opacity: 1; }
.trend-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity .2s, background .2s, transform .2s;
}
.trend-scroll-btn:hover {
    opacity: 1;
    background: #fff;
}
.trend-scroll-btn:active { transform: translateY(-50%) scale(0.95); }
.trend-scroll-btn svg { width: 24px; height: 24px; }
.trend-scroll-left { left: 4px; }
.trend-scroll-right { right: 4px; }
.trend-scroll-btn.is-hidden { opacity: 0; pointer-events: none; }
.trend-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0.5rem 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.trend-grid.grabbing { cursor: grabbing; }
.trend-grid::-webkit-scrollbar { display: none; }
.trend-card {
    flex: 0 0 280px;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: box-shadow .2s;
    scroll-snap-align: start;
}
.trend-card:hover { box-shadow: var(--shadow-card); }
.trend-card a { display: block; text-decoration: none; color: inherit; }
.trend-card-img {
    height: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
}
.trend-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.trend-card .badge { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 1; }
.trend-card-body { padding: 1rem; }
.trend-card-title { font-weight: 600; font-size: 0.95rem; margin: 0 0 0.5rem; line-height: 1.35; color: var(--text-dark); }
.trend-card-title:hover { color: var(--primary); }
.trend-card-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.trend-card-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }

/* Trend Sorular - resimsiz kartlar (question-card stili) */
.trend-question-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Anasayfa Trend + Son Sorular - eşit tasarım */
.home-questions-section {
    margin-bottom: 1.75rem;
}
.home-questions-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.home-questions-section .section-header .link-muted {
    font-size: 0.9rem;
    white-space: nowrap;
}
.home-question-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.home-questions-section .load-more-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ========== BLOG FEATURE - Soldan yan yana ========== */
.blog-scroll-wrap {
    position: relative;
}
.blog-scroll-wrap:hover .blog-scroll-btn { opacity: 1; }
.blog-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity .2s, background .2s, transform .2s;
}
.blog-scroll-btn:hover { opacity: 1; background: #fff; }
.blog-scroll-btn:active { transform: translateY(-50%) scale(0.95); }
.blog-scroll-btn svg { width: 24px; height: 24px; }
.blog-scroll-left { left: 4px; }
.blog-scroll-right { right: 4px; }
.blog-scroll-btn.is-hidden { opacity: 0; pointer-events: none; }

.blog-feature-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.blog-feature-grid::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
.blog-feature-card {
    flex: 0 0 300px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
}
.blog-feature-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.blog-feature-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.6rem;
}
.blog-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
    pointer-events: none;
}
.blog-feature-category {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.4rem;
    background: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 3px;
    margin-bottom: 0.35rem;
    align-self: flex-start;
}
.blog-feature-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.blog-feature-link:hover .blog-feature-title { color: #fff; text-decoration: none; }
.blog-feature-card { transition: transform .2s; }
.blog-feature-card:hover { transform: translateY(-2px); }

/* ========== BLOG LIST PAGE - Modern dergi tarzı ========== */
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
@media (max-width: 1024px) { .blog-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-list-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

.blog-list-card {
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .3s ease, border-color .2s;
}
.blog-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12), 0 4px 12px rgba(124,58,237,.08);
    border-color: rgba(124,58,237,.2);
}
.blog-list-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.blog-list-img {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 50%, #6366f1 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    overflow: hidden;
}
.blog-list-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.8) 100%);
    pointer-events: none;
}
.blog-list-category {
    position: relative;
    z-index: 1;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(124,58,237,.35);
}
.blog-list-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-list-link:hover .blog-list-title {
    color: #fff;
    text-decoration: none;
}
.blog-list-meta {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.blog-list-meta-left { flex: 1; min-width: 0; }
.blog-list-meta .blog-list-views {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.blog-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.blog-pagination-info { color: var(--text-muted); font-size: 0.95rem; }
.blog-pagination .btn { text-decoration: none; }

/* ========== BLOG DETAY - Modern makale sayfası ========== */
.blog-detail {
    min-height: 100vh;
    padding-bottom: 3rem;
}
.blog-detail-hero {
    position: relative;
    padding: 3rem 0 4rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.blog-detail-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.blog-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-detail-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.25) 100%);
}
.blog-detail-cover-placeholder {
    position: absolute;
    inset: 0;
    background: var(--hero-gradient, linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #8b5cf6 100%));
}
.blog-detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.blog-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: opacity .2s;
}
.blog-detail-back:hover {
    color: #fff;
    text-decoration: none;
    opacity: .95;
}
.blog-detail-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,.25);
    border-radius: 6px;
    margin-bottom: 1rem;
}
.blog-detail-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}
.blog-detail-excerpt {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: .95;
    margin: 0 0 1.25rem;
}
.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,.9);
}
.blog-detail-sep { opacity: .6; }
.blog-detail-views {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.blog-detail-views svg { opacity: .85; flex-shrink: 0; }

.blog-detail-body { background: var(--bg); }
.blog-detail-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 2rem;
}
.blog-detail-prose {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}
.blog-detail-prose p { margin: 0 0 1.25rem; }
.blog-detail-prose p:last-child { margin-bottom: 0; }
.blog-detail-prose h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text-dark);
}
.blog-detail-prose h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-dark);
}
.blog-detail-prose h4 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.blog-detail-prose ul, .blog-detail-prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}
.blog-detail-prose li { margin-bottom: 0.4rem; }
.blog-detail-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--primary);
    background: linear-gradient(90deg, rgba(124,58,237,.08) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text);
}
.blog-detail-prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-detail-prose a:hover { color: var(--primary-dark); }
.blog-detail-prose strong { font-weight: 600; }
.blog-detail-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1rem 0;
}

.blog-detail-footer-cta {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.25rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.blog-detail-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.blog-detail-share-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.blog-detail-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: color .2s, background .2s, border-color .2s;
}
.blog-detail-share-btn:hover {
    color: var(--primary);
    background: rgba(124,58,237,.08);
    border-color: var(--primary);
    text-decoration: none;
}

.blog-detail-related {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}
.blog-detail-related-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: var(--text-dark);
}
.blog-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.blog-detail-related-card {
    display: block;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.blog-detail-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: inherit;
}
.blog-detail-related-img {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    background-size: cover;
    background-position: center;
}
.blog-detail-related-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
}
.blog-detail-related-cat {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    background: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 4px;
}
.blog-detail-related-heading {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    padding: 0.75rem 1rem 0.25rem;
    line-height: 1.35;
    color: var(--text-dark);
}
.blog-detail-related-card:hover .blog-detail-related-heading { color: var(--primary); }
.blog-detail-related-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0 1rem 0.75rem;
    margin: 0;
}

.blog-detail-404 {
    max-width: 480px;
    margin: 2rem auto;
    text-align: center;
    padding: 2rem;
}
.blog-detail-404 h1 { font-size: 3rem; margin-bottom: 0.5rem; }
.blog-detail-404 .btn { margin-top: 1rem; }

/* Question list items */
.question-list { list-style: none; margin: 0; padding: 0; }
.question-list li { border-bottom: 1px solid var(--border); }
.question-list li:last-child { border-bottom: none; }
.question-list a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    color: var(--text);
}
.question-list a:hover { background: var(--bg); text-decoration: none; }
.question-list .q-left { flex: 1; min-width: 0; }
.question-list .badge { margin-right: 0.5rem; font-size: 0.65rem; }
.question-list .q-title { font-weight: 600; margin: 0 0 0.25rem; display: block; }
.question-list .q-meta { font-size: 0.85rem; color: var(--text-muted); }
.question-list .q-cevap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 500;
}
.question-list .q-cevap:hover { color: var(--blue-dark); }

/* ========== SON SORULAR - Düzenli liste tasarımı ========== */
.son-sorular-card .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.son-sorular-card .section-header .link-muted { font-size: 0.9rem; white-space: nowrap; }
.son-sorular-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.son-soru-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}
.son-soru-item:hover {
    border-color: rgba(124, 58, 237, .3);
    box-shadow: var(--shadow);
}
.son-soru-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
}
.son-soru-link:hover {
    text-decoration: none;
    color: inherit;
}
.son-soru-main { flex: 1; min-width: 0; }
.son-soru-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}
.son-soru-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: #ede9fe;
    color: var(--primary);
    border-radius: 6px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.son-soru-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: var(--text-dark);
    flex: 1;
    min-width: 0;
}
.son-soru-link:hover .son-soru-title { color: var(--primary); }
.son-soru-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.son-soru-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.son-soru-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #c7d2fe);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.7rem;
    flex-shrink: 0;
    object-fit: cover;
}
img.son-soru-avatar {
    display: block;
    background: transparent;
}
.son-soru-author { color: var(--text); font-weight: 500; }
.son-soru-link:hover .son-soru-author { color: var(--primary); }
.son-soru-time {
    color: var(--text-muted);
    font-size: 0.78rem;
}
.son-soru-time::before {
    content: "·";
    margin-right: 0.5rem;
    color: var(--border);
}
.son-soru-stat {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    background: rgba(124, 58, 237, .08);
    border-radius: 6px;
}
.son-soru-icon { width: 16px; height: 16px; opacity: .9; }
.son-sorular-card .load-more-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.discussion-list .card { margin-bottom: 1rem; }
.discussion-list .card:last-child { margin-bottom: 0; }

/* ========== QUESTION CARDS / Son Eklenen Sorular ========== */
.sorular-load-sentinel { min-height: 20px; }
.question-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.question-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.question-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--primary-light);
}
.question-card a { display: block; padding: 1.5rem; text-decoration: none; color: inherit; height: 100%; }
.question-card-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.5rem;
    background: #ede9fe;
    color: var(--primary);
    border-radius: 4px;
    margin-bottom: 0.9rem;
}
.question-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.65rem;
    line-height: 1.45;
    color: var(--text-dark);
}
.question-card:hover .question-card-title { color: var(--primary); }
.question-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.question-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.question-card-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--teal-light));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    object-fit: cover;
}
img.question-card-avatar {
    display: block;
    background: transparent;
}
.question-card-time { margin-left: auto; font-size: 0.8rem; opacity: .9; }
.question-card-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--border);
}
.q-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}
.q-stat-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
}
.q-stat-like .q-stat-icon { color: var(--primary); }
.q-stat-comment .q-stat-icon { color: var(--blue); }

/* Kategori sayfası - içerik kartları */
.category-content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.category-content-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.category-content-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--primary-light);
}
.category-content-card a {
    display: block;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.content-card-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}
.content-card-badge-soru {
    background: #ede9fe;
    color: var(--primary);
}
.content-card-badge-tartisma {
    background: #dbeafe;
    color: var(--blue);
}
.content-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    color: var(--text-dark);
}
.category-content-card:hover .content-card-title {
    color: var(--primary);
}
.content-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.content-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.content-card-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--teal-light));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    object-fit: cover;
}
img.content-card-avatar {
    display: block;
    background: transparent;
}
.content-card-time {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.9;
}
.content-card-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

/* Popüler Kategoriler - Kart tasarımı (resim referansı) */
.cat-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.25rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: border-color .2s, box-shadow .2s;
}
.cat-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
}
.cat-card-featured {
    background: #faf5ff;
    border-color: #ede9fe;
}
.cat-card-featured:hover { border-color: var(--primary-light); }
.cat-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
}
.cat-card-icon svg { width: 28px; height: 28px; }
.cat-card-featured .cat-card-icon { color: var(--primary); }
.cat-card-name {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Soru Sor formunda kategori seçimi - tıklanabilir kartlar */
.cat-cards-select .cat-card-select {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.25rem 0.75rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-create .cat-cards-select .cat-card-select {
    padding: 0.4rem 0.35rem;
    gap: 0.25rem;
    border-width: 1px;
    min-height: auto;
}
.form-create .cat-cards-select .cat-card-icon {
    width: 20px;
    height: 20px;
}
.form-create .cat-cards-select .cat-card-icon svg { width: 16px; height: 16px; }
.form-create .cat-cards-select .cat-card-name { font-size: 0.72rem; line-height: 1.2; }
.form-create .cat-cards-select { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.4rem; max-width: 400px; }
.cat-cards-select .cat-card-select:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}
.cat-cards-select .cat-card-select.is-selected {
    border-color: var(--primary);
    background: #faf5ff;
    box-shadow: 0 0 0 1px var(--primary);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.cat-radio-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.cat-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 0.95rem;
    text-align: left;
    transition: border-color .2s, background .2s;
}
.cat-btn:hover { border-color: var(--primary); background: #faf5ff; text-decoration: none; color: var(--text-dark); }
.cat-btn .icon { font-size: 1.35rem; color: var(--text-muted); flex-shrink: 0; }

/* Active users */
.user-list { list-style: none; margin: 0; padding: 0; }
.user-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.user-list li:last-child { border-bottom: none; }
.user-list .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--border); }
.user-list .u-name { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.user-list .u-name:hover { color: var(--primary); text-decoration: none; }
.user-list .u-role { font-size: 0.8rem; color: var(--text-muted); }
.user-list .u-points { font-size: 0.85rem; color: var(--primary); margin-left: auto; }

/* CTA box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-card);
}
.cta-box h3 { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 700; }
.cta-box p { margin: 0 0 1rem; font-size: 0.9rem; opacity: .95; }
.cta-box .btn { background: #fff; color: var(--primary); border: none; border-radius: var(--radius-btn); padding: 0.6rem 1.25rem; }
.cta-box .btn:hover { background: #f8fafc; color: var(--primary-dark); text-decoration: none; }

/* ========== LEFT SIDEBAR (soru detay vb.) ========== */
.sidebar-nav { margin-bottom: 1.5rem; }
.sidebar-nav-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin: 0 0 0.5rem; padding: 0 0.5rem; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 0.75rem; border-radius: var(--radius);
    color: var(--text); font-size: 0.95rem;
}
.sidebar-nav a:hover { background: var(--bg); color: var(--primary); text-decoration: none; }
.sidebar-nav a.active { background: var(--primary); color: #fff !important; font-weight: 600; }
.sidebar-nav a.active:hover { background: var(--primary-dark); color: #fff !important; }
.sidebar-divider { height: 1px; background: var(--border); margin: 1rem 0; }

/* Sol sidebar - Kategoriler kartı */
.sidebar-categories-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}
.sidebar-categories-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    padding: 0;
}
.sidebar-categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.sidebar-categories-list .sidebar-cat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.sidebar-categories-list .sidebar-cat-item:hover {
    background: var(--bg);
    color: var(--primary);
    text-decoration: none;
}
.sidebar-categories-list .sidebar-cat-item.active {
    background: rgba(124, 58, 237, .12);
    color: var(--primary);
    font-weight: 600;
}
.sidebar-categories-list .sidebar-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg);
    color: var(--text-muted);
    flex-shrink: 0;
}
.sidebar-categories-list .sidebar-cat-icon svg {
    width: 18px;
    height: 18px;
}
.sidebar-categories-list .sidebar-cat-item:hover .sidebar-cat-icon,
.sidebar-categories-list .sidebar-cat-item.active .sidebar-cat-icon {
    background: rgba(124, 58, 237, .15);
    color: var(--primary);
}
.sidebar-categories-list .sidebar-cat-name {
    flex: 1;
    min-width: 0;
}
.sidebar-cat-all {
    display: block;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
}
.sidebar-cat-all:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.sidebar-categories .sidebar-nav a { padding: 0.5rem 0.75rem; }
.sidebar-categories .sidebar-nav a.bg-light { background: #f5f3ff; }

/* ========== BREADCRUMB ========== */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.35rem; }

/* ========== QUESTION DETAIL ========== */
.question-detail-card { margin-bottom: 1.5rem; }
.question-detail-cover {
    width: 100%;
    max-height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bg);
}
.question-detail-cover img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
}
.question-detail-card .author-row,
.poll-detail-card .author-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.question-detail-card .author-avatar,
.poll-detail-card .author-avatar { width: 48px; height: 48px; min-width: 48px; min-height: 48px; border-radius: 50%; object-fit: cover; background: var(--border); display: flex; align-items: center; justify-content: center; }
.question-detail-card .author-avatar.header-avatar-placeholder,
.poll-detail-card .author-avatar.header-avatar-placeholder { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
.question-detail-card img.author-avatar,
.poll-detail-card img.author-avatar { display: block; }
.question-detail-card .author-name { font-weight: 600; color: var(--text); }
.author-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.author-link:hover { color: var(--primary); }
.author-link:hover .author-name { color: var(--primary); }
.question-card-author-link { cursor: pointer; color: var(--text); }
.question-card-author-link:hover { color: var(--primary); }
.reply-author-link { color: var(--text); }
.reply-author-link:hover { color: var(--primary); text-decoration: underline; }
.question-detail-card .author-meta { font-size: 0.85rem; color: var(--text-muted); }
.question-detail-card .q-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem; line-height: 1.3; }
.question-detail-card .q-body { color: var(--text); margin-bottom: 1rem; white-space: pre-wrap; }
.question-detail-card .q-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.question-detail-card .q-actions .btn-ghost { padding: 0.4rem 0.75rem; font-size: 0.9rem; }
.q-actions { pointer-events: auto; }
.q-actions .react-form-inline { display: inline-flex; gap: 0.25rem; }
.q-actions .react-btn, .q-actions .btn-ghost[href], .q-actions .btn-report { cursor: pointer; position: relative; z-index: 10; pointer-events: auto !important; min-height: 36px; padding: 0.4rem 0.75rem !important; display: inline-flex; align-items: center; gap: 0.35rem; transition: color .2s, transform .1s, background .2s; }
.btn-report { display: inline-flex; align-items: center; gap: 0.35rem; }
.btn-report .report-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: var(--text-muted); transition: color .2s; }
.btn-report:hover .report-icon { color: var(--primary); }
.q-actions .react-icon { width: 1.15rem; height: 1.15rem; flex-shrink: 0; transition: color .2s; }
.q-actions .react-btn:hover { color: var(--primary); }
.q-actions .react-btn:hover .react-icon { color: inherit; }
.q-actions .react-btn:active { transform: scale(0.88); background: rgba(124, 58, 237, 0.2); }
.q-actions .react-btn.is-liked { color: var(--primary); }
.q-actions .react-btn.is-liked .react-icon { color: var(--primary); }
.q-actions .react-btn.is-loading { opacity: 0.7; cursor: wait; pointer-events: none; }
.q-actions .react-btn.is-pressed { transform: scale(0.88); background: rgba(124, 58, 237, 0.25) !important; }
.q-actions .btn-ghost[href] .react-icon { color: var(--text-muted); }
.q-actions .btn-ghost[href]:hover .react-icon { color: var(--primary); }
.answer-card .q-actions .react-btn { cursor: pointer; position: relative; z-index: 5; pointer-events: auto !important; }
.answer-card {
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--primary);
    background: rgba(124, 58, 237, 0.04);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.answer-card .card-body { padding: 1.35rem 1.25rem; }
.answer-card .q-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark, #1e293b);
    margin-bottom: 1rem;
}
.answer-replies { margin-top: 1rem; padding-left: 1rem; border-left: 3px solid rgba(124, 58, 237, 0.35); }
.answer-reply-item { margin-bottom: 0.75rem; font-size: 0.95rem; line-height: 1.5; }
.answer-reply-item .reply-author { font-weight: 600; color: var(--primary); margin-right: 0.25rem; }
.answer-reply-item .reply-content { color: var(--text); }
.answer-reply-item .reply-meta { font-size: 0.75rem; color: var(--text-muted); margin-left: 0.35rem; }
.reply-load-more-wrap { margin-top: 0.5rem; }
.reply-form-wrap textarea { width: 100%; padding: 0.6rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; resize: vertical; min-height: 60px; }
/* Masaüstü: reaction butonları üstte kalsın, tıklanabilir alan geniş olsun */
@media (min-width: 921px) {
    .q-actions { position: relative; z-index: 15; isolation: isolate; }
    .q-actions .react-form-inline { position: relative; z-index: 15; }
}
.content-actions-dropdown { position: relative; }
.content-actions-menu { position: absolute; top: 100%; right: 0; margin-top: 0.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 0.25rem; min-width: 120px; z-index: 20; }
.content-actions-menu form { margin: 0; }
.content-actions-item { display: block; width: 100%; padding: 0.5rem 0.75rem; border: none; background: none; font-size: 0.9rem; text-align: left; cursor: pointer; border-radius: 6px; color: var(--text); }
.content-actions-item:hover { background: var(--bg); }
.content-actions-danger { color: var(--danger) !important; }
.delete-content-inline { display: inline; }
.delete-content-inline button { padding: 0.2rem 0.5rem; }
.answer-card .author-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.answer-card .featured-tag { font-size: 0.7rem; font-weight: 600; color: var(--success); }
.answer-box { margin-bottom: 1.5rem; }
.answer-box textarea { width: 100%; min-height: 120px; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; resize: vertical; }
.answer-box .toolbar { display: flex; gap: 0.5rem; margin-top: 0.5rem; color: var(--text-muted); }
.similar-list { list-style: none; margin: 0; padding: 0; }
.similar-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.similar-list li:last-child { border-bottom: none; }
.similar-list a { color: var(--text); font-size: 0.9rem; }
.similar-list a:hover { color: var(--primary); text-decoration: none; }
.hashtag-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hashtag-grid a { display: inline-block; padding: 0.35rem 0.75rem; border: 1px solid var(--primary); border-radius: 999px; font-size: 0.85rem; color: var(--primary); }
.hashtag-grid a:hover { background: #ede9fe; text-decoration: none; }

/* ========== PROFILE PAGE v2 ========== */
.profile-page .layout-with-right { align-items: flex-start; }
.profile-main { flex: 1; min-width: 0; }
.profile-sidebar { width: 300px; flex-shrink: 0; }

.profile-card-v2 { overflow: hidden; margin-bottom: 1.5rem; }
.profile-card-cover {
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
}
.profile-card-body { padding: 0 1.5rem 1.5rem; margin-top: -40px; }
.profile-header-v2 { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.profile-avatar-wrap-v2 { position: relative; flex-shrink: 0; }
.profile-avatar-v2 {
    width: 96px; height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface);
    border: 4px solid var(--surface);
    box-shadow: var(--shadow-card);
}
.profile-avatar-placeholder-v2 {
    display: flex; align-items: center; justify-content: center;
    font-size: 2.25rem; font-weight: 600;
    color: var(--primary);
    background: #ede9fe;
    border: 4px solid var(--surface);
    box-shadow: var(--shadow-card);
}
.profile-avatar-edit-v2 {
    position: absolute; right: 0; bottom: 0;
    width: 32px; height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    border: 2px solid var(--surface);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .2s;
}
.profile-avatar-edit-v2:hover { background: var(--primary-dark); color: #fff; transform: scale(1.05); text-decoration: none; }
.profile-info-v2 { flex: 1; min-width: 0; }
.profile-name-v2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.15rem; }
.profile-username-v2 { color: var(--text-muted); font-size: 0.95rem; }
.profile-badge-v2 {
    display: inline-block;
    font-size: 0.7rem; font-weight: 600;
    padding: 0.2rem 0.55rem;
    background: #ede9fe;
    color: var(--primary);
    border-radius: 999px;
    margin-left: 0.5rem;
}
.profile-badge-editor { background: var(--primary); color: #fff; }
.profile-badge-admin { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); color: #fff; }
.profile-bio-v2 { color: var(--text-muted); margin: 0.5rem 0; font-size: 0.95rem; line-height: 1.5; }
.profile-website-v2 { display: inline-block; font-size: 0.9rem; color: var(--primary); margin-bottom: 0.25rem; }
.profile-website-v2:hover { text-decoration: underline; }
.profile-meta-v2 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.profile-actions-v2 { margin-bottom: 0.75rem; }
.profile-stats-v2 { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.profile-stat-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}
.profile-stat-item strong { display: block; font-size: 1.1rem; color: var(--text); margin-bottom: 0.15rem; }

.profile-tabs-v2 { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.profile-tabs-v2 a {
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}
.profile-tabs-v2 a:hover { color: var(--primary); text-decoration: none; }
.profile-tabs-v2 a.active { color: var(--primary); border-bottom: 2px solid var(--primary); margin-bottom: -1px; }

.profile-content-section .section-title { font-size: 1.1rem; margin-bottom: 1rem; }
.profile-question-list { display: flex; flex-direction: column; gap: 0.75rem; }
.profile-question-card-v2 .card-body { padding: 1rem 1.25rem; }
.profile-question-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.35rem; }
.profile-question-time { font-size: 0.85rem; color: var(--text-muted); }
.profile-question-title { font-weight: 600; display: block; margin-bottom: 0.35rem; }
.profile-question-title:hover { color: var(--primary); text-decoration: none; }
.profile-question-stats { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.profile-question-stats .icon-inline { width: 16px; height: 16px; vertical-align: -2px; display: inline; }
.btn-delete-inline { color: var(--danger) !important; font-size: 0.8rem; padding: 0.2rem 0.5rem; }
.profile-answer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.profile-answer-card-v2 .card-body { padding: 1rem 1.25rem; }
.profile-answer-best { margin-bottom: 0.5rem !important; }
.profile-answer-excerpt { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.5rem; line-height: 1.5; }
.profile-answer-link { font-weight: 500; display: block; margin-bottom: 0.25rem; }
.profile-answer-link:hover { color: var(--primary); text-decoration: none; }
.profile-answer-meta { font-size: 0.8rem; color: var(--text-muted); }

/* Madalyalar sidebar */
.profile-badges-card { margin-bottom: 1rem; }
.profile-sidebar-title {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.95rem; font-weight: 600;
    margin: 0 0 1rem;
}
.profile-sidebar-title .icon-title { width: 18px; height: 18px; color: var(--primary); }
.profile-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 0.75rem;
}
.profile-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.35rem;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: border-color .2s, background .2s;
}
.profile-badge-item.earned {
    background: rgba(124, 58, 237, .08);
    border-color: var(--primary-light);
}
.profile-badge-item.earned .profile-badge-icon { color: var(--primary); }
.profile-badge-item.locked .profile-badge-icon { color: var(--text-muted); opacity: .5; }
.profile-badge-item.locked .profile-badge-name { color: var(--text-muted); font-size: 0.7rem; }
.profile-badge-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
}
.profile-badge-icon svg { width: 100%; height: 100%; }
.profile-badge-name { font-size: 0.7rem; text-align: center; font-weight: 500; line-height: 1.2; }

.profile-stats-card { margin-bottom: 1rem; }
.profile-stats-list { list-style: none; margin: 0; padding: 0; }
.profile-stats-list li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.profile-stats-list li:last-child { border-bottom: none; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); }
.stat-value { font-weight: 600; }

.profile-level-card { margin-bottom: 1rem; }
.profile-level-desc { font-size: 0.9rem; margin-bottom: 0.5rem; }
.profile-progress { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; }
.profile-progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width .3s; }
.profile-level-hint { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* Profil düzenle */
.container-narrow { max-width: 560px; margin: 0 auto; }
.page-header { margin-bottom: 1.5rem; }
.back-link { font-size: 0.9rem; color: var(--text-muted); display: inline-block; margin-bottom: 0.5rem; }
.back-link:hover { color: var(--primary); text-decoration: none; }
.profile-edit-form .card-body { padding: 1.5rem; }
.profile-edit-avatar-section { margin-bottom: 1.5rem; }
.profile-edit-label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }
.profile-edit-avatar-wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.profile-edit-avatar-preview {
    width: 96px; height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #ede9fe;
    display: flex; align-items: center; justify-content: center;
}
.profile-edit-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-edit-avatar-placeholder {
    font-size: 2.25rem; font-weight: 600; color: var(--primary);
}
.profile-edit-avatar-actions { display: flex; gap: 0.5rem; }
.profile-edit-gender-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-edit-gender-options .gender-option { margin: 0; }
.profile-edit-gender-options .gender-option-box {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.profile-edit-gender-options .gender-option input { display: none; }
.profile-edit-gender-options .gender-option input:checked + .gender-option-box {
    border-color: var(--primary);
    background: rgba(124, 58, 237, .08);
}
.profile-edit-gender-options .gender-option-box svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.profile-edit-gender-options .gender-option[data-gender="kadin"] .gender-option-box { color: #ec4899; }
.profile-edit-gender-options .gender-option[data-gender="erkek"] .gender-option-box { color: #3b82f6; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

/* Modal + Cropper */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    padding: 1rem;
}
.modal-overlay[aria-hidden="true"] { display: none; }
/* Raporla modal - her zaman beyaz arka plan (gece modunda da okunaklı) */
#report-modal .modal-report {
    background: #fff;
    color: #1e293b;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    max-width: 480px;
    width: 100%;
    border: 1px solid #e2e8f0;
}
#report-modal .modal-report .modal-header { border-bottom-color: #e2e8f0; }
#report-modal .modal-report .modal-body { padding: 1.25rem; }
#report-modal .modal-report .modal-footer { border-top-color: #e2e8f0; }
#report-modal .modal-report .modal-header h2 { color: #0f172a; }
#report-modal .modal-report .modal-close { color: #64748b; }
#report-modal .modal-report .modal-close:hover { color: #1e293b; }
#report-modal .modal-report .text-muted { color: #64748b; }
#report-modal .modal-report label { color: #334155; }
#report-modal .modal-report select,
#report-modal .modal-report textarea,
#report-modal .modal-report input[type="url"],
#report-modal .modal-report input[type="text"] {
    background: #fff;
    color: #1e293b;
    border-color: #e2e8f0;
}
.modal-dialog {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}
.modal-avatar-crop { max-width: 500px; }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.modal-header h2 { margin: 0; font-size: 1.1rem; }
.modal-close {
    background: none; border: none;
    font-size: 1.5rem; line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 0.25rem;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 1.25rem; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}
.crop-container { max-width: 100%; max-height: 400px; }
.crop-container img { max-width: 100%; display: block; }
.crop-hint { font-size: 0.85rem; color: var(--text-muted); margin: 0.5rem 0 0; }

/* Login modal - giriş gerektiren aksiyonlarda */
.login-modal-overlay {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.login-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.login-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
    cursor: pointer;
}
.login-modal-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}
.login-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
}
.login-modal-close:hover { background: var(--bg); color: var(--text); }
.login-modal-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
}
.login-modal-logo { height: 48px; width: auto; max-width: 140px; object-fit: contain; margin-bottom: 1rem; }
.login-modal-logo-icon { display: inline-flex; width: 48px; height: 48px; color: var(--primary); margin-bottom: 1rem; }
.login-modal-logo-icon svg { width: 100%; height: 100%; }
.login-modal-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.35rem; color: var(--text); }
.login-modal-subtitle { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.login-modal-body { padding: 0 1.5rem 1.5rem; }
.login-modal-form .form-group { margin-bottom: 1rem; }
.login-modal-form .form-group label { font-size: 0.85rem; }
.login-modal-form input { padding: 0.6rem 0.75rem; font-size: 1rem; }
.login-modal-forgot { margin: -0.25rem 0 1rem; text-align: center; font-size: 0.85rem; }
.login-modal-forgot a { color: var(--primary); }
.login-modal-forgot a:hover { text-decoration: underline; }
.login-modal-form .btn { margin-top: 0.25rem; padding: 0.65rem; }
.login-modal-divider { text-align: center; margin: 1rem 0; color: var(--text-muted); font-size: 0.85rem; }
.login-modal-google {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    text-decoration: none;
}
.login-modal-google:hover { text-decoration: none; }
.login-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.login-modal-footer p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.login-modal-footer a { color: var(--primary); font-weight: 500; }

/* Geçiş reklamı (interstitial) */
.interstitial-overlay {
    position: fixed; inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.75);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.interstitial-overlay:not([hidden]) {
    opacity: 1;
    visibility: visible;
}
.interstitial-overlay[hidden] { display: none; }
.interstitial-inner {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0,0,0,.4);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
}
.interstitial-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    z-index: 1;
}
.interstitial-close:hover { background: var(--border); color: var(--text); }
.interstitial-content {
    padding: 3rem 2rem;
    min-width: 280px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.interstitial-test-ad {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.interstitial-test-ad strong { color: var(--text); display: block; margin-bottom: 0.5rem; }
.interstitial-test-ad p { margin: 0; }
.interstitial-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border: 2px dashed #94a3b8;
    border-radius: var(--radius);
    padding: 2.5rem;
    color: #64748b;
}
html.theme-dark .interstitial-placeholder { background: linear-gradient(135deg,#334155 0%,#475569 100%); border-color:#64748b; color:#94a3b8; }
.login-modal-footer a:hover { text-decoration: underline; }

/* Eski profil (uyumluluk) */
.profile-card { margin-bottom: 1.5rem; }
.profile-header { display: flex; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.profile-avatar-wrap { position: relative; }
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; background: var(--border); }
.profile-avatar-edit { position: absolute; right: 0; bottom: 0; width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; border: 2px solid var(--surface); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.profile-name { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.25rem; }
.profile-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.65rem; background: #ede9fe; color: var(--primary); border-radius: 999px; margin-left: 0.5rem; }
.profile-badge-pro { background: var(--primary); color: #fff; }
.profile-bio { color: var(--text-muted); margin: 0.5rem 0 1rem; max-width: 560px; }
.profile-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.profile-actions { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.profile-stats { display: flex; gap: 2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
.profile-stats strong { display: block; font-size: 1.15rem; color: var(--text); }
.profile-stats-puan { color: var(--blue); }
.profile-stats-puan strong { color: var(--blue); }
.profile-tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.profile-tabs a { padding: 0.75rem 1rem; color: var(--text-muted); font-weight: 500; }
.profile-tabs a:hover { color: var(--primary); text-decoration: none; }
.profile-tabs a.active { color: var(--primary); border-bottom: 2px solid var(--primary); margin-bottom: -1px; }
.profile-puan-card {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    padding: 1.25rem;
    border-radius: var(--radius);
}
.profile-puan-card .section-title { color: #fff; margin-bottom: 0.5rem; }
.profile-puan-card p { margin: 0 0 0.75rem; font-size: 0.9rem; opacity: .95; }
.progress-bar { height: 8px; background: rgba(255,255,255,.3); border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.progress-fill { height: 100%; background: #fff; border-radius: 4px; transition: width .3s; }
.profile-level { margin-bottom: 0 !important; font-size: 0.85rem; }
.profile-level strong { display: block; font-size: 0.75rem; opacity: .9; }
.badge-grid { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ========== CREATE CONTENT FORM ========== */
.form-create .form-group { margin-bottom: 1.25rem; }
.form-create label { display: block; margin-bottom: 0.35rem; font-weight: 500; font-size: 0.9rem; }
.form-create input[type="text"], .form-create input[type="email"], .form-create select { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; }
.form-create textarea { width: 100%; min-height: 120px; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; resize: vertical; }
.form-create .form-hint { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--text-muted); }
.form-options-row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.form-options-row .checkbox-label { margin-bottom: 0; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.form-actions .btn { min-width: 140px; }
.form-create .upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.form-create .upload-zone:hover { border-color: var(--primary); background: #faf5ff; }
.form-create .upload-zone .icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.form-create .upload-zone small { font-size: 0.8rem; }

/* Kapak resmi yükleme - kompakt satır (.form-create label'dan önce gelmeli) */
.form-create .cover-upload-zone,
.cover-upload-zone {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}
.form-create .cover-upload-zone:hover,
.cover-upload-zone:hover {
    border-color: var(--primary);
    background: #faf5ff;
    color: var(--primary);
}
.cover-upload-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color .2s;
}
.cover-upload-zone:hover .cover-upload-icon { color: var(--primary); }
.cover-upload-icon svg { width: 100%; height: 100%; }
.cover-upload-text { font-size: 0.85rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.cover-upload-hint { font-size: 0.75rem; color: var(--text-muted); margin-left: 0.25rem; }
.cover-upload-input { position: absolute; width: 0; height: 0; opacity: 0; overflow: hidden; }
.tip-box { background: #f5f3ff; border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.tip-box .icon { color: var(--primary); }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; cursor: pointer; }

/* ========== AUTH PAGES ========== */
.auth-box { max-width: 420px; margin: 2rem auto; padding: 2rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.auth-title { margin: 0 0 0.25rem; font-size: 1.5rem; }
.auth-lead { margin: 0 0 1.5rem; color: var(--text-muted); }
.auth-form .form-group { margin-bottom: 1rem; }
.auth-divider { text-align: center; margin: 1rem 0; color: var(--text-muted); font-size: 0.85rem; }
.auth-google-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; margin-top: 0.5rem; }
.auth-footer { margin-top: 1.5rem; text-align: center; color: var(--text-muted); font-size: 0.95rem; }
.auth-forgot-link { margin: -0.5rem 0 1rem; text-align: center; font-size: 0.9rem; }
.auth-forgot-link a { color: var(--primary); }
.auth-forgot-link a:hover { text-decoration: underline; }
.gender-select { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.gender-option { display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.gender-option:hover { border-color: var(--primary-light); background: rgba(124, 58, 237, 0.06); }
.gender-option.is-selected,
.gender-option:has(input:checked) { border-color: var(--primary); background: rgba(124, 58, 237, 0.1); }
.gender-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.gender-option-icon { display: flex; align-items: center; }
.gender-option-icon .gender-icon { width: 1.1rem; height: 1.1rem; }
.gender-option[data-gender="kadin"] .gender-option-icon { color: #ec4899; }
.gender-option[data-gender="erkek"] .gender-option-icon { color: #3b82f6; }
.author-gender-badge { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.35rem; font-size: 0.8rem; color: var(--text-muted); }
.author-gender-badge .gender-icon { width: 0.95rem; height: 0.95rem; vertical-align: middle; }
.author-gender-icon { display: inline-flex; align-items: center; margin-left: 0.25rem; vertical-align: middle; color: var(--text-muted); }
.author-gender-icon .gender-icon { width: 0.9rem; height: 0.9rem; }
.author-gender-icon.gender-kadin,
.author-gender-badge.gender-kadin { color: #ec4899; }
.author-gender-icon.gender-erkek,
.author-gender-badge.gender-erkek { color: #3b82f6; }
.author-role-badge { display: inline-block; font-size: 0.65rem; font-weight: 600; padding: 0.15rem 0.45rem; border-radius: 999px; vertical-align: middle; margin-left: 0.25rem; }
.author-role-admin { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); color: #fff; }
.author-role-editor { background: var(--primary); color: #fff; }
.checkbox-inline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 500; font-size: 0.9rem; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="url"] { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; }
.form-group textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; font-family: inherit; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }

/* ========== ALERTS ========== */
.alert { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-error ul { margin: 0; padding-left: 1.25rem; }
.alert-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.empty-state { color: var(--text-muted); text-align: center; padding: 2rem; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1rem;
    margin-top: 3rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; margin-bottom: 2rem; align-items: start; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--blue-dark); }
.footer-desc { font-size: 0.9rem; color: var(--text-muted); max-width: 320px; line-height: 1.5; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin: 0 0 0.75rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-copy { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { color: var(--text-muted); font-size: 1.25rem; }
.footer-social a:hover { color: var(--primary); }

/* ========== LOAD MORE ========== */
.load-more-wrap { text-align: center; margin-top: 1.5rem; }
.load-more-wrap .btn { min-width: 220px; border-radius: var(--radius-btn); }
.load-more-wrap .btn-outline { background: #fff; border-color: var(--border); color: var(--text); }
.load-more-wrap .btn-outline:hover { background: var(--bg); color: var(--text); }

/* ========== USER SIDEBAR (içerik oluştur) ========== */
.user-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #f8f8fa;
    border-radius: var(--radius);
    padding: 1rem;
}
.user-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
}
.user-sidebar-nav a:hover { background: #eee; color: var(--primary); text-decoration: none; }
.user-sidebar-nav a.active { background: #ede9fe; color: var(--primary); font-weight: 600; }
.layout-create { display: flex; gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 1rem; }
.layout-create-main { flex: 1; min-width: 0; }
@media (max-width: 900px) { .user-sidebar { display: none; } }

/* ========== SORU SOR - Basit sayfa ========== */
.ask-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.ask-form-wrap {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.ask-back {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}
.ask-back:hover { color: var(--primary); }
.ask-title {
    margin: 0 0 0.25rem;
    font-size: 1.75rem;
}
.ask-lead {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}
.ask-form .form-group { margin-bottom: 1.25rem; }
.ask-form input[type="text"] {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.ask-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.ask-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    resize: vertical;
}
.ask-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.ask-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}
.ask-actions {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.ask-actions .btn-lg {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
}
.ask-actions-secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ask-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}
.ask-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.ask-link:hover { color: var(--primary); }
.ask-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}
.ask-footer a { color: var(--primary); }
.login-required-msg { margin: 0 0 1rem 0; color: var(--text-muted); }
.answer-box-login-required .btn { margin-top: 0.5rem; }
.cat-cards-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) { .cat-cards-row { grid-template-columns: repeat(2, 1fr); } }

/* ========== BİLDİRİM DROPDOWN ========== */
/* ========== TEMA KAYDIRMALI AÇICI (Gündüz / Gece) ========== */
.theme-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.35rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.theme-switch:hover { border-color: var(--primary); background: rgba(124, 58, 237, .06); }
.theme-switch-track {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    transition: background .25s ease;
}
.theme-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--surface);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
    transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-switch[aria-checked="true"] .theme-switch-thumb {
    transform: translateX(20px);
}
.theme-switch[aria-checked="true"] .theme-switch-track {
    background: rgba(124, 58, 237, .3);
}
.theme-switch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color .2s;
}
.theme-switch-icon svg { width: 16px; height: 16px; }
.theme-switch-sun { color: var(--text-muted); }
.theme-switch-moon { color: var(--text-muted); }
.theme-switch:not([aria-checked="true"]) .theme-switch-sun { color: var(--primary); }
.theme-switch[aria-checked="true"] .theme-switch-moon { color: var(--primary); }

/* ========== BİLDİRİM DROPDOWN ========== */
.notif-dropdown {
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
}
.notif-trigger {
    position: relative;
    z-index: 1;
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
    flex-shrink: 0;
}
.notif-trigger svg {
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 9px;
    border: 2px solid var(--surface);
}
.notif-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, 90vw);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s, transform .2s ease;
    z-index: 200;
    overflow: hidden;
    pointer-events: none;
}
.notif-dropdown.is-open .notif-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Avatar dropdown (Profilim / Çıkış) */
.avatar-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s, transform .2s ease;
    z-index: 200;
    padding: 0.35rem 0;
    pointer-events: none;
}
.avatar-dropdown.is-open .avatar-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.avatar-panel-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background .15s;
}
.avatar-panel-item:hover { background: var(--bg); color: var(--primary); text-decoration: none; }
.avatar-panel-divider { height: 1px; background: var(--border); margin: 0.35rem 0; }
.avatar-panel-logout { color: var(--danger) !important; }
.avatar-panel-logout:hover { background: rgba(239, 68, 68, .08); color: var(--danger) !important; }

.notif-panel-body {
    max-height: 320px;
    overflow-y: auto;
    padding: 0.5rem 0;
}
.notif-loading {
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.notif-list {
    display: flex;
    flex-direction: column;
}
.notif-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background .15s ease;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover {
    background: var(--bg);
    text-decoration: none;
}
.notif-item.notif-unread {
    background: rgba(124, 58, 237, .04);
}
.notif-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.notif-item-title {
    font-weight: 500;
    font-size: 0.95rem;
}
.notif-item-body {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.notif-item-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.notif-empty {
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.notif-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.notif-mark-all {
    display: block;
    width: 100%;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: color .15s;
}
.notif-mark-all:hover {
    color: var(--primary);
}
.notif-footer {
    display: block;
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    background: var(--bg);
    color: var(--primary);
    border-top: 1px solid var(--border);
    transition: background .15s ease;
}
.notif-footer:hover {
    background: rgba(124, 58, 237, .08);
    text-decoration: none;
}

/* ========== BİLDİRİMLER SAYFASI ========== */
.page-header {
    margin-bottom: 1.5rem;
}
.page-header-with-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.35rem 0;
}
.page-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}
.notifications-page {
    max-width: 640px;
}
.notif-empty-state {
    text-align: center;
    padding: 2.5rem 2rem;
}
.notif-empty-state .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.notif-empty-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-light);
}
.notif-empty-icon svg {
    width: 100%;
    height: 100%;
}
.notif-empty-state h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}
.notif-empty-state p {
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    max-width: 320px;
}
.notif-list-page {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.notif-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s ease, transform .15s ease;
}
.notif-card:hover {
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transform: translateY(-1px);
}
.notif-card.notif-unread {
    border-left: 3px solid var(--primary);
}
.notif-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
}
.notif-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.notif-card-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}
.notif-card-content {
    flex: 1;
    min-width: 0;
}
.notif-card-title {
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}
.notif-card-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.35rem 0;
    line-height: 1.45;
}
.notif-card-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.notif-card-arrow {
    color: var(--border);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ========== MESAJLAR ========== */
.messages-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}
.messages-hero {
    text-align: center;
    padding: 2.5rem 1rem;
}
.messages-hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.messages-hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}
.messages-empty-card {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin: 1rem 0;
    overflow: hidden;
}
.messages-empty-inner {
    text-align: center;
    padding: 3.5rem 2rem;
}
.messages-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, .12) 0%, rgba(99, 102, 241, .1) 100%);
    border-radius: 20px;
    color: var(--primary);
}
.messages-empty-icon svg { width: 100%; height: 100%; }
.messages-empty-inner h2 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
}
.messages-empty-inner p {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
}
.messages-empty-hint {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.messages-empty-btn { margin-top: 0.5rem; }

.messages-inbox {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.messages-conv-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.messages-conv-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(124, 58, 237, .12);
    transform: translateY(-1px);
}
.messages-conv-card.has-unread {
    background: linear-gradient(90deg, rgba(124, 58, 237, .04) 0%, transparent 100%);
    border-color: rgba(124, 58, 237, .2);
}
.messages-conv-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.messages-conv-avatar img,
.messages-conv-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.messages-conv-avatar .avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #c7d2fe);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
}
.messages-unread-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.messages-conv-content { flex: 1; min-width: 0; }
.messages-conv-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.messages-conv-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}
.messages-conv-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.messages-conv-preview {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.messages-conv-card.has-unread .messages-conv-preview { color: var(--text); font-weight: 500; }
.messages-conv-start { font-style: italic; opacity: .8; }
.messages-conv-username {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    display: block;
}
.messages-conv-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    opacity: .6;
}
.messages-conv-arrow svg { width: 100%; height: 100%; }
.messages-conv-card:hover .messages-conv-arrow { color: var(--primary); opacity: 1; }

/* ========== CHAT (Konuşma) ========== */
.chat-page-wrapper {
    min-height: calc(100vh - 120px);
    padding: 1rem;
    background: var(--bg);
}
.chat-container {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 70vh;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.chat-back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.chat-back-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.chat-back-btn svg { width: 20px; height: 20px; }
.chat-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    text-decoration: none;
    color: inherit;
}
.chat-user-info:hover { color: var(--primary); }
.chat-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.chat-header-avatar.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #c7d2fe);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}
.chat-header-text { display: flex; flex-direction: column; gap: 0.1rem; }
.chat-header-name { font-size: 1rem; font-weight: 600; }
.chat-header-username { font-size: 0.85rem; color: var(--text-muted); }
.chat-user-info:hover .chat-header-username { color: var(--primary-light); }
.chat-header-actions { margin-left: auto; }
.chat-delete-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-delete-btn:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }

.chat-messages {
    flex: 1;
    min-height: 280px;
    max-height: 55vh;
    overflow-y: auto;
    padding: 1.5rem;
    background: 
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, .03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, .03) 0%, transparent 50%),
        var(--bg);
}
.chat-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}
.chat-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--primary);
    opacity: 0.5;
}
.chat-empty-icon svg { width: 100%; height: 100%; }
.chat-empty-state p { margin: 0 0 0.25rem; font-weight: 600; color: var(--text); }
.chat-empty-state span { font-size: 0.9rem; color: var(--text-muted); }

.chat-bubble-wrapper {
    display: flex;
    margin-bottom: 0.75rem;
}
.chat-bubble-wrapper.chat-bubble-sent { justify-content: flex-end; }
.chat-bubble-wrapper.chat-bubble-received { justify-content: flex-start; }
.chat-bubble {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    position: relative;
}
.chat-bubble-sent .chat-bubble {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-bubble-received .chat-bubble {
    background: var(--surface);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.chat-bubble-sender {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-bottom: 0.35rem;
}
.chat-bubble-body {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.chat-bubble-time {
    font-size: 0.7rem;
    opacity: 0.85;
}
.chat-bubble-sent .chat-bubble-time { text-align: right; }

.chat-input-area { padding: 1rem; border-top: 1px solid var(--border); background: var(--surface); }
.chat-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .15);
}
.chat-input-wrap textarea {
    flex: 1;
    min-height: 44px;
    max-height: 120px;
    padding: 0.6rem 0.75rem;
    border: none;
    background: transparent;
    resize: none;
    font-family: inherit;
    font-size: 0.95rem;
}
.chat-input-wrap textarea:focus { outline: none; }
.chat-send-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}
.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}
.chat-send-btn svg { width: 20px; height: 20px; }
.profile-actions-v2 { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.profile-message-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}
.profile-message-btn:hover { transform: scale(1.05); background: var(--primary-dark); color: #fff; }
.profile-message-icon { width: 18px; height: 18px; flex-shrink: 0; }
.profile-message-disabled {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
}
.profile-message-disabled .profile-message-icon { width: 16px; height: 16px; opacity: .7; }
.profile-message-hint { font-size: 0.8rem; max-width: 200px; }
.profile-blocked-notice { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.75rem; }

/* ========== PROFIL v3 - Yenilenen tasarım ========== */
.profile-page-v3 .container { max-width: 1100px; }
.profile-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 1.5rem;
    align-items: start;
}
.profile-main-v3 { min-width: 0; }
.profile-hero-card {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.profile-hero-bg {
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
}
.profile-hero-content { padding: 0 1.5rem 1.5rem; margin-top: -36px; }
.profile-hero-top { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.profile-hero-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-hero-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--surface);
    box-shadow: var(--shadow-card);
}
.profile-hero-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-light), #c7d2fe);
    color: var(--primary);
}
.profile-hero-edit {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    border: 2px solid var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.profile-hero-edit:hover { transform: scale(1.08); color: #fff; }
.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-name { font-size: 1.4rem; font-weight: 700; margin: 0 0 0.15rem; color: var(--text-dark); }
.profile-hero-username { font-size: 0.95rem; color: var(--text-muted); display: block; }
.profile-hero-role {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin: 0.35rem 0.5rem 0 0;
}
.profile-hero-role-editor { background: var(--primary); color: #fff; }
.profile-hero-role-admin { background: linear-gradient(135deg, #334155 0%, #1e293b 100%); color: #fff; }
.profile-hero-bio { color: var(--text-muted); margin: 0.5rem 0; font-size: 0.95rem; line-height: 1.5; }
.profile-hero-website { font-size: 0.9rem; color: var(--primary); }
.profile-hero-website:hover { text-decoration: underline; }
.profile-hero-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.profile-hero-notice { font-size: 0.9rem; color: var(--text-muted); margin: 0.5rem 0; }
.profile-hero-notice a { color: var(--primary); }
.profile-hero-notice-blocked { color: var(--danger); }
.profile-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.profile-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.profile-hero-stat strong { color: var(--text); font-weight: 600; margin-right: 0.25rem; }

.profile-tabs-v3 {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}
.profile-tabs-v3 a {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition: color 0.2s, background 0.2s;
}
.profile-tabs-v3 a:hover { color: var(--primary); background: rgba(124, 58, 237, .06); }
.profile-tabs-v3 a.active { color: var(--primary); background: transparent; border-bottom: 2px solid var(--primary); margin-bottom: -1px; }

.profile-sidebar-v3 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1rem;
}
.profile-summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}
.profile-summary-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.profile-summary-level-badge { font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.profile-summary-level-num { font-size: 0.8rem; color: var(--text-muted); }
.profile-summary-progress { margin-bottom: 0.75rem; }
.profile-summary-progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}
.profile-summary-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #6366f1);
    border-radius: 3px;
    transition: width 0.3s;
}
.profile-summary-progress-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; display: block; }
.profile-summary-stats {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.profile-summary-stats strong { color: var(--text); }

.profile-badges-compact { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.profile-badges-title { font-size: 0.9rem; font-weight: 600; margin: 0 0 0.75rem; }
.profile-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.profile-badge-mini {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.profile-badge-mini.earned {
    background: rgba(124, 58, 237, .12);
    color: var(--primary);
}
.profile-badge-mini.locked {
    background: var(--bg);
    color: var(--text-muted);
    opacity: 0.5;
}
.profile-badge-mini svg { width: 18px; height: 18px; }
.profile-login-hint { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.profile-login-hint a { color: var(--primary); }

/* ========== ÇEREZ ve İZİN BANNER ========== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
    padding: 1rem 1.5rem;
}
.cookie-consent-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}
.cookie-consent-header { flex: 1 1 220px; min-width: 0; }
.cookie-consent-title { margin: 0 0 0.25rem; font-size: 1rem; color: var(--text-dark); }
.cookie-consent-desc { margin: 0; font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.cookie-consent-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}
.cookie-consent-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text);
    padding: 0.4rem 0.75rem;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: border-color .2s, background .2s;
}
.cookie-consent-option:hover { border-color: var(--primary); }
.cookie-consent-option span { display: flex; flex-direction: column; gap: 0.1rem; }
.cookie-consent-option strong { font-size: 0.9rem; }
.cookie-consent-option small { font-size: 0.75rem; color: var(--text-muted); font-weight: normal; }
.cookie-consent-option input { flex-shrink: 0; }
.cookie-consent-option.cookie-essential { color: var(--text-muted); cursor: default; opacity: .9; }
.cookie-consent-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-btn-mobile { display: none; }

/* Çerez banner - Gece modu */
html.theme-dark .cookie-consent-banner {
    background: #1e293b;
    border-top-color: #334155;
    box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}
html.theme-dark .cookie-consent-option {
    background: #0f172a;
    border-color: #334155;
    color: var(--text);
}
html.theme-dark .cookie-consent-option:hover { border-color: var(--primary); }
html.theme-dark .cookie-consent-option small { color: var(--text-muted); }
html.theme-dark .cookie-consent-actions .btn-outline {
    background: transparent;
    border-color: #475569;
    color: var(--text);
}
html.theme-dark .cookie-consent-actions .btn-outline:hover {
    background: rgba(124, 58, 237, .15);
    border-color: var(--primary);
    color: var(--primary);
}

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

/* Hamburger butonu - sadece mobilde görünür */
.header-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 8px;
    color: var(--text);
    transition: background .2s;
}
.header-mobile-toggle:hover { background: var(--bg); }
.header-mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header-mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.header-mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .25s, opacity .2s;
}

/* Mobil navigasyon - header dışında, overlay; sadece mobilde kullanılır */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 0.5rem 0;
    z-index: 50;
}
.nav-mobile.is-open { display: block; }
/* Masaüstünde mobil menü kesinlikle gizli - hiç yer kaplamaz */
@media (min-width: 921px) {
    .header-mobile-toggle { display: none !important; }
    .header-inner { flex-wrap: nowrap; }
    #header-nav-mobile {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
    }
}
.nav-mobile-link {
    display: block;
    padding: 0.85rem 1.25rem;
    color: var(--text);
    font-weight: 500;
    border-bottom: none;
}
.nav-mobile-link:hover { background: var(--bg); color: var(--primary); text-decoration: none; }
.nav-mobile-link.active { background: rgba(124, 58, 237, .08); color: var(--primary); }

@media (max-width: 920px) {
    .header-mobile-toggle { display: flex; }
    .nav-main#header-nav-desktop { display: none; }
}

@media (max-width: 768px) {
    .header-inner {
        position: relative;
        padding: 0.5rem 0.75rem;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow: visible;
    }
    .header-actions { overflow: visible; }
    .header-search { display: none; }
    .logo-wrap { flex: 0 0 auto; min-width: 0; }
    .logo-img { height: 38px; max-width: 130px; }
    .logo-icon { width: 24px; height: 24px; }
    .header-actions { flex: 0 0 auto; margin-left: auto; gap: 0.25rem; }
    .theme-switch { padding: 0.2rem 0.25rem; }
    .theme-switch .theme-switch-icon { display: none; }
    .theme-switch-track { width: 36px; height: 20px; }
    .theme-switch-thumb { width: 16px; height: 16px; }
    .theme-switch[aria-checked="true"] .theme-switch-thumb { transform: translateX(16px); }
    .header-actions .btn-add { width: 36px; height: 36px; }
    .header-icon-btn, .header-actions-avatar { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
    .header-avatar, .header-avatar-placeholder { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
    .nav-mobile { left: 0; right: 0; top: 100%; }
    .main { padding: 1rem 0.75rem; }
    .container { padding: 0 0.75rem; }
    .hero-new { padding: 1.75rem 1rem; }
    .hero-banner { padding: 0.5rem 0 0.5rem; margin-bottom: 1rem; overflow-x: hidden; }
    .main:has(.hero-banner) { padding-top: 0.35rem; }
    .hero-title { font-size: 1.5rem; line-height: 1.3; }
    .hero-lead { font-size: 0.9rem; }
    .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
    .hero-actions .btn { width: auto; flex: 0 0 auto; justify-content: center; max-width: none; }
    .section-header { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; text-align: left; }
    .section-header > div { text-align: left; }
    .trend-question-cards, .question-cards, .home-question-cards, .category-content-cards { grid-template-columns: 1fr; gap: 1.25rem; }
    /* Mobil: soru kartları daha büyük */
    .question-card a { padding: 2rem; }
    .question-card-title { font-size: 1.12rem; line-height: 1.5; }
    .question-card-excerpt { font-size: 0.95rem; -webkit-line-clamp: 3; }
    .question-card-avatar, img.question-card-avatar { width: 34px; height: 34px; min-width: 34px; min-height: 34px; font-size: 0.95rem; }
    .question-card-stats { padding-top: 1.15rem; margin-top: 0.5rem; }
    .q-stat { font-size: 0.9rem; }
    /* Mobil: anket kartları daha büyük */
    .discussion-grid { gap: 1.25rem; }
    .discussion-card a { padding: 1.75rem; }
    .discussion-title { font-size: 1.1rem; line-height: 1.45; }
    .discussion-excerpt { font-size: 0.95rem; line-height: 1.55; }
    .discussion-meta { font-size: 0.9rem; }
    .son-soru-link { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .son-soru-stat { align-self: flex-start; }
    .card-body { padding: 1rem; }
    .page-hero, .static-page-hero { padding: 1.5rem 1rem; }
    .page-hero-title { font-size: 1.35rem; }
    .layout-with-right, .layout-with-sidebar, .layout-three { padding: 0 0.75rem; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-sidebar-v3 { position: static; }
    .layout-create { padding: 0.75rem; }
    .ask-page { padding: 1rem 0.75rem; }
    .ask-form-wrap { padding: 1.25rem; }
    .ask-title { font-size: 1.4rem; }
    .answer-gender-filter { display: flex; flex-direction: column; gap: 0.5rem; }
.answer-gender-option {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 1rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: border-color .2s, background .2s;
}
.answer-gender-option input[type="radio"] {
    width: 18px; height: 18px; flex-shrink: 0;
    accent-color: var(--primary); cursor: pointer;
}
.answer-gender-option:hover { border-color: var(--primary-light); }
.answer-gender-option:has(input:checked) { border-color: var(--primary); background: rgba(124, 58, 237, .08); }
.answer-filter-hint { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.form-create .form-actions { flex-direction: column; }
    .form-create .form-actions .btn { width: 100%; }
    .cat-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .form-create .cat-cards-select { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); max-width: 100%; }
    .cat-card { padding: 0.75rem; }
    .cookie-consent-banner { padding: 0.75rem 1rem; }
    .cookie-consent-inner { flex-direction: column; align-items: stretch; }
    .cookie-consent-options { flex-direction: column; }
    /* Mobil cookie: sadece kompakt bar - "Daha iyi deneyim için çerezleri kabul et" butonu */
    .cookie-consent-banner .cookie-consent-header,
    .cookie-consent-banner .cookie-consent-options { display: none !important; }
    .cookie-consent-banner .cookie-consent-inner {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .cookie-consent-banner .cookie-consent-actions { width: 100%; justify-content: center; }
    .cookie-consent-banner .cookie-consent-actions .btn-outline { display: none !important; }
    .cookie-btn-desktop { display: none !important; }
    .cookie-btn-mobile { display: inline !important; }
    /* Bildirim paneli - mobilde ekrana sığsın, fixed ile taşma önlenir */
    .notif-panel {
        position: fixed !important;
        top: 56px !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 80px) !important;
    }
    .notif-panel-body { max-height: calc(100vh - 180px) !important; }
    .notif-dropdown { flex-shrink: 0; }
    .notif-trigger { flex-shrink: 0; min-width: 44px !important; min-height: 44px !important; }
    .notif-trigger svg { width: 22px !important; height: 22px !important; opacity: 1; }
}

@media (max-width: 480px) {
    .hero-banner { padding-top: 0.5rem; }
    .main:has(.hero-banner) { padding-top: 0.25rem; }
    .header-inner { gap: 0.4rem; }
    .logo-wrap { min-width: 40px; }
    .logo-img { height: 36px; max-width: 140px; }
    .header-actions .btn-ghost { display: none; }
    .hero-title { font-size: 1.3rem; }
    .section-title { font-size: 1.1rem; }
    .son-soru-badge { font-size: 0.6rem; padding: 0.15rem 0.4rem; }
    .son-soru-title { font-size: 0.95rem; }
    /* 480px altı: soru kartları daha da büyük */
    .question-card a { padding: 2.25rem; }
    .question-card-title { font-size: 1.18rem; line-height: 1.5; }
    .question-card-excerpt { font-size: 1rem; -webkit-line-clamp: 3; }
    .question-card-avatar, img.question-card-avatar { width: 38px; height: 38px; min-width: 38px; min-height: 38px; font-size: 1rem; }
    .discussion-card a { padding: 2rem; }
    .discussion-title { font-size: 1.15rem; }
    .discussion-excerpt { font-size: 1rem; }
    .cat-cards-grid { grid-template-columns: 1fr; }
    .blog-feature-card { flex: 0 0 260px; }
    .auth-box { margin: 1rem auto; padding: 1.25rem; }
    .profile-edit-form .card-body { padding: 1rem; }
    .chat-page-wrapper { padding: 0.5rem; min-height: calc(100vh - 100px); }
    .chat-container { min-height: 65vh; border-radius: 16px; }
    .chat-messages { max-height: 45vh; padding: 1rem; }
    .chat-bubble { max-width: 88%; }
}

/* Tablolar - yatay kaydırma */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 500px; }

/* Touch hedefleri - buton ve link minimum 44px */
@media (pointer: coarse) {
    .nav-link, .header-icon-btn, .header-actions-avatar { min-width: 44px; min-height: 44px; }
    .btn-sm { min-height: 44px; padding: 0.5rem 1rem; }
}

/* Safe area - notch'lu cihazlar */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .cookie-consent-banner { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
    .site-footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }
}
