/* style/bookmaker-reviews.css */
:root {
  --primary-color: #B80F0A;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-dark: #000000;
  --background-light: #f8f9fa;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-bookmaker-reviews {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light); /* Default for dark body background */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-bookmaker-reviews {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
  }
}

.page-bookmaker-reviews img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Hero Banner Section */
.page-bookmaker-reviews__hero-banner {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color-light);
  padding-top: 180px; /* Desktop specific padding */
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__hero-banner {
    padding-top: 160px !important; /* Mobile specific padding */
    padding: 60px 15px;
  }
}

.page-bookmaker-reviews__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-bookmaker-reviews__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--text-color-light);
}

.page-bookmaker-reviews__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.page-bookmaker-reviews__hero-cta {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* General Section Styles */
.page-bookmaker-reviews__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__container {
    padding: 20px 15px;
  }
}

.page-bookmaker-reviews__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-bookmaker-reviews__section-title--light {
  color: var(--text-color-light);
}

.page-bookmaker-reviews__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-bookmaker-reviews__text-block--light {
  color: var(--text-color-light);
}

.page-bookmaker-reviews__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

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

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

/* Intro Section */
.page-bookmaker-reviews__intro-section {
  padding: 60px 0;
}

/* Criteria Section */
.page-bookmaker-reviews__criteria-section {
  padding: 60px 0;
}

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

.page-bookmaker-reviews__criteria-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark);
}

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

.page-bookmaker-reviews__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-bookmaker-reviews__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: contain; /* Ensure image content is visible */
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Featured Reviews Section */
.page-bookmaker-reviews__featured-reviews {
  padding: 60px 0;
}

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

.page-bookmaker-reviews__review-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-bookmaker-reviews__review-card .page-bookmaker-reviews__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-bookmaker-reviews__review-card .page-bookmaker-reviews__card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-bookmaker-reviews__review-card .page-bookmaker-reviews__card-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-bookmaker-reviews__card-image-small {
  max-width: 250px; /* Larger size for logos */
  height: 150px; /* Ensure minimum height */
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-bookmaker-reviews__card-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-color-dark);
  flex-grow: 1;
}

.page-bookmaker-reviews__card-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-bookmaker-reviews__card-description a:hover {
  color: #004499;
  text-decoration: underline;
}

.page-bookmaker-reviews__card-rating {
  margin-top: 15px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-bookmaker-reviews__stars {
  color: var(--secondary-color);
  font-size: 1.2em;
  margin-right: 8px;
  font-weight: bold;
}

.page-bookmaker-reviews__rating-number {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-color-dark);
}

.page-bookmaker-reviews__card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto; /* Push buttons to bottom */
}

.page-bookmaker-reviews__btn-primary,
.page-bookmaker-reviews__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-bookmaker-reviews__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(184, 15, 10, 0.3);
}

.page-bookmaker-reviews__btn-primary:hover {
  background: #9e0c08;
  border-color: #9e0c08;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 15, 10, 0.4);
}

.page-bookmaker-reviews__btn-secondary {
  background: var(--card-background);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-bookmaker-reviews__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 15, 10, 0.2);
}

.page-bookmaker-reviews__btn-secondary--light {
  background: var(--background-dark);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-bookmaker-reviews__btn-secondary--light:hover {
  background: var(--secondary-color);
  color: var(--background-dark);
}

.page-bookmaker-reviews__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-bookmaker-reviews__btn-large {
  padding: 15px 50px;
  font-size: 1.2em;
  max-width: 400px;
}

/* Why Choose Section */
.page-bookmaker-reviews__why-choose-section,
.page-bookmaker-reviews__safe-gaming-section {
  padding: 60px 0;
}

.page-bookmaker-reviews__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-bookmaker-reviews__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__content-wrapper {
    flex-direction: column;
  }
  .page-bookmaker-reviews__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
}

.page-bookmaker-reviews__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-bookmaker-reviews__text-content {
  flex: 2;
}

.page-bookmaker-reviews__text-content--light p {
  color: var(--text-color-light);
}

.page-bookmaker-reviews__text-content .page-bookmaker-reviews__btn-secondary {
  margin-top: 20px;
}

/* FAQ Section */
.page-bookmaker-reviews__faq-section {
  padding: 60px 0;
}

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

.page-bookmaker-reviews__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
}

.page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-answer {
  max-height: 2000px !important;
  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: #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;
  color: var(--text-color-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: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-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;
  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);
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-bookmaker-reviews__faq-question h3 {
    font-size: 1em;
    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;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-bookmaker-reviews__hero-title {
    font-size: 2.5em;
  }
  .page-bookmaker-reviews__hero-subtitle {
    font-size: 1.1em;
  }
  .page-bookmaker-reviews__section-title {
    font-size: 2em;
  }
  .page-bookmaker-reviews__text-block {
    font-size: 1em;
  }
  .page-bookmaker-reviews__criteria-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-bookmaker-reviews__review-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-bookmaker-reviews__content-wrapper {
    flex-direction: column;
  }
  .page-bookmaker-reviews__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__hero-title {
    font-size: 2em;
  }
  .page-bookmaker-reviews__hero-subtitle {
    font-size: 1em;
  }
  .page-bookmaker-reviews__section-title {
    font-size: 1.8em;
  }
  .page-bookmaker-reviews__text-block {
    font-size: 0.95em;
  }
  .page-bookmaker-reviews__criteria-grid {
    grid-template-columns: 1fr;
  }
  .page-bookmaker-reviews__review-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-bookmaker-reviews__card-title {
    font-size: 1.3em;
  }
  .page-bookmaker-reviews__card-image {
    height: 180px;
  }
  .page-bookmaker-reviews__card-image-small {
    max-width: 200px;
    height: 120px;
  }
  .page-bookmaker-reviews__btn-primary,
  .page-bookmaker-reviews__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-bookmaker-reviews__btn-large {
    padding: 12px 30px;
    font-size: 1em;
  }
}