/* ArkonaSports – FAQ (globalnie) */
.as-faq {
  margin: 24px 0;
  max-width: 920px; /* żeby nie rozciągało się na całą szerokość */
}

.as-faq h2 {
  margin: 0 0 12px 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

/* pojedynczy element */
.as-faq details {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  margin: 10px 0;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* hover */
.as-faq details:hover {
  border-color: #d5d5d5;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

/* usuń domyślny marker w przeglądarkach webkit */
.as-faq summary::-webkit-details-marker {
  display: none;
}

/* nagłówek (pytanie) */
.as-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 14px 16px;
  font-weight: 700;
  line-height: 1.35;
}

/* strzałka po prawej */
.as-faq summary::after {
  content: "▾";
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  opacity: .7;
  transition: transform .2s ease, opacity .2s ease;
}

/* treść odpowiedzi */
.as-faq details > :not(summary) {
  padding: 0 16px 14px 16px;
  color: #444;
  line-height: 1.65;
}

/* stan otwarty */
.as-faq details[open] {
  border-color: #7cbf00;
}

.as-faq details[open] summary {
  border-bottom: 1px solid #f0f0f0;
}

.as-faq details[open] summary::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* mobile */
@media (max-width: 768px) {
  .as-faq {
    max-width: 100%;
  }
  .as-faq h2 {
    font-size: 20px;
  }
  .as-faq summary {
    padding: 12px 14px;
  }
  .as-faq details > :not(summary) {
    padding: 0 14px 12px 14px;
  }
}
/* WYRAŹNIE OTWARTE PYTANIE */
.as-faq details[open] {
  border-color: #7cbf00;
  background: #f9fff2;
}

/* PODKREŚLENIE AKTYWNEGO PYTANIA */
.as-faq details[open] summary {
  font-weight: 800;
}

/* SUBTELNE PRZYGASZENIE ZAMKNIĘTYCH */
.as-faq details:not([open]) summary {
  opacity: .85;
  transition: opacity .15s ease;
}

.as-faq details:not([open]):hover summary {
  opacity: 1;
}