@font-face {
  font-family: 'Vinila';
  src: url('/static/fonts/Vinila-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --faq-bg: #16153f;
  --faq-text: #ffffff;
}

.faq-container {
  width: 90%;
  max-width: 1200px;
  margin: 4rem auto;
}

.faq-header {
  font-family: 'Vinila', sans-serif;
  font-size: 3.5rem;
  color: rgb(53, 52, 52);
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list details {
  background-color: var(--faq-bg);
  color: var(--faq-text);
  border-radius: 0.75rem;
  margin-bottom: 1.4rem;
  overflow: hidden;
}

.faq-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.faq-body {
  padding: 1rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

summary::-webkit-details-marker,
summary::marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--faq-text);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-icon::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

details[open] .faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

/* Tablet (≤ 1024px): slightly smaller text & padding */
@media (max-width: 1024px) {
  .faq-container{margin:3rem auto}
  .faq-header{font-size:2.5rem;margin-bottom:1.5rem}
  .faq-title{font-size:1.2rem;padding:0.8rem 1.2rem}
  .faq-body{font-size:1rem;padding:0.8rem 1.2rem}
}

/* Phone (≤ 600px): further reduction for small screens */
@media (max-width: 600px) {
  .faq-container{margin:2rem auto}
  .faq-header{font-size:2rem;margin-bottom:1rem}
  .faq-title{font-size:0.9rem;padding:0.7rem 1rem}
  .faq-body{font-size:0.8rem;padding:0.7rem 1rem}
}