/* style/index-review-fabet.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f9fa;
  --background-dark: #0d0d0d;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, considering body background is #000 (dark) */
.page-index-review-fabet {
  color: var(--text-light); /* Light text on dark body background */
  background-color: transparent; /* Main content sections will define their own backgrounds */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Fixed navigation bar padding */
.page-index-review-fabet__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

/* HERO Section Styles */
.page-index-review-fabet__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), #2a4a90); /* Dark blue gradient for hero */
  color: var(--text-light);
}

.page-index-review-fabet__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-fabet__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-review-fabet__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-fabet__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-review-fabet__main-heading {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for main heading */
}

.page-index-review-fabet__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-index-review-fabet__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet__cta-button:hover {
  background: #f0c94a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-index-review-fabet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-review-fabet__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color); /* Dark blue for section titles on light backgrounds */
}

.page-index-review-fabet__section-title--white {
  color: var(--text-light); /* White for section titles on dark backgrounds */
}

.page-index-review-fabet__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-dark); /* Dark text on light backgrounds */
}

.page-index-review-fabet__paragraph--white {
  color: var(--text-light); /* Light text on dark backgrounds */
}

.page-index-review-fabet__highlight {
  font-weight: bold;
  color: var(--primary-color);
}

.page-index-review-fabet__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-review-fabet__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Review Intro Section */
.page-index-review-fabet__review-intro-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

/* Content Section Styles */
.page-index-review-fabet__content-section {
  padding: 40px 0;
  background-color: var(--background-light);
}

.page-index-review-fabet__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.page-index-review-fabet__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-index-review-fabet__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-review-fabet__cta-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-index-review-fabet__cta-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Conclusion Section Styles */
.page-index-review-fabet__conclusion-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark blue background */
  text-align: center;
  color: var(--text-light);
}

.page-index-review-fabet__cta-button--gold {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-index-review-fabet__cta-button--gold:hover {
  background: #f0c94a;
}

/* FAQ Section Styles */
.page-index-review-fabet__faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-index-review-fabet__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-review-fabet__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-fabet__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 15px;
  opacity: 0;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-review-fabet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-fabet__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-fabet__faq-question:active {
  background: #eeeeee;
}

.page-index-review-fabet__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-index-review-fabet__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-index-review-fabet__faq-answer p {
  color: var(--text-dark);
}

.page-index-review-fabet__faq-answer a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-index-review-fabet__faq-answer a:hover {
  text-decoration: underline;
}

/* Related Articles Section */
.page-index-review-fabet__related-articles {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-index-review-fabet__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-review-fabet__article-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-review-fabet__article-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 15px 20px 10px;
}

.page-index-review-fabet__article-excerpt {
  font-size: 14px;
  color: #666666;
  padding: 0 20px 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-index-review-fabet {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-review-fabet__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-review-fabet__main-heading {
    font-size: 28px;
  }

  .page-index-review-fabet__hero-description {
    font-size: 16px;
  }

  .page-index-review-fabet__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-index-review-fabet__container {
    padding: 0 15px;
  }

  .page-index-review-fabet__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-index-review-fabet__content-section,
  .page-index-review-fabet__review-intro-section,
  .page-index-review-fabet__conclusion-section,
  .page-index-review-fabet__faq-section,
  .page-index-review-fabet__related-articles {
    padding: 30px 0;
  }

  .page-index-review-fabet__card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-index-review-fabet__card-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-index-review-fabet__paragraph {
    font-size: 15px;
  }

  .page-index-review-fabet__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-fabet__article-title {
    font-size: 18px;
    padding: 12px 15px 8px;
  }

  .page-index-review-fabet__article-excerpt {
    font-size: 13px;
    padding: 0 15px 15px;
  }

  .page-index-review-fabet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-fabet__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-fabet__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-review-fabet__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive */
  .page-index-review-fabet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-fabet__section,
  .page-index-review-fabet__card,
  .page-index-review-fabet__container,
  .page-index-review-fabet__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}