/* ------------------------------------------------------------------
 * Bootcamp sayfası (WP editöründen girilen e-posta tarzı tablo içerik)
 * mobil düzeltmeleri. İçerik DB'de olduğundan düzeltme CSS katmanında.
 * Yalnız is_page('bootcamp') için enqueue edilir (functions.php).
 *
 * Sorunlar: iç içe sunum tabloları, sabit width="110" hücreler,
 * 45px sabit padding'ler, 34px sabit başlık; ayrıca demo.css'in
 * .post-body td kenarlık kuralı sunum tablolarına çizgi ekliyor.
 * ---------------------------------------------------------------- */

/* içerik tablolarında temanın veri-tablosu kenarlıklarını kapat */
.page-id-647 .post-body table,
.post-body .ff-custom_html table{margin:0}
.page-id-647 .post-body td,
.page-id-647 .post-body th,
.post-body .ff-custom_html td,
.post-body .ff-custom_html th{border:0}

/* içerik alanı: formun tablo genişliği taşmasın */
.post-body .ff-custom_html table{max-width:100%}
.post-body .ff-custom_html img{height:auto}

/* Fluent Forms alanları her zaman tam genişlik ve dokunmaya uygun */
.post-body .fluentform .ff-el-form-control{width:100%;max-width:100%;min-height:44px}
.post-body .fluentform .ff-btn-submit{width:100%;min-height:48px}
@media(min-width:641px){.post-body .fluentform .ff-btn-submit{width:auto}}

/* ── mobil: e-posta tablolarını tek sütuna indir ── */
@media(max-width:640px){
  /* tüm sunum tabloları blok akışına geçer */
  .post-body .ff-custom_html table,
  .post-body .ff-custom_html tbody,
  .post-body .ff-custom_html tr,
  .post-body .ff-custom_html td{display:block;width:100% !important}
  .post-body .ff-custom_html td[width]{width:100% !important}

  /* dış çerçevenin gri fonu ve kart köşesi korunur */
  .post-body .ff-custom_html > table{padding:0 !important}
  .post-body .ff-custom_html table[style*="border-radius: 12px"]{border-radius:12px}

  /* 45-50px sabit dolgular telefonda daralır */
  .post-body .ff-custom_html td[style*="padding: 45px"]{padding:24px 18px !important}
  .post-body .ff-custom_html td[style*="padding: 50px 45px"]{padding:32px 18px !important}
  .post-body .ff-custom_html td[style*="padding: 30px 45px"]{padding:20px 18px !important}
  .post-body .ff-custom_html td[style*="padding: 0 45px"]{padding:0 18px !important}

  /* dev başlık ve alt başlık telefon ölçeğine iner */
  .post-body .ff-custom_html div[style*="font-size: 34px"]{font-size:24px !important;line-height:1.25}
  .post-body .ff-custom_html div[style*="font-size: 24px"]{font-size:20px !important}
  .post-body .ff-custom_html div[style*="letter-spacing: 3px"]{letter-spacing:2px !important;font-size:11px !important}

  /* gün kartları: soldaki tarih hücresi üstte şerit olur */
  .post-body .ff-custom_html td[style*="border-right: 1px solid"]{border-right:0 !important;border-bottom:1px solid #E3EAF2 !important;text-align:left !important;display:flex !important;align-items:baseline;gap:10px;padding:12px 16px !important}
  .post-body .ff-custom_html td[style*="border-right: 1px solid"] div{margin-top:0 !important}
  .post-body .ff-custom_html td[style*="border-right: 1px solid"] div[style*="font-size: 24px"]{font-size:17px !important}

  /* kazanım kutusu ve fiyat bloğu iç dolguları */
  .post-body .ff-custom_html div[style*="padding: 30px"]{padding:20px 16px !important}

  /* uzun satırlar taşmasın */
  .post-body .ff-custom_html td,
  .post-body .ff-custom_html div{overflow-wrap:break-word;min-width:0}
}

/* çok dar ekranlarda sayfa gövdesi yatay kaydırmasın */
.page-id-647 .post-wrap{overflow-x:hidden}
