/* =========================================
   lgbtsoruyor.com — Tasarım Sistemi
   Editorial / Light / Bold Typography
   ========================================= */

/* Fontlar yerelden sunulur; render engelleyen harici CSS isteği yoktur. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-normal-300-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-normal-300-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-serif-display-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-serif-display-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-serif-display-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-serif-display-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ─────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-2:        #f7f6f4;
  --bg-3:        #f0eeeb;
  --bg-4:        #e8e5e0;

  --line:        #e2ddd8;
  --line-2:      #d0cbc4;

  --ink:         #1a1714;
  --ink-2:       #4a4540;
  --ink-3:       #8a837a;
  --ink-4:       #b8b2ab;

  /* Vurgu — sıcak koyu sarı/turuncu + canlı yeşil */
  --fire:        #e8642a;      /* Turuncu-kırmızı imza rengi */
  --fire-dim:    rgba(232,100,42,0.12);
  --fire-line:   rgba(232,100,42,0.25);

  --leaf:        #2dd4a0;      /* Zümrüt yeşili */
  --leaf-dim:    rgba(45,212,160,0.10);

  --sky:         #5c9ef5;
  --sky-dim:     rgba(92,158,245,0.10);

  --lilac:       #c084fc;
  --lilac-dim:   rgba(192,132,252,0.10);

  --rose:        #f472b6;
  --rose-dim:    rgba(244,114,182,0.10);

  --gold:        #fbbf24;
  --gold-dim:    rgba(251,191,36,0.10);

  /* Kategori sol çizgileri */
  --cat-kimlik:   var(--lilac);
  --cat-herkes:   var(--leaf);
  --cat-iliski:   var(--rose);
  --cat-saglik:   var(--leaf);
  --cat-hukuk:    var(--sky);
  --cat-stil:     var(--gold);
  --cat-kariyer:  #a8d8a8;
  --cat-gelme:    var(--fire);
  --cat-seyahat:  var(--leaf);
  --cat-genel:    var(--ink-3);

  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-full: 9999px;

  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 140ms var(--ease);
  --t-mid:  240ms var(--ease);
  --t-slow: 380ms var(--ease);

  --sidebar: 260px;
  --wrap:    1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.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;
}

/* Navbar'ı beyaz arka planda daha belirgin yap */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ── Scrollbar ─────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ── Typography ────────────────────────── */
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }

a { color: var(--fire); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--ink); }

/* ── Layout ─────────────────────────────── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.feed-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar);
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

.feed-main { min-width: 0; }
.feed-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
}

.navbar-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.navbar-logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fire);
  margin-bottom: 2px;
  flex-shrink: 0;
}

.navbar-logo-com {
  font-size: 0.7rem;
  color: var(--ink-3);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.navbar-search-wrap {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.navbar-search {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 14px 7px 36px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--t-fast);
}

.navbar-search:focus { border-color: var(--line-2); }
.navbar-search::placeholder { color: var(--ink-3); }

.navbar-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-size: 0.9rem;
  pointer-events: none;
}

.navbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.navbar-nav { display: flex; align-items: center; gap: 4px; }
.navbar-nav-link {
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 9px;
  border-radius: var(--r-sm);
}
.navbar-nav-link:hover, .navbar-nav-link.active { background: var(--bg-3); color: var(--ink); }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--fire);
  color: white;
}
.btn-primary:hover {
  background: #d4581f;
  color: white;
}

.btn-secondary {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.btn-secondary:hover { background: var(--bg-4); color: var(--ink); border-color: var(--line-2); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 8px 12px;
}
.btn-ghost:hover { background: var(--bg-3); color: var(--ink); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--fire-line);
  color: var(--fire);
}
.btn-outline:hover { background: var(--fire-dim); color: var(--fire); }

.btn-sm { padding: 6px 13px; font-size: 0.82rem; }
.btn-lg { padding: 12px 28px; font-size: 0.95rem; }
.btn-icon { width: 36px; height: 36px; padding: 0; }

/* ── AVATAR ─────────────────────────────── */
.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
}
.avatar-image { object-fit: cover; display: block; }
.avatar-anonim { background: #eeece9; border: 1px solid var(--line); color: var(--ink-3); font-size: 0.8rem; }
.avatar-sm { width: 30px; height: 30px; font-size: 0.72rem; border-radius: 6px; }
.avatar-md { width: 40px; height: 40px; font-size: 0.85rem; }
.avatar-lg { width: 54px; height: 54px; font-size: 1rem; }
.avatar-xl { width: 76px; height: 76px; font-size: 1.4rem; border-radius: var(--r-md); }

/* ── KATEGORİ BADGE ─────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-4);
  color: var(--ink-2);
}

.badge-kimlik  { color: var(--lilac); background: var(--lilac-dim); }
.badge-herkes   { color: var(--leaf); background: var(--leaf-dim); }
.badge-iliski  { color: var(--rose);  background: var(--rose-dim);  }
.badge-saglik  { color: var(--leaf);  background: var(--leaf-dim);  }
.badge-hukuk   { color: var(--sky);   background: var(--sky-dim);   }
.badge-stil    { color: var(--gold);  background: var(--gold-dim);  }
.badge-kariyer { color: #a8d8a8; background: rgba(168,216,168,0.10); }
.badge-gelme   { color: var(--fire);  background: var(--fire-dim);  }
.badge-seyahat { color: var(--leaf);  background: var(--leaf-dim);  }
.badge-genel   { color: var(--ink-2); background: var(--bg-4);      }

/* ── SORU LISTESI — satır tabanlı ─────────── */
.soru-list { display: flex; flex-direction: column; }

.soru-row {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast);
}

.soru-row:first-child { border-top: 1px solid var(--line); }

.soru-row:hover .soru-row-title { color: var(--fire); }
.soru-row-compact { padding: 11px 0; }

.soru-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.soru-dot { color: var(--ink-4); font-size: 0.75rem; }
.soru-category { margin-left: auto; }
.editor-mark { color: var(--fire); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.soru-row-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 5px;
  transition: color var(--t-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta-link:hover, .tag-mini:hover, .content-edit-link:hover { color: var(--fire); }
.tag-mini { font-size: 0.72rem; color: var(--ink-4); }
.content-edit-link { margin-left: auto; font-size: 0.74rem; color: var(--ink-3); font-weight: 600; }

.soru-row-preview {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.soru-row-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 500;
}

.username-link {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--t-fast);
}
.username-link:hover { color: var(--ink); }
.username-link.anon { color: var(--ink-3); font-style: italic; font-weight: 400; }

/* ── KATEGORİ PILLS ─────────────────────── */
.pill-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.pill-row::-webkit-scrollbar { display: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: var(--r-xs);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-3);
  white-space: nowrap;
  transition: all var(--t-fast);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.pill:hover { border-color: var(--line-2); color: var(--ink-2); background: var(--bg-3); }

.pill.active {
  background: var(--fire);
  border-color: var(--fire);
  color: white;
}

/* ── SECTION HEADER ─────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 0;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-3);
}

/* ── FEED TABS ───────────────────────────── */
.feed-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.feed-tab {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--ink-3);
  transition: color var(--t-fast);
  font-family: inherit;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.feed-tab:hover { color: var(--ink-2); }
.feed-tab.active { color: var(--ink); border-bottom-color: var(--fire); }

/* ── CARD (genel, sidebar için) ───────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.card-body { padding: 18px 20px; }

/* ── HERO ───────────────────────────────── */
.hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fire);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--fire);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── SAFE BANNER ─────────────────────────── */
.safe-banner {
  background: var(--leaf-dim);
  border: 1px solid rgba(45,212,160,0.2);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.safe-banner strong { color: var(--leaf); }

/* ── SIDEBAR WIDGET ─────────────────────── */
.widget { padding: 16px 18px; }

.widget-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: block;
}
.widget-title { font-size: 0.78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }

/* ── FORM ───────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

.form-input, .form-textarea, .form-select {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.925rem;
  transition: border-color var(--t-fast);
  outline: none;
  width: 100%;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--fire);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-3); }

.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b635a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Toggle */
.toggle-wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.toggle-wrap input[type="checkbox"] { display: none; }

.toggle-slider {
  width: 42px; height: 24px;
  background: var(--bg-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink-3);
  top: 2px; left: 2px;
  transition: transform var(--t-fast), background var(--t-fast);
}

.toggle-wrap input:checked + .toggle-slider {
  background: var(--fire);
  border-color: var(--fire);
}
.toggle-wrap input:checked + .toggle-slider::after {
  background: white;
  transform: translateX(18px);
}

.toggle-label { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }

/* ── MODAL ───────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-mid);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(16px) scale(0.97);
  transition: transform var(--t-slow);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }

.modal-close {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--t-fast);
}
.modal-close:hover { background: var(--bg-4); color: var(--ink); }

/* ── AUTH ───────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}

.auth-visual {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.auth-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(232,100,42,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(45,212,160,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.auth-visual-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--ink-2);
  max-width: 360px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.auth-visual-quote em { color: var(--fire); font-style: italic; }

.auth-visual-logo { position: relative; z-index: 1; }

.auth-form-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}

.auth-form-header { margin-bottom: 32px; }
.auth-form-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.auth-form-sub { font-size: 0.875rem; color: var(--ink-2); }

.auth-footer { text-align: left; margin-top: 22px; font-size: 0.875rem; color: var(--ink-2); }

/* ── PROFIL ─────────────────────────────── */
.profile-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.profile-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 3px; }
.profile-bio { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 14px; line-height: 1.5; }

.profile-stats { display: flex; gap: 20px; }
.profile-stat-val { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.profile-stat-lbl { font-size: 0.75rem; color: var(--ink-3); }

/* ── CEVAP KARTI ─────────────────────────── */
.answer-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.answer-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.answer-author { font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.answer-author a { color: inherit; }
.answer-actions { margin-left: auto; display: flex; gap: 8px; }
.text-action { border: 0; background: transparent; padding: 0; color: var(--ink-3); font: inherit; font-size: 0.75rem; cursor: pointer; }
.text-action:hover { color: var(--ink); }
.text-action.danger:hover { color: #ef4444; }
.answer-report { margin-left: auto; opacity: 0.58; }
.answer-body { font-size: 0.925rem; color: var(--ink); line-height: 1.7; margin-bottom: 12px; }

.vote-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-3);
  font-size: 0.78rem; font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
}
.vote-btn.up:hover, .vote-btn.up.voted { border-color: var(--leaf); color: var(--leaf); background: var(--leaf-dim); }
.vote-btn.down:hover, .vote-btn.down.voted { border-color: #ef4444; color: #ef4444; background: rgba(239,68,68,0.08); }

/* ── REAKSİYONLAR ───────────────────────── */
.reactions { display: flex; gap: 6px; flex-wrap: wrap; }

.reaction-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--ink-2);
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
}
.reaction-btn:hover { border-color: var(--fire-line); background: var(--fire-dim); }
.reaction-btn.active { border-color: var(--fire-line); background: var(--fire-dim); color: var(--fire); }

/* ── DROPDOWN ───────────────────────────── */
.dropdown { position: relative; display: inline-block; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px); right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 5px;
  min-width: 170px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  z-index: 50;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: all var(--t-mid);
  transform-origin: top right;
}
.dropdown.open .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }

.dropdown-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 11px;
  border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  border: none; background: none;
  width: 100%; font-family: inherit;
}
.dropdown-item:hover { background: var(--bg-3); color: var(--ink); }
.dropdown-item.danger:hover { background: rgba(239,68,68,0.08); color: #ef4444; }

/* ── TOAST ───────────────────────────────── */
.toast-container {
  position: fixed; bottom: 20px; right: 20px;
  z-index: 999;
  display: flex; flex-direction: column; gap: 8px;
}

.toast {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 16px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink);
  display: flex; align-items: center; gap: 9px;
  min-width: 240px; max-width: 340px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  animation: toastIn 0.25s var(--ease) forwards;
}

.toast.success { border-left: 3px solid var(--leaf); }
.toast.error   { border-left: 3px solid #ef4444; }
.toast.info    { border-left: 3px solid var(--sky); }

@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(110%); opacity: 0; } }
.toast.removing { animation: toastOut 0.25s var(--ease) forwards; }

/* ── SKELETON ───────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--line) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-xs);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── EMPTY STATE ─────────────────────────── */
.empty-state {
  text-align: center;
  padding: 52px 24px;
  color: var(--ink-3);
}
.empty-state-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.empty-state h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--ink-2); margin-bottom: 5px; }

/* ── SAYFA ───────────────────────────────── */
.page-wrapper { padding: 0 0 64px; }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 36px 24px 28px;
  margin-top: 56px;
  box-shadow: none;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-desc { font-size: 0.83rem; color: var(--ink-3); margin-top: 8px; line-height: 1.6; max-width: 220px; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: var(--ink-2); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  max-width: var(--wrap);
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-text { font-size: 0.78rem; color: var(--ink-3); }
.footer-brand { display: flex; align-items: baseline; gap: 5px; font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--ink); }
.footer-brand small { font-family: 'DM Sans', sans-serif; font-size: 0.7rem; color: var(--ink-3); }
.footer-bottom-links { display: flex; gap: 16px; }

/* ── BLOG ───────────────────────────────── */
.content-intro { padding: 36px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.content-eyebrow { color: var(--fire); font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 9px; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid); }
.post-card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 8px 26px rgba(26,23,20,0.06); }
.post-cover-link { display: block; }
.post-cover { width: 100%; height: 174px; display: block; object-fit: cover; background: var(--bg-3); }
.post-cover-empty { color: var(--ink-4); display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1.45rem; letter-spacing: 0.02em; }
.post-card-body { padding: 17px 18px 16px; }
.post-meta-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.content-kind { color: var(--fire); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.post-title { font-family: 'DM Sans', sans-serif; font-size: 1.06rem; font-weight: 700; line-height: 1.38; margin-bottom: 8px; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--fire); }
.post-summary { color: var(--ink-2); font-size: 0.86rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.75rem; }
.post-detail { max-width: 760px; margin: 0 auto; }
.post-detail-header { padding: 42px 0 28px; border-bottom: 1px solid var(--line); }
.post-detail-title { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.025em; margin: 10px 0 14px; }
.post-detail-summary { font-size: 1.05rem; color: var(--ink-2); line-height: 1.65; max-width: 620px; }
.post-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; color: var(--ink-3); font-size: 0.8rem; }
.post-detail-cover { width: 100%; max-height: 420px; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r-md); margin: 28px 0; background: var(--bg-2); }
.post-content { font-size: 1rem; line-height: 1.85; color: var(--ink-2); white-space: pre-line; }
.post-content h2, .post-content h3 { color: var(--ink); margin: 28px 0 10px; }
.post-related { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; }
.mini-post { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-2); font-size: 0.83rem; line-height: 1.4; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mini-post:hover { color: var(--fire); }
.mini-post-kind { color: var(--fire); font-size: 0.68rem; font-weight: 800; border: 1px solid var(--fire-line); padding: 2px 5px; border-radius: var(--r-xs); flex-shrink: 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a { border: 1px solid var(--line); color: var(--ink-2); padding: 5px 9px; border-radius: var(--r-xs); font-size: 0.77rem; }
.tag-cloud a:hover { border-color: var(--fire-line); background: var(--fire-dim); color: var(--fire); }
.mobile-feed-search { display: none; }
.question-body { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; color: var(--ink-2); line-height: 1.78; white-space: pre-line; margin-bottom: 20px; }
.question-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 18px; color: var(--ink-3); font-size: 0.78rem; }
.question-stats a { font-weight: 600; }
.category-hero { padding: 24px 26px; background: linear-gradient(135deg, var(--lilac-dim), var(--rose-dim)); border-color: var(--fire-line); }

/* ── ADMIN ──────────────────────────────── */
.admin-shell { padding-top: 30px; }
.admin-container { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-top: 20px; }
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; padding-bottom: 10px; overflow-x: auto; }
.admin-tab { cursor: pointer; padding: 7px 11px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 0.82rem; white-space: nowrap; }
.admin-tab.active { background: var(--fire); color: white; }
.admin-tab:hover:not(.active) { background: var(--bg-2); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.82rem; }
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--ink-3); font-weight: 600; }
.admin-table select { padding: 5px 7px; border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--bg-2); color: var(--ink-2); font: inherit; }
.admin-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-bottom: 22px; }
.status-badge { display: inline-flex; border-radius: var(--r-xs); padding: 3px 7px; font-size: 0.7rem; font-weight: 700; background: var(--bg-3); color: var(--ink-2); }
.status-badge.yayinda, .status-badge.yayınlandı { background: var(--leaf-dim); color: #159b73; }
.status-badge.bekliyor, .status-badge.taslak { background: var(--gold-dim); color: #ad7b00; }
.status-badge.gizlendi, .status-badge.silindi { background: rgba(239,68,68,0.09); color: #d13a3a; }

/* ── DIVIDER ─────────────────────────────── */
.divider { height: 1px; background: var(--line); margin: 16px 0; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .feed-layout { grid-template-columns: 1fr; }
  .feed-sidebar { display: none; }
}

@media (max-width: 680px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-side { padding: 32px 24px; }
  .hero { padding: 32px 0 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 0 16px; }
  .navbar-search-wrap { display: none; }
  .navbar-nav { display: none; }
  .navbar-logo-text { font-size: 1.2rem; }
  .navbar-actions { gap: 3px; }
  .navbar-ask { padding-left: 9px; padding-right: 9px; font-size: 0.75rem; }
  .content-grid { grid-template-columns: 1fr; }
  .mobile-feed-search { display: flex; }
  .content-intro { padding-top: 26px; }
  .post-detail-header { padding-top: 28px; }
  .post-detail-title { font-size: 2rem; }
  .soru-row-top { align-items: flex-start; }
  .soru-category { max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
  .safe-banner { align-items: flex-start; }
  .safe-banner a { margin-left: 0 !important; }
  .admin-container { padding: 15px; }
}

@media (max-width: 420px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── UTİLİTY ─────────────────────────────── */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.w-full { width: 100%; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.text-muted { color: var(--ink-3); }
.text-secondary { color: var(--ink-2); }
.text-center { text-align: center; }
.relative { position: relative; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.hidden { display: none !important; }
.block { display: block; }
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--line-2);
  border-top-color: var(--fire);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
