:root {
  --primary-color: #FF4500;
  --secondary-color: #1E90FF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --border-light: #e0e0e0;
}

/* Ensure page content starts below fixed header */
.page-bookmaker-reviews__review-content-section {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  padding-bottom: 40px;
  background: var(--bg-light);
}

/* Brand Review Content Section */
.page-bookmaker-reviews__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-bookmaker-reviews__review-content-card {
  background: var(--text-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-dark);
}

.page-bookmaker-reviews__page-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-bookmaker-reviews__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-bookmaker-reviews__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-bookmaker-reviews__review-body p a {
  color: var(--secondary-color); /* Use secondary color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-bookmaker-reviews__review-body p a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-bookmaker-reviews__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-bookmaker-reviews__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary-color), #FF6B35); /* Use primary color for CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
}

.page-bookmaker-reviews__cta-button:hover {
  background: linear-gradient(135deg, #FF6B35, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-bookmaker-reviews__faq-section {
  padding: 40px 20px;
  background: var(--bg-light);
}

.page-bookmaker-reviews__faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-bookmaker-reviews__faq-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
}

.page-bookmaker-reviews__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.page-bookmaker-reviews__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;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

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

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

.page-bookmaker-reviews__faq-question:active {
  background: #eeeeee;
}

.page-bookmaker-reviews__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Allow click on parent div */
  color: var(--text-dark);
}

.page-bookmaker-reviews__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; /* Allow click on parent div */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Plus to X */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bookmaker-reviews__review-content-card {
    padding: 30px;
  }
  .page-bookmaker-reviews__page-title {
    font-size: 28px;
  }
  .page-bookmaker-reviews__sub-title {
    font-size: 22px;
  }
  .page-bookmaker-reviews__review-body p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__review-content-section {
    padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
    padding-bottom: 30px;
  }
  .page-bookmaker-reviews__review-content-container,
  .page-bookmaker-reviews__faq-container {
    padding: 0 15px;
  }
  .page-bookmaker-reviews__review-content-card {
    padding: 25px 20px;
  }
  .page-bookmaker-reviews__page-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-bookmaker-reviews__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-bookmaker-reviews__review-body p {
    font-size: 14px;
    line-height: 1.6;
  }
  .page-bookmaker-reviews__content-image {
    margin: 20px auto;
  }
  .page-bookmaker-reviews__cta-button {
    font-size: 16px;
    padding: 12px 25px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-bookmaker-reviews__faq-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-bookmaker-reviews__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-bookmaker-reviews__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-bookmaker-reviews__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-bookmaker-reviews__faq-answer {
    padding: 0 15px;
  }
  .page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-answer {
    padding: 15px !important;
  }
  
  /* Force images to adapt to mobile width */
  .page-bookmaker-reviews img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-bookmaker-reviews__section,
  .page-bookmaker-reviews__card,
  .page-bookmaker-reviews__container,
  .page-bookmaker-reviews__review-content-section,
  .page-bookmaker-reviews__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}