.page-resources-online-betting-guide {
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-resources-online-betting-guide__hero-section {
  background-color: #0A2463; /* Main color */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-resources-online-betting-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-online-betting-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-resources-online-betting-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 20px;
  z-index: 10;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E3B23C; /* Accent color for title */
  line-height: 1.2;
}

.page-resources-online-betting-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-resources-online-betting-guide__hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-online-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-resources-online-betting-guide__cta-button--primary {
  background-color: #E3B23C; /* Accent color */
  color: #0A2463;
  border: 2px solid #E3B23C;
}

.page-resources-online-betting-guide__cta-button--primary:hover {
  background-color: #f5db9c;
  transform: translateY(-3px);
}

.page-resources-online-betting-guide__cta-button--secondary {
  background-color: transparent;
  color: #E3B23C;
  border: 2px solid #E3B23C;
}

.page-resources-online-betting-guide__cta-button--secondary:hover {
  background-color: #0A2463;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-resources-online-betting-guide__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-online-betting-guide__article-wrapper {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-online-betting-guide__article-heading {
  font-size: 2em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #E3B23C;
  padding-bottom: 10px;
}

.page-resources-online-betting-guide__sub-heading {
  font-size: 1.5em;
  color: #0A2463;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-betting-guide__article-wrapper p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444444;
}

.page-resources-online-betting-guide__ordered-list,
.page-resources-online-betting-guide__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-resources-online-betting-guide__ordered-list li,
.page-resources-online-betting-guide__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555555;
}

.page-resources-online-betting-guide__ordered-list li strong,
.page-resources-online-betting-guide__unordered-list li strong {
  color: #0A2463;
}

.page-resources-online-betting-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image width */
  min-height: 200px; /* Enforce minimum image height */
}

.page-resources-online-betting-guide__faq-container {
  margin-top: 40px;
}

.page-resources-online-betting-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-resources-online-betting-guide__faq-question {
  font-size: 1.2em;
  color: #0A2463;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-online-betting-guide__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5em;
  line-height: 1;
  color: #E3B23C;
}

.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-question::after {
  content: '-';
}

.page-resources-online-betting-guide__faq-answer {
  font-size: 1.05em;
  color: #666666;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-answer {
  display: block;
}

.page-resources-online-betting-guide__final-cta {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

  .page-resources-online-betting-guide__hero-content {
    width: 90%;
    padding: 15px;
  }

  .page-resources-online-betting-guide__article-heading {
    font-size: 1.6em;
  }

  .page-resources-online-betting-guide__sub-heading {
    font-size: 1.3em;
  }

  .page-resources-online-betting-guide__article-wrapper {
    padding: 20px;
  }

  .page-resources-online-betting-guide__content-area {
    padding: 0 15px;
  }

  .page-resources-online-betting-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-online-betting-guide__hero-image {
    max-width: 100%;
    height: auto; /* Ensure images don't overflow */
  }

  /* Mobile content images must not overflow */
  .page-resources-online-betting-guide__content-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-guide__hero-title {
    font-size: 1.8em;
  }

  .page-resources-online-betting-guide__hero-description {
    font-size: 0.9em;
  }

  .page-resources-online-betting-guide__hero-cta {
    flex-direction: column;
  }

  .page-resources-online-betting-guide__cta-button {
    width: 100%;
  }

  .page-resources-online-betting-guide__article-heading {
    font-size: 1.4em;
  }

  .page-resources-online-betting-guide__sub-heading {
    font-size: 1.2em;
  }

  .page-resources-online-betting-guide__article-wrapper p,
  .page-resources-online-betting-guide__ordered-list li,
  .page-resources-online-betting-guide__unordered-list li {
    font-size: 1em;
  }

  .page-resources-online-betting-guide__faq-question {
    font-size: 1.1em;
  }

  .page-resources-online-betting-guide__final-cta {
    flex-direction: column;
  }
}