/*
Theme Name:     Dentistanbul Senem Demir
Description: Mobil minimal tema — Diş Hekimi Senem Demir
Version:        3.0
Author:      Dt. Senem Demir
Text Domain: dentistanbul.tr
*/

/* ── TOKENS — Light mode (varsayılan) — Mint & Koyu Yeşil ──────── */
:root {
  --mor:        #146C4B;
  --mor-acik:   #5EE0B9;
  --mor-bg:     #EAFBF3;
  --yazi:       #10221b;
  --yazi2:      #4c6459;
  --cizgi:      #d7f0e6;
  --bg:         #ffffff;
  --bg2:        #f3fbf8;
  --wa:         #25d366;
  --r:          14px;
  --kenar:      18px;
  --max:        640px;
  --hdr:        52px;
}

/* ── TOKENS — Dark mode ─────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --mor:        #5EEAC0;
    --mor-acik:   #8FF5D6;
    --mor-bg:     #0e1f18;
    --yazi:       #e3f5ee;
    --yazi2:      #9fc4b6;
    --cizgi:      #1f3a30;
    --bg:         #08130f;
    --bg2:        #0d1e17;
    --wa:         #25d366;
  }
  .site-header {
    background: rgba(8,19,15,.96);
    border-color: var(--cizgi);
  }
  .nav-drawer { background: var(--bg); }
  .hero-kart {
    background: linear-gradient(130deg,#082C20 0%,#0F4A36 45%,#166B4E 100%);
    box-shadow: 0 10px 36px rgba(8,44,32,.5);
  }
  .yazi-kart { background: var(--bg2); border-color: var(--cizgi); }
  .yazi-kart:hover { border-color: var(--mor); }
  .etiket { background: var(--bg2); border-color: var(--cizgi); color: var(--yazi2); }
  .etiket:hover { border-color: var(--mor); color: var(--mor); }
  .hk-wa  { background: #1ebe5d; }
  .hk-tel { background: rgba(255,255,255,.15); color: #e8e4f0; border-color: rgba(255,255,255,.2); }
  .hk-vcf { background: rgba(255,255,255,.10); color: rgba(255,255,255,.75); }
  .hk-yol { background: rgba(255,255,255,.10); color: rgba(255,255,255,.75); }
  .site-footer { background: #0a0815; border-color: var(--cizgi); }
  .drawer-iletisim { background: var(--bg2); }
  .aa-faq-item { background: var(--bg2); border-color: var(--cizgi); }
  .aa-faq-item.aa-open { border-color: var(--mor); }
  .aa-faq-toggle { background: var(--mor-bg); }
  .aa-faq-title, .aa-faq-qtext { color: var(--yazi); }
  .tek-baslik, .tek-konu { color: var(--yazi); }
  .icerik { color: var(--yazi); }
  .yazar-kutusu { background: var(--bg2); border-color: var(--cizgi); }
  .benzer { background: var(--bg2); }
  .kapak-resim { border-color: var(--cizgi); }
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font: 400 16px/1.65 'Inter', system-ui, sans-serif;
  color: var(--yazi);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mor); text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cizgi);
  display: flex; flex-direction: column; align-items: stretch;
  padding: 0;
  /* Aşağı kaydırınca yukarı kayıp gizlenir; yukarı kaydırınca yavaşça iner */
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
/* Aşağı kaydırma: header yukarı çıkıp kaybolur */
.site-header.header-gizli { transform: translateY(-100%); }
/* Drawer açıkken header asla gizlenmesin */
body.drawer-acik .site-header { transform: translateY(0) !important; }
.header-ic {
  width: 100%; max-width: var(--max);
  margin: 0 auto; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--hdr);
  padding: 0 var(--kenar);
  position: relative;
}

/* GIF logo — sol */
.logo-gif {
  display: flex; align-items: center; gap: 8px;
  line-height: 0; text-decoration: none;
  pointer-events: auto;
}
.logo-gif img { height: 42px; width: auto; display: block; }

/* Işıklı yazı logo — eski "sibel-demiral.gif" yerine, altın tonlarında akan ışık */
.logo-metin {
  font: 700 19px/normal 'Inter', system-ui, sans-serif;
  letter-spacing: .02em;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #8a6417 0%,
    #d4af37 35%,
    #f3d878 50%,
    #d4af37 65%,
    #8a6417 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoIsik 4.5s linear infinite;
}
@keyframes logoIsik {
  0%   { background-position: 0% center; }
  100% { background-position: -220% center; }
}
@media (min-width: 400px) {
  .logo-metin { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-metin { animation: none; background-position: 0 center; }
}

/* Arama butonu — header'dan kaldırıldı, yalnızca drawer içinde form var */

/* Açılır arama çubuğu — header'ın üst çocuğu, sabit */
.ara-cubugu {
  width: 100%; border-bottom: 1px solid var(--cizgi);
  padding: 8px var(--kenar);
  background: rgba(255,255,255,.97);
  box-sizing: border-box;
}
.ara-cubugu form {
  display: flex; align-items: center; gap: 6px;
  max-width: var(--max); margin: 0 auto;
  background: var(--mor-bg); border-radius: 999px;
  padding: 6px 14px;
}
.ara-cubugu input {
  flex: 1; border: none; background: none;
  font-size: 14px; color: var(--yazi); outline: none;
}
.ara-cubugu button {
  border: none; background: none; cursor: pointer;
  color: var(--mor); display: flex; align-items: center;
}
.ara-cubugu button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Header sağ: arama + hamburger */
.header-sag { display: flex; align-items: center; gap: 4px; }

.btn-tel {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: none; color: var(--yazi);
  transition: background .2s;
}
.btn-tel:hover { background: var(--mor-bg); }
.btn-tel svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Header'daki sabit telefon ikonu — thumb-zone, sağ üstte, her zaman görünür (anasayfa hariç) */
.header-tel {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mor); color: #fff; text-decoration: none;
  transition: filter .2s;
}
.header-tel:hover { filter: brightness(1.08); }
.header-tel svg { width: 18px; height: 18px; }

.btn-hamburger {
  display: flex !important; flex-direction: column; justify-content: center;
  align-items: center;
  width: 40px; height: 40px; min-width: 40px; min-height: 40px;
  border-radius: 50%;
  border: none; background: none; padding: 0;
  -webkit-appearance: none; appearance: none;
  transition: background .2s;
  visibility: visible !important; opacity: 1 !important;
}
.btn-hamburger:hover { background: var(--mor-bg); }
.btn-hamburger span {
  display: block !important;
  width: 20px; height: 2px; min-height: 2px;
  flex: 0 0 2px;
  border-radius: 2px;
  background: var(--yazi);
  transition: transform .25s, opacity .25s;
}
.btn-hamburger span + span { margin-top: 5px; }
/* Dark mode ve düşük kontrast ekranlarda çizgiler kesin görünsün */
@media (prefers-color-scheme: dark) {
  .btn-hamburger span { background: var(--yazi); }
}
body.drawer-acik .btn-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-acik .btn-hamburger span:nth-child(2) { opacity: 0; }
body.drawer-acik .btn-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV DRAWER ─────────────────────────────── */
.nav-drawer {
  position: fixed; inset: var(--hdr) 0 0 0;
  background: var(--bg); z-index: 49;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
body.drawer-acik .nav-drawer { transform: translateX(0); }

.drawer-ic {
  max-width: var(--max); margin: 0 auto;
  padding: 8px var(--kenar) 40px;
}

/* ── Drawer içi arama kutusu (ilk satır) ── */
.drawer-ara {
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--cizgi);
  margin-bottom: 4px;
}
.drawer-ara form {
  display: flex; align-items: center; gap: 8px;
  background: var(--mor-bg); border-radius: 999px;
  padding: 8px 16px;
}
.drawer-ara input {
  flex: 1; border: none; background: none;
  font-size: 15px; color: var(--yazi); outline: none;
}
.drawer-ara input::placeholder { color: var(--yazi2); }
.drawer-ara button {
  flex-shrink: 0;
  height: 36px; padding: 0 22px;
  background: var(--mor); color: #fff;
  border: none; border-radius: 20px;
  font-size: 0.8em; font-weight: 600; font-family: inherit;
  letter-spacing: 0.28em;
  text-indent: 0.28em; /* son harften sonraki aralığı optik ortalar */
  text-transform: uppercase;
  cursor: pointer;
}

.nav-list { list-style: none; }
.nav-list > li { border-bottom: 1px solid var(--cizgi); }

.nav-list > li > a,
.nav-acc-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  font-size: 16px; font-weight: 600; color: var(--yazi);
  background: none; border: none; width: 100%;
  text-decoration: none;
  transition: color .15s;
}
.nav-list > li > a:hover, .nav-acc-btn:hover { color: var(--mor); }

.acc-icon { transition: transform .2s; color: var(--yazi2); }
.nav-acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(180deg); }

.nav-sub {
  list-style: none; display: none; padding-bottom: 8px;
}
.nav-sub.acik { display: block; }
.nav-sub li a {
  display: block; padding: 9px 0 9px 14px;
  font-size: 14px; color: var(--yazi2);
  border-left: 2px solid var(--cizgi);
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.nav-sub li a:hover { color: var(--mor); border-left-color: var(--mor); }

/* Avukat'a Sor — header-tel ile aynı mor, oval (hap) buton */
.nav-list > li > a.drawer-ask-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto;
  margin: 12px 0;
  padding: 10px 22px;
  background: var(--mor); color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  transition: filter .2s;
}
.nav-list > li > a.drawer-ask-cta:hover { filter: brightness(1.08); color: #fff; }

.drawer-iletisim {
  margin-top: 24px; padding: 18px;
  background: var(--bg2); border-radius: var(--r);
}
.drawer-iletisim p {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--yazi2); margin-bottom: 12px;
}
.drawer-tel {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--yazi) !important;
  margin-bottom: 8px; text-decoration: none;
}
.drawer-tel svg { width: 15px; height: 15px; stroke: var(--mor); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }

/* ── SAYFA İSKELETİ ─────────────────────────── */
.site-main {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--kenar) 80px;
}

/* ── HERO (ana sayfa) ───────────────────────── */
.hero {
  padding: 16px 0 6px;
  border-bottom: 1px solid var(--cizgi);
  margin-bottom: 6px;
}

/* ── HERO KART ─────────────────────────────── */
.hero-kart {
  background: linear-gradient(130deg,#0B4630 0%,#147A56 45%,#1FAE7E 100%);
  border-radius: 18px;
  padding: 18px 16px 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.hero-kart::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}

/* Profil fotoğrafı — sağ üst köşe */
.hk-profil-foto {
  position: absolute;
  top: 0; right: 0;
  width: 88px; height: 88px;
  border-radius: 0 18px 0 14px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
}
.hk-profil-foto img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Logo + isim satırı */
.hk-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-right: 96px; /* fotoğraf alanı */
}
.hk-mono {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.hk-mono img {
  width: 32px; height: 32px;
  object-fit: contain;
}
.hk-info { min-width: 0; }
.hk-isim {
  font-size: 15px; font-weight: 600; color: #fff;
  margin: 0 0 2px; line-height: 1.2;
}
.hk-unvan { font-size: 11px; color: rgba(255,255,255,.8); margin: 0 0 1px; }
.hk-firma { font-size: 10px; color: rgba(255,255,255,.55); margin: 0; }

/* Aksiyon butonları */
.hk-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hk-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  white-space: nowrap;
  line-height: 1;
}
/* SVG boyutlarını sabitle — taşma engeli */
.hk-btn svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}
.hk-wa {
  background: #25D366; color: #fff;
}
.hk-wa svg { fill: #fff; }
.hk-tel {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.hk-tel svg { stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-vcf {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
}
.hk-vcf svg { stroke: rgba(255,255,255,.85); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-yol {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
}
.hk-yol svg { stroke: rgba(255,255,255,.85); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hk-btn:hover { opacity: .85; transform: translateY(-1px); }

/* Bio */
.hero-acik { font-size: 14px; color: var(--yazi2); line-height: 1.7; margin-bottom: 14px; }

/* Etiketler */
.etiket-sira { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 0; }
.etiket {
  display: inline-block; padding: 5px 11px;
  background: var(--bg2); border: 1px solid var(--cizgi);
  border-radius: 20px; font-size: 12px; color: var(--yazi2);
  text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.etiket:hover { background: var(--mor-bg); border-color: var(--mor-acik); color: var(--mor); }

/* Eski sınıflar — geriye dönük uyumluluk */
.hero-ust { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.hero-monogram {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--mor), var(--mor-acik));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; color: #fff;
  font-family: 'Inter', sans-serif;
}
.hero-isim { font-size: 21px; font-weight: 600; color: var(--yazi); line-height: 1.2; margin-bottom: 3px; }
.hero-unvan { font-size: 13px; color: var(--mor); font-weight: 600; margin-bottom: 3px; }
.hero-konum { font-size: 12px; color: var(--yazi2); display: flex; align-items: center; gap: 3px; }
.hero-konum svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.hero-butonlar { display: flex; gap: 9px; flex-wrap: wrap; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: 11px;
  background: var(--wa); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.btn-wa:hover { opacity: .88; transform: translateY(-1px); }
.btn-wa svg { width: 17px; height: 17px; fill: #fff; flex-shrink: 0; }
.btn-ara-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: 11px;
  background: var(--bg); border: 1.5px solid var(--cizgi);
  color: var(--yazi); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn-ara-link:hover { border-color: var(--mor); background: var(--mor-bg); }
.btn-ara-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ── YAZI LİSTESİ ───────────────────────────── */
.yazi-listesi { display: flex; flex-direction: column; }
.yazi-listesi > .yazi-kart:first-child { padding-top: 0; }

.yazi-kart {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--cizgi);
  text-decoration: none;
}
.yazi-kart:last-child { border-bottom: none; }

/* Metin sola, resim sağa */
.yazi-metin { flex: 1; min-width: 0; }

.yazi-resim {
  width: 88px; height: 78px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0; background: var(--bg2);
  order: 2;
}
.yazi-resim-yedek {
  width: 88px; height: 78px; border-radius: 10px;
  background: var(--mor-bg); flex-shrink: 0; order: 2;
  display: flex; align-items: center; justify-content: center;
  color: var(--mor-acik);
}
.yazi-resim-yedek svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Meta satırı: KATEGORİ · tarih · okuma — hepsi tek satırda üstte */
.yazi-meta {
  font-size: 11px; color: var(--yazi2);
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 6px; flex-wrap: wrap;
  line-height: 1.2;
}
.yazi-meta > * {
  display: inline-flex; align-items: center;
  line-height: 1; padding: 0; margin: 0;
}
.yazi-konu {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--mor);
}
.yazi-meta-ayrac { opacity: .4; font-weight: 400; letter-spacing: 0; }
.yazi-meta time { color: var(--yazi2); font-weight: 400; letter-spacing: 0; }
.yazi-meta span:not(.yazi-konu):not(.yazi-meta-ayrac) { font-weight: 400; letter-spacing: 0; }

.yazi-baslik {
  font-size: 16px; font-weight: 600; color: var(--yazi);
  line-height: 1.35; margin-bottom: 6px;
  transition: color .15s;
}
.yazi-kart:hover .yazi-baslik { color: var(--mor); }
.yazi-ozet {
  font-size: 13px; color: var(--yazi2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── TEKİL YAZI ─────────────────────────────── */
.tek-baslik-alan { padding: 24px 0 20px; border-bottom: 1px solid var(--cizgi); margin-bottom: 24px; }
.tek-breadcrumb { font-size: 12px; color: var(--yazi2); display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 12px; }
.tek-breadcrumb a { color: var(--yazi2); }
.tek-breadcrumb a:hover { color: var(--mor); }
.tek-konu { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--mor); text-decoration: none; display: inline-block; margin-bottom: 8px; }
.tek-konu:hover { text-decoration: underline; }
.tek-baslik { font-size: 24px; font-weight: 600; color: var(--yazi); line-height: 1.25; margin-bottom: 12px; font-family: 'Inter', sans-serif; }
.tek-meta { font-size: 12px; color: var(--yazi2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; line-height: 1.2; }
.tek-meta > * { display: inline-flex; align-items: center; line-height: 1; padding: 0; margin: 0; }
.tek-meta-ayrac { opacity: .4; font-weight: 400; letter-spacing: 0; }
.tek-yazar { display: inline-flex; align-items: center; gap: 6px; }
.tek-yazar-mono {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mor-bg); display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 600; color: var(--mor);
}

/* Kapak resmi: dikey fotoğraflarda tam yükseklik, yataylarda max 520px */
.kapak-resim {
  width: 100%;
  height: auto;         /* doğal oranı koru */
  max-height: 520px;    /* yatay/kare fotoğraflara üst sınır */
  border-radius: 12px;
  margin-bottom: 24px;
  display: block;
  object-fit: contain;  /* kırpma yok — tam resim */
  background: var(--bg2);
}
/* Dikey fotoğraf (portrait): ortalanmış, tam yükseklik */
.kapak-resim[width][height] {
  /* JS tarafından .portrait sınıfı eklenir; CSS fallback olarak contain yeterli */
}
.kapak-resim.portrait {
  max-height: none;     /* dikey fotoğraflarda sınır kaldırılır */
  max-width: 420px;     /* çok geniş ekranlarda taşmasın */
  margin-left: auto;
  margin-right: auto;
}

/* Yazi icerigi */
.icerik { font-size: 16px; line-height: 1.8; color: var(--yazi); }
.icerik h2, .icerik h3, .icerik h4 { color: var(--yazi); line-height: 1.3; margin: 1.8em 0 .6em; font-family: 'Inter', sans-serif; }
.icerik h2 { font-weight: 600; }
.icerik h3, .icerik h4 { font-weight: 400; }
.icerik h2 { font-size: 21px; }
.icerik h3 { font-size: 18px; }
.icerik h4 { font-size: 16px; }
.icerik p  { margin-bottom: 1.1em; }
.icerik ul, .icerik ol { margin: 0 0 1.1em 1.3em; }
.icerik li { margin-bottom: .3em; }
.icerik a  { color: var(--mor); text-decoration: underline; text-underline-offset: 3px; }
.icerik strong { font-weight: 600; }
.icerik blockquote {
  border-left: 3px solid var(--mor-acik); margin: 1.4em 0;
  padding: 14px 18px; background: var(--mor-bg);
  border-radius: 0 10px 10px 0; color: var(--yazi2); font-style: italic;
}
.icerik blockquote p:last-child { margin: 0; }
.icerik img { border-radius: 10px; margin: 1em 0; cursor: zoom-in; }
.icerik figure { margin: 1.4em 0; }
.icerik figcaption { font-size: 12px; color: var(--yazi2); text-align: center; margin-top: 6px; font-style: italic; }

/* ── GALERİ: WordPress wp-block-gallery (classic + nested) ── */
.icerik .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  gap: 8px;
  margin: 1.4em 0;
  flex-wrap: unset !important;
}
/* nested (WP 6+) — her figure bir grid hücresi */
.icerik .wp-block-gallery.has-nested-images figure.wp-block-image {
  width: auto !important;
  flex-basis: unset !important;
  flex-grow: unset !important;
  margin: 0 !important;
  display: block !important;
}
.icerik .wp-block-gallery.has-nested-images figure.wp-block-image > a,
.icerik .wp-block-gallery.has-nested-images figure.wp-block-image > div {
  display: block !important;
  height: 160px;
}
.icerik .wp-block-gallery figure { margin: 0; }
.icerik .wp-block-gallery img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  border-radius: 8px;
  cursor: zoom-in;
  transition: opacity .15s;
  display: block !important;
}
.icerik .wp-block-gallery img:hover { opacity: .88; }
.icerik .wp-block-gallery figcaption {
  font-size: 11px;
  padding: 4px 6px;
  position: static !important;
  background: none !important;
  color: var(--yazi2) !important;
  text-shadow: none !important;
}

/* ── LIGHTBOX ── */
#aa-lb {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.88);
  align-items: center; justify-content: center;
  padding: 16px;
}
#aa-lb.acik { display: flex; }
#aa-lb-img {
  max-width: 100%; max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 8px 48px rgba(0,0,0,.5);
  user-select: none;
  display: block;
}
#aa-lb-kapat {
  position: fixed; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; line-height: 1;
  transition: background .15s;
}
#aa-lb-kapat:hover { background: rgba(255,255,255,.26); }
#aa-lb-onceki, #aa-lb-sonraki {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; transition: background .15s;
}
#aa-lb-onceki { left: 10px; }
#aa-lb-sonraki { right: 10px; }
#aa-lb-onceki:hover, #aa-lb-sonraki:hover { background: rgba(255,255,255,.26); }
#aa-lb.cok-resim #aa-lb-onceki,
#aa-lb.cok-resim #aa-lb-sonraki { display: flex; }
#aa-lb-sayac {
  position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: 13px; display: none;
}
#aa-lb.cok-resim #aa-lb-sayac { display: block; }

/* Etiketler bölümü */
.tek-etiketler { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--cizgi); }
.tek-etiketler-baslik { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--yazi2); margin-bottom: 10px; }

/* Önceki / Sonraki */
.yazi-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--cizgi); }
.yazi-nav-link {
  display: flex; flex-direction: column;
  padding: 13px; background: var(--bg2); border-radius: 11px;
  text-decoration: none; transition: background .15s;
}
.yazi-nav-link:hover { background: var(--mor-bg); }
.nav-yon { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--yazi2); margin-bottom: 4px; display: flex; align-items: center; gap: 3px; }
.yazi-nav-link.sonraki { text-align: right; }
.yazi-nav-link.sonraki .nav-yon { justify-content: flex-end; }
.nav-baslik { font-size: 13px; font-weight: 600; color: var(--yazi); line-height: 1.3; }

/* Benzer yazılar */
.benzer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--cizgi); }
.bolum-baslik { font-size: 16px; font-weight: 600; color: var(--yazi); margin-bottom: 14px; font-family: 'Inter', sans-serif; }
.benzer-link {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 0; border-bottom: 1px solid var(--cizgi);
  text-decoration: none;
}
.benzer-link:last-child { border-bottom: none; }
.benzer-no { font-size: 20px; font-weight: 600; color: var(--cizgi); line-height: 1; flex-shrink: 0; padding-top: 1px; font-family: 'Inter', sans-serif; }
.benzer-baslik { font-size: 14px; font-weight: 600; color: var(--yazi); line-height: 1.3; margin-bottom: 3px; transition: color .15s; }
.benzer-link:hover .benzer-baslik { color: var(--mor); }
.benzer-tarih { font-size: 11px; color: var(--yazi2); }

/* Yazar kutusu */
.yazar-kutusu {
  margin-top: 28px; padding: 18px;
  background: var(--bg2); border-radius: var(--r);
  display: flex; gap: 13px;
}

/* Yazar fotoğrafı — varsayılan (mobil): dikdörtgen, kare değil */
.yazar-foto {
  width: 72px;          /* mobilde dar */
  height: 96px;         /* 3:4 oran — dikey portre */
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.yazar-foto img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Yazar fotoğrafı — geniş ekran: daha büyük ve farklı oran */
@media (min-width: 700px) {
  .yazar-foto {
    width: 110px;       /* masaüstünde geniş */
    height: 130px;      /* 17:20 oran — biraz daha kare */
    border-radius: 14px;
  }
}

/* Fallback: eski .yazar-mono hâlâ kullanılıyorsa boz kalmasın */
.yazar-mono {
  width: 72px; height: 96px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--mor), var(--mor-acik));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600; color: #fff;
  font-family: 'Inter', sans-serif;
}
@media (min-width: 700px) { .yazar-mono { width: 110px; height: 130px; } }

.yazar-adi   { font-size: 14px; font-weight: 600; color: var(--yazi); margin-bottom: 1px; }
.yazar-unvan { font-size: 12px; color: var(--mor); margin-bottom: 7px; }
.yazar-bio   { font-size: 13px; color: var(--yazi2); line-height: 1.6; }

/* ── FOOTER ─────────────────────────────────── */
.site-footer { border-top: 1px solid var(--cizgi); background: var(--bg2); padding: 28px var(--kenar) 22px; }
.footer-ic { max-width: var(--max); margin: 0 auto; }
.footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-bottom: 12px; }
.footer-acik { font-size: 13px; color: var(--yazi2); line-height: 1.6; margin-bottom: 16px; }
.footer-bilgi { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.footer-satir { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--yazi2); text-decoration: none; }
.footer-satir svg { width: 13px; height: 13px; stroke: var(--mor); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; opacity: .7; }
.footer-linkler { display: flex; flex-wrap: wrap; gap: 7px 14px; padding: 14px 0; border-top: 1px solid var(--cizgi); margin-bottom: 14px; }
.footer-linkler a { font-size: 13px; color: var(--yazi2); text-decoration: none; }
.footer-linkler a:hover { color: var(--mor); }
.footer-alt { font-size: 11px; color: var(--yazi2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }

/* ── WHATSAPP SABİT ─────────────────────────── */
.wa-fixed {
  position: fixed; bottom: 18px; right: 18px; z-index: 48;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.38);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-fixed:hover { transform: scale(1.07); box-shadow: 0 6px 24px rgba(37,211,102,.48); }
.wa-fixed svg { width: 26px; height: 26px; fill: #fff; }

/* ── SAYFALAMA ──────────────────────────────── */
.sayfalama {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 5px; padding: 28px 0 4px;
}
.sayfalama .navigation { display: contents; }
.sayfalama .nav-links  { display: contents; }
.sayfalama a,
.sayfalama span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 6px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--yazi2);
  text-decoration: none; transition: background .15s; line-height: 1;
}
.sayfalama a:hover               { background: var(--mor-bg); color: var(--mor); }
.sayfalama span.current          { background: var(--mor); color: #fff; }
.sayfalama span.dots             { background: none; }

/* ── ARŞİV BAŞLIĞI ──────────────────────────── */
.arsiv-baslik {
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--cizgi);
  margin-bottom: 24px;
}
.arsiv-acik {
  font-size: 14px;
  color: var(--yazi2);
  line-height: 1.6;
  margin-top: 8px;
}

/* ── ARŞİV SAYFASI (page-arsiv.php) ─────────── */
.arsiv-sayfa { padding-top: 24px; }

/* Hero */
.arsiv-hero {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--cizgi);
  margin-bottom: 24px;
}
.arsiv-hero-ust {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px;
}
.arsiv-hero-ikon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: var(--mor-bg);
  display: flex; align-items: center; justify-content: center;
}
.arsiv-hero-ikon svg {
  width: 24px; height: 24px;
  stroke: var(--mor); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.arsiv-hero-baslik {
  font-size: 22px; font-weight: 600; color: var(--yazi);
  font-family: 'Inter', sans-serif; line-height: 1.2; margin-bottom: 3px;
}
.arsiv-hero-alt { font-size: 12px; color: var(--yazi2); }
.arsiv-hero-acik { font-size: 14px; color: var(--yazi2); line-height: 1.6; }

/* Kart listesi */
.arsiv-liste { display: flex; flex-direction: column; gap: 10px; }

/* Üst düzey kart */
.arsiv-kart {
  border: 1px solid var(--cizgi);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow .2s, border-color .2s;
}
.arsiv-kart:hover {
  border-color: var(--mor-acik);
  box-shadow: 0 4px 18px rgba(124,92,191,.09);
}

/* Alt kart */
.arsiv-alt-kart {
  border-radius: 10px;
  background: var(--bg2);
  transition: background .15s;
}
.arsiv-alt-kart:hover { background: var(--mor-bg); }
.arsiv-alt-kart .arsiv-kart-link { padding: 11px 14px; }
.arsiv-alt-kart .arsiv-ikon {
  width: 30px; height: 30px; border-radius: 8px;
}
.arsiv-alt-kart .arsiv-ikon svg { width: 14px; height: 14px; }
.arsiv-alt-kart .arsiv-kart-ad { font-size: 14px; }
.arsiv-alt-kart .arsiv-kart-rozet { font-size: 10px; padding: 2px 7px; }
.arsiv-alt-kart .arsiv-kart-acik { display: none; }
.arsiv-alt-kart .arsiv-kart-tarih { display: none; }

/* Ortak link */
.arsiv-kart-link {
  display: block; padding: 16px;
  text-decoration: none; color: inherit;
}

/* İç düzen */
.arsiv-kart-ic {
  display: flex; align-items: center; gap: 13px;
}

/* İkon daire */
.arsiv-ikon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.arsiv-ikon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.arsiv-emoji { font-size: 22px; line-height: 1; display: block; }

/* Metin */
.arsiv-kart-metin { flex: 1; min-width: 0; }
.arsiv-kart-ust {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 4px;
}
.arsiv-kart-ad {
  font-size: 15px; font-weight: 600; color: var(--yazi);
  line-height: 1.3;
}
.arsiv-kart-rozet {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}
.arsiv-kart-acik {
  font-size: 13px; color: var(--yazi2); line-height: 1.5;
  margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.arsiv-kart-tarih {
  font-size: 11px; color: var(--yazi2);
}

/* Ok oku */
.arsiv-ok {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: var(--yazi2); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .15s, transform .15s;
}
.arsiv-kart:hover .arsiv-ok,
.arsiv-alt-kart:hover .arsiv-ok { stroke: var(--mor); transform: translateX(2px); }

/* Alt kategoriler bloğu */
.arsiv-altlar {
  border-top: 1px solid var(--cizgi);
  padding: 10px 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
}



/* ══ GÜVEN ŞERİDİ (anasayfa) ═══════════════════════════════ */
.guven-serit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0 0 1.8rem;
}
.guven-google {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg2); border: 1.5px solid var(--cizgi);
  border-radius: 999px; text-decoration: none;
  transition: border-color .18s, box-shadow .18s;
}
.guven-google:hover { border-color: var(--mor); box-shadow: 0 2px 10px rgba(124,92,191,.12); }
.guven-puan { font-weight: 700; font-size: 15px; color: var(--yazi); }
.guven-yildiz { color: #fbbc05; font-size: 14px; letter-spacing: 1px; }
.guven-yorum { font-size: 13px; color: var(--yazi2); }
.guven-baro {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--mor-bg); color: var(--mor);
  border-radius: 999px; font-size: 13px; font-weight: 600;
}
.guven-baro svg { flex-shrink: 0; }
@media (max-width: 400px) {
  .guven-yorum { font-size: 12px; }
  .guven-google, .guven-baro { padding: 7px 11px; }
}

/* ══ FOOTER — İLETİŞİM + HARİTA YAN YANA ═══════════════════ */
.footer-iletisim-harita {
  display: flex; gap: 20px; align-items: stretch;
  margin: 0 0 4px;
}
.footer-iletisim-harita .footer-bilgi {
  flex: 1 1 auto; min-width: 0;
}
.footer-harita {
  flex: 0 0 46%; max-width: 340px;
  min-height: 190px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  position: relative;
}
.footer-harita iframe { display: block; width: 100%; height: 100%; min-height: 190px; border: 0; }

.harita-yukle-btn {
  width: 100%; height: 100%; min-height: 190px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer;
  color: #fff;
  font: 600 14px/1.3 'Inter', system-ui, sans-serif;
  /* FTP ile img/fakulte-hastane.jpg yüklenince üstte otomatik gösterilir;
     dosya henüz yoksa alttaki mint/yeşil gradyan görünür (fallback katman) */
  background-image:
    url('img/fakulte-hastane.jpg'),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(135deg, #0B4630 0%, #147A56 55%, #1FAE7E 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  position: relative;
}
/* Hafif karartma — yazı okunurluğu için */
.harita-yukle-btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(8,20,15,.10);
  transition: background .15s ease;
}
.harita-yukle-btn svg, .harita-yukle-btn span { position: relative; z-index: 1; }
.harita-yukle-btn:hover::before, .harita-yukle-btn:focus-visible::before {
  background: rgba(10,8,21,.06);
}
.harita-pin-wrap {
  position: relative; z-index: 2;
  display: flex; flex-direction: row; align-items: center; gap: 8px;
  margin-bottom: 8px;
  transform: translate(-10px, -20px);
}
.harita-pin {
  flex: none;
  color: var(--mor);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}
.harita-etiket {
  color: #fff;
  font: 700 13px/1.3 'Inter', system-ui, sans-serif;
  text-shadow: 0 1px 4px rgba(0,0,0,.65), 0 0 12px rgba(0,0,0,.4);
  text-align: left;
}
.harita-cta {
  font: 600 14px/1.3 'Inter', system-ui, sans-serif;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.65), 0 0 12px rgba(0,0,0,.35);
}

/* Mobil: harita iletişim bilgilerinin ALTINA insin */
@media (max-width: 680px) {
  .footer-iletisim-harita { flex-direction: column; gap: 14px; }
  .footer-harita {
    flex: none; max-width: none; width: 100%;
    min-height: 200px;
  }
}

/* Kutlama el yazısı — tembel yüklenir: bu fontu kullanan tek öğe
   kutlama kartı olduğundan, tarayıcı dosyayı sadece özel günlerde,
   kart oluşunca indirir. Normal günlerde 0 istek, 0 bayt. */
@font-face {
  font-family: 'KutlamaYazi';
  src: url('fonts/caveat.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  font-color:#12281f
}

/* ── KUTLAMA KARTI (kutlama.js) — önemli gün mesajı ──
   Kelebek, orijinal kelebek.htm'deki gibi metnin İÇİNDE:
   son yazılan harfin sağında durur, yazdıkça/sildikçe onu takip eder */
.aa-kutlama {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center;
  width: min(380px, calc(100vw - 32px));
  padding: 26px 44px 26px 24px;
  background: var(--mor-bg, #EAFBF3); /* hafif lila; karanlık modda koyu mor tonu */
  border: 1px solid var(--mor-acik, #5EE0B9);
  border-radius: 18px 18px 14px 14px;
  box-shadow: 0 10px 34px rgba(40, 25, 90, .20);
  opacity: 0;
  transform: translateY(calc(100% + 24px)); /* ekranın altından süzülerek çıkar */
  transition: opacity .45s, transform .55s cubic-bezier(.22,.9,.3,1);
}
.aa-kutlama.acik { opacity: 1; transform: translateY(0); }
.aa-kutlama-govde { width: 100%; }
.aa-kutlama-yazi {
  font-family: 'KutlamaYazi', 'Segoe Script', 'Bradley Hand', cursive;
  font-size: 40px; line-height: 1.4; color: var(--yazi, #1a1a2e);
}
/* kelebek = imleç: metin akışının içinde, son harfin sağında, süzülerek uçar */
.aa-kutlama-kelebek {
  display: inline-block; width: 58px; height: 60px;
  vertical-align: -18px; margin-left: 4px;
  animation: aaKelebekUcus 1.7s ease-in-out infinite;
}
@keyframes aaKelebekUcus {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35%      { transform: translateY(-7px) rotate(-4deg); }
  70%      { transform: translateY(-2px) rotate(3deg); }
}
.aa-kutlama-kapat {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  border: none; background: none; color: var(--yazi2, #5a5a7a);
  font-size: 13px; cursor: pointer; line-height: 1;
}
.aa-kutlama-kapat:hover { background: var(--mor-bg, #EAFBF3); color: var(--mor, #146C4B); }
@media (max-width: 480px) {
  .aa-kutlama { padding: 20px 40px 20px 18px; }
  .aa-kutlama-yazi { font-size: 28px; }
  .aa-kutlama-kelebek { width: 44px; height: 45px; vertical-align: -14px; }
}
@media (prefers-reduced-motion: reduce) {
  .aa-kutlama { transition: none; }
  .aa-kutlama-kelebek { animation: none; }
}
.gorunmez-metin {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}