/* style/beginner-guide-faq.css */
.page-beginner-guide-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark grey for body text for good contrast */
  background-color: #f8f8f8; /* Light background */
}

.page-beginner-guide-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-beginner-guide-faq__hero-section {
  background: linear-gradient(135deg, #0A2239, #2A445C); /* Dark blue gradient */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-beginner-guide-faq__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  line-height: 1.2;
}

.page-beginner-guide-faq__hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide-faq__hero-button,
.page-beginner-guide-faq__button,
.page-beginner-guide-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2239; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-beginner-guide-faq__hero-button:hover,
.page-beginner-guide-faq__button:hover,
.page-beginner-guide-faq__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-beginner-guide-faq__section-title {
  font-size: 2.2em;
  color: #0A2239;
  text-align: center;
  margin-bottom: 50px;
  padding-top: 40px;
}

.page-beginner-guide-faq__faq-list {
  display: grid;
  gap: 25px;
}

.page-beginner-guide-faq__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-left: 5px solid #FFD700;
}

.page-beginner-guide-faq__faq-question {
  font-size: 1.5em;
  color: #0A2239;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f2f2f2; /* Light grey for question background */
  transition: background-color 0.3s ease;
  position: relative;
}

.page-beginner-guide-faq__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #0A2239;
  transition: transform 0.3s ease;
}

.page-beginner-guide-faq__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-beginner-guide-faq__faq-question:hover {
  background-color: #e6e6e6;
}

.page-beginner-guide-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #333333;
  display: none; /* Hidden by default, toggled by JS */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-beginner-guide-faq__faq-answer.active {
  display: block;
  max-height: 2000px; /* Large enough to accommodate content */
  padding: 20px 25px;
}

.page-beginner-guide-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-beginner-guide-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-beginner-guide-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-beginner-guide-faq__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide-faq__button {
  margin-top: 20px;
}

.page-beginner-guide-faq__cta-section {
  background-color: #0A2239; /* Dark blue background */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-beginner-guide-faq__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
}

.page-beginner-guide-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-beginner-guide-faq__hero-title {
    font-size: 2.2em;
  }

  .page-beginner-guide-faq__hero-subtitle,
  .page-beginner-guide-faq__cta-description {
    font-size: 1em;
  }

  .page-beginner-guide-faq__section-title {
    font-size: 1.8em;
  }

  .page-beginner-guide-faq__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }

  .page-beginner-guide-faq__faq-answer {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-beginner-guide-faq__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide-faq__hero-title {
    font-size: 1.8em;
  }

  .page-beginner-guide-faq__hero-button,
  .page-beginner-guide-faq__button,
  .page-beginner-guide-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-beginner-guide-faq__section-title {
    font-size: 1.5em;
  }

  .page-beginner-guide-faq__faq-question {
    font-size: 1.1em;
  }

  .page-beginner-guide-faq__cta-title {
    font-size: 1.8em;
  }
}