/* ==========================================================================
   Esenler Havaalanı ASM — Ana stil dosyası
   Mobil öncelikli: temel stiller 360px içindir, büyük ekranlar için
   @media (min-width: ...) blokları kullanılır.
   ========================================================================== */

:root {
  /* Kurum rengi #00aaa6. Beyaz zeminde kontrastı 2.9:1 olduğundan yazı ve butonlarda
     aynı tonun koyusu (#00807d, 4.8:1) kullanılır; #00aaa6 vurgu çizgileri ve süslerdedir. */
  --c-brand: #00aaa6;
  --c-primary: #00807d;        /* beyaz zeminde 4.8:1 kontrast */
  --c-primary-dark: #005f5c;   /* beyaz zeminde 7.3:1 kontrast */
  --c-primary-50: #e8f7f6;
  --c-primary-100: #c5eceb;
  --c-text: #1a2e2d;
  --c-muted: #4a5c5b;          /* beyaz zeminde 6.9:1 kontrast */
  --c-border: #d3e3e2;
  --c-bg: #ffffff;
  --c-bg-soft: #f3faf9;
  --c-footer: #063d3b;
  --c-success: #17663a;
  --c-success-bg: #e5f4eb;
  --c-danger: #a1271d;
  --c-danger-bg: #fdecea;
  --c-warn-bg: #fff6df;
  --c-warn-border: #e2b746;
  --c-warn-text: #4d3800;

  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 60, 58, .06), 0 6px 20px rgba(0, 60, 58, .07);
  --gutter: 16px;
  --header-h: 68px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;           /* 17px — en küçük metin bile 16px altına inmez */
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-wrap: break-word;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { line-height: 1.25; color: var(--c-text); margin: 0 0 .5em; }
h1 { font-size: clamp(1.875rem, 1.4rem + 2.2vw, 2.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

a { color: var(--c-primary); text-underline-offset: .18em; }
a:hover { color: var(--c-primary-dark); }

:focus-visible {
  outline: 3px solid var(--c-primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--c-primary-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--c-primary);
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.btn svg { width: 22px; height: 22px; flex: none; }

.btn--outline { background: #fff; color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary-50); color: var(--c-primary-dark); }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow::after { content: "→"; content: "→" / ""; } /* ok ekran okuyucuya okunmaz */

/* ---------- Yer tutucu uyarı şeridi ---------- */
.placeholder-banner {
  background: var(--c-warn-bg);
  border-bottom: 1px solid var(--c-warn-border);
  color: var(--c-warn-text);
  font-size: 1rem;
  padding: 8px 0;
  text-align: center;
}
.placeholder-banner p { margin: 0; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-top: 4px solid var(--c-brand);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: saturate(1.4) blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  text-decoration: none;
  line-height: 1.15;
}
.brand:hover { color: var(--c-text); }
.brand img { width: 48px; height: 48px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 1.125rem; }
.brand-sub { font-size: 1rem; color: var(--c-muted); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--c-primary); }
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 12px 24px rgba(0, 60, 58, .1);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.site-nav.is-open { display: block; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 16px;
}
.nav-list a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-weight: 700;
  text-decoration: none;
}
.nav-list a:hover { background: var(--c-primary-50); color: var(--c-primary-dark); }
.nav-list a[aria-current="page"] {
  background: var(--c-primary-50);
  color: var(--c-primary-dark);
  box-shadow: inset 4px 0 0 var(--c-brand);
}
.nav-call { padding-top: 8px; }
.nav-list .nav-call .btn { display: flex; width: 100%; padding: 12px 22px; color: #fff; background: var(--c-primary); }
.nav-list .nav-call .btn:hover { background: var(--c-primary-dark); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    background: transparent;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
  }
  .nav-list a { padding: 10px 12px; }
  .nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-brand); }
  .nav-call { padding: 0 0 0 8px; }
  .nav-list .nav-call .btn { display: inline-flex; width: auto; padding: 10px 18px; }
}

/* ---------- Sayfa bölümleri ---------- */
main { display: block; }

.section { padding: 48px 0; }
.section--soft { background: var(--c-bg-soft); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--c-muted); }
.section-intro { color: var(--c-muted); max-width: 60ch; }

.page-hero {
  background: linear-gradient(180deg, var(--c-primary-50), #fff);
  padding: 40px 0 24px;
}
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--c-muted); max-width: 62ch; margin: 0; font-size: 1.125rem; }

.breadcrumb { font-size: 1rem; margin-bottom: 12px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--c-muted); }
.breadcrumb [aria-current] { color: var(--c-muted); }

@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 56px 0 32px; }
}

/* ---------- Ana sayfa karşılama ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 10%, var(--c-primary-100) 0, transparent 45%),
    linear-gradient(180deg, var(--c-primary-50), #fff 90%);
  padding: 40px 0 48px;
}
.hero-grid { display: grid; gap: 28px; }
.hero-grid > .hero-logo { order: -1; }
@media (min-width: 900px) { .hero-grid > .hero-logo { order: 0; } }
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-primary-100);
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: 1rem;
}
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-primary-100);
  border-bottom: 4px solid var(--c-brand);
  box-shadow: var(--shadow);
}
.hero-logo img { width: 100%; max-width: 420px; height: auto; }
.hero-lead { font-size: 1.1875rem; color: var(--c-muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-phone { margin: 12px 0 0; font-size: 1rem; color: var(--c-muted); }
.hero-phone a, .info-value a, .footer-list a[href^="tel:"] { white-space: nowrap; }

@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
  .hero-logo { grid-column: 2; grid-row: 1; padding: 36px 32px; }
  .hero-logo img { max-width: 480px; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- Kartlar ---------- */
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) { .grid-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

/* Bugünün saatleri kutusu */
.today-card { padding: 24px; }
.today-card h2 { font-size: 1.25rem; margin-bottom: 4px; }
.today-date { color: var(--c-muted); margin: 0 0 16px; }
.today-hours { font-size: 2rem; font-weight: 700; line-height: 1.2; margin: 0 0 4px; color: var(--c-primary-dark); }
.today-extra { color: var(--c-muted); margin: 0 0 16px; }
.today-card .link-arrow { margin-top: 4px; }
.today-emergency {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  font-size: 1rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.status::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
}
.status--open { background: var(--c-success-bg); color: var(--c-success); }
.status--closed { background: var(--c-danger-bg); color: var(--c-danger); }
.status--break { background: var(--c-warn-bg); color: var(--c-warn-text); }
.status--off { background: #edf2f2; color: var(--c-muted); }

/* Kişi kartı */
.person-card {
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
/* Mobilde fotoğraf solda, metin sağda (daha az kaydırma); 768px üstünde dikey kart */
.person-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: start;
  gap: 16px;
  padding: 18px;
}
.person-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-primary-50);
}
.person-body { padding: 0; }
@media (min-width: 768px) {
  .person-card { display: flex; padding: 0; gap: 0; }
  .person-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .person-body { padding: 20px 22px 24px; }
}
.person-title {
  display: block;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
}
.person-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.person-meta dt abbr { text-decoration: none; }
.person-card .person-meta dt { font-size: 1.0625rem; font-weight: 700; color: var(--c-primary); }
.person-card .person-meta dd { font-size: 1.375rem; }
.person-meta { margin: 0; display: grid; gap: 8px; }
.person-meta div { display: grid; gap: 0; }
.person-meta dt { font-size: 1rem; color: var(--c-muted); }
.person-meta dd { margin: 0; font-weight: 700; }

/* Blog kartı */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: 0 2px 4px rgba(0,60,58,.08), 0 14px 32px rgba(0,60,58,.12); transform: translateY(-2px); }
.post-card:focus-within { outline: 3px solid var(--c-primary-dark); outline-offset: 3px; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--c-muted);
}
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--c-primary-50);
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: 1rem;
}
.post-card h3 { font-size: 1.25rem; }
.post-card h3 a { color: var(--c-text); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; } /* tüm kart tıklanabilir */
.post-card h3 a:focus-visible { outline: none; }
.post-card h3 a:hover { color: var(--c-primary-dark); }
.post-card p { color: var(--c-muted); }
.post-more { margin-top: auto; font-weight: 700; color: var(--c-primary); }

/* Kategori filtresi */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.filter-btn {
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--c-primary); }
.filter-btn[aria-pressed="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ---------- Harita & adres ---------- */
.map-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-primary-50);
  aspect-ratio: 4 / 3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; align-items: start; gap: 32px; }
  .map-wrap { aspect-ratio: 16 / 11; }
}

.info-card { padding: 24px; }
.info-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.info-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-primary-50);
  color: var(--c-primary);
}
.info-icon svg { width: 22px; height: 22px; }
.info-label { display: block; font-size: 1rem; color: var(--c-muted); }
.info-value { font-weight: 700; }
.info-value a { text-decoration: none; }
.info-value a:hover { text-decoration: underline; }
.info-actions { display: grid; gap: 10px; }

/* ---------- Çalışma saatleri ---------- */
.hours-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .hours-layout { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 32px; } }

.table-card { padding: 8px 0; overflow: hidden; }
.table-card h2 { padding: 16px 20px 4px; margin: 0; font-size: 1.375rem; }
.table-card .table-note { padding: 0 20px; color: var(--c-muted); margin: 0 0 8px; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table caption { text-align: left; }
.hours-table th,
.hours-table td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--c-border); }
.hours-table thead th { border-top: 0; font-size: 1rem; color: var(--c-muted); }
.hours-table tbody th { font-weight: 700; }
.hours-table td { font-variant-numeric: tabular-nums; }
.hours-table .is-closed td { color: var(--c-danger); font-weight: 700; }
.hours-table .is-today { background: var(--c-primary-50); }
.hours-table .is-today th { box-shadow: inset 4px 0 0 var(--c-brand); }
.today-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  vertical-align: middle;
}

/* Doktor bazlı saat kartları */
.doctor-hours {
  height: 100%;
  padding: 20px 22px 22px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.doctor-hours.is-target { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.doctor-hours-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.doctor-hours-head img {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-primary-50);
}
.doctor-hours-head h3 { margin: 0; font-size: 1.1875rem; }
.doctor-hours-head p { margin: 0; color: var(--c-muted); }
.hours-table--compact { table-layout: fixed; }
.hours-table--compact th,
.hours-table--compact td { padding: 10px 12px; }
.hours-table--compact tbody th { width: 56%; }
.hours-table--compact td { text-align: right; }
.hours-table .is-off td { color: var(--c-muted); }
.doctor-hours-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--c-warn-bg);
  color: var(--c-warn-text);
}
.person-hours-link { margin-top: 14px; }

/* Doktor kartının tamamı tıklanabilir: içteki butonun ::before katmanı kartı kaplar */
.is-clickable { position: relative; cursor: pointer; transition: box-shadow .2s; }
.is-clickable:hover { box-shadow: 0 2px 4px rgba(0,60,58,.08), 0 14px 32px rgba(0,60,58,.12); }
.is-clickable:focus-within { outline: 3px solid var(--c-primary-dark); outline-offset: 3px; }
.is-clickable .card-open::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.is-clickable .card-open:focus-visible { outline: none; }
button.link-arrow {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button.link-arrow:hover { color: var(--c-primary-dark); }
.doctor-hours .card-open { margin-top: 16px; }

/* Doktor penceresi (çalışma çizelgesi) */
.doctor-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--c-text);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 40, 38, .3);
}
.doctor-dialog::backdrop { background: rgba(6, 30, 29, .55); }
html:has(.doctor-dialog[open]) { overflow: hidden; }
.dialog-inner { padding: 20px; }
@media (min-width: 768px) { .dialog-inner { padding: 28px; } }
.dialog-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dialog-head img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--c-primary-50); }
.dialog-head h2 { margin: 0; font-size: 1.375rem; }
.dialog-head p { margin: 0; color: var(--c-muted); }
.dialog-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  background: #fff;
  color: var(--c-text);
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { border-color: var(--c-primary); color: var(--c-primary-dark); }
.dialog-figure { margin: 4px 0 0; }
.dialog-figure img { width: 100%; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.dialog-figure figcaption { margin-top: 8px; color: var(--c-muted); font-size: 1rem; }
.dialog-inner h3 { margin: 0 0 4px; font-size: 1.125rem; }
.dialog-actions { display: flex; justify-content: flex-end; margin-top: 20px; }

.special-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.special-item { padding: 20px 22px; }
.special-item h3 { margin-bottom: 4px; font-size: 1.1875rem; }
.special-time { margin: 0 0 8px; font-weight: 700; color: var(--c-primary-dark); }
.special-item p:last-child { margin-bottom: 0; color: var(--c-muted); }

.note-box {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--c-warn-bg);
  border: 1px solid var(--c-warn-border);
  border-left-width: 6px;
}
.note-box h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.note-box p:last-child { margin-bottom: 0; }
.notes-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .notes-grid { grid-template-columns: repeat(2, 1fr); } }

.emergency {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--c-danger-bg);
  border: 1px solid #f2b8b2;
}
.emergency > h2 { color: var(--c-danger); }
.emergency-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .emergency-list { grid-template-columns: repeat(2, 1fr); } }
.emergency-item {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid #f2b8b2;
}
.emergency-item h3 { margin: 0; }
.emergency-item p { margin: 0; color: var(--c-muted); }
.emergency-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--c-danger);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  justify-self: start;
}
.emergency-number:hover { background: #7f1d15; color: #fff; }
.emergency-number svg { width: 24px; height: 24px; }

/* ---------- Blog yazısı ---------- */
.article { max-width: 72ch; margin-inline: auto; }
.article-header { margin-bottom: 24px; }
.article-header .post-meta { margin-bottom: 14px; }
.article-figure { margin: 0 0 32px; }
.article-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { font-size: 1.125rem; line-height: 1.75; }
.article-body h2 { font-size: 1.5rem; margin-top: 1.8em; }
.article-body h3 { margin-top: 1.5em; }
.article-body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .4em; }
.article-body li::marker { color: var(--c-brand); }

.disclaimer {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  margin: 40px 0 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--c-primary-50);
  border: 1px solid var(--c-primary-100);
  border-left: 6px solid var(--c-brand);
}
.disclaimer svg { width: 28px; height: 28px; color: var(--c-primary); }
.disclaimer p { margin: 0; font-weight: 700; }

.article-nav { margin-top: 32px; }

/* ---------- Ulaşım ---------- */
.transit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.transit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 16px 18px;
}
.transit-badge {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-width: 56px;
  min-height: 56px;
  padding: 6px;
  border-radius: 12px;
  background: var(--c-primary);
  color: #fff;
}
.transit-badge svg { width: 28px; height: 28px; }
.transit-item h3 { margin: 0; font-size: 1.125rem; }
.transit-item p { margin: 0; color: var(--c-muted); }
.transit-extra { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .transit-extra { grid-template-columns: repeat(2, 1fr); } }
.transit-extra .card { padding: 20px 22px; }
.transit-extra h3 { font-size: 1.125rem; margin-bottom: 6px; }
.transit-extra p { margin: 0; color: var(--c-muted); }

/* ---------- Durum mesajları ---------- */
.loading, .error-box { padding: 24px; border-radius: var(--radius); }
.loading { color: var(--c-muted); }
.error-box { background: var(--c-danger-bg); color: var(--c-danger); border: 1px solid #f2b8b2; }
.error-box p:last-child { margin: 0; }

/* ---------- Alt bilgi ---------- */
.site-footer {
  background: var(--c-footer);
  color: #e3f3f2;
  padding: 48px 0 24px;
  margin-top: 0;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #bfeeea; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.125rem; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 700; font-size: 1.125rem; color: #fff; }
.footer-brand img { width: 52px; height: 52px; padding: 2px; border-radius: 50%; background: #fff; flex: none; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list .muted { color: #b5dcd9; }
.footer-hours dt { font-weight: 700; color: #fff; }
.footer-hours dd { margin: 0 0 8px; }
.footer-hours { margin: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 1rem;
  color: #b5dcd9;
}
.footer-bottom p { margin: 0; }
.footer-emergency a { font-weight: 700; }

/* ---------- Kayan doktor listesi ---------- */
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  column-gap: 16px;
  margin: 0;
  padding: 6px 4px 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { scroll-snap-align: start; }
@media (min-width: 768px) { .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); column-gap: 24px; } }
@media (min-width: 1024px) { .carousel-track { grid-auto-columns: calc((100% - 48px) / 3); } }
.carousel { position: relative; }
.carousel-btn--prev,
.carousel-btn--next {
  position: absolute;
  top: 38%;
  z-index: 2;
  transform: translateY(-50%);
  box-shadow: var(--shadow);
}
.carousel-btn--prev { left: -8px; }
.carousel-btn--next { right: -8px; }
@media (min-width: 1280px) {
  .carousel-btn--prev { left: -64px; }
  .carousel-btn--next { right: -64px; }
}
.carousel-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  color: var(--c-primary-dark);
  font: inherit;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
}
.carousel-btn:hover { border-color: var(--c-primary); background: var(--c-primary-50); }
/* Kayan listede kart her ekranda dikey: fotoğraf üstte, bilgiler altta */
.carousel-track .person-card { display: flex; padding: 0; gap: 0; }
.carousel-track .person-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.carousel-track .person-body { padding: 18px 20px 22px; }

/* ---------- Vücut kitle endeksi ---------- */
.bmi { display: grid; gap: 24px; padding: 24px; }
@media (min-width: 900px) {
  .bmi { grid-template-columns: 1fr 1fr; gap: 24px 48px; padding: 36px; }
  .bmi-result:not(:empty) { grid-column: 1 / -1; }
}
.bmi-intro h2 { margin-bottom: .4em; }
.bmi-intro p { color: var(--c-muted); }
.bmi-note { font-size: 1rem; margin: 0; }
.bmi-form { display: grid; gap: 16px; align-content: start; }
.bmi-fields { display: grid; gap: 16px; }
@media (min-width: 480px) { .bmi-fields { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.field-unit { font-weight: 400; color: var(--c-muted); }
.field input {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-text);
  font: inherit;
  font-size: 1.25rem;
}
.field input:focus-visible { outline: 3px solid var(--c-primary-dark); outline-offset: 2px; border-color: var(--c-primary); }
.field input[aria-invalid="true"] { border-color: var(--c-danger); }
.bmi-error { margin: 0; color: var(--c-danger); font-weight: 700; }
.bmi-error:empty { display: none; }
.bmi-form .btn { justify-self: start; min-width: 160px; }
.bmi-result:empty { display: none; }
.bmi-result { padding-top: 20px; border-top: 1px solid var(--c-border); }
.bmi-value { font-size: 1.25rem; margin-bottom: 8px; }
.bmi-value strong { font-size: 2rem; color: var(--c-primary-dark); }
.bmi-badge { display: inline-block; margin: 0 0 16px; padding: 4px 14px; border-radius: 999px; font-weight: 700; }
.bmi-badge--zayif { background: #e3eefa; color: #1f4f80; }
.bmi-badge--normal { background: var(--c-success-bg); color: var(--c-success); }
.bmi-badge--fazla { background: var(--c-warn-bg); color: var(--c-warn-text); }
.bmi-badge--obez { background: var(--c-danger-bg); color: var(--c-danger); }
.bmi-scale { position: relative; margin: 0 0 20px; padding-top: 6px; }
.bmi-scale-bar {
  display: block;
  height: 14px;
  border-radius: 999px;
  /* 15–40 ölçeğinde: 18,5 → %14, 25 → %40, 30 → %60 */
  background: linear-gradient(90deg, #7fb2e5 0 14%, #5fb57f 14% 40%, #e8c35a 40% 60%, #e07a6a 60% 100%);
}
.bmi-scale-marker {
  position: absolute;
  top: 0;
  width: 6px;
  height: 26px;
  margin-left: -3px;
  border-radius: 3px;
  background: var(--c-text);
  box-shadow: 0 0 0 2px #fff;
}
.bmi-scale-labels { display: grid; grid-template-columns: 14% 26% 20% 40%; margin-top: 8px; font-size: 1rem; color: var(--c-muted); }
.bmi-scale-labels span:last-child { text-align: right; }
@media (max-width: 479px) { .bmi-scale-labels { display: none; } }
.bmi-range { margin: 0; }

/* ---------- Çocuk büyüme persentili ---------- */
.growth { margin-top: 24px; }
.sex-field { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.sex-field legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; font-weight: 700; }
.sex-field .choice {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 18px;
  border: 2px solid var(--c-border);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-50); color: var(--c-primary-dark); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--c-primary); }
.field input[type="date"] { font-size: 1.125rem; }
.growth-age { font-size: 1.25rem; }
.growth-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .growth-list { grid-template-columns: repeat(3, 1fr); } }
.growth-row { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--c-border); border-left-width: 6px; background: #fff; }
.growth-row div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.growth-row p { margin: 8px 0 0; }
.growth-row--ok { border-left-color: var(--c-success); }
.growth-row--mid { border-left-color: var(--c-warn-border); }
.growth-row--low, .growth-row--high { border-left-color: var(--c-danger); }
.growth-label { font-weight: 700; }
.growth-value { color: var(--c-muted); }
.growth-pct { font-size: 1.375rem; font-weight: 700; color: var(--c-primary-dark); }
.growth-sds { color: var(--c-muted); }
.growth-source { margin: 0; font-size: 1rem; color: var(--c-muted); }

/* ---------- Sağlıklı hafıza oyunu ---------- */
.game { max-width: 560px; }
.game-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.game-stats { display: flex; gap: 20px; margin: 0; font-size: 1.125rem; }
.game-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) { .game-board { gap: 14px; } }
.game-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font: inherit;
  cursor: pointer;
  perspective: 600px;
}
.game-card-back, .game-card-front {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-radius: var(--radius-sm);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .35s;
}
.game-card-back {
  background: var(--c-primary);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.game-card:hover .game-card-back { background: var(--c-primary-dark); }
.game-card-front {
  background: #fff;
  border: 2px solid var(--c-primary-100);
  transform: rotateY(180deg);
}
.game-card.is-open .game-card-back, .game-card.is-matched .game-card-back { transform: rotateY(180deg); }
.game-card.is-open .game-card-front, .game-card.is-matched .game-card-front { transform: rotateY(0); }
.game-card.is-matched { cursor: default; }
.game-card.is-matched .game-card-front { background: var(--c-success-bg); border-color: #8fceaa; }
.game-icon { font-size: clamp(1.75rem, 8vw, 2.75rem); line-height: 1; }
.game-name { font-size: 1rem; font-weight: 700; color: var(--c-text); }
@media (max-width: 400px) { .game-name { display: none; } }
.game-fact {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--c-primary-50);
  border-left: 6px solid var(--c-brand);
  min-height: 64px;
}
.game-fact p { margin: 0; }
.game-fact p + p { margin-top: 8px; }
.game-win { font-size: 1.25rem; font-weight: 700; color: var(--c-primary-dark); }
@media (prefers-reduced-motion: reduce) {
  .game-card-back, .game-card-front { transition: none; }
}

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 200; }

/* ---------- Sabit WhatsApp butonu ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #0f7a40; /* beyaz simge ve yazıyla 5.4:1 kontrast */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .15s, box-shadow .15s;
}
.wa-float svg { width: 34px; height: 34px; flex: none; }
.wa-float-text { display: none; }
.wa-float:hover { color: #fff; background: #0b6233; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.wa-float:focus-visible { outline: 3px solid var(--c-text); outline-offset: 3px; }
@media (min-width: 768px) {
  .wa-float { width: auto; padding: 0 22px 0 16px; right: 24px; bottom: 24px; }
  .wa-float-text { display: inline; font-size: 1.0625rem; }
}
/* Alt bilgideki içerik butonun altında kalmasın */
.site-footer { padding-bottom: 96px; }
