/* Tedavi editorial — blog detay iskeleti üzerine tedavi özgü düzen */

.tx-draft-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0.55rem 1rem;
  background: #274760;
  color: #fff;
  font: 600 0.78rem/1.3 Poppins, system-ui, sans-serif;
  text-align: center;
}

.tx-draft-banner a {
  color: #d2eaef;
}

body.tx-treatment-editorial {
  --tx-vis-ink: #0f2744;
  --tx-vis-navy: #1b3a6b;
  --tx-vis-blue: #2f78c0;
  --tx-vis-mist: #e8f0f7;
  --tx-vis-wash: #f4f8fb;
  --tx-vis-line: rgba(16, 35, 63, 0.1);
}

body.tx-treatment-editorial .mb-layout {
  position: relative;
}

body.tx-treatment-editorial .tx-content {
  padding: 0;
  background: #fff;
}

body.tx-treatment-editorial .cs_main_header {
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(39, 71, 96, 0.08) !important;
}

body.tx-treatment-editorial .cs_site_branding img,
body.tx-treatment-editorial .cs_site_header .cs_site_branding img {
  filter: none !important;
}

body.tx-treatment-editorial .cs_nav_list > li > a,
body.tx-treatment-editorial .cs_menu_toggle,
body.tx-treatment-editorial .cs_menu_toggle span {
  color: #274760 !important;
}

body.tx-treatment-editorial .language-button {
  background: rgba(39, 71, 96, 0.06) !important;
  border-color: rgba(39, 71, 96, 0.12) !important;
  color: #274760 !important;
}

/* İçindekiler — sadece ana bölümler; kendi içinde scroll yok */
body.tx-treatment-editorial .mb-toc {
  max-height: none;
  overflow: visible;
}

/* 3 sütun — TOC + makale + ipuçları */
@media (min-width: 1080px) {
  body.tx-treatment-editorial .mb-layout--tips {
    grid-template-columns: 220px minmax(0, 1fr) 200px;
    gap: 2.5rem 3rem;
  }
}

body.tx-treatment-editorial .tx-tips {
  display: none;
}

@media (min-width: 1080px) {
  body.tx-treatment-editorial .tx-tips {
    display: block;
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }
}

@media (max-width: 1079px) {
  body.tx-treatment-editorial .tx-tips {
    display: block;
    grid-column: 1 / -1;
  }
}

body.tx-treatment-editorial .tx-tips__inner {
  padding-top: 0.15rem;
}

body.tx-treatment-editorial .tx-tips__label {
  margin: 0 0 0.65rem;
  font-family: var(--mb-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mb-muted);
}

body.tx-treatment-editorial .tx-tips__label:not(:first-child) {
  margin-top: 1.35rem;
}

body.tx-treatment-editorial .tx-tips__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.tx-treatment-editorial .tx-tips__card {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(47, 120, 192, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 240, 247, 0.85) 100%);
  box-shadow: 0 10px 28px rgba(39, 71, 96, 0.06);
}

body.tx-treatment-editorial .tx-tips__card-title {
  margin: 0 0 0.35rem;
  font-family: var(--mb-ui);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mb-ink);
}

body.tx-treatment-editorial .tx-tips__card-body {
  margin: 0;
  font-family: var(--mb-ui);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--mb-body);
}

body.tx-treatment-editorial .tx-tips__actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body.tx-treatment-editorial .tx-tips__link {
  display: block;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--mb-line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--mb-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mb-ink);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

body.tx-treatment-editorial .tx-tips__link:hover {
  border-color: var(--mb-navy);
  color: var(--mb-navy);
}

body.tx-treatment-editorial .tx-tips__note {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--mb-line);
  font-family: var(--mb-ui);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--mb-muted);
}

@media (max-width: 1079px) {
  body.tx-treatment-editorial .tx-tips__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
    align-items: start;
  }

  body.tx-treatment-editorial .tx-tips__list {
    grid-column: 1;
  }

  body.tx-treatment-editorial .tx-tips__actions {
    grid-column: 2;
  }

  body.tx-treatment-editorial .tx-tips__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  body.tx-treatment-editorial .tx-tips__inner {
    grid-template-columns: 1fr;
  }
}

body.tx-treatment-editorial .mb-article .tx-chapter__label {
  display: block;
  margin: 0 0 10px;
  font-family: var(--mb-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mb-label);
}

body.tx-treatment-editorial .tx-chapter__head {
  position: relative;
  padding-left: 0;
}

body.tx-treatment-editorial .tx-chapter__index {
  display: block;
  margin: 0 0 0.55rem;
  font-family: var(--mb-sans);
  font-size: clamp(2.4rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, rgba(47, 120, 192, 0.28) 0%, rgba(39, 71, 96, 0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

body.tx-treatment-editorial .mb-article .tx-chapter__lede {
  margin: 0 0 1rem;
  font-family: var(--mb-ui);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mb-body);
  max-width: none;
}

/* TOC — bölüm + alt konu */
body.tx-treatment-editorial .mb-toc .mb-toc__group {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--mb-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mb-muted);
}

/* Konu accordion — blog FAQ ile aynı */
body.tx-treatment-editorial .tx-chapter__topics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic {
  border: 1px solid rgba(39, 71, 96, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 250, 252, 0.9) 100%);
  box-shadow: 0 8px 24px rgba(39, 71, 96, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic:hover {
  border-color: rgba(47, 120, 192, 0.28);
  box-shadow: 0 14px 32px rgba(39, 71, 96, 0.08);
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic[open] {
  border-color: rgba(47, 120, 192, 0.32);
  background: #fff;
  box-shadow: 0 16px 40px rgba(39, 71, 96, 0.1);
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic__summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: none;
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic__ico {
  order: -1;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--mb-cream);
  color: var(--mb-muted);
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic[open] > .tx-topic__summary .tx-topic__ico {
  background: var(--mb-ink);
  color: #fff;
  transform: rotate(45deg);
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic__body {
  padding: 0 1.25rem 1.15rem 3.75rem;
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic[open] > .tx-topic__summary {
  border-bottom: 0;
}

body.tx-treatment-editorial .tx-chapter + .tx-chapter {
  margin-top: 2.5rem;
}

/* Özet — editorial içinde sade panel */
body.tx-treatment-editorial .tx-summary {
  margin: 2.5rem 0 0;
  padding: 0;
  background: none;
  border: 0;
}

body.tx-treatment-editorial .tx-summary::before {
  display: none;
}

body.tx-treatment-editorial .tx-summary__inner {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  background: none;
  box-shadow: none;
}

body.tx-treatment-editorial .tx-summary__lead {
  position: static;
  max-width: none;
  margin-bottom: 1.25rem;
}

body.tx-treatment-editorial .tx-summary__eyebrow {
  font-family: var(--mb-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mb-label);
}

body.tx-treatment-editorial .tx-summary__title {
  font-family: var(--mb-sans);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--mb-ink);
}

body.tx-treatment-editorial .tx-summary__lede,
body.tx-treatment-editorial .tx-summary__note {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mb-body);
}

body.tx-treatment-editorial .tx-summary__panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.tx-treatment-editorial .tx-summary__item {
  border: 1px solid var(--mb-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

body.tx-treatment-editorial .tx-summary__item summary {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

body.tx-treatment-editorial .tx-summary__item summary::-webkit-details-marker {
  display: none;
}

body.tx-treatment-editorial .tx-summary__num {
  font-family: var(--mb-mono);
  font-size: 0.72rem;
  color: var(--mb-muted);
}

body.tx-treatment-editorial .tx-summary__q {
  flex: 1;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--mb-ink);
}

body.tx-treatment-editorial .tx-summary__ico {
  color: var(--mb-muted);
}

body.tx-treatment-editorial .tx-summary__a {
  margin: 0;
  padding: 0 1.15rem 1.15rem 2.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mb-body);
}

body.tx-treatment-editorial .tx-summary__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: var(--mb-label);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* Tıbbi uyarı */
body.tx-treatment-editorial .tx-medical-notice {
  margin: 2rem 0 0;
  padding: 0;
  background: none;
}

body.tx-treatment-editorial .tx-medical-notice__inner {
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--mb-line);
  border-radius: 12px;
  background: var(--mb-warn-bg);
}

body.tx-treatment-editorial .tx-medical-notice__label {
  font-family: var(--mb-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mb-warn);
}

body.tx-treatment-editorial .tx-medical-notice__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--mb-body);
}

/* Hasta için özet — lead altı */
body.tx-treatment-editorial .tx-glance {
  margin: 0 0 2.75rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid rgba(47, 120, 192, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(47, 120, 192, 0.12), transparent 55%),
    linear-gradient(145deg, #ffffff 0%, #eef4fb 100%);
  box-shadow: 0 18px 44px rgba(39, 71, 96, 0.08);
}

body.tx-treatment-editorial .tx-glance__kicker {
  margin: 0 0 1.15rem;
  font-family: var(--mb-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mb-label);
}

body.tx-treatment-editorial .tx-glance__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  body.tx-treatment-editorial .tx-glance__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
  }
}

body.tx-treatment-editorial .tx-glance__item {
  margin: 0;
  padding: 1rem 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(39, 71, 96, 0.05);
  min-height: 0;
}

body.tx-treatment-editorial .tx-glance__num {
  display: block;
  margin: 0 0 0.45rem;
  font-family: var(--mb-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(47, 120, 192, 0.55);
}

body.tx-treatment-editorial .tx-glance__label {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--mb-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mb-navy);
}

body.tx-treatment-editorial .tx-glance__text {
  margin: 0;
  font-family: var(--mb-ui);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--mb-body);
  overflow-wrap: anywhere;
}

/* Orta CTA bandı */
body.tx-treatment-editorial .tx-cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 2.75rem 0;
  padding: 1.65rem 1.6rem 1.7rem;
  border-radius: 22px;
  background:
    linear-gradient(125deg, #163254 0%, #274760 48%, #2f78c0 100%);
  border: 0;
  box-shadow: 0 24px 50px rgba(22, 50, 84, 0.28);
  color: #f4f8fc;
}

body.tx-treatment-editorial .tx-cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 184, 232, 0.35), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

body.tx-treatment-editorial .tx-cta-band__eyebrow,
body.tx-treatment-editorial .tx-cta-band__text,
body.tx-treatment-editorial .tx-cta-band__actions {
  position: relative;
  z-index: 1;
}

body.tx-treatment-editorial .tx-cta-band__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--mb-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214, 230, 245, 0.72);
}

body.tx-treatment-editorial .tx-cta-band__text {
  margin: 0 0 1.15rem;
  font-family: var(--mb-ui);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f4f8fc;
  max-width: 34rem;
}

body.tx-treatment-editorial .tx-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.tx-treatment-editorial .tx-cta-band__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  font-family: var(--mb-ui);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

body.tx-treatment-editorial .tx-cta-band__btn--primary {
  background: #fff;
  color: #163254;
}

body.tx-treatment-editorial .tx-cta-band__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.tx-treatment-editorial .tx-cta-band__btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Liste içerikleri — kart band */
body.tx-treatment-editorial .tx-topic__body > ul:not(.tx-keylist) {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  body.tx-treatment-editorial .tx-topic__body > ul:not(.tx-keylist) {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

body.tx-treatment-editorial .tx-topic__body > ul:not(.tx-keylist) > li {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(39, 71, 96, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
  box-shadow: 0 6px 16px rgba(39, 71, 96, 0.04);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mb-body);
}

body.tx-treatment-editorial .tx-chapter__topics .tx-topic__title {
  font-size: 0.9rem;
  font-weight: 600;
}

body.tx-treatment-editorial .tx-tips__card {
  transition: opacity 0.2s ease;
}

body.tx-treatment-editorial .tx-tips__card.is-updating {
  opacity: 0.55;
}

/* İlgili içerik */
body.tx-treatment-editorial .tx-related-inline {
  margin: 2.5rem 0 0;
}

body.tx-treatment-editorial .tx-related-inline__label {
  margin: 0 0 0.85rem;
  font-family: var(--mb-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mb-muted);
}

body.tx-treatment-editorial .tx-related-inline__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  body.tx-treatment-editorial .tx-related-inline__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.tx-treatment-editorial .tx-related-inline__card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.1rem 1.15rem;
  border: 1px solid rgba(39, 71, 96, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(165deg, #fff 0%, #eef4fb 100%);
  box-shadow: 0 10px 28px rgba(39, 71, 96, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

body.tx-treatment-editorial .tx-related-inline__card:hover {
  border-color: rgba(47, 120, 192, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(39, 71, 96, 0.1);
}

body.tx-treatment-editorial .tx-related-inline__name {
  font-family: var(--mb-ui);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mb-ink);
}

body.tx-treatment-editorial .tx-related-inline__more {
  font-family: var(--mb-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mb-muted);
}

/* Mobil alt bar */
body.tx-treatment-editorial .tx-mobile-bar {
  display: none;
}

@media (max-width: 1079px) {
  body.tx-treatment-editorial {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.tx-treatment-editorial .tx-mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--mb-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body.tx-treatment-editorial .tx-mobile-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.45rem 0.5rem;
    border: 1px solid var(--mb-line);
    border-radius: 10px;
    background: #fff;
    font-family: var(--mb-ui);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mb-ink);
    text-decoration: none;
    cursor: pointer;
  }

  body.tx-treatment-editorial .tx-mobile-bar__btn--primary {
    background: var(--mb-label);
    border-color: var(--mb-label);
    color: #fff;
  }
}

body.tx-treatment-editorial .tx-chapter + .tx-chapter {
  margin-top: 0;
}

body.tx-treatment-editorial .mb-hr {
  margin: 2.75rem 0;
}

body.tx-treatment-editorial .mb-hr::before,
body.tx-treatment-editorial .mb-hr::after {
  background: linear-gradient(90deg, transparent, rgba(47, 120, 192, 0.28), transparent);
  height: 1px;
}

body.tx-treatment-editorial .mb-hr i {
  width: 8px;
  height: 8px;
  background: #2f78c0;
  box-shadow: 0 0 0 4px rgba(47, 120, 192, 0.12);
}

/* TOC soft panel */
@media (min-width: 1080px) {
  body.tx-treatment-editorial .mb-toc {
    padding: 1rem 0.85rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 40px rgba(39, 71, 96, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body.tx-treatment-editorial .mb-toc a.is-active {
    background: rgba(47, 120, 192, 0.1);
    border-left-color: #2f78c0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tx-treatment-editorial .tx-chapter__topics .tx-topic:hover,
  body.tx-treatment-editorial .tx-related-inline__card:hover,
  body.tx-treatment-editorial .tx-cta-band__btn:hover {
    transform: none;
  }
}
