/* style/bookmaker-reviews.css */
:root {
  --primary-color: #336699;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #000000; /* From body background analysis */
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-bookmaker-reviews {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
  padding-top: 120px; /* For fixed header on desktop */
}

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

.page-bookmaker-reviews__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #224466); /* Darker shade of primary for background */
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
}

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

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

.page-bookmaker-reviews__hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-bookmaker-reviews__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-bookmaker-reviews__cta-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
}

.page-bookmaker-reviews__cta-button--tiny {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 5px;
}

.page-bookmaker-reviews__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-bookmaker-reviews__cta-button--secondary:hover {
  background: #224466;
}

.page-bookmaker-reviews__review-content-section,
.page-bookmaker-reviews__introduction-section,
.page-bookmaker-reviews__game-types-section,
.page-bookmaker-reviews__promotions-section,
.page-bookmaker-reviews__faq-section,
.page-bookmaker-reviews__blog-section {
  padding: 60px 20px;
}

.page-bookmaker-reviews__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: var(--text-light);
}

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

.page-bookmaker-reviews__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
  color: inherit; /* Inherit color from parent section */
}

.page-bookmaker-reviews__review-content-container,
.page-bookmaker-reviews__introduction-container,
.page-bookmaker-reviews__game-types-container,
.page-bookmaker-reviews__promotions-container,
.page-bookmaker-reviews__faq-container,
.page-bookmaker-reviews__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-bookmaker-reviews__review-content-card h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.page-bookmaker-reviews__sub-section-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 18px;
}

.page-bookmaker-reviews__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: inherit;
}

.page-bookmaker-reviews__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-bookmaker-reviews__text-block a:hover {
  color: #224466;
}

.page-bookmaker-reviews__image-wrapper {
  margin: 25px 0;
  text-align: center;
}

.page-bookmaker-reviews__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
  object-fit: cover;
}

.page-bookmaker-reviews__action-card {
  background: #f0f8ff;
  border: 1px solid #d0e0f0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-bookmaker-reviews__action-card p {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--text-dark);
  font-weight: 600;
}

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

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

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

.page-bookmaker-reviews__game-card-image {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-bookmaker-reviews__game-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-bookmaker-reviews__game-card-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555555;
}

.page-bookmaker-reviews__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-bookmaker-reviews__promotion-item {
  background: var(--card-background);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

.page-bookmaker-reviews__promotion-item:hover {
  transform: translateY(-3px);
}

.page-bookmaker-reviews__promotion-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.page-bookmaker-reviews__promotion-description {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

.page-bookmaker-reviews__promotion-description a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-bookmaker-reviews__promotion-description a:hover {
  color: #224466;
}

/* FAQ Styles */
.page-bookmaker-reviews__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.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;
  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: #1a1a1a; /* Darker background for answer in dark section */
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

.page-bookmaker-reviews__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a; /* Slightly lighter than section background */
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-bookmaker-reviews__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

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

.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;
  color: inherit;
}

.page-bookmaker-reviews__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #999;
  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(--secondary-color);
  transform: rotate(45deg);
}

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

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

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

.page-bookmaker-reviews__blog-card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-bookmaker-reviews__blog-card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-bookmaker-reviews__blog-card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-bookmaker-reviews__blog-card-title a:hover {
  text-decoration: underline;
}

.page-bookmaker-reviews__blog-card-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555555;
}

.page-bookmaker-reviews__blog-card-description a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-bookmaker-reviews__blog-card-description a:hover {
  color: #224466;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bookmaker-reviews__hero-title {
    font-size: 38px;
  }
  .page-bookmaker-reviews__section-title {
    font-size: 32px;
  }
  .page-bookmaker-reviews__sub-section-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__hero-banner {
    padding: 60px 15px;
  }
  .page-bookmaker-reviews__hero-title {
    font-size: 32px;
  }
  .page-bookmaker-reviews__hero-subtitle {
    font-size: 16px;
  }
  .page-bookmaker-reviews__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-bookmaker-reviews__review-content-section,
  .page-bookmaker-reviews__introduction-section,
  .page-bookmaker-reviews__game-types-section,
  .page-bookmaker-reviews__promotions-section,
  .page-bookmaker-reviews__faq-section,
  .page-bookmaker-reviews__blog-section {
    padding: 40px 15px;
  }
  .page-bookmaker-reviews__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-bookmaker-reviews__review-content-card {
    padding: 25px;
  }
  .page-bookmaker-reviews__sub-section-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }
  .page-bookmaker-reviews__text-block {
    font-size: 15px;
  }
  .page-bookmaker-reviews__game-cards,
  .page-bookmaker-reviews__promotion-list,
  .page-bookmaker-reviews__blog-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-bookmaker-reviews__game-card-image,
  .page-bookmaker-reviews__blog-card-image {
    height: 150px;
  }
  .page-bookmaker-reviews__game-card-title {
    font-size: 18px;
  }
  .page-bookmaker-reviews__blog-card-title {
    font-size: 18px;
  }
  .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;
  }
}