/* sss.html — sıkça sorulan sorular sayfası.
   <details>/<summary> tabanlı collapsible — native accessible
   (klavye + screen reader). Sadece Apple-style ince ayar. */

.faq-section {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--color-border, #d2d2d7);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item[open] {
  border-color: #0071e3;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
  user-select: none;
}

/* Hide default <details> marker (▶/▼ triangle) on all browsers */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

/* Custom chevron — rotates when [open] */
.faq-item summary::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #86868b;
  border-bottom: 2px solid #86868b;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: #0071e3;
}

.faq-item summary:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: -2px;
}

.faq-item summary:hover {
  background: #fafafa;
}

.faq-answer {
  padding: 0 22px 22px;
  color: #424245;
  font-size: 15px;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0 0 12px;
}
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ol,
.faq-answer ul {
  margin: 0 0 12px;
  padding-left: 24px;
}
.faq-answer li {
  margin-bottom: 8px;
}

.faq-answer a {
  color: #0071e3;
  text-decoration: none;
  border-bottom: 1px solid #b6d6f5;
}
.faq-answer a:hover {
  border-bottom-color: #0071e3;
}

/* "Aradığınızı bulamadınız mı?" CTA bloku */
.faq-cta {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 32px 24px;
  background: #f5f5f7;
  border-radius: 12px;
  text-align: center;
}

.faq-cta h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
}

.faq-cta p {
  margin: 0 0 20px;
  color: #6e6e73;
  font-size: 15px;
}

@media (max-width: 600px) {
  .faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 18px 18px;
    font-size: 14px;
  }
  .faq-cta {
    padding: 24px 16px;
    margin-top: 28px;
  }
}
