/* style/resources-sports-betting-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: #ffffff;
  --login-button-color: #EA7C07;
}

.page-resources-sports-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Body background is dark, so text should be light */
  background-color: var(--background-dark); /* Inherited from shared.css, explicitly set for consistency */
}

.page-resources-sports-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-sports-betting-guide__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, #26A9E0 0%, #1a7bb0 100%);
  color: var(--light-text-color);
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-sports-betting-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-sports-betting-guide__cta-buttons--center {
  margin-top: 30px;
}

.page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-betting-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-sports-betting-guide__btn-primary {
  background-color: var(--login-button-color); /* Using login color for primary action */
  color: var(--light-text-color);
  border: 2px solid var(--login-button-color);
}

.page-resources-sports-betting-guide__btn-primary:hover {
  background-color: #e06c00;
  border-color: #e06c00;
  transform: translateY(-2px);
}

.page-resources-sports-betting-guide__btn-secondary {
  background-color: transparent;
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.page-resources-sports-betting-guide__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* General Section Styles */
.page-resources-sports-betting-guide__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-sports-betting-guide__section:last-of-type {
  border-bottom: none;
}

.page-resources-sports-betting-guide__content-area {
  background-color: var(--background-dark);
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-resources-sports-betting-guide__section-title--light {
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-resources-sports-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__text-block--light {
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover; /* Ensures images fill their space nicely */
}

.page-resources-sports-betting-guide__list,
.page-resources-sports-betting-guide__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__ordered-list {
  list-style-type: decimal;
}

.page-resources-sports-betting-guide__list-item-strong {
  color: var(--light-text-color);
}

/* Dark background sections */
.page-resources-sports-betting-guide__dark-bg {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__final-cta {
  text-align: center;
  padding: 80px 0;
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, #26A9E0 0%, #1a7bb0 100%);
}

/* FAQ Section */
.page-resources-sports-betting-guide__faq-list {
  margin-top: 40px;
}

.page-resources-sports-betting-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-sports-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--light-text-color);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-sports-betting-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-sports-betting-guide__faq-question h3 {
  margin: 0;
  color: var(--light-text-color);
  font-size: 1.2em;
}

.page-resources-sports-betting-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-sports-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--light-text-color);
}

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
  padding-top: 0;
}

.page-resources-sports-betting-guide__faq-answer p {
  margin-bottom: 0;
  color: var(--light-text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-sports-betting-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-sports-betting-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-sports-betting-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-sports-betting-guide__sub-title {
    font-size: 1.5em;
  }

  .page-resources-sports-betting-guide__text-block,
  .page-resources-sports-betting-guide__list-item-strong,
  .page-resources-sports-betting-guide__faq-question h3,
  .page-resources-sports-betting-guide__faq-answer p {
    font-size: 1em;
  }

  .page-resources-sports-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-sports-betting-guide__btn-primary,
  .page-resources-sports-betting-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-sports-betting-guide__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources-sports-betting-guide__section,
  .page-resources-sports-betting-guide__hero-section,
  .page-resources-sports-betting-guide__content-area,
  .page-resources-sports-betting-guide__faq-list,
  .page-resources-sports-betting-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-resources-sports-betting-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-sports-betting-guide__faq-question {
    padding: 15px;
  }

  .page-resources-sports-betting-guide__faq-answer {
    padding: 0 15px;
  }

  .page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-answer {
    padding: 15px;
    padding-top: 0;
  }

  .page-resources-sports-betting-guide__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* Ensure images do not have filters */
.page-resources-sports-betting-guide img {
  filter: none;
}