.page-resources-online-casino-trends {
  color: #333333; /* Dark text for light body background (var(--secondary-color) is white) */
}

.page-resources-online-casino-trends__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  text-align: center;
}

.page-resources-online-casino-trends__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability, not changing color */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-resources-online-casino-trends__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* Adjust as needed */
}

.page-resources-online-casino-trends__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
}

.page-resources-online-casino-trends__back-link {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.page-resources-online-casino-trends__back-link:hover {
  color: #FFFFFF;
}

.page-resources-online-casino-trends__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-resources-online-casino-trends__description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-online-casino-trends__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, color 0.3s ease;
  margin: 10px;
}

.page-resources-online-casino-trends__cta-button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-resources-online-casino-trends__cta-button--register:hover {
  background-color: #e0a53b;
}

.page-resources-online-casino-trends__cta-button--join {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-online-casino-trends__cta-button--join:hover {
  background-color: #e0a53b;
}

.page-resources-online-casino-trends__cta-button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-online-casino-trends__cta-button--download:hover {
  background-color: #1a1a1a;
  border-color: #FCBC45;
  color: #FCBC45;
}

.page-resources-online-casino-trends__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-online-casino-trends__article p {
  margin-bottom: 1.5em;
}

.page-resources-online-casino-trends__section-heading {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-online-casino-trends__sub-heading {
  font-size: 1.6em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-casino-trends__image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-online-casino-trends__call-to-action {
  background-color: #f5f5f5;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  border: 1px solid #e0e0e0;
}

.page-resources-online-casino-trends__call-to-action p {
  font-size: 1.3em;
  margin-bottom: 25px;
  color: #000000;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-online-casino-trends__title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-casino-trends__hero-section {
    padding: 40px 15px;
  }
  .page-resources-online-casino-trends__hero-container {
    padding: 60px 15px;
  }
  .page-resources-online-casino-trends__title {
    font-size: 2.5em;
  }
  .page-resources-online-casino-trends__description {
    font-size: 1em;
  }
  .page-resources-online-casino-trends__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-online-casino-trends__content-area {
    padding: 40px 15px;
    font-size: 1em;
  }
  .page-resources-online-casino-trends__section-heading {
    font-size: 1.8em;
  }
  .page-resources-online-casino-trends__sub-heading {
    font-size: 1.4em;
  }
  .page-resources-online-casino-trends__image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images do not cause horizontal scroll */
  .page-resources-online-casino-trends img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-online-casino-trends__title {
    font-size: 2em;
  }
  .page-resources-online-casino-trends__description {
    font-size: 0.95em;
  }
  .page-resources-online-casino-trends__cta-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-resources-online-casino-trends__section-heading {
    font-size: 1.6em;
  }
  .page-resources-online-casino-trends__sub-heading {
    font-size: 1.2em;
  }
}