/* Politika sayfa stilleri — mobil tipografi / genişlik */

@media (max-width: 767px) {
  #section-iptal > .w-full,
  article[id^="section-"] > .w-full.max-w-none {
    width: 100%;
    max-width: none;
  }

  /* Protokol kartları — mobilde daha belirgin */
  .politika-info-card {
    background: #f7f4ef;
    border: 1px solid rgba(28, 26, 23, 0.1);
    box-shadow: 0 6px 20px -4px rgba(28, 26, 23, 0.1);
  }

  /* SSS satır yüksekliği */
  [data-bh-blok="sss"] {
    gap: 0.35rem;
  }

  [data-bh-blok="sss"] .politika-sss-item {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  [data-bh-blok="sss"] .politika-sss-item summary {
    min-height: 0;
    line-height: 1.25;
  }

  .politika-kimlik-uyari {
    border-width: 2px;
  }
}

.politika-kimlik-uyari {
  outline: 1px solid rgba(158, 125, 83, 0.35);
}

/* PDF belge listesi — açılır başlık (Star Suit önce) */
.bh-pol-docs .bh-pol-doc__sum::-webkit-details-marker {
  display: none;
}
.bh-pol-docs .bh-pol-doc__sum::marker {
  content: "";
}
.bh-pol-docs .bh-pol-doc__sum {
  -webkit-user-select: none;
  user-select: none;
}
.bh-pol-docs .bh-pol-doc__sum:focus-visible {
  outline: 2px solid rgba(158, 125, 83, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}
.bh-pol-docs .bh-pol-doc[open] .bh-pol-doc__sum .material-symbols-outlined:last-child {
  transform: rotate(180deg);
}
@media (max-width: 767px) {
  .bh-pol-docs .bh-pol-doc__body {
    padding-left: 0;
  }
}
.bh-pol-docs .bh-pol-doc[hidden] {
  display: none !important;
}
.bh-pol-search {
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bh-pol-search-wrap {
  position: relative;
}
.bh-pol-search-wrap .bh-pol-search-ico {
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.bh-pol-search-scan {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(158, 125, 83, 0.55), transparent);
  opacity: 0;
  transform: scaleX(0.2);
  pointer-events: none;
  z-index: 1;
}
.bh-pol-search-spin {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -0.5rem;
  border: 2px solid rgba(158, 125, 83, 0.2);
  border-top-color: rgba(158, 125, 83, 0.85);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.bh-pol-search-wrap.is-searching .bh-pol-search {
  border-color: rgba(158, 125, 83, 0.45);
  box-shadow: 0 0 0 3px rgba(158, 125, 83, 0.12), 0 0 18px -4px rgba(158, 125, 83, 0.25);
  animation: bh-pol-search-pulse 1.1s ease-in-out infinite;
}
.bh-pol-search-wrap.is-searching .bh-pol-search-ico {
  color: #9e7d53;
  animation: bh-pol-search-ico 0.9s ease-in-out infinite;
}
.bh-pol-search-wrap.is-searching .bh-pol-search-scan {
  opacity: 1;
  animation: bh-pol-search-scan 0.85s ease-in-out infinite;
}
.bh-pol-search-wrap.is-searching .bh-pol-search-spin {
  opacity: 1;
  animation: bh-pol-search-spin 0.7s linear infinite;
}
@keyframes bh-pol-search-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(158, 125, 83, 0.1), 0 0 14px -4px rgba(158, 125, 83, 0.18); }
  50% { box-shadow: 0 0 0 4px rgba(158, 125, 83, 0.18), 0 0 22px -2px rgba(158, 125, 83, 0.32); }
}
@keyframes bh-pol-search-ico {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.12); }
}
@keyframes bh-pol-search-scan {
  0% { transform: translateX(-35%) scaleX(0.35); opacity: 0.35; }
  50% { transform: translateX(0) scaleX(1); opacity: 1; }
  100% { transform: translateX(35%) scaleX(0.35); opacity: 0.35; }
}
@keyframes bh-pol-search-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bh-pol-search-wrap.is-searching .bh-pol-search,
  .bh-pol-search-wrap.is-searching .bh-pol-search-ico,
  .bh-pol-search-wrap.is-searching .bh-pol-search-scan,
  .bh-pol-search-wrap.is-searching .bh-pol-search-spin {
    animation: none;
  }
  .bh-pol-search-wrap.is-searching .bh-pol-search-spin {
    opacity: 0.7;
  }
}
