.page-resources-how-to-choose-best-online-casino {
  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 below fixed header */
}

.page-resources-how-to-choose-best-online-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
}

.page-resources-how-to-choose-best-online-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.page-resources-how-to-choose-best-online-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.5); /* Darken image for text readability */
  z-index: 0;
}

.page-resources-how-to-choose-best-online-casino__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
  max-width: 800px;
}

.page-resources-how-to-choose-best-online-casino__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-how-to-choose-best-online-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources-how-to-choose-best-online-casino__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-how-to-choose-best-online-casino__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;
  font-size: 1.1em;
}

.page-resources-how-to-choose-best-online-casino__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-how-to-choose-best-online-casino__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-resources-how-to-choose-best-online-casino__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-how-to-choose-best-online-casino__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-resources-how-to-choose-best-online-casino__content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-best-online-casino__article {
  padding: 20px 0;
}

.page-resources-how-to-choose-best-online-casino__section-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-how-to-choose-best-online-casino__sub-section-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-best-online-casino__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-how-to-choose-best-online-casino__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-resources-how-to-choose-best-online-casino__article-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-best-online-casino__numbered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-how-to-choose-best-online-casino__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-how-to-choose-best-online-casino__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
}

.page-resources-how-to-choose-best-online-casino__button--primary:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-resources-how-to-choose-best-online-casino__button--secondary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-resources-how-to-choose-best-online-casino__button--secondary:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-resources-how-to-choose-best-online-casino__return-link-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-resources-how-to-choose-best-online-casino__return-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border: 1px solid #000000;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-how-to-choose-best-online-casino__return-link:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-how-to-choose-best-online-casino__hero-title {
    font-size: 2em;
  }

  .page-resources-how-to-choose-best-online-casino__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-choose-best-online-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-choose-best-online-casino__button {
    width: 100%;
  }

  .page-resources-how-to-choose-best-online-casino__content-area {
    padding: 20px 15px;
  }

  .page-resources-how-to-choose-best-online-casino__section-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-best-online-casino__sub-section-title {
    font-size: 1.3em;
  }

  .page-resources-how-to-choose-best-online-casino__paragraph,
  .page-resources-how-to-choose-best-online-casino__list-item {
    font-size: 1em;
  }

  /* Ensure content images are responsive and not too small */
  .page-resources-how-to-choose-best-online-casino__article-image {
    max-width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }

  /* Ensure all img elements within the content area adhere to min-size */
  .page-resources-how-to-choose-best-online-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

/* Desktop adjustments for hero image to ensure it's not too small on larger screens */
@media (min-width: 769px) {
  .page-resources-how-to-choose-best-online-casino__hero-image {
    height: 600px; /* Fixed height for desktop hero image */
  }
  .page-resources-how-to-choose-best-online-casino__hero-container {
    min-height: 600px; /* Ensure container matches image height */
  }
  .page-resources-how-to-choose-best-online-casino__hero-content {
    padding: 40px;
  }
  .page-resources-how-to-choose-best-online-casino__hero-title {
    font-size: 3.5em;
  }
}

/* Ensure content area does not cause horizontal scroll */
@media (max-width: 768px) {
  .page-resources-how-to-choose-best-online-casino {
    overflow-x: hidden;
  }
}