/* style/resources-online-betting-guide.css */
.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); /* Ensures 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;
  padding: 80px 20px 40px;
  background-color: #1A2E44; /* Main brand color for hero background */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-resources-online-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

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

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

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

.page-resources-online-betting-guide__cta-button--primary {
  background-color: #FFD700; /* Auxiliary color for primary CTA */
  color: #1A2E44;
}

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

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

.page-resources-online-betting-guide__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A2E44;
  transform: translateY(-2px);
}

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

.page-resources-online-betting-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image to ensure text readability */
}

.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__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #1A2E44;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-betting-guide__back-link:hover {
  color: #FFD700;
}

.page-resources-online-betting-guide__article-heading {
  font-size: 2.2em;
  color: #1A2E44;
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-online-betting-guide__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-online-betting-guide__article-paragraph a {
  color: #1A2E44;
  text-decoration: underline;
}

.page-resources-online-betting-guide__article-paragraph a:hover {
  color: #FFD700;
}

.page-resources-online-betting-guide__step-by-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-online-betting-guide__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FFD700;
}

.page-resources-online-betting-guide__step-title {
  font-size: 1.6em;
  color: #1A2E44;
  margin-bottom: 15px;
}

.page-resources-online-betting-guide__step-description {
  font-size: 1.05em;
  margin-bottom: 20px;
}

.page-resources-online-betting-guide__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  display: block;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-resources-online-betting-guide__article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-resources-online-betting-guide__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources-online-betting-guide__tip-item {
  background-color: #eef4f8;
  border-left: 4px solid #1A2E44;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
}

.page-resources-online-betting-guide__tip-item strong {
  color: #1A2E44;
}

.page-resources-online-betting-guide__tip-item a {
  color: #1A2E44;
  text-decoration: underline;
}

.page-resources-online-betting-guide__tip-item a:hover {
  color: #FFD700;
}

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

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

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

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

.page-resources-online-betting-guide__final-cta {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

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

@media (max-width: 768px) {
  .page-resources-online-betting-guide__hero-section {
    padding: 60px 15px 30px;
  }
  .page-resources-online-betting-guide__hero-title {
    font-size: 2.5em;
  }
  .page-resources-online-betting-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-online-betting-guide__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-online-betting-guide__cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-online-betting-guide__content-area {
    margin: 30px auto;
    padding: 0 15px;
  }
  .page-resources-online-betting-guide__article-heading {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-resources-online-betting-guide__article-paragraph {
    font-size: 1em;
  }
  .page-resources-online-betting-guide__step-card {
    padding: 25px;
  }
  .page-resources-online-betting-guide__step-title {
    font-size: 1.4em;
  }
  .page-resources-online-betting-guide__tip-item {
    padding: 12px 15px;
  }
  .page-resources-online-betting-guide__faq-question {
    font-size: 1.2em;
  }
  .page-resources-online-betting-guide__final-cta {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  /* Mobile image scaling, ensure no horizontal scroll */
  .page-resources-online-betting-guide img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-guide__hero-title {
    font-size: 2em;
  }
  .page-resources-online-betting-guide__hero-description {
    font-size: 0.95em;
  }
  .page-resources-online-betting-guide__article-heading {
    font-size: 1.6em;
  }
  .page-resources-online-betting-guide__step-title {
    font-size: 1.2em;
  }
  .page-resources-online-betting-guide__faq-question {
    font-size: 1.1em;
  }
}

/* Ensure content area does not cause horizontal scroll */
.page-resources-online-betting-guide {
  overflow-x: hidden;
}