.page-sports-betting-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, but explicitly set for clarity */
}

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

.page-sports-betting-guide__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  overflow: hidden;
}

.page-sports-betting-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-sports-betting-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports-betting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-sports-betting-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-sports-betting-guide__btn-primary,
.page-sports-betting-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-sports-betting-guide__btn-primary {
  background-color: #FFD700;
  color: #1A202C; /* Dark text for bright background */
  border: 2px solid #FFD700;
}

.page-sports-betting-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-sports-betting-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-sports-betting-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-sports-betting-guide__btn--center {
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
}

.page-sports-betting-guide__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-sports-betting-guide__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-sports-betting-guide__why-choose-section,
.page-sports-betting-guide__how-to-bet-section,
.page-sports-betting-guide__promotions-section,
.page-sports-betting-guide__cta-section {
  padding: 80px 0;
}

.page-sports-betting-guide__bet-types-section,
.page-sports-betting-guide__strategies-section,
.page-sports-betting-guide__faq-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-sports-betting-guide__light-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-sports-betting-guide__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-sports-betting-guide__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports-betting-guide__content-grid:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-sports-betting-guide__text-block {
  flex: 1;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-sports-betting-guide__text-block h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-sports-betting-guide__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-sports-betting-guide__image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-sports-betting-guide__image--center {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.page-sports-betting-guide__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports-betting-guide__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports-betting-guide__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports-betting-guide__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports-betting-guide__card p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports-betting-guide__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports-betting-guide__step-list li {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for dark background */
  border-left: 5px solid #FFD700;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-sports-betting-guide__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-sports-betting-guide__step-list p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports-betting-guide__step-list .page-sports-betting-guide__btn-primary {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-sports-betting-guide__tip-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports-betting-guide__tip-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports-betting-guide__tip-list p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports-betting-guide__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports-betting-guide__faq-list {
  margin-top: 40px;
}

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

.page-sports-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A202C;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports-betting-guide__faq-question:hover {
  background-color: #2a3447;
}

.page-sports-betting-guide__faq-question h3 {
  margin: 0;
  color: #FFD700;
}

.page-sports-betting-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

.page-sports-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.03);
  color: #f0f0f0;
}

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

.page-sports-betting-guide__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

.page-sports-betting-guide__cta-content {
  text-align: center;
  padding: 60px 20px;
  background-color: #1A202C;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports-betting-guide__cta-content .page-sports-betting-guide__section-title {
  color: #FFD700;
}

.page-sports-betting-guide__cta-content .page-sports-betting-guide__section-description {
  color: #ffffff;
  margin-bottom: 30px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports-betting-guide__hero-title {
    font-size: 3em;
  }
  .page-sports-betting-guide__section-title {
    font-size: 2.2em;
  }
  .page-sports-betting-guide__content-grid {
    flex-direction: column;
  }
  .page-sports-betting-guide__content-grid:nth-of-type(even) {
    flex-direction: column;
  }
  .page-sports-betting-guide__image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports-betting-guide__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports-betting-guide__hero-title {
    font-size: 2.2em;
  }
  .page-sports-betting-guide__hero-description {
    font-size: 1em;
  }
  .page-sports-betting-guide__section-title {
    font-size: 1.8em;
  }
  .page-sports-betting-guide__section-description {
    font-size: 0.9em;
  }
  .page-sports-betting-guide__container {
    padding: 0 15px;
  }

  /* Mobile image adaptation */
  .page-sports-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports-betting-guide__section,
  .page-sports-betting-guide__card,
  .page-sports-betting-guide__container,
  .page-sports-betting-guide__hero-section,
  .page-sports-betting-guide__why-choose-section,
  .page-sports-betting-guide__bet-types-section,
  .page-sports-betting-guide__how-to-bet-section,
  .page-sports-betting-guide__strategies-section,
  .page-sports-betting-guide__promotions-section,
  .page-sports-betting-guide__faq-section,
  .page-sports-betting-guide__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Mobile button adaptation */
  .page-sports-betting-guide__btn-primary,
  .page-sports-betting-guide__btn-secondary,
  .page-sports-betting-guide a[class*="button"],
  .page-sports-betting-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports-betting-guide__hero-buttons,
  .page-sports-betting-guide__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
  }
  .page-sports-betting-guide__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Content image CSS size lower bound check for mobile */
  .page-sports-betting-guide__content-area img,
  .page-sports-betting-guide__image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-sports-betting-guide__hero-title {
    font-size: 1.8em;
  }
  .page-sports-betting-guide__section-title {
    font-size: 1.5em;
  }
  .page-sports-betting-guide__hero-buttons {
    flex-direction: column;
  }
  .page-sports-betting-guide__card {
    padding: 20px;
  }
  .page-sports-betting-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-sports-betting-guide__faq-answer {
    padding: 0 20px;
  }
  .page-sports-betting-guide__faq-item.active .page-sports-betting-guide__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}