/* ============================================================
   sy-mobil / blog.css  (BLOG ajanı)
   Kapsam: body.single-post, body.blog, body.archive, body.search, body.error404
   ============================================================ */

/* [Bulgu: tekil yazıda başlık bandı altında 70px üst/alt dolgu + meta altında 43px boşluk + TOC çevresi 36px
   = mobilde ~170px gereksiz boşluk] */
@media (max-width: 767px){
  body.single-post #pxl-main{padding-top:28px !important;padding-bottom:36px !important} /* tema kuralı #id ile özgüllük kazanıyor */
  body.single-post .single-post-inner .post-metas{margin-bottom:14px;padding-bottom:12px}
  /* TOC: Elementor/özel CSS !important kullanıyor, bu yüzden !important zorunlu */
  body.single-post #ez-toc-container{margin:18px auto !important;padding:18px 20px !important}
  body.single-post #ez-toc-container .ez-toc-title-container{margin-bottom:0 !important;padding-bottom:8px !important}
  body.single-post .pxl-sidebar-area{margin-top:32px}
}

/* [Bulgu: HTML widget içindeki CTA düğmeleri satır içi stille flex-wrap:nowrap + white-space:nowrap;
   320-430 px'te kutudan taşıp kırpılıyor (ör. "Randevu Bilgisi" düğmesi). Satır içi stili ezmek için !important gerekli] */
@media (max-width: 767px){
  body.single-post .elementor-widget-html div[style*="flex-wrap: nowrap"]{flex-wrap:wrap !important}
  body.single-post .elementor-widget-html a[style*="white-space: nowrap"]{white-space:normal !important;text-align:center;flex:1 1 auto}
  body.single-post .elementor-widget-html a[style*="padding: 14px 26px"]{padding:14px 18px !important}
}

/* [Bulgu: gövde yardımcı metinleri 10-12 px (breadcrumb, "Detaylar »", kaynak etiketi, not başlığı); en az 13 px] */
@media (max-width: 767px){
  body.single-post nav.breadcrumb a,
  body.single-post nav.breadcrumb .current{font-size:13px}
  /* Elementor widget başına seçici yazıyor (özgüllük) -> !important */
  body.single-post .elementor-post__read-more{font-size:14px !important;display:inline-block !important;padding:14px 0 !important;min-height:44px;box-sizing:border-box}
  body.single-post .elementor-widget-html a span[style*="font-size: 11px"],
  body.single-post .elementor-widget-html p[style*="font-size: 11px"]{font-size:13px !important} /* satır içi stil */
}

/* [Bulgu: içindekiler aç/kapat düğmesi 34x26 px] */
@media (max-width: 1024px){
  body.single-post #ez-toc-container .ez-toc-title-toggle a.ez-toc-pull-right,
  body.single-post #ez-toc-container a.ez-toc-btn{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}

/* [Bulgu: uzun URL/kelime, tablo ve gömme taşmasına karşı güvence] */
body.single-post .post-content{overflow-wrap:break-word}
/* [Bulgu: yazı içindeki tablo 320 px'te kutudan 43 px taşıp overflow:hidden ile kırpılıyor -> yatay kaydırılabilir yap] */
@media (max-width: 767px){
  body.single-post .post-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.single-post .post-content table th,
  body.single-post .post-content table td{min-width:84px}
}
body.single-post .post-content iframe,
body.single-post .post-content video{max-width:100%}
body.single-post .post-content img{max-width:100%;height:auto}

/* ============================================================
   Arama sonuçları / arşivler / blog listesi (body.search, body.archive, body.blog)
   ============================================================ */
/* [Bulgu: arama sonucunda bir sayfanın <style> içeriği özet olarak basılıyor; uzun kod satırları kartın sağından taşıp kırpılıyor] */
body.search .post-excerpt,
body.archive .post-excerpt,
body.blog .post-excerpt{overflow-wrap:anywhere;word-break:break-word}
body.search article,
body.archive article,
body.blog article{min-width:0;max-width:100%}
/* [Bulgu: "Continue Reading" bağlantısı ve sayfalama dokunma hedefi 44 px altında] */
@media (max-width: 1024px){
  body.search .btn-more,
  body.archive .btn-more,
  body.blog .btn-more{min-height:44px;display:inline-flex;align-items:center}
  body.search .pxl-pagination a, body.search .pxl-pagination span,
  body.archive .pxl-pagination a, body.archive .pxl-pagination span,
  body.search .page-numbers, body.archive .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}

/* [Bulgu: 404 sayfasında içerik kısa; alt bilgi çok yukarıda kalmasın ve dar ekranda görsel/başlık sığsın] */
body.error404 img{max-width:100%;height:auto}

/* [Bulgu: başlık bandındaki "Op. Dr. Salih Yılmaz" etiketi 10 px] */
@media (max-width: 767px){
  body.single-post section.page-title-section .eyebrow .txt,
  body.archive section.page-title-section .eyebrow .txt,
  body.search section.page-title-section .eyebrow .txt,
  body.page-id-26229 section.page-title-section .eyebrow .txt{font-size:12px}
}
