
div.links a{
  color: var(--dark-color)
}
body{
  justify-content: space-between;
  min-height: 100vh;
}
.faq-section {
  width: 90%;
  max-width: 700px;
  margin: 60px auto;
  font-family: Arial, sans-serif;
  padding-top: 15vh;
  grid-area: content;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 3.35rem;
  padding: 15px 0;
  color: var(--affd-color);
}

.faq-group {
  font-size: 1.9rem;
  margin: 30px 0 10px 0;
  color: #0b1c39;
}

.accordion input.accordion-checkbox {
  display: none;
}

.accordion-title {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 1.65rem; font-weight: 500;
  background: #f0f0f0;
  border-top: 1px solid #ddd;
  position: relative;
  transition: background 0.3s;
}

.accordion-title::after {
  content: '＋';
  font-size: 1.4rem;
  transition: 0.3s;
}

/* CSS-only toggle for fallback */
.accordion-checkbox:checked + .accordion-title::after {
  content: '−';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  line-height: 1.65;
  background: white;
  padding: 0 20px;
  font-size: 1.5rem;
  border-bottom: 1px solid #ddd;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.accordion-checkbox:checked + .accordion-title + .accordion-content {
  max-height: 500px;
  padding: 10px 20px;
}

.accordion-title:hover {
  background: #e8e8e8;
}

@media(max-width:600px){
  .accordion-title {
    font-size: 1.55rem;
    padding: 12px 15px;
  }
  .faq-group {
    font-size: 1.6rem;
  }
  .faq-section h2 {
    font-size: 2.6rem;
  }
}