.page-resources-sports-betting-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body */
  line-height: 1.6;
}

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

.page-resources-sports-betting-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

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

.page-resources-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-resources-sports-betting-guide__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
}

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

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

.page-resources-sports-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-sports-betting-guide__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-resources-sports-betting-guide__btn-secondary {
  background-color: #ffc107;
  color: #333333; /* Dark text for light background */
  border: 2px solid #ffc107;
  margin-left: 20px;
}

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

.page-resources-sports-betting-guide__section-title {
  font-size: 2.5em;
  color: #ffc107;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-resources-sports-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-resources-sports-betting-guide__introduction-section,
.page-resources-sports-betting-guide__how-to-bet-section,
.page-resources-sports-betting-guide__advantages-section,
.page-resources-sports-betting-guide__conclusion-section {
  padding: 60px 0;
}

.page-resources-sports-betting-guide__betting-types-section,
.page-resources-sports-betting-guide__tips-section,
.page-resources-sports-betting-guide__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

.page-resources-sports-betting-guide__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-resources-sports-betting-guide__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-sports-betting-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-sports-betting-guide__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-sports-betting-guide__list-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-resources-sports-betting-guide__list-item strong {
  color: #ffc107;
}

.page-resources-sports-betting-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-resources-sports-betting-guide__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-resources-sports-betting-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-sports-betting-guide__video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4em;
  color: #ffffff;
  opacity: 0.8;
  pointer-events: none; /* Allow click to pass through */
  z-index: 10;
}

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

.page-resources-sports-betting-guide__card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #f0f0f0;
}

.page-resources-sports-betting-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-resources-sports-betting-guide__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-resources-sports-betting-guide__feature-card {
  background-color: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-resources-sports-betting-guide__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Enforcing minimum size */
  min-height: 200px; /* Enforcing minimum size */
}

.page-resources-sports-betting-guide__feature-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-resources-sports-betting-guide__feature-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

.page-resources-sports-betting-guide__faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-resources-sports-betting-guide__faq-question:hover {
  background-color: #0056b3;
}

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

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-toggle {
  transform: rotate(45deg); /* Change + to X-like or - */
}

.page-resources-sports-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #1a1a1a;
  color: #e0e0e0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

.page-resources-sports-betting-guide__conclusion-section .page-resources-sports-betting-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-sports-betting-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-sports-betting-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-sports-betting-guide__section-title {
    font-size: 2em;
  }
  .page-resources-sports-betting-guide__text-block,
  .page-resources-sports-betting-guide__list-item,
  .page-resources-sports-betting-guide__card-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-sports-betting-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-sports-betting-guide__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .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__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-resources-sports-betting-guide__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-resources-sports-betting-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-sports-betting-guide__introduction-section,
  .page-resources-sports-betting-guide__how-to-bet-section,
  .page-resources-sports-betting-guide__advantages-section,
  .page-resources-sports-betting-guide__conclusion-section,
  .page-resources-sports-betting-guide__betting-types-section,
  .page-resources-sports-betting-guide__tips-section,
  .page-resources-sports-betting-guide__faq-section {
    padding: 40px 0;
  }
  .page-resources-sports-betting-guide__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-resources-sports-betting-guide__card,
  .page-resources-sports-betting-guide__feature-card {
    padding: 20px;
  }
  .page-resources-sports-betting-guide__feature-icon {
    min-width: 150px; /* Adjusted for mobile */
    min-height: 150px; /* Adjusted for mobile */
  }
  .page-resources-sports-betting-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-sports-betting-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-resources-sports-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources-sports-betting-guide__cta-button {
    width: 100%;
  }
  .page-resources-sports-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-sports-betting-guide video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-sports-betting-guide__section,
  .page-resources-sports-betting-guide__card,
  .page-resources-sports-betting-guide__container,
  .page-resources-sports-betting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-sports-betting-guide__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }
  .page-resources-sports-betting-guide__video {
    min-width: unset; /* Remove min-width on mobile */
    min-height: unset; /* Remove min-height on mobile */
  }
}

@media (max-width: 480px) {
  .page-resources-sports-betting-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-sports-betting-guide__hero-description {
    font-size: 0.9em;
  }
  .page-resources-sports-betting-guide__hero-section {
    height: 400px;
  }
  .page-resources-sports-betting-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-sports-betting-guide__cta-button {
    font-size: 0.85em;
    padding: 10px 20px;
  }
}