/* Turbo TR — özel tema (Bootstrap 5 üzerinde) */
:root {
  --site-bg: #eef2f6;
  --site-bg-accent: linear-gradient(165deg, #e0e7ef 0%, #eef2f6 45%, #f0f4f8 100%);
  --site-surface: #ffffff;
  --site-ink: #0b1220;
  --site-mist: #5c6578;
  --site-border: rgba(11, 18, 32, 0.08);
  --site-accent: #0d9488;
  --site-accent-hover: #0f766e;
  --site-accent-soft: rgba(13, 148, 136, 0.12);
  --site-warm: #ea580c;
  --site-warm-hover: #c2410c;
  --site-nav: #0b1220;
  --site-nav-muted: rgba(255, 255, 255, 0.72);
  --site-radius: 1rem;
  --site-radius-sm: 0.625rem;
  --site-shadow: 0 4px 24px rgba(11, 18, 32, 0.06);
  --site-shadow-lg: 0 20px 50px rgba(11, 18, 32, 0.1);
  --site-font-display: "Outfit", system-ui, sans-serif;
  --site-font-body: "Source Sans 3", system-ui, sans-serif;
  --bs-primary: #0d9488;
  --bs-primary-rgb: 13, 148, 136;
  --bs-link-color: #0f766e;
  --bs-link-hover-color: #0d5348;
}

.site-body {
  font-family: var(--site-font-body);
  color: var(--site-ink);
  background: var(--site-bg-accent);
  -webkit-font-smoothing: antialiased;
}

/* ——— Nav ——— */
.site-navbar {
  background: var(--site-nav) !important;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-navbar .navbar-brand {
  font-family: var(--site-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.45);
}

.site-navbar .nav-link {
  color: var(--site-nav-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--site-radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.site-navbar .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.site-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(20, 184, 166, 0.2);
}

.site-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.55rem;
}

.site-navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* ——— Layout ——— */
.site-main {
  flex: 1;
}

.site-page-title {
  font-family: var(--site-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--site-ink);
  margin-bottom: 0.35rem;
}

.site-page-lead {
  color: var(--site-mist);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 0;
}

.site-page-lead--compact {
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 42rem;
}

/* ——— Hız testi: ölçüm ilk görünüm ——— */
.site-main--test .site-page-title {
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
}

.site-panel-body--test-hero {
  padding-top: 0.85rem;
}

@media (min-width: 768px) {
  .site-panel-body--test-hero {
    padding-top: 1.15rem;
  }
}

.site-callout--after-hero {
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
}

#speedtest-stage {
  scroll-margin-top: 5.25rem;
}

.speedtest-cta .btn {
  min-width: 12rem;
  padding: 0.65rem 1.75rem;
}

.speedtest-consents {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.speedtest-consents .site-check-card {
  padding: 0.85rem 1rem;
}

.speedtest-consents .form-check-label {
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Hız testi: çevre bölümüne kaydırırken sabit navbar için boşluk */
#nearby-compare-wrap {
  scroll-margin-top: 5.5rem;
}

/* Ölçüm bitince sahne içi: çevre karşılaştırmasına kaydır */
.speedtest-compare-cta {
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(22, 163, 74, 0.28);
}

.speedtest-compare-cta__hint {
  margin-top: 0.6rem;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.btn-speedtest-compare {
  font-family: var(--site-font-display);
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: var(--site-radius-sm);
  color: #fff;
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 45%, #16a34a 100%);
  border: 1px solid #15803d;
  box-shadow: 0 2px 0 rgba(21, 128, 61, 0.35), 0 4px 14px rgba(22, 163, 74, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-speedtest-compare:hover {
  color: #fff;
  background: linear-gradient(180deg, #86efac 0%, #22c55e 50%, #15803d 100%);
  border-color: #166534;
  box-shadow: 0 2px 0 rgba(21, 128, 61, 0.45), 0 6px 18px rgba(22, 163, 74, 0.28);
}

.btn-speedtest-compare:focus-visible {
  color: #fff;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .btn-speedtest-compare {
    box-shadow: 0 1px 3px rgba(11, 18, 32, 0.08);
  }
}

.speedtest-privacy-no-db {
  text-align: left;
  border-color: rgba(11, 18, 32, 0.12);
  background: rgba(11, 18, 32, 0.04);
  color: var(--site-ink);
}

/* ——— Hız testi: bilgilendirici içerik + SSS ——— */
.site-panel--test-content .site-panel-body {
  padding-top: 1.35rem;
}

@media (min-width: 768px) {
  .site-panel--test-content .site-panel-body {
    padding-top: 1.65rem;
  }
}

.site-test-seo__h2 {
  font-family: var(--site-font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--site-ink);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 5rem;
}

.site-test-seo__h2:first-of-type {
  margin-top: 0;
}

.site-test-seo p,
.site-test-seo li {
  color: var(--site-mist);
  line-height: 1.65;
  font-size: 0.95rem;
}

.site-test-seo__ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.site-test-seo__ol li {
  margin-bottom: 0.5rem;
}

.site-test-seo__ol li strong {
  color: var(--site-ink);
}

.site-test-seo a {
  font-weight: 600;
}

.site-faq-accordion .accordion-item {
  border-color: var(--site-border);
  background: var(--site-surface);
}

.site-faq-accordion .accordion-button {
  font-family: var(--site-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--site-ink);
  background: #f8fafc;
  box-shadow: none !important;
}

.site-faq-accordion .accordion-button:not(.collapsed) {
  background: var(--site-accent-soft);
  color: var(--site-ink);
}

.site-faq-accordion .accordion-button::after {
  filter: opacity(0.75);
}

.site-faq-accordion .accordion-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--site-mist);
  padding-top: 0.35rem;
}

.site-faq-accordion .accordion-body strong {
  color: var(--site-ink);
}

.site-faq-accordion .accordion-body code {
  font-size: 0.88em;
  background: rgba(11, 18, 32, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

/* ——— Ana sayfa hero ——— */
.site-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-hero {
    padding: 3.25rem 0 2.5rem;
  }
}

.site-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 120%;
  background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(13, 148, 136, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(234, 88, 12, 0.08), transparent 50%);
  pointer-events: none;
}

.site-hero-inner {
  position: relative;
  z-index: 1;
}

.site-hero h1 {
  font-family: var(--site-font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--site-ink);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.site-hero .lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--site-mist);
  max-width: 38rem;
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn-site-primary {
  font-family: var(--site-font-display);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--site-radius-sm);
  background: var(--site-accent) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-site-primary:hover {
  background: var(--site-accent-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-site-ghost {
  font-family: var(--site-font-display);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--site-radius-sm);
  background: var(--site-surface) !important;
  border: 1px solid var(--site-border) !important;
  color: var(--site-ink) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-site-ghost:hover {
  border-color: rgba(13, 148, 136, 0.35) !important;
  box-shadow: var(--site-shadow);
  color: var(--site-ink) !important;
}

/* ——— Kartlar ——— */
.site-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.site-card:hover {
  box-shadow: var(--site-shadow-lg);
}

.site-card-body {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .site-card-body {
    padding: 1.75rem;
  }
}

.site-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.site-card-icon--teal {
  background: var(--site-accent-soft);
}
.site-card-icon--orange {
  background: rgba(234, 88, 12, 0.12);
}
.site-card-icon--slate {
  background: rgba(11, 18, 32, 0.06);
}

.site-card h2,
.site-card h3 {
  font-family: var(--site-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.site-card p {
  color: var(--site-mist);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ——— Test sayfası ——— */
.site-panel {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  overflow: hidden;
}

.site-panel-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

@media (min-width: 768px) {
  .site-panel-body {
    padding: 2rem 2rem 2.25rem;
  }
}

.site-callout {
  border-radius: var(--site-radius-sm);
  border: 1px solid rgba(13, 148, 136, 0.25);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(13, 148, 136, 0.02));
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--site-ink);
}

.site-callout a {
  font-weight: 600;
}

.site-check-card {
  border-radius: var(--site-radius-sm);
  border: 1px solid var(--site-border);
  background: #f8fafc;
  padding: 1rem 1.15rem;
}

.site-check-card .form-check-label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--site-mist);
}

.site-check-card .form-check-input:checked {
  background-color: var(--site-accent);
  border-color: var(--site-accent);
}

.site-actions-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-actions-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

#btn-start {
  font-family: var(--site-font-display);
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: var(--site-radius-sm);
  min-width: 11rem;
}

/* ——— Hız testi sahnesi (Ookla tarzı büyük gösterge + aşamalar) ——— */
.speedtest-stage {
  text-align: center;
  padding: 1.35rem 1rem 1.75rem;
  margin-bottom: 1.35rem;
  border-radius: var(--site-radius-sm);
  border: 1px solid var(--site-border);
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 55%, #f1f5f9 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.speedtest-stage--running {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 3px var(--site-accent-soft), var(--site-shadow);
}

.speedtest-stage--done {
  border-color: rgba(22, 163, 74, 0.35);
  background: linear-gradient(165deg, #f0fdf4 0%, #ffffff 50%, #ecfdf5 100%);
}

.speedtest-stage--error {
  border-color: rgba(220, 38, 38, 0.35);
  background: linear-gradient(165deg, #fef2f2 0%, #ffffff 55%, #fff1f2 100%);
}

.speedtest-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.speedtest-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.speedtest-step-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.65);
  color: inherit;
}

.speedtest-step--active {
  background: var(--site-accent);
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.speedtest-step--active .speedtest-step-idx {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.speedtest-step--done {
  background: #bbf7d0;
  color: #14532d;
}

.speedtest-step--done .speedtest-step-idx {
  background: rgba(255, 255, 255, 0.5);
}

.speedtest-gauge {
  position: relative;
  width: min(220px, 72vw);
  height: min(220px, 72vw);
  margin: 0 auto 1rem;
}

.speedtest-gauge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(
    from 0deg,
    var(--site-accent),
    #2dd4bf,
    #5eead4,
    var(--site-accent)
  );
  animation: speedtest-ring-spin 1.15s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}

.speedtest-stage--idle .speedtest-gauge-ring,
.speedtest-stage--done .speedtest-gauge-ring,
.speedtest-stage--error .speedtest-gauge-ring {
  animation: none;
  opacity: 0.22;
}

.speedtest-stage--running .speedtest-gauge-ring {
  opacity: 1;
}

.speedtest-gauge-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.speedtest-gauge-value {
  font-family: var(--site-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--site-ink);
  font-variant-numeric: tabular-nums;
}

.speedtest-gauge-value.speedtest-gauge-value--wait {
  animation: speedtest-dots 1.2s ease-in-out infinite;
}

.speedtest-gauge-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--site-mist);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.speedtest-phase-label {
  font-family: var(--site-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--site-ink);
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
}

.speedtest-phase-sub {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

/* Özet: üç yuvarlak sonuç (ölçüm bitince ana gösterge yerine) */
.speedtest-stage--summary .speedtest-gauge {
  display: none;
}

.speedtest-result-trio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 0.85rem;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.speedtest-result-circle {
  flex: 1 1 5.25rem;
  min-width: 5rem;
  max-width: 6.75rem;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.25rem;
  background: var(--site-surface);
  border: 2px solid var(--site-border);
  box-shadow: 0 4px 14px rgba(11, 18, 32, 0.06);
}

.speedtest-result-circle__label {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--site-mist);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.speedtest-result-circle__value {
  font-family: var(--site-font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--site-ink);
  font-variant-numeric: tabular-nums;
}

.speedtest-result-circle__unit {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--site-mist);
  margin-top: 0.1rem;
}

.speedtest-result-circle--dl {
  border-color: rgba(13, 148, 136, 0.45);
  background: linear-gradient(160deg, #ffffff 0%, rgba(13, 148, 136, 0.08) 100%);
}

.speedtest-result-circle--ul {
  border-color: rgba(8, 145, 178, 0.45);
  background: linear-gradient(160deg, #ffffff 0%, rgba(8, 145, 178, 0.08) 100%);
}

.speedtest-result-circle--ping {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(160deg, #ffffff 0%, rgba(124, 58, 237, 0.07) 100%);
}

.speedtest-stage--done.speedtest-stage--summary .speedtest-phase-label {
  margin-top: 0.15rem;
}

.site-metric-grid--busy {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

@keyframes speedtest-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes speedtest-dots {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speedtest-gauge-ring {
    animation: none;
    opacity: 0.35;
  }

  .speedtest-gauge-value.speedtest-gauge-value--wait {
    animation: none;
    opacity: 1;
  }

  .speedtest-step--active {
    transform: none;
  }
}

.site-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 992px) {
  .site-metric-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.site-metric {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-sm);
  padding: 1.1rem 1.15rem;
  position: relative;
  overflow: hidden;
}

.site-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: var(--site-accent);
}

.site-metric--up::before {
  background: #0891b2;
}
.site-metric--ping::before {
  background: #7c3aed;
}
.site-metric--isp::before {
  background: #64748b;
}

.site-metric-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--site-mist);
  margin-bottom: 0.35rem;
}

.site-metric-value {
  font-family: var(--site-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--site-ink);
  line-height: 1.2;
}

.site-metric-note {
  font-size: 0.7rem;
  color: var(--site-mist);
  margin-top: 0.35rem;
  line-height: 1.35;
}

.site-footnote {
  font-size: 0.85rem;
  color: var(--site-mist);
  line-height: 1.55;
}

.site-footnote code {
  font-size: 0.8em;
  background: rgba(11, 18, 32, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

#status-msg {
  font-size: 1rem;
  color: var(--site-ink);
}

#server-wrap:not(:empty) {
  font-size: 0.85rem;
  color: var(--site-mist);
}

/* ——— Harita ——— */
#map {
  height: min(68vh, 520px);
  width: 100%;
  border-radius: var(--site-radius-sm);
  z-index: 0;
  border: 1px solid var(--site-border);
  box-shadow: inset 0 1px 2px rgba(11, 18, 32, 0.04);
}

.site-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.site-toolbar .btn-group .btn {
  font-family: var(--site-font-display);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
}

.site-toolbar .form-label {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--site-mist);
}

.site-toolbar .form-control {
  border-radius: var(--site-radius-sm);
  border-color: var(--site-border);
}

.site-toolbar .form-control:focus {
  border-color: var(--site-accent);
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.15);
}

#btn-region {
  font-family: var(--site-font-display);
  font-weight: 600;
  border-radius: var(--site-radius-sm);
  background: var(--site-warm) !important;
  border: none !important;
  color: #fff !important;
}

#btn-region:hover {
  background: var(--site-warm-hover) !important;
  color: #fff !important;
}

.site-table-wrap table {
  font-size: 0.9rem;
  border-radius: var(--site-radius-sm);
  overflow: hidden;
}

.site-table-wrap thead th {
  font-family: var(--site-font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f1f5f9 !important;
  border-bottom-width: 1px;
}

/* ——— Gizlilik / prose ——— */
.site-main--legal .site-panel-body--legal {
  padding-top: 1.35rem;
}

@media (min-width: 768px) {
  .site-main--legal .site-panel-body--legal {
    padding-top: 1.65rem;
  }
}

.site-prose {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.site-prose h1 {
  font-family: var(--site-font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.site-prose h2 {
  font-family: var(--site-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: var(--site-ink);
}

.site-prose p,
.site-prose li {
  color: var(--site-mist);
  line-height: 1.65;
}

.site-prose ul {
  padding-left: 1.25rem;
}

.site-prose a {
  font-weight: 600;
}

/* Blog hero: kart genişliğinde; yükseklik tavanlı — tam görünür, kırpma yok (orantılı küçülme) */
.site-prose.site-panel .blog-hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: calc(100% + 3rem);
  max-width: none;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: 1.25rem;
  min-height: 0;
}

@media (min-width: 768px) {
  .site-prose.site-panel .blog-hero {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
  }
}

.site-prose.site-panel .blog-hero img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(32vh, 260px);
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 576px) {
  .site-prose.site-panel .blog-hero img {
    max-height: min(34vh, 300px);
  }
}

@media (min-width: 768px) {
  .site-prose.site-panel .blog-hero img {
    max-height: min(36vh, 340px);
  }
}

@media (min-width: 992px) {
  .site-prose.site-panel .blog-hero img {
    max-height: min(38vh, 380px);
  }
}

/* ——— Footer ——— */
.site-footer {
  margin-top: auto;
  padding: 2rem 0;
  background: var(--site-nav);
  color: var(--site-nav-muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

/* ——— Bootstrap uyarıları ——— */
.site-panel .alert {
  border-radius: var(--site-radius-sm);
  border: none;
}

.alert-info {
  background: rgba(8, 145, 178, 0.1);
  color: var(--site-ink);
}

.alert-success {
  background: rgba(13, 148, 136, 0.15);
  color: #0f5132;
}

.alert-warning {
  background: rgba(234, 179, 8, 0.15);
  color: #664d03;
}

/* ——— İstatistikler ——— */
.site-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 992px) {
  .site-stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-stat-card {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-sm);
  padding: 1.15rem 1.25rem;
  position: relative;
}

.site-stat-card--all {
  border-top: 3px solid var(--site-accent);
}
.site-stat-card--bb {
  border-top: 3px solid #0891b2;
}
.site-stat-card--mob {
  border-top: 3px solid #7c3aed;
}
.site-stat-card--unk {
  border-top: 3px solid #94a3b8;
}

.site-stat-card h3 {
  font-family: var(--site-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--site-mist);
  margin: 0 0 0.5rem;
}

.site-stat-big {
  font-family: var(--site-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--site-ink);
  line-height: 1.2;
}

.site-stat-sub {
  font-size: 0.8rem;
  color: var(--site-mist);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.site-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.site-seg button {
  font-family: var(--site-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  background: #fff;
  color: var(--site-mist);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-seg button:hover {
  border-color: rgba(13, 148, 136, 0.35);
  color: var(--site-ink);
}

.site-seg button.is-active {
  background: var(--site-accent);
  border-color: var(--site-accent);
  color: #fff;
}

.site-stats-table-wrap {
  border-radius: var(--site-radius-sm);
  border: 1px solid var(--site-border);
  background: #fff;
  min-width: 0;
}

/* overflow:hidden üst sarmalayıcıda yatay kaydırmayı kırıyordu; kaydırma burada */
.site-stats-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.site-stats-table {
  min-width: 36rem;
  margin-bottom: 0;
  font-size: 0.88rem;
}

.site-stats-table-wrap thead th {
  font-family: var(--site-font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f1f5f9 !important;
  border-bottom: 1px solid var(--site-border);
  white-space: nowrap;
}

.site-stats-th-num,
.site-stats-td-num {
  width: 2rem;
  padding-left: 0.5rem !important;
  padding-right: 0.35rem !important;
}

.site-stats-th-metric {
  min-width: 4.5rem;
}

.site-stats-col-text {
  max-width: 10rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  white-space: normal;
}

.site-stats-col-text a {
  word-break: break-word;
}

@media (min-width: 576px) {
  .site-stats-col-text {
    max-width: 14rem;
  }
}

@media (min-width: 768px) {
  .site-stats-table {
    min-width: 0;
  }

  .site-stats-col-text {
    max-width: 18rem;
  }
}

@media (max-width: 575.98px) {
  .site-stats-table {
    font-size: 0.8rem;
    min-width: 32rem;
  }

  .site-stats-table-wrap thead th {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.35rem;
  }

  .site-stats-table td {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
}

