.page-resources-mobile-betting-guide {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-mobile-betting-guide__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.page-resources-mobile-betting-guide__hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-resources-mobile-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF; /* Light text on dark overlay */
}

.page-resources-mobile-betting-guide__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight title with login button color */
  font-weight: bold;
}

.page-resources-mobile-betting-guide__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.7;
}

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

.page-resources-mobile-betting-guide__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1em;
}

.page-resources-mobile-betting-guide__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-mobile-betting-guide__button--register:hover {
  background-color: #f0f0f0;
  color: #333333;
}

.page-resources-mobile-betting-guide__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-mobile-betting-guide__button--login:hover {
  background-color: #e0a538;
  border-color: #e0a538;
}

.page-resources-mobile-betting-guide__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-mobile-betting-guide__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-resources-mobile-betting-guide__article-nav {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.page-resources-mobile-betting-guide__back-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.page-resources-mobile-betting-guide__back-link:hover {
  color: #FCBC45;
}

.page-resources-mobile-betting-guide__table-of-contents {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.page-resources-mobile-betting-guide__toc-link {
  color: #000000;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s ease;
}

.page-resources-mobile-betting-guide__toc-link:hover {
  color: #FCBC45;
}

.page-resources-mobile-betting-guide__article-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-mobile-betting-guide__section {
  margin-bottom: 50px;
}

.page-resources-mobile-betting-guide__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 25px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-mobile-betting-guide__sub-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-mobile-betting-guide__section-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
  object-fit: cover;
}

.page-resources-mobile-betting-guide__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-mobile-betting-guide__list li {
  margin-bottom: 10px;
}

.page-resources-mobile-betting-guide__faq-item {
  background-color: #f5f5f5;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-resources-mobile-betting-guide__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-mobile-betting-guide__faq-answer {
  color: #333333;
}

.page-resources-mobile-betting-guide__section--cta {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px 20px;
  border-radius: 10px;
}

.page-resources-mobile-betting-guide__section--cta .page-resources-mobile-betting-guide__section-title {
  color: #FFFFFF;
  border-bottom-color: #FCBC45;
}

.page-resources-mobile-betting-guide__section--cta p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .page-resources-mobile-betting-guide__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-resources-mobile-betting-guide__hero-content {
    padding: 25px 15px;
  }

  .page-resources-mobile-betting-guide__main-title {
    font-size: 2em;
  }

  .page-resources-mobile-betting-guide__intro-description {
    font-size: 1em;
  }

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

  .page-resources-mobile-betting-guide__button {
    width: 100%;
    max-width: 250px;
  }

  .page-resources-mobile-betting-guide__article-nav {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .page-resources-mobile-betting-guide__table-of-contents {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .page-resources-mobile-betting-guide__article-content {
    margin: 20px auto;
    padding: 0 15px;
  }

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

  .page-resources-mobile-betting-guide__sub-title {
    font-size: 1.3em;
  }

  .page-resources-mobile-betting-guide__section-image,
  .page-resources-mobile-betting-guide__section-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure mobile images are not too small */
    min-height: 200px; /* Ensure mobile images are not too small */
  }
}