/* style/bookmaker-reviews.css */

:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --accent-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0d0d0d; /* Assuming --dark-bg-1 from shared.css is dark */
  --border-light: #e0e0e0;
}

.page-bookmaker-reviews {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with shared.css body background */
}

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

/* Fixed Navbar Spacing */
.page-bookmaker-reviews__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

.page-bookmaker-reviews__main-title {
  font-size: 3.2em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-bookmaker-reviews__description {
  font-size: 1.1em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 30px;
}

.page-bookmaker-reviews__description-bottom {
  font-size: 1em;
  color: var(--text-light);
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

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

.page-bookmaker-reviews__section-description {
  font-size: 1.1em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

/* Intro Section */
.page-bookmaker-reviews__intro-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding-bottom: 60px;
}

.page-bookmaker-reviews__intro-image-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.page-bookmaker-reviews__intro-image {
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-bookmaker-reviews__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Games Section */
.page-bookmaker-reviews__games-section {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

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

.page-bookmaker-reviews__game-card {
  background: #ffffff;
  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;
}

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

.page-bookmaker-reviews__game-type-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-bookmaker-reviews__game-type-description {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-bookmaker-reviews__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-bookmaker-reviews__btn-small:hover {
  background: #0056b3;
}

/* Promotions Section */
.page-bookmaker-reviews__promotions-section {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0;
}

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

.page-bookmaker-reviews__promotions-section .page-bookmaker-reviews__section-description {
  color: var(--text-light);
}

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

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

.page-bookmaker-reviews__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-bookmaker-reviews__promo-image {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-bookmaker-reviews__promo-title {
  font-size: 1.5em;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-bookmaker-reviews__promo-description {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-bookmaker-reviews__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-bookmaker-reviews__btn-primary:hover {
  background: #0056b3;
}

/* Blog Section */
.page-bookmaker-reviews__blog-section {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

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

.page-bookmaker-reviews__blog-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-bookmaker-reviews__blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-bookmaker-reviews__blog-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
  flex-grow: 1;
}

.page-bookmaker-reviews__blog-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-bookmaker-reviews__blog-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-bookmaker-reviews__blog-excerpt {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-bookmaker-reviews__blog-date {
  font-size: 0.85em;
  color: #777;
}

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

/* FAQ Section */
.page-bookmaker-reviews__faq-section {
  background: var(--bg-light);
  color: var(--text-dark);
  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-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-bookmaker-reviews__faq-answer p {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-bookmaker-reviews__main-title {
    font-size: 2.5em;
  }
  .page-bookmaker-reviews__section-title {
    font-size: 2em;
  }
  .page-bookmaker-reviews__game-types-grid, .page-bookmaker-reviews__promo-grid, .page-bookmaker-reviews__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-bookmaker-reviews__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
  }
  .page-bookmaker-reviews__container {
    padding: 20px 15px;
  }
  .page-bookmaker-reviews__main-title {
    font-size: 2em;
  }
  .page-bookmaker-reviews__description,
  .page-bookmaker-reviews__description-bottom {
    font-size: 0.9em;
  }
  .page-bookmaker-reviews__section-title {
    font-size: 1.8em;
  }
  .page-bookmaker-reviews__section-description {
    font-size: 0.9em;
  }
  .page-bookmaker-reviews__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-bookmaker-reviews__game-card,
  .page-bookmaker-reviews__promo-card,
  .page-bookmaker-reviews__blog-card {
    padding: 20px;
  }
  .page-bookmaker-reviews__game-type-image,
  .page-bookmaker-reviews__promo-image,
  .page-bookmaker-reviews__blog-image {
    height: 150px;
  }
  .page-bookmaker-reviews__game-type-title,
  .page-bookmaker-reviews__promo-title {
    font-size: 1.3em;
  }
  .page-bookmaker-reviews__blog-title {
    font-size: 1.2em;
  }
  .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;
  }
  /* Mobile image adaptation */
  .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;
  }
}