.page-resources-online-betting-guide {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-resources-online-betting-guide__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: center;
}

.page-resources-online-betting-guide__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Adjust as needed */
  margin: 0 auto;
}

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

.page-resources-online-betting-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 40px;
  background: rgba(10, 25, 47, 0.8); /* Dark blue with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 1;
  text-align: center;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Accent gold color */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-resources-online-betting-guide__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.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.page-resources-online-betting-guide__button--primary {
  background-color: #FFD700; /* Accent gold color */
  color: #0A192F; /* Dark blue text */
  border: none;
}

.page-resources-online-betting-guide__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-online-betting-guide__button--secondary {
  background-color: #0A192F; /* Dark blue background */
  color: #FFD700; /* Accent gold text */
  border: 2px solid #FFD700;
}

.page-resources-online-betting-guide__button--secondary:hover {
  background-color: #1a3052;
  transform: translateY(-2px);
}

.page-resources-online-betting-guide__button--inline {
  background-color: #FFD700; /* Accent gold color */
  color: #0A192F; /* Dark blue text */
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 6px;
  margin-top: 15px;
  border: none;
}

.page-resources-online-betting-guide__button--inline:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
}

.page-resources-online-betting-guide__content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0A192F; /* Dark blue background for content */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.page-resources-online-betting-guide__article {
  line-height: 1.7;
}

.page-resources-online-betting-guide__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Accent gold color */
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-resources-online-betting-guide__sub-section-title {
  font-size: 1.7em;
  color: #FFD700; /* Accent gold color */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-online-betting-guide__paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-resources-online-betting-guide__paragraph strong {
  color: #FFD700;
}

.page-resources-online-betting-guide__image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-online-betting-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-online-betting-guide__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-resources-online-betting-guide__back-link-container {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-betting-guide__back-link {
  color: #FFD700;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-betting-guide__back-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

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

  .page-resources-online-betting-guide__hero-content {
    padding: 30px;
  }

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

  .page-resources-online-betting-guide__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-betting-guide__hero-content {
    width: 95%;
    padding: 25px;
  }

  .page-resources-online-betting-guide__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

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

  .page-resources-online-betting-guide__button {
    width: 100%;
    max-width: 300px; /* Constrain button width */
  }

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

  .page-resources-online-betting-guide__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-resources-online-betting-guide__sub-section-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-online-betting-guide__paragraph {
    font-size: 0.95em;
  }

  .page-resources-online-betting-guide__image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-online-betting-guide__faq-item {
    padding: 15px;
  }

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

  .page-resources-online-betting-guide__back-link-container {
    margin-top: 40px;
    padding-top: 20px;
  }

  .page-resources-online-betting-guide__back-link {
    font-size: 1em;
  }

  /* Ensure content images do not overflow */
  .page-resources-online-betting-guide img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@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__button {
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

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