/*
  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); }
