/* style/guides-faq.css */
.page-guides-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0a0a0a;
}

/* Ensure content is not hidden by fixed header */
.page-guides-faq__container--top-padding {
  padding-top: 120px; /* Desktop padding for fixed header */
}

@media (max-width: 768px) {
  .page-guides-faq__container--top-padding {
    padding-top: 100px; /* Mobile padding for fixed header */
  }
}

.page-guides-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-guides-faq__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for headings */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-guides-faq__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700; /* Gold for main title */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-guides-faq__intro-text,
.page-guides-faq__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-guides-faq__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.page-guides-faq__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-guides-faq__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #0a0a0a; /* Dark text for contrast */
}

.page-guides-faq__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-guides-faq__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-guides-faq__btn--secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
  transform: translateY(-2px);
}

.page-guides-faq__btn--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.page-guides-faq__dark-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

.page-guides-faq__intro-section,
.page-guides-faq__guides-section,
.page-guides-faq__faq-section,
.page-guides-faq__safety-support-section,
.page-guides-faq__promotions-section,
.page-guides-faq__quick-links-section,
.page-guides-faq__news-section {
  padding: 60px 0;
}

/* Guides Section */
.page-guides-faq__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-guides-faq__guide-card {
  background-color: #2a2a2a; /* Slightly lighter dark background for cards */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-guides-faq__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-guides-faq__guide-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-guides-faq__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-guides-faq__card-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-guides-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-guides-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.page-guides-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-guides-faq__faq-question:hover {
  background-color: #3a3a3a;
  border-color: #4a4a4a;
}

.page-guides-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-guides-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-guides-faq__faq-item.active .page-guides-faq__faq-toggle {
  color: #8B0000;
  transform: rotate(45deg); /* Use rotation for minus sign effect */
}

.page-guides-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
  background-color: #1a1a1a;
  border-radius: 0 0 8px 8px;
}

.page-guides-faq__faq-item.active .page-guides-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-guides-faq__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Safety & Support Section */
.page-guides-faq__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-guides-faq__feature-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-guides-faq__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-guides-faq__feature-icon {
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-guides-faq__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-guides-faq__feature-text {
  font-size: 16px;
  color: #cccccc;
}

/* Promotions Section */
.page-guides-faq__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-guides-faq__promo-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-guides-faq__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-guides-faq__promo-image {
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Quick Links Section */
.page-guides-faq__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-guides-faq__quick-link-card {
  background-color: #8B0000; /* Dark red background for quick links */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-guides-faq__quick-link-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  background-color: #a00000;
}

.page-guides-faq__quick-link-card .page-guides-faq__card-title {
  color: #ffffff;
  margin-bottom: 10px;
}

.page-guides-faq__quick-link-card .page-guides-faq__card-text {
  color: #f0f0f0;
  font-size: 15px;
}

/* News Section */
.page-guides-faq__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-guides-faq__news-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-guides-faq__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-guides-faq__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-guides-faq__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-guides-faq__news-content .page-guides-faq__card-title {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.page-guides-faq__news-content .page-guides-faq__card-text {
  font-size: 15px;
  color: #cccccc;
  text-align: left;
  flex-grow: 1;
}

.page-guides-faq__news-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-guides-faq__news-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-guides-faq__news-date {
  font-size: 14px;
  color: #888888;
  margin-top: 15px;
  display: block;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-guides-faq__main-title {
    font-size: 40px;
  }
  .page-guides-faq__section-title {
    font-size: 30px;
  }
  .page-guides-faq__card-title {
    font-size: 20px;
  }
  .page-guides-faq__intro-text,
  .page-guides-faq__section-description,
  .page-guides-faq__card-text {
    font-size: 17px;
  }
  .page-guides-faq__guide-grid,
  .page-guides-faq__safety-features,
  .page-guides-faq__promo-grid,
  .page-guides-faq__links-grid,
  .page-guides-faq__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-guides-faq__container {
    padding: 0 15px;
  }
}