.page-sports-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #1a1a2e, so text should be light */
  background-color: #1a1a2e; /* Ensure consistency with body background */
}

.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;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

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

.page-sports-betting-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-sports-betting-guide__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.page-sports-betting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.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;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-sports-betting-guide__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

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

.page-sports-betting-guide__btn-secondary {
  background-color: #C30808; /* Use Login/Register color for secondary CTA */
  color: #FFFF00; /* Use Login/Register font color */
  border: 2px solid #C30808;
}

.page-sports-betting-guide__btn-secondary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-sports-betting-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports-betting-guide__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-sports-betting-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-sports-betting-guide__content-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

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

.page-sports-betting-guide__feature-card,
.page-sports-betting-guide__bet-type-card,
.page-sports-betting-guide__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-sports-betting-guide__feature-image,
.page-sports-betting-guide__bet-type-image,
.page-sports-betting-guide__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-sports-betting-guide__feature-title,
.page-sports-betting-guide__bet-type-title,
.page-sports-betting-guide__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-sports-betting-guide__feature-text,
.page-sports-betting-guide__bet-type-text,
.page-sports-betting-guide__step-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-sports-betting-guide__btn-text {
  color: #FFFF00; /* Use Login/Register font color */
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-sports-betting-guide__btn-text:hover {
  text-decoration: underline;
}

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

.page-sports-betting-guide__strategy-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-sports-betting-guide__strategy-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFFF00; /* Highlight strategy titles */
}

.page-sports-betting-guide__strategy-item p {
  color: #f0f0f0;
}

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

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

.page-sports-betting-guide__step-number {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 auto 15px;
}

.page-sports-betting-guide__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  transition: background-color 0.3s ease;
}

.page-sports-betting-guide__btn-small:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-sports-betting-guide__faq-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-sports-betting-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  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: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-sports-betting-guide__faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #ffffff;
}

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

.page-sports-betting-guide__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00; /* Highlight toggle icon */
  transition: transform 0.3s ease;
}

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

.page-sports-betting-guide__faq-answer p {
  padding-bottom: 15px; /* Adjust as needed */
  margin: 0;
}

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

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

.page-sports-betting-guide__cta-section {
  background-color: #1a1a2e;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-sports-betting-guide__cta-section .page-sports-betting-guide__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-sports-betting-guide__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports-betting-guide__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  color: #f0f0f0;
}

.page-sports-betting-guide__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports-betting-guide__hero-title {
    font-size: 3em;
  }
  .page-sports-betting-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports-betting-guide__hero-section {
    height: 500px;
  }
  .page-sports-betting-guide__hero-title {
    font-size: 2.5em;
  }
  .page-sports-betting-guide__hero-description {
    font-size: 1em;
  }
  .page-sports-betting-guide__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports-betting-guide__btn-primary,
  .page-sports-betting-guide__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit button width on smaller screens */
    margin: 0 auto;
  }
  .page-sports-betting-guide__section-title {
    font-size: 1.8em;
  }
  .page-sports-betting-guide__section-intro {
    font-size: 0.95em;
  }
  .page-sports-betting-guide__features-grid,
  .page-sports-betting-guide__bet-types-grid,
  .page-sports-betting-guide__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-sports-betting-guide__strategy-title {
    font-size: 1.4em;
  }
  .page-sports-betting-guide__cta-title {
    font-size: 2em;
  }
  .page-sports-betting-guide__cta-description {
    font-size: 1em;
  }
  
  /* Mobile image responsiveness */
  .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__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Button responsiveness */
  .page-sports-betting-guide__cta-button,
  .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__cta-buttons,
  .page-sports-betting-guide__button-group,
  .page-sports-betting-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-sports-betting-guide__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-sports-betting-guide__hero-section {
    height: 400px;
  }
  .page-sports-betting-guide__hero-title {
    font-size: 2em;
  }
  .page-sports-betting-guide__hero-description {
    font-size: 0.9em;
  }
  .page-sports-betting-guide__section-title {
    font-size: 1.5em;
  }
  .page-sports-betting-guide__feature-title,
  .page-sports-betting-guide__bet-type-title,
  .page-sports-betting-guide__step-title {
    font-size: 1.3em;
  }
  .page-sports-betting-guide__faq-question h3 {
    font-size: 1.1em;
  }
  .page-sports-betting-guide__faq-question,
  .page-sports-betting-guide__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}