/* style/resources-best-online-betting-platforms-2023.css */

/* Variables for consistency */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: #f1f3f5;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
}

/* Global page styles, ensuring contrast with dark body background */
.page-resources-best-online-betting-platforms-2023 {
  color: var(--text-color-light); /* Light text on dark body background */
  background-color: var(--background-dark); /* Inherited from body or set explicitly */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Fixed Nav Bar Spacing */
.page-resources-best-online-betting-platforms-2023__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 40px;
  background: var(--background-dark);
}

.page-resources-best-online-betting-platforms-2023__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-best-online-betting-platforms-2023__main-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-resources-best-online-betting-platforms-2023__description {
  font-size: 17px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-resources-best-online-betting-platforms-2023__intro-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px var(--shadow-medium);
}

/* Review Content Section (Adapted Module 1.5) */
.page-resources-best-online-betting-platforms-2023__review-content-section {
  padding: 60px 20px;
  background: var(--background-dark);
}

.page-resources-best-online-betting-platforms-2023__review-content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-best-online-betting-platforms-2023__review-content-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 40px;
  color: var(--text-color-dark); /* Dark text on light card background */
}

.page-resources-best-online-betting-platforms-2023__review-content-card h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-resources-best-online-betting-platforms-2023__review-content-card h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-best-online-betting-platforms-2023__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.page-resources-best-online-betting-platforms-2023__review-body strong {
  color: var(--primary-color);
}

/* CTA Button Styles */
.page-resources-best-online-betting-platforms-2023__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-light);
  margin-top: 30px;
}

.page-resources-best-online-betting-platforms-2023__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-resources-best-online-betting-platforms-2023__cta-button--primary:hover {
  background: #071a47;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-resources-best-online-betting-platforms-2023__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__cta-button--secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

/* Games Section (Module 3) */
.page-resources-best-online-betting-platforms-2023__games-section {
  padding: 60px 20px;
  background: var(--background-dark);
  text-align: center;
}

.page-resources-best-online-betting-platforms-2023__games-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page-resources-best-online-betting-platforms-2023__games-section p {
  font-size: 17px;
  margin-bottom: 40px;
  color: var(--text-color-light);
}

.page-resources-best-online-betting-platforms-2023__game-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-best-online-betting-platforms-2023__game-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-resources-best-online-betting-platforms-2023__game-type-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources-best-online-betting-platforms-2023__game-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-best-online-betting-platforms-2023__game-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__btn-read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-best-online-betting-platforms-2023__btn-read-more:hover {
  background: #e6c200;
}

/* Promotions Section (Module 4) */
.page-resources-best-online-betting-platforms-2023__promotions-section {
  padding: 60px 20px;
  background: var(--background-light);
  text-align: center;
}

.page-resources-best-online-betting-platforms-2023__promotions-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-resources-best-online-betting-platforms-2023__promotions-section p {
  font-size: 17px;
  margin-bottom: 40px;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-best-online-betting-platforms-2023__promo-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-resources-best-online-betting-platforms-2023__promo-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources-best-online-betting-platforms-2023__promo-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-best-online-betting-platforms-2023__promo-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__btn-view-promo {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-best-online-betting-platforms-2023__btn-view-promo:hover {
  background: #071a47;
}

.page-resources-best-online-betting-platforms-2023__promotion-cta {
  font-size: 18px;
  margin-top: 40px;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__promotion-cta a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-resources-best-online-betting-platforms-2023__promotion-cta a:hover {
  text-decoration: underline;
}

/* Blog Section (Module 5) */
.page-resources-best-online-betting-platforms-2023__blog-section {
  padding: 60px 20px;
  background: var(--background-dark);
  text-align: center;
}

.page-resources-best-online-betting-platforms-2023__blog-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page-resources-best-online-betting-platforms-2023__blog-section p {
  font-size: 17px;
  margin-bottom: 40px;
  color: var(--text-color-light);
}

.page-resources-best-online-betting-platforms-2023__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-best-online-betting-platforms-2023__blog-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-resources-best-online-betting-platforms-2023__blog-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-resources-best-online-betting-platforms-2023__blog-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
}

.page-resources-best-online-betting-platforms-2023__blog-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-best-online-betting-platforms-2023__blog-card h3 a:hover {
  text-decoration: underline;
}

.page-resources-best-online-betting-platforms-2023__blog-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 20px 15px 20px;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__blog-date {
  display: block;
  font-size: 13px;
  color: #777777;
  margin: 0 20px 20px 20px;
}

/* FAQ Section */
.page-resources-best-online-betting-platforms-2023__faq-section {
  padding: 60px 20px;
  background: var(--background-light);
}

.page-resources-best-online-betting-platforms-2023__faq-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-best-online-betting-platforms-2023__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-best-online-betting-platforms-2023__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-best-online-betting-platforms-2023__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-resources-best-online-betting-platforms-2023__faq-item.active .page-resources-best-online-betting-platforms-2023__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-color-dark);
}

.page-resources-best-online-betting-platforms-2023__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg);
  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;
}

.page-resources-best-online-betting-platforms-2023__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-best-online-betting-platforms-2023__faq-question:active {
  background: #eeeeee;
}

.page-resources-best-online-betting-platforms-2023__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-resources-best-online-betting-platforms-2023__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-resources-best-online-betting-platforms-2023__faq-item.active .page-resources-best-online-betting-platforms-2023__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate to form an 'X' or 'minus' visually */
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-best-online-betting-platforms-2023__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust for mobile fixed header */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-best-online-betting-platforms-2023__main-title {
    font-size: 28px;
  }

  .page-resources-best-online-betting-platforms-2023__description {
    font-size: 15px;
  }

  .page-resources-best-online-betting-platforms-2023__intro-image,
  .page-resources-best-online-betting-platforms-2023__review-content-section,
  .page-resources-best-online-betting-platforms-2023__games-section,
  .page-resources-best-online-betting-platforms-2023__promotions-section,
  .page-resources-best-online-betting-platforms-2023__blog-section,
  .page-resources-best-online-betting-platforms-2023__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-best-online-betting-platforms-2023__review-content-card,
  .page-resources-best-online-betting-platforms-2023__game-card,
  .page-resources-best-online-betting-platforms-2023__promo-card,
  .page-resources-best-online-betting-platforms-2023__blog-card {
    padding: 20px;
  }

  .page-resources-best-online-betting-platforms-2023__review-content-card h2,
  .page-resources-best-online-betting-platforms-2023__games-section h2,
  .page-resources-best-online-betting-platforms-2023__promotions-section h2,
  .page-resources-best-online-betting-platforms-2023__blog-section h2,
  .page-resources-best-online-betting-platforms-2023__faq-section h2 {
    font-size: 26px;
  }

  .page-resources-best-online-betting-platforms-2023__review-content-card h3 {
    font-size: 20px;
  }

  .page-resources-best-online-betting-platforms-2023__review-body p,
  .page-resources-best-online-betting-platforms-2023__game-card p,
  .page-resources-best-online-betting-platforms-2023__promo-card p,
  .page-resources-best-online-betting-platforms-2023__blog-card p {
    font-size: 14px;
  }

  .page-resources-best-online-betting-platforms-2023__game-type-icon,
  .page-resources-best-online-betting-platforms-2023__promo-icon {
    width: 90px;
    height: 90px;
  }

  .page-resources-best-online-betting-platforms-2023__blog-card h3 {
    font-size: 18px;
  }

  .page-resources-best-online-betting-platforms-2023__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-best-online-betting-platforms-2023__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-best-online-betting-platforms-2023__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-best-online-betting-platforms-2023__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-best-online-betting-platforms-2023__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-best-online-betting-platforms-2023__faq-item.active .page-resources-best-online-betting-platforms-2023__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive and prevent overflow */
  .page-resources-best-online-betting-platforms-2023 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-best-online-betting-platforms-2023__section,
  .page-resources-best-online-betting-platforms-2023__container,
  .page-resources-best-online-betting-platforms-2023__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}