/* Blog yazilari: sag sidebar formu, mobil alt buton, yazi ici CTA (scripts/blog-sidebar.py) */

.blog-sidebar {
  width: 25%;
  min-width: 260px;
  position: sticky;
  /* kaydirinca gorunen sabit menunun (~65px) altinda durur */
  top: 90px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid #e3e9f4;
  border-radius: 16px;
  background: #f6f8fc;
  color: var(--black, #212121);
}
.blog-sidebar__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #032f6e;
}
.blog-sidebar__text { margin: 0; font-size: .875rem; line-height: 1.5; opacity: .8; }
.blog-sidebar { scroll-margin-top: 110px; }
.blog-sidebar__benefits { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.blog-sidebar__benefits li {
  position: relative;
  padding-left: 24px;
  font-size: .8125rem;
  line-height: 1.45;
}
.blog-sidebar__benefits li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #23af99 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.blog-sidebar__trust a, .blog-sidebar__trust .blog-sidebar__wa { color: inherit; font-size: inherit; }
.blog-sidebar .nlf-grid { grid-template-columns: 1fr; gap: 10px; }
.blog-sidebar .nlf-q-desc { font-size: 12.5px; margin: -4px 0 0; }
/* ic kaydirma YOK: form sidebar'a tam sigar (768px laptop ekraninda da) */
.blog-sidebar .nlf-step-body { overflow: visible; }
/* secenekler: esit genislik/yukseklikte 2 sutunlu izgara (6 secenek = 3 duzenli satir) */
.blog-sidebar .nlf-choices { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 6px; }
.blog-sidebar .nlf-choice {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 7px 6px;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 10px;
}
.blog-sidebar .nlf-choice-key { display: none; }
.blog-sidebar .nlf-hint { display: none; }
/* tedavi adimi: secim otomatik ilerletir, "Not sure yet" secenegi var -> Next/Skip gereksiz */
.blog-sidebar .nlf-step[data-ref="treatment"] .nlf-actions { display: none; }
.blog-sidebar .nlf-actions { flex-wrap: wrap; gap: 8px; }
.blog-sidebar .nlf-btn { padding: 10px 18px; font-size: 14px; }
.blog-sidebar .nlf-q-num { display: none; }
.blog-sidebar .nlf-card--inline { min-height: 0; }
.blog-sidebar .nlf-card { padding: 10px; border-radius: 12px; }
.blog-sidebar .nlf-card--inline .nlf-step { padding: 10px 6px 2px; }
.blog-sidebar .nlf-step-body { gap: 14px; }
.blog-sidebar .nlf-q-label { font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.blog-sidebar .nlf-choice { padding: 8px 12px; font-size: 14px; }
.blog-sidebar .nlf-choices { gap: 6px; }
.blog-sidebar .nlf-title,
.blog-sidebar .nlf-step--centered .nlf-title { font-size: 18px; }
.blog-sidebar .nlf-desc { font-size: 13px; margin-bottom: 14px; }
.blog-sidebar .nlf-logo { margin-bottom: 14px; }
.blog-sidebar .nlf-actions { padding: 6px 6px 4px; }
.blog-sidebar__trust { margin: 0; font-size: .75rem; line-height: 1.5; opacity: .7; }
.blog-sidebar__wa {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .8125rem;
  color: #032f6e;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* yazi ici CTA kutusu (SSS'den once) */
.w-richtext .blog-cta {
  margin: 2.5rem 0;
  padding: 22px 24px;
  border-left: 4px solid #23af99;
  border-radius: 12px;
  background: #f6f8fc;
}
.w-richtext .blog-cta p { margin: 0 0 10px; }
.w-richtext .blog-cta .blog-cta__title { font-weight: 600; color: #032f6e; }
.w-richtext .blog-cta .blog-cta__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 14px 0 0; }
.w-richtext .blog-cta a.blog-cta__btn { text-decoration: none; }

/* tablet/mobil (<992px): sidebar makalenin altina iner, normal akista (sabit oge yok) */
@media screen and (max-width: 991px) {
  .flex-block-103:has(> .blog-sidebar) { flex-wrap: wrap; }
  .blog-sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 560px;
    margin: 32px auto 0;
  }
  .blog-sidebar__title { font-size: 1.25rem; }
}

/* alcak masaustu ekranlar: fayda maddeleri gizlenir, form kisalir (~490px);
   ustte sabit menu, altta sagdaki WhatsApp butonu ile cakismaz (>= ~700px yukseklik) */
@media screen and (min-width: 992px) and (max-height: 820px) {
  .blog-sidebar__benefits { display: none; }
}
