/* style/bookmaker-review.css */
:root {
  --primary-color: #DAA520; /* Gold */
  --secondary-color: #1E1E1E; /* Dark Black */
  --accent-color: #CC0000; /* Deep Red for highlights */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --border-light: #e0e0e0;
}

.page-bookmaker-review {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-bookmaker-review__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fixed header spacing */
.page-bookmaker-review__intro-section {
  padding-top: 180px; /* Adjust for fixed header */
}

.page-bookmaker-review__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-bookmaker-review__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-bookmaker-review__main-heading,
.page-bookmaker-review__section-heading {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: bold;
}

.page-bookmaker-review__main-heading {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-review__intro-section {
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-bookmaker-review__intro-text {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-bookmaker-review__intro-text strong {
  color: var(--primary-color);
}

.page-bookmaker-review__intro-image {
  margin-bottom: 40px;
}

.page-bookmaker-review__img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-bookmaker-review__img-padded {
  padding: 10px; /* Space around image inside card */
}

.page-bookmaker-review__cta-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-bookmaker-review__btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #FFD700);
  color: var(--text-light);
  border: none;
}

.page-bookmaker-review__btn-primary:hover {
  background: linear-gradient(45deg, #FFD700, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-review__why-trust-section,
.page-bookmaker-review__criteria-section,
.page-bookmaker-review__how-to-choose-section,
.page-bookmaker-review__faq-section {
  padding: 60px 0;
}

.page-bookmaker-review__section-heading {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.page-bookmaker-review__paragraph {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-bookmaker-review__paragraph strong {
  color: var(--primary-color);
}

.page-bookmaker-review__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bookmaker-review__criterion-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.page-bookmaker-review__criterion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-bookmaker-review__criterion-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-bookmaker-review__criterion-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-bookmaker-review__criterion-description strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-bookmaker-review__faq-section {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.page-bookmaker-review__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-bookmaker-review__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-bookmaker-review__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-bookmaker-review__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color);
  pointer-events: none;
}

.page-bookmaker-review__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
}

.page-bookmaker-review__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: var(--text-dark);
}

.page-bookmaker-review__faq-item.active .page-bookmaker-review__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-light);
  border-top: none;
}

.page-bookmaker-review__faq-item.active .page-bookmaker-review__faq-toggle {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: rotate(45deg); /* Rotate plus to become cross */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bookmaker-review__main-heading {
    font-size: 40px;
  }
  .page-bookmaker-review__section-heading {
    font-size: 32px;
  }
  .page-bookmaker-review__intro-text {
    font-size: 16px;
  }
  .page-bookmaker-review__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-bookmaker-review__intro-section {
    padding-top: 140px; /* Mobile adjust for fixed header */
    padding-bottom: 40px;
  }
  .page-bookmaker-review__main-heading {
    font-size: 32px;
  }
  .page-bookmaker-review__section-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-bookmaker-review__intro-text,
  .page-bookmaker-review__paragraph,
  .page-bookmaker-review__criterion-description {
    font-size: 15px;
  }
  .page-bookmaker-review__why-trust-section,
  .page-bookmaker-review__criteria-section,
  .page-bookmaker-review__how-to-choose-section,
  .page-bookmaker-review__faq-section {
    padding: 40px 0;
  }
  .page-bookmaker-review__container {
    padding: 0 15px;
  }
  .page-bookmaker-review__criterion-card {
    padding: 25px;
  }
  .page-bookmaker-review__criterion-title {
    font-size: 20px;
  }
  .page-bookmaker-review__faq-question {
    padding: 15px 20px;
  }
  .page-bookmaker-review__faq-question h3 {
    font-size: 16px;
  }
  .page-bookmaker-review__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-bookmaker-review__faq-answer {
    padding: 0 20px;
  }
  .page-bookmaker-review__faq-item.active .page-bookmaker-review__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-bookmaker-review__main-heading {
    font-size: 28px;
  }
  .page-bookmaker-review__section-heading {
    font-size: 24px;
  }
  .page-bookmaker-review__cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-bookmaker-review__criteria-grid {
    gap: 20px;
  }
}