/* Fetvacim — Q&A forum tasarimi (fetvalar tarzi) */
:root {
  --primary: #1a5f48;
  --primary-dark: #0f4432;
  --primary-600: #226a51;
  --primary-50: #e8f3ee;
  --accent: #d4a017;
  --accent-dark: #a6800d;
  --accent-50: #faf2d9;
  --bg: #f5f7f6;
  --paper: #ffffff;
  --paper-2: #fafbfa;
  --ink: #1f2937;
  --ink-2: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --ok: #166534;
  --danger: #b91c1c;
  --info: #0369a1;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --font: "Inter", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.site-body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.site-logo i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 8px;
  font-size: 18px;
}
.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover { background: var(--primary-50); color: var(--primary); }
.site-nav a.is-active { background: var(--primary-50); color: var(--primary); }
.btn-ask {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-ask:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 4px 12px rgba(26, 95, 72, 0.3); }
.btn-ask:active { transform: translateY(1px); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 18px;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 10px 20px 14px;
    gap: 2px;
    display: none;
    margin-left: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 12px 14px; }
  .site-nav a.btn-ask {
    justify-content: center;
    margin-top: 10px;
    order: 10;
  }
}

/* Hero */
.hero {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 60%, #1a7350 100%);
  color: #fff;
  padding: 48px 20px 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 5 L75 40 L40 75 L5 40 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.8;
}
.hero__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  color: #fde68a;
}
.hero__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 26px;
  max-width: 620px;
}
.search-box {
  display: flex;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  max-width: 620px;
  margin: 0 auto;
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.search-box button:hover { background: var(--primary-dark); }
@media (max-width: 520px) {
  .search-box { flex-direction: column; padding: 10px; }
  .search-box button { padding: 11px; justify-content: center; }
}
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 18px 40px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.hero__stats strong { color: #fde68a; font-weight: 700; font-size: 17px; margin-right: 4px; font-family: var(--font-display); }

/* Wrap */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .wrap { grid-template-columns: 1fr; padding-top: 22px; }
}

/* Filter bar */
.filter-bar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}
.filter-bar .fb-search {
  flex: 1 1 240px;
  min-width: 0;
  position: relative;
}
.filter-bar .fb-search input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  background: var(--paper-2);
}
.filter-bar .fb-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 95, 72, 0.12);
}
.filter-bar .fb-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 14px;
}
.filter-bar select {
  padding: 9px 30px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M5 6L0 1l1-1 4 4 4-4 1 1z' fill='%236b7280'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  min-width: 130px;
}
.filter-bar select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
}
.filter-bar .fb-clear {
  padding: 9px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, color 0.15s;
}
.filter-bar .fb-clear:hover { background: #fee2e2; color: var(--danger); border-color: #fecaca; }

/* Q&A card list */
.qa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qa-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.qa-card:hover {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-md);
}
@media (max-width: 520px) {
  .qa-card { grid-template-columns: 1fr; padding: 14px; gap: 10px; }
}
.qa-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--primary-50);
  border-radius: 8px;
  color: var(--primary);
  text-align: center;
}
.qa-metric__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.qa-metric__lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  color: var(--primary-600);
  font-weight: 600;
}
@media (max-width: 520px) {
  .qa-metric { flex-direction: row; gap: 10px; padding: 8px 12px; justify-content: flex-start; }
  .qa-metric__num { font-size: 20px; }
  .qa-metric__lbl { margin-top: 0; }
}
.qa-body { min-width: 0; }
.qa-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge--primary { background: var(--primary-50); color: var(--primary); }
.badge--accent { background: var(--accent-50); color: var(--accent-dark); }
.badge--ghost { background: var(--line-2); color: var(--ink-2); }
.qa-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 8px;
  text-decoration: none;
}
.qa-title:hover { color: var(--primary); }
.qa-excerpt {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.55;
}
.qa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.qa-meta span { display: inline-flex; align-items: center; gap: 5px; }
.qa-meta i { color: var(--muted-2); }
.qa-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); display: inline-block; }

/* Empty */
.empty {
  text-align: center;
  padding: 48px 20px;
  background: var(--paper);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty i { font-size: 32px; color: var(--muted-2); margin-bottom: 10px; }
.empty h3 { margin: 0 0 6px; color: var(--ink-2); font-size: 17px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.widget {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.widget__head {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget__body { padding: 14px 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-bottom: 1px solid var(--line-light, #f3f4f6); }
.widget li:last-child { border-bottom: 0; }
.widget li a {
  display: block;
  padding: 10px 16px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
  transition: background 0.12s, color 0.12s;
}
.widget li a:hover { background: var(--paper-2); color: var(--primary); }
.widget__foot {
  padding: 10px 16px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  text-align: right;
}
.widget__foot a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  padding: 5px 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.tag-cloud a:hover, .tag-cloud a.is-on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-box {
  padding: 12px;
  background: var(--paper-2);
  border-radius: 8px;
  text-align: center;
}
.stat-box .n { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-box .l { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: 24px;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.pager a:hover { background: var(--primary-50); color: var(--primary); border-color: var(--primary-600); }
.pager .is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pager .is-gap { border: none; background: transparent; color: var(--muted-2); }

/* Detail page */
.qa-detail {
  max-width: 820px;
  margin: 28px auto;
  padding: 0 20px 48px;
}
.crumb {
  font-size: 13px;
  margin-bottom: 16px;
  color: var(--muted);
}
.crumb a { color: var(--primary); }
.qa-detail__head {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}
.qa-detail__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.qa-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.qa-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.qa-block__head {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.qa-block__head--q { color: var(--accent-dark); }
.qa-block__head--a { color: var(--primary); }
.qa-block__head i {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 12px;
}
.qa-block__head--q i { background: var(--accent-50); color: var(--accent-dark); }
.qa-block__head--a i { background: var(--primary-50); color: var(--primary); }
.qa-block__body { padding: 20px 24px; font-size: 15.5px; line-height: 1.8; }
.qa-block__body p { margin: 0 0 14px; }
.qa-block__body p:last-child { margin-bottom: 0; }
.qa-block__body.qa-body--pre { white-space: pre-wrap; }

/* Rich content */
.rich-content h2, .rich-content h3, .rich-content h4 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 1.6em 0 0.5em;
}
.rich-content h2 { font-size: 1.45em; }
.rich-content h3 { font-size: 1.25em; }
.rich-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 8px 18px;
  margin: 16px 0;
  background: var(--accent-50);
  color: var(--ink-2);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.rich-content ul, .rich-content ol { padding-left: 1.4em; margin: 0 0 14px; }
.rich-content li { margin-bottom: 4px; }
.rich-content a { text-decoration: underline; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.rich-content th, .rich-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.rich-content th { background: var(--paper-2); font-weight: 600; }
.rich-content img { border-radius: 8px; margin: 12px 0; }
.rich-content hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }

/* Article list (makale) */
.article-list {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.article-card:hover { border-color: var(--primary-600); box-shadow: var(--shadow-md); }
.article-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { margin: 6px 0; color: var(--muted); font-size: 14px; }
.article-card .meta { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; }

.article-page {
  max-width: 760px;
  margin: 28px auto;
  padding: 0 20px 48px;
}
.article-page h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.article-page .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.article-page .content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: var(--shadow-xs);
}

/* Footer */
.site-footer {
  margin-top: 32px;
  background: var(--ink);
  color: #cbd5e1;
  padding: 28px 20px;
  text-align: center;
  font-size: 14px;
}
.site-footer a { color: #fde68a; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__sheet {
  width: 100%;
  max-width: 620px;
  max-height: min(94vh, 900px);
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: modalPop 0.25s ease;
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal__head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(140deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.modal__head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.modal__close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.28); }
.modal__body {
  padding: 20px;
  overflow-y: auto;
}

/* Form */
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--ink);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 72, 0.12);
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M5 6L0 1l1-1 4 4 4-4 1 1z' fill='%236b7280'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding-right: 34px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  position: relative;
}
.pill-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) {
  .pill-grid--3 { grid-template-columns: 1fr; }
}
.pill-grid input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pill-grid label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--paper-2);
  cursor: pointer;
  color: var(--ink-2);
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.pill-grid input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(26, 95, 72, 0.18);
}
.pill-grid input:checked + label {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pill-grid label:hover { border-color: var(--primary-600); }

.note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.kvkk {
  padding: 12px;
  background: var(--paper-2);
  border-radius: 8px;
  font-size: 13px;
  margin-top: 6px;
  border: 1px solid var(--line);
}
.kvkk label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.kvkk input { margin-top: 3px; accent-color: var(--primary); }
.kvkk-link { color: var(--primary); text-decoration: underline; cursor: pointer; background: none; border: none; padding: 0; font: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--accent { background: linear-gradient(180deg, #fde68a, #eab308); color: var(--primary-dark); }
.btn--accent:hover { filter: brightness(1.05); }
.btn--ghost { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.alert {
  padding: 11px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.alert--err { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert--ok { background: #f0fdf4; color: var(--ok); border: 1px solid #bbf7d0; }

.success-block {
  text-align: center;
  padding: 32px 20px;
}
.success-block i { font-size: 42px; color: var(--ok); margin-bottom: 10px; }
.success-block h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; color: var(--primary); }
.success-block p { color: var(--muted); margin: 0 0 20px; }

.prose-kvkk h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin: 16px 0 6px;
}
.prose-kvkk h4:first-child { margin-top: 0; }
.prose-kvkk p, .prose-kvkk ul { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.prose-kvkk ul { padding-left: 18px; }

/* Quill editor */
.ql-toolbar.ql-snow {
  border: 1px solid var(--line-2) !important;
  border-radius: 8px 8px 0 0 !important;
  background: var(--paper-2);
}
.ql-container.ql-snow {
  border: 1px solid var(--line-2) !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  font: inherit !important;
  font-size: 14.5px !important;
  background: #fff;
  min-height: 160px;
}
.ql-editor { min-height: 160px; }
.ql-editor.ql-blank::before { color: var(--muted-2) !important; font-style: normal !important; }

/* Section header */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.section-head .count {
  font-size: 13px;
  color: var(--muted);
}

/* Hero — Soru Sor (belirgin CTA) */
.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px auto 0;
  max-width: 620px;
}
.btn-hero-soru {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  background: linear-gradient(180deg, #fde68a 0%, var(--accent) 45%, var(--accent-dark) 100%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(212, 160, 23, 0.4);
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.2s, filter 0.15s;
}
.btn-hero-soru:hover {
  color: var(--primary-dark);
  filter: brightness(1.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}
.btn-hero-soru:active {
  transform: scale(0.98);
}

/* Header — Soru Sor */
.btn-ask--prominent {
  background: linear-gradient(180deg, #fde68a, var(--accent)) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.45);
}
.btn-ask--prominent:hover {
  filter: brightness(1.05);
  color: var(--primary-dark) !important;
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.55);
}
.site-nav a.btn-ask {
  margin-top: 4px;
}
@media (min-width: 821px) {
  .site-nav a.btn-ask {
    margin-left: 8px;
    margin-top: 0;
  }
}

/* İçerik sayfaları (iletisim, hakkımızda, kvkk) */
.content-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.content-body {
  max-width: 720px;
  margin: 0 auto;
}
.about-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 32px;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
.contact-form {
  width: 100%;
  max-width: none;
  margin: 0;
}
.contact-form .grid-2 {
  min-width: 0;
}
.contact-form .input,
.contact-form .textarea {
  min-width: 0;
}
.content-body.prose-about p,
.content-body.prose-kvkk p {
  margin: 0 0 14px;
  color: var(--ink-2);
  line-height: 1.75;
}
.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 8px;
  min-width: 0;
}
.contact-grid > * {
  min-width: 0;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
}
.contact-info {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0 0 16px;
}
.contact-info__item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.contact-info__item:last-child {
  margin-bottom: 0;
}
.contact-info__item > i {
  color: var(--accent-dark);
  width: 22px;
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info__item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}
.contact-info a {
  word-break: break-word;
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 36px 20px;
  margin-top: auto;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 18px;
}
.site-footer__nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.site-footer__nav a:hover {
  color: #fde68a;
}
.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
