.page-resources-online-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-online-betting-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f0f0f0; /* Light background for hero section */
  overflow: hidden; /* Prevent image overflow */
}

.page-resources-online-betting-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-resources-online-betting-guide__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire hero section */
  filter: brightness(0.5); /* Darken image for better text readability */
}

.page-resources-online-betting-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFFFFF; /* White text on darkened image background */
  padding: 20px;
  border-radius: 8px;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-online-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources-online-betting-guide__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-resources-online-betting-guide__button--register {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* White text as specified */
  border: 2px solid #FFFFFF;
}

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

.page-resources-online-betting-guide__button--login {
  background-color: #000000; /* Main color as background */
  color: #FCBC45; /* Login color as specified */
  border: 2px solid #FCBC45;
}

.page-resources-online-betting-guide__button--login:hover {
  background-color: #333333;
}

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

.page-resources-online-betting-guide__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

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

.page-resources-online-betting-guide__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-online-betting-guide__step-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-online-betting-guide__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide */
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Minimum image height */
  min-width: 200px; /* Minimum image width */
}

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

.page-resources-online-betting-guide__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-online-betting-guide__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  margin-top: auto; /* Push button to bottom */
}

.page-resources-online-betting-guide__button--small:hover {
  background-color: #333333;
}

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

.page-resources-online-betting-guide__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-online-betting-guide__strategy-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-resources-online-betting-guide__strategy-list li {
  margin-bottom: 10px;
}

.page-resources-online-betting-guide__image-full-width {
  width: 100%;
  max-width: 800px; /* Constrain within content area */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px;
  min-width: 200px;
}

.page-resources-online-betting-guide__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-resources-online-betting-guide__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-resources-online-betting-guide__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-resources-online-betting-guide__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
  align-items: center;
}

.page-resources-online-betting-guide__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  font-size: 1.1em;
  border: 2px solid #000000;
}

.page-resources-online-betting-guide__button--primary:hover {
  background-color: #333333;
}

.page-resources-online-betting-guide__button--secondary {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-resources-online-betting-guide__button--secondary:hover {
  background-color: #e0e0e0;
}

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

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

  .page-resources-online-betting-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-resources-online-betting-guide__step-by-step,
  .page-resources-online-betting-guide__game-categories {
    grid-template-columns: 1fr;
  }

  .page-resources-online-betting-guide__hero-section,
  .page-resources-online-betting-guide__content-area {
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }

  /* Mobile specific image sizing for content area */
  .page-resources-online-betting-guide img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure content images are not too small */
    min-height: 200px;
  }

  .page-resources-online-betting-guide__hero-image img {
    min-width: unset;
    min-height: unset;
  }

  .page-resources-online-betting-guide__card-image,
  .page-resources-online-betting-guide__image-full-width,
  .page-resources-online-betting-guide__game-card img {
    max-width: 100%;
    height: auto;
  }
}