/*
  MFS Dent marka renk override'ı.
  Denox temasının style.css'i CSS custom property kullanıyor (:root içinde
  --theme-color / --theme-color2 / --color-dark), bu yüzden hardcoded hex
  değiştirmek yerine sadece bu değişkenleri override ediyoruz.
  Footer arkaplanı (--footer-bg) BİLİNÇLİ olarak dokunulmadan bırakıldı.
*/
:root {
  --theme-color: #35a9e2;
  --theme-color2: #192c67;
  --color-dark: #192c67;
}

/* MFS düzeltmeleri (2026-09-02): footer dev yazı tek satır, hero telefon tek satır */
.footer-area .text-shape {
  font-size: 13em;
  bottom: -9%;
  white-space: nowrap;
}
@media all and (max-width: 991px) {
  .footer-area .text-shape { font-size: 7em; bottom: -4%; }
}
.hs-1 .hero-item-box .call-info a {
  font-size: 20px;
  white-space: nowrap;
}
/* h4→p/h3 dönüşümünde heading dışı etiketlerde marj farkı olmasın */
.hero-content p.hero-sub-title { margin-bottom: 0; }
.hero-item-box .content p.title { margin-bottom: 15px; font-weight: 600; color: var(--color-white); font-size: 22px; }

/* Google yorum avatarı: foto yerine Google ikonu */
.testimonial-item .author-img-google {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%; overflow: hidden;
}
.testimonial-item .author-img-google img { width: 55%; height: 55%; object-fit: contain; }

/* Sayaç bölümü: başlık h4→h2 oldu, temanın h4 stilini h2'ye uygula (kayma düzeltmesi) */
.counter-title h2 {
  background: var(--color-white);
  width: fit-content;
  margin: auto;
  padding: 2px 20px;
  font-size: 24px;
}
/* Ekip kartı: isimler tek satıra insin */
.team-content h3 { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-content h3 a { font-size: inherit; }
/* Ekip fotoğrafları farklı oranlarda geliyor — sabit oranda kırp */
.team-img img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; width: 100%; }

/* Site fontu: Google Sans Flex (mevcut sitedeki gibi) */
:root {
  --body-font: "Google Sans Flex", "Roboto", sans-serif;
  --heading-font: "Google Sans Flex", "Manrope", sans-serif;
}

/* Başlık büyük/küçük harfleri KAYNAKTA düzeltildi (Türkçe İ/ı sorunu:
   GSAP harf-span animasyonu + text-transform birleşimi bozuyor — CSS transform KULLANMA) */

/* Neden-biz kartları: tema CSS'i h4'e bağlıydı, h3 dönüşümünde düşen stiller */
.choose-item .info h3 {
  color: var(--color-white);
  font-size: 22px;
  margin-bottom: 20px;
}

/* CTA kutuları: punto küçült + buton/metin arası boşluk */
.choose-project h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.choose-project .theme-btn2 { margin-top: 8px; }
.cta-content h3 { font-size: 26px; margin-bottom: 10px; }
.cta-content .theme-btn2 { margin-top: 8px; }

/* Yorum kartı: görsel %15 dar (204→173px), metin alanı genişler */
.testimonial-item .author-video img { max-width: 173px; }
/* Yorum metinleri eşit boyda görünsün */
.testimonial-item .quote p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6.4em;
}

/* İçerik içi YouTube embed (WP oEmbed karşılığı) */
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 12px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== İçerik tipografisi (blog + hizmet gövdesi) ===== */
.entry-content h2,
.blog-details-content h2,
.service-details-content h2 { margin: 30px 0 14px; }
.entry-content h3,
.blog-details-content h3,
.service-details-content h3 { margin: 26px 0 12px; }
.entry-content h4,
.blog-details-content h4,
.service-details-content h4 { margin: 22px 0 10px; }
.entry-content p,
.blog-details-content p,
.service-details-content p { margin-bottom: 14px; }

/* Listelerde madde işaretleri geri gelsin (tema reset'i sıfırlamıştı) */
.entry-content ul,
.blog-details-content ul,
.service-details-content ul { list-style: disc; padding-left: 26px; margin: 0 0 16px; }
.entry-content ol,
.blog-details-content ol,
.service-details-content ol { list-style: decimal; padding-left: 26px; margin: 0 0 16px; }
.entry-content li,
.blog-details-content li,
.service-details-content li { margin-bottom: 8px; }

/* Blog + hizmet gövdeleri iki yana yaslı */
.blog-details-content,
.service-details-content { text-align: justify; }

/* TablePress fiyat tabloları */
.entry-content table,
.blog-details-content table,
.service-details-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 15px;
}
.entry-content table th, .entry-content table td,
.blog-details-content table th, .blog-details-content table td,
.service-details-content table th, .service-details-content table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
}
.entry-content table thead th,
.blog-details-content table thead th,
.service-details-content table thead th {
  background: var(--theme-color2);
  color: var(--color-white);
}
.entry-content table tbody tr:nth-child(even),
.blog-details-content table tbody tr:nth-child(even),
.service-details-content table tbody tr:nth-child(even) { background: var(--theme-bg-light); }

/* ===== Hero/breadcrumb üzerine dekoratif shape (footer 03.png, %40) ===== */
.hero-section .hero-single::after,
.site-breadcrumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/img/shape/03.webp) top center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1; /* görselin üstünde, içerik/menünün altında */
  /* üstteki geometrik desen görünsün, ortadan aşağısı kaybolarak fotoğrafı boğmasın */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 75%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 75%);
}
.hero-section .hero-single { position: relative; }
.hero-section .hero-single .container { position: relative; z-index: 2; }
.site-breadcrumb { position: relative; }
.site-breadcrumb .container { position: relative; z-index: 2; }

/* Sidebar sabitleme NOT: ScrollSmoother sayfayı transform'la kaydırdığından
   CSS position:sticky ÇALIŞMAZ — gsap-custom.js'teki ScrollTrigger pin kullanılır. */

/* Sidebar'daki aktif hizmet linki vurgusu */
.service-sidebar .widget .category a.active {
  color: var(--theme-color);
  padding-left: 10px;
}

/* ===== Hizmet detay: doktorlar + SSS bölüm başlıkları ===== */
.service-doctors h2,
.service-faq h2 {
  font-size: 26px;
}

/* SSS accordion hizmet/blog sayfası içinde faq-area dışında kullanıldığından
   soru metni uzun olduğunda buton içeriği (ikon + metin) alta doğru sağlıklı sarsın */
.service-faq .accordion-button {
  align-items: flex-start;
  text-align: left;
  gap: 4px;
}
.service-faq .accordion-button span {
  flex-shrink: 0;
}

/* ===== Yasal uyarı dipnotu (her hizmet sayfası altında) ===== */
.legal-disclaimer {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 14px 20px;
  border-top: 1px solid var(--border-info-color, #e2e8f0);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-body, #6b7280);
  font-style: italic;
}

/* Hizmet sayfası altı tekil hasta yorumu */
.patient-review {
  max-width: 820px;
  margin: 10px auto 30px;
  padding: 24px 28px;
  background: var(--theme-bg-light2);
  border-left: 4px solid var(--theme-color);
  border-radius: 12px;
}
.patient-review p { margin-bottom: 10px; font-style: italic; }
.patient-review cite { font-style: normal; font-weight: 600; color: var(--color-dark); }

/* İçerik gövdesindeki linkler görünür olsun (açık mavi) */
.service-details-content a:not(.theme-btn):not(.theme-btn2),
.blog-details-content a:not(.theme-btn):not(.theme-btn2),
.entry-content a:not(.theme-btn):not(.theme-btn2) {
  color: var(--theme-color);
  text-decoration: underline;
}
.service-details-content a:not(.theme-btn):not(.theme-btn2):hover,
.blog-details-content a:not(.theme-btn):not(.theme-btn2):hover,
.entry-content a:not(.theme-btn):not(.theme-btn2):hover { color: var(--theme-color2); }

/* İçerik gövdesinde madde işaretleri (tema global reset'ini geri alır) — 2026-09-04
   Kök neden: style.css'te `li { list-style: none }` var. list-style-type kalıtsal
   olduğu için `ul`'a değer vermek yetmiyor — li'ye DOĞRUDAN eşleşen kural, kalıtımı
   her zaman yener (özgüllükten bağımsız). Bu yüzden li'yi doğrudan hedefliyoruz. */
.blog-details-content ul,
.service-details-content ul,
.entry-content ul { list-style: disc outside; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-details-content ol,
.service-details-content ol,
.entry-content ol { list-style: decimal outside; padding-left: 1.5rem; margin-bottom: 1.25rem; }

/* li seviyesi: özgüllük 0,1,2 > tema reset'inin 0,0,1'i */
.blog-details-content ul > li,
.service-details-content ul > li,
.entry-content ul > li { list-style: disc outside; display: list-item; }
.blog-details-content ol > li,
.service-details-content ol > li,
.entry-content ol > li { list-style: decimal outside; display: list-item; }

/* İç içe listelerde farklı işaret */
.blog-details-content ul ul > li,
.service-details-content ul ul > li,
.entry-content ul ul > li { list-style-type: circle; }

.blog-details-content li,
.service-details-content li,
.entry-content li { margin-bottom: .4rem; }
.blog-details-content li::marker,
.service-details-content li::marker,
.entry-content li::marker { color: var(--theme-color); }
.blog-details-content table,
.service-details-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.blog-details-content th, .blog-details-content td,
.service-details-content th, .service-details-content td { border: 1px solid #e3e8ef; padding: .6rem .75rem; text-align: left; vertical-align: top; }
.blog-details-content thead th,
.service-details-content thead th { background: #f4f8fb; }

/* ── Mobil sabit iletişim çubuğu (2026-09-07) ──────────────────────────────
   Sol: Ara · Sağ: WhatsApp. Sadece ≤991px'te görünür.
   #smooth-wrapper'ın dışında durur; ScrollSmoother'ın transform bağlamı
   içindeki fixed elemanları kaydırır (aynı sebeple sticky sidebar da pin ile). */
.mfs-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(25, 44, 103, .18);
}
.mfs-mobile-cta__btn {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease;
}
.mfs-mobile-cta__btn:hover,
.mfs-mobile-cta__btn:focus,
.mfs-mobile-cta__btn:active { color: #fff; }
.mfs-mobile-cta__btn:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.mfs-mobile-cta__btn--call { background-color: var(--theme-color); }
.mfs-mobile-cta__btn--call:hover,
.mfs-mobile-cta__btn--call:focus { background-color: var(--theme-color2); }
.mfs-mobile-cta__btn--wa { background-color: #25d366; }
.mfs-mobile-cta__btn--wa:hover,
.mfs-mobile-cta__btn--wa:focus { background-color: #1da851; }
.mfs-mobile-cta__btn svg { flex: 0 0 auto; }

@media all and (max-width: 991px) {
  .mfs-mobile-cta { display: flex; }
  /* çubuk son bölümü örtmesin — ScrollSmoother yüksekliği içerikten ölçtüğü için
     padding #smooth-content'e verilir, body'ye değil */
  #smooth-content { padding-bottom: 56px; }
  /* yukarı çık butonu çubuğun üstüne alınır */
  #scroll-top.active { bottom: 70px; }
}

/* ── Masaüstü yuvarlak WhatsApp butonu (2026-09-16) ────────────────────────
   Sağ altta, #scroll-top'un (bottom:20px, 50px) hemen üstünde. ≤991px'te mobil
   çubuk zaten WhatsApp taşıdığı için gizlenir. MobileCta gibi #smooth-wrapper DIŞINDA. */
.mfs-wa-float {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 90px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #25d366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .4);
  transition: background-color .2s ease, transform .2s ease;
}
.mfs-wa-float:hover,
.mfs-wa-float:focus { color: #fff; background-color: #1da851; transform: translateY(-2px); }
.mfs-wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media all and (min-width: 992px) {
  .mfs-wa-float { display: flex; }
}

/* hero madde listesindeki link koyu zemin üzerinde okunur olsun (2026-09-16) */
.hero-info ul li a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-info ul li a:hover { color: var(--theme-color); }
