/* Online Çekici — Mobil bankacılık uygulaması */
:root {
  --bg: #f5f6f8;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f5;
  --accent: #0066cc;
  --accent-dark: #0052a3;
  --accent-soft: rgba(0, 102, 204, 0.1);
  --header-bg: #0066cc;
  --chat-sent: #e8f4fd;
  --text: #1a1d21;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  padding-top: var(--safe-top);
}

body.has-bottom-nav {
  padding-bottom: calc(56px + var(--safe-bottom));
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}
.anasayfa-container {
  max-width: 480px;
}
@media (min-width: 768px) {
  .anasayfa-container {
    max-width: 960px;
    padding: 0 24px;
  }
}
.anasayfa-icerik {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .anasayfa-icerik {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
  .anasayfa-sol {
    flex: 1;
    min-width: 0;
  }
  .anasayfa-sag {
    width: 340px;
    flex-shrink: 0;
  }
}

/* App header — tam genişlik, düzgün navbar */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  min-height: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(16px, var(--safe-top));
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: #fff; font-weight: 600; }
.logo-tagline { font-size: 0.7rem; opacity: 0.9; margin-top: 0.1rem; }

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.nav-link {
  padding: 6px 10px;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.2);
}
.header-avatar { border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.5); }
.nav-user {
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  padding: 0 4px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-register { background: rgba(255,255,255,0.25); color: #fff !important; }
.nav-register:hover { background: rgba(255,255,255,0.35) !important; color: #fff !important; }
.admin-link { color: #fff !important; }

/* Alt navigasyon — ekranın en altına sabit */
.bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0;
  right: 0;
  height: calc(56px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  z-index: 1020;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px 12px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  gap: 4px;
  transition: color 0.2s;
}

.bottom-nav a:hover,
.bottom-nav a.active {
  color: var(--accent);
}

.bottom-nav .nav-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.bottom-nav .nav-link-pm {
  position: relative;
}
.nav-pm-badge {
  position: absolute;
  top: 2px;
  right: 15%;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: #dc2626;
  border-radius: 10px;
}

.admin-link { color: #fff; opacity: 0.95; }

/* Ana içerik alanı */
.main-content {
  min-height: calc(100vh - 48px - 56px);
}

/* Hero / Dashboard kartı — bakiye alanı tarzı */
.hero {
  padding: 1.5rem 0 1.25rem;
  text-align: left;
}

.hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.hero-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.hero-compact { padding: 2rem 0 1.5rem; }
.hero-quick { margin-top: 1rem; }
.hero-quick-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.hero-quick-btn:hover { background: var(--accent); color: #fff; }

/* Card grid (ana sayfa) */
.cards-section { margin-bottom: 2.5rem; }
.cards-title { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-muted); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.rehber-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s, background 0.2s;
}
.rehber-card:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.rehber-card .card-header { margin-bottom: 0.75rem; }
.rehber-card .card-header h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.rehber-card .card-meta { font-size: 0.85rem; color: var(--text-muted); }
.rehber-card .card-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.nav-user { font-size: 0.9rem; padding: 0 0.25rem; }
.admin-link { color: var(--accent); }

/* Auth pages — uygulama giriş ekranı */
.auth-page { padding: 1.5rem 0 2rem; max-width: 400px; margin: 0 auto; }
.auth-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.auth-card h1 { font-size: 1.3rem; margin-bottom: 1.25rem; font-weight: 700; }
.auth-card label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.auth-card input {
  width: 100%; padding: 14px 16px; margin-bottom: 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text);
  font-family: inherit; font-size: 1rem;
}
.auth-card .btn-primary {
  width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 1rem;
  margin-top: 0.25rem;
}
.auth-error { color: #dc2626; margin-bottom: 1rem; font-size: 0.9rem; }
.auth-success { color: #059669; margin-bottom: 1rem; }
.auth-footer { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer a { color: var(--accent); }

/* Acil çekici talep kartı — mobil bankacılık tarzı */
.talep-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.talep-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.talep-card-inner {
  padding: 1.25rem 1.25rem 1.5rem;
}
.talep-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
}
.talep-card-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.talep-card-icon {
  font-size: 1.5rem;
}
.talep-card-titles {
  flex: 1;
  min-width: 0;
}
.talep-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.2rem 0;
  letter-spacing: -0.02em;
}
.talep-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.talep-msg {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding: 10px 12px;
  border-radius: 10px;
}
.talep-msg.success {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}
.talep-msg.error {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}
/* Kademeli adımlar — aynı anda tek adım görünür */
.talep-step {
  display: none;
}
.talep-step.active {
  display: block;
}
.talep-step .talep-field {
  margin-bottom: 1rem;
}
.talep-step .talep-submit {
  margin-top: 0.25rem;
}
.talep-en-yakin {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  line-height: 1.4;
}
.talep-card-section {
  padding: 1rem 0 1.5rem;
  background: var(--bg);
}
.talep-form .talep-field {
  margin-bottom: 1rem;
}
.talep-form .talep-field:last-of-type {
  margin-bottom: 1.25rem;
}
.talep-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.talep-optional {
  font-weight: 400;
  opacity: 0.85;
}
.talep-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.talep-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.talep-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}
.talep-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%236b7280'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.talep-submit {
  width: 100%;
  padding: 16px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.talep-submit:hover {
  background: var(--accent-dark);
}
.talep-submit:active {
  transform: scale(0.98);
}

/* Oda listesi — banka işlem listesi tarzı */
.defter-list {
  padding-bottom: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.defter-oda-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}
.defter-oda-item:last-child { border-bottom: none; }
.defter-oda-item:hover { background: var(--bg-card-hover); }
.defter-oda-item::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  margin-left: 8px;
  opacity: 0.6;
}
.defter-oda-item .oda-il { font-weight: 600; font-size: 1rem; color: var(--text); }
.defter-oda-item .oda-online {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: auto;
  padding-right: 4px;
}
.defter-oda-item .oda-online.oda-online-aktif { color: var(--accent); }

/* Sohbet odası sayfası */
.chat-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 1rem;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  min-height: 380px;
  height: calc(100vh - 200px);
  max-height: 520px;
}
.chat-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.chat-online-sidebar {
  flex-shrink: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  height: fit-content;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}
.chat-online-sidebar-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.chat-online-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chat-online-user {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light, var(--border));
}
.chat-online-user:last-child { border-bottom: none; }
.chat-online-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}
@media (max-width: 768px) {
  .chat-wrap { flex-direction: column; height: auto; max-height: none; min-height: 320px; }
  .chat-online-sidebar { width: 100%; max-height: 180px; }
}

/* Oda sayfası — aşağıda o ildeki çekici kartları */
.chat-cekici-cards {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 20px 2rem;
}
.chat-cekici-cards-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.chat-cekici-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.chat-cekici-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}
.chat-cekici-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.chat-cekici-card-header strong { font-size: 0.95rem; color: var(--text); }
.chat-cekici-meta { font-size: 0.8rem; color: var(--text-muted); }
.chat-cekici-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chat-cekici-card .tel-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}
.chat-cekici-card .detay-link { font-size: 0.85rem; }
.chat-header {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: var(--header-bg);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.chat-header h1 { font-size: 1.15rem; color: #fff; font-weight: 600; }
.chat-header .back-link { color: rgba(255,255,255,0.9); }
.chat-online { font-size: 0.8rem; color: rgba(255,255,255,0.85); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chat-msg {
  max-width: 85%;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.chat-msg.mine { align-self: flex-end; background: var(--chat-sent); color: var(--text); border-bottom-right-radius: 4px; box-shadow: 0 1px 0.5px rgba(0,0,0,0.05); }
.chat-msg.other { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; box-shadow: 0 1px 0.5px rgba(0,0,0,0.05); }
.chat-msg .msg-user { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.chat-msg .msg-time { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.25rem; }
.chat-form-wrap {
  flex-shrink: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.chat-form {
  display: flex;
  gap: 0.5rem;
}
.chat-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.chat-form button {
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.chat-login-prompt { text-align: center; padding: 2rem; color: var(--text-muted); }
.chat-login-prompt a { color: var(--accent); }

/* Sayfa başlığı — uygulama ekranı tarzı */
.page-header {
  padding: 1.25rem 0 1rem;
}

.page-header h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Search */
.search-box {
  margin-bottom: 1.5rem;
}

.search-box form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-box input,
.search-box select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.search-box input {
  flex: 1;
  min-width: 180px;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box select {
  min-width: 140px;
}

.search-box button {
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.95rem;
  transition: filter 0.2s;
}

.search-box button:hover {
  filter: brightness(1.1);
}

/* List */
.rehber-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 2rem;
}

.rehber-item {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  transition: box-shadow 0.2s;
}

.rehber-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.rehber-item-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.rehber-item-info .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.rehber-item-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}

.tel-link:hover {
  background: var(--accent);
  color: #fff;
}

.detay-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.detay-link:hover {
  color: var(--accent);
}

/* Detail page */
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.detail-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.detail-card .kategori {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.detail-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.detail-row strong {
  min-width: 90px;
  color: var(--text-muted);
  font-weight: 500;
}

.detail-row a {
  color: var(--accent);
  text-decoration: none;
}

.detail-row a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.back-link:hover {
  color: var(--accent);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
  opacity: 0.8;
}

.empty-state p {
  margin-bottom: 0.5rem;
}

/* Makale kartı — footer üstü, SEO içerik, mobil uyumlu */
.makale-karti {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  margin-top: 0;
}
.makale-karti .container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .makale-karti .container { max-width: 720px; padding: 0 24px; }
}
.makale-karti-icerik {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}
.makale-karti-icerik .makale-baslik {
  margin-bottom: 1rem;
}
.makale-karti-icerik .makale-baslik h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.makale-karti-icerik h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}
.makale-karti-icerik p {
  margin: 0 0 0.75rem;
}
.makale-karti-icerik a {
  color: var(--accent);
  text-decoration: none;
}
.makale-karti-icerik a:hover {
  text-decoration: underline;
}
.makale-tablo {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}
@media (min-width: 480px) {
  .makale-tablo { display: table; }
}
.makale-tablo th,
.makale-tablo td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.makale-tablo th {
  font-weight: 600;
  background: var(--bg);
  width: 1%;
  white-space: nowrap;
}
.makale-tablo tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.02);
}

/* Footer — alt nav olduğu için minimal */
.site-footer {
  padding: 12px 16px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: none;
}

@media (max-width: 640px) {
  .rehber-item { flex-direction: column; align-items: flex-start; }
}
