/* style/index-review-fabet.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-bg: #ffffff;
  --section-bg-light: #f1f3f5;
  --section-bg-dark: #1a1a1a;
}

.page-index-review-fabet {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--dark-text-color);
  background-color: var(--section-bg-light); /* Default light background for main content area */
}

/* Fixed Navbar Spacing */
.page-index-review-fabet {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

@media (max-width: 768px) {
  .page-index-review-fabet {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
  }
}

.page-index-review-fabet__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  padding: 80px 20px;
  text-align: center;
  color: var(--light-text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-index-review-fabet__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-review-fabet__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

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

.page-index-review-fabet__cta-button--centered {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
}

.page-index-review-fabet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-index-review-fabet__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-fabet__section-title--light {
  color: var(--light-text-color);
}

.page-index-review-fabet__subsection-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-index-review-fabet__subsection-title--green {
  color: #28a745;
}

.page-index-review-fabet__subsection-title--red {
  color: #dc3545;
}

.page-index-review-fabet p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-index-review-fabet__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1.5em;
  font-size: 1.1em;
}

.page-index-review-fabet__list li {
  margin-bottom: 0.8em;
}

.page-index-review-fabet__list--light li {
  color: var(--light-text-color);
}

.page-index-review-fabet__text-light {
  color: var(--light-text-color);
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 25px;
}

.page-index-review-fabet__text-light a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index-review-fabet__text-light a:hover {
  color: #e0a800;
}

.page-index-review-fabet__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-fabet__introduction-section,
.page-index-review-fabet__review-criteria-section,
.page-index-review-fabet__guide-section,
.page-index-review-fabet__pros-cons-section,
.page-index-review-fabet__faq-section {
  background-color: var(--section-bg-light);
}

.page-index-review-fabet__games-section,
.page-index-review-fabet__promotions-section,
.page-index-review-fabet__latest-news-section {
  background-color: var(--section-bg-dark);
}

.page-index-review-fabet__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-review-fabet__criteria-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__criteria-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-index-review-fabet__criteria-item p {
  font-size: 1em;
  line-height: 1.6;
}

.page-index-review-fabet__criteria-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--dark-text-color);
  margin-bottom: 15px;
}

.page-index-review-fabet__pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-index-review-fabet__pros-item,
.page-index-review-fabet__cons-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-review-fabet__pros-item ul,
.page-index-review-fabet__cons-item ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

.page-index-review-fabet__pros-item li:before {
  content: '✔ ';
  color: #28a745;
  font-weight: bold;
  margin-right: 5px;
}

.page-index-review-fabet__cons-item li:before {
  content: '✖ ';
  color: #dc3545;
  font-weight: bold;
  margin-right: 5px;
}

/* FAQ Styles */
.page-index-review-fabet__faq-list {
  margin-top: 30px;
}

.page-index-review-fabet__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.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: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark-text-color);
  pointer-events: none;
}

.page-index-review-fabet__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X or - */
}

.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 25px;
  opacity: 0;
  background: #fcfcfc;
  border-radius: 0 0 8px 8px;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #eee;
}

.page-index-review-fabet__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

.page-index-review-fabet__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-review-fabet__faq-answer a:hover {
  color: #0056b3;
}

/* Latest News Section */
.page-index-review-fabet__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fabet__news-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-fabet__news-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-index-review-fabet__news-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  line-height: 1.4;
}

.page-index-review-fabet__news-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-fabet__news-link:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-index-review-fabet__news-excerpt {
  font-size: 1em;
  color: #555;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-index-review-fabet__read-more {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--dark-text-color);
  padding: 10px 20px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
  margin-top: auto; /* Push to bottom */
}

.page-index-review-fabet__read-more:hover {
  background: #e0a800;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fabet__hero-title {
    font-size: 2.8em;
  }
  .page-index-review-fabet__hero-description {
    font-size: 1.1em;
  }
  .page-index-review-fabet__section-title {
    font-size: 2em;
  }
  .page-index-review-fabet__subsection-title {
    font-size: 1.4em;
  }
  .page-index-review-fabet p,
  .page-index-review-fabet__list,
  .page-index-review-fabet__text-light {
    font-size: 1em;
  }
  .page-index-review-fabet__news-title {
    font-size: 1.2em;
  }
  .page-index-review-fabet__news-excerpt {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet__hero-banner {
    padding: 60px 15px;
  }
  .page-index-review-fabet__hero-title {
    font-size: 2.2em;
  }
  .page-index-review-fabet__hero-description {
    font-size: 1em;
  }
  .page-index-review-fabet__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index-review-fabet__container {
    padding: 25px 15px;
  }
  .page-index-review-fabet__card {
    padding: 25px;
  }
  .page-index-review-fabet__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-index-review-fabet__subsection-title {
    font-size: 1.3em;
    margin-top: 25px;
  }
  .page-index-review-fabet__criteria-grid,
  .page-index-review-fabet__pros-cons-grid,
  .page-index-review-fabet__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-fabet__faq-question {
    padding: 15px 20px;
  }
  .page-index-review-fabet__faq-question h3 {
    font-size: 1em;
  }
  .page-index-review-fabet__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-index-review-fabet__faq-answer {
    padding: 0 20px;
  }
  .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    padding: 15px 20px !important;
  }
  .page-index-review-fabet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-fabet__introduction-section,
  .page-index-review-fabet__review-criteria-section,
  .page-index-review-fabet__guide-section,
  .page-index-review-fabet__pros-cons-section,
  .page-index-review-fabet__faq-section,
  .page-index-review-fabet__games-section,
  .page-index-review-fabet__promotions-section,
  .page-index-review-fabet__latest-news-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-fabet__hero-title {
    font-size: 1.8em;
  }
  .page-index-review-fabet__cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index-review-fabet__section-title {
    font-size: 1.6em;
  }
  .page-index-review-fabet p,
  .page-index-review-fabet__list,
  .page-index-review-fabet__text-light {
    font-size: 0.95em;
  }
  .page-index-review-fabet__news-title {
    font-size: 1.1em;
  }
  .page-index-review-fabet__news-excerpt {
    font-size: 0.9em;
  }
  .page-index-review-fabet__read-more {
    font-size: 0.9em;
    padding: 8px 15px;
  }
  .page-index-review-fabet__faq-question h3 {
    font-size: 0.95em;
  }
}