.page-resources-online-gambling-guide {
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-online-gambling-guide__hero-section {
  background-color: #1A237E;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-online-gambling-guide__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-resources-online-gambling-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for emphasis */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-gambling-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-gambling-guide__hero-button {
  display: inline-block;
  background-color: #FFC107;
  color: #1A237E;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-online-gambling-guide__hero-button:hover {
  background-color: #e5ac00;
  transform: translateY(-3px);
}

.page-resources-online-gambling-guide__hero-image-wrapper {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-resources-online-gambling-guide__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-online-gambling-guide__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #1A237E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-gambling-guide__back-link:hover {
  color: #FFC107;
}

.page-resources-online-gambling-guide__back-link--bottom {
  margin-top: 50px;
  margin-bottom: 0;
}

.page-resources-online-gambling-guide__section-title {
  font-size: 2.5em;
  color: #1A237E;
  margin-top: 60px;
  margin-bottom: 25px;
  border-bottom: 3px solid #FFC107;
  padding-bottom: 10px;
}

.page-resources-online-gambling-guide__sub-section-title {
  font-size: 1.8em;
  color: #1A237E;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-resources-online-gambling-guide__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources-online-gambling-guide__list-item {
  margin-bottom: 10px;
}

.page-resources-online-gambling-guide__button {
  display: inline-block;
  background-color: #1A237E;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-online-gambling-guide__button:hover {
  background-color: #5f65a5;
  transform: translateY(-2px);
}

.page-resources-online-gambling-guide__button--primary {
  background-color: #FFC107;
  color: #1A237E;
}

.page-resources-online-gambling-guide__button--primary:hover {
  background-color: #e5ac00;
  color: #1A237E;
}

.page-resources-online-gambling-guide__image-container {
  margin: 40px 0;
  text-align: center;
}

.page-resources-online-gambling-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-online-gambling-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-online-gambling-guide__hero-description,
  .page-resources-online-gambling-guide__paragraph,
  .page-resources-online-gambling-guide__list {
    font-size: 1em;
  }

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

  .page-resources-online-gambling-guide__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources-online-gambling-guide__hero-button,
  .page-resources-online-gambling-guide__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-online-gambling-guide__content-area {
    padding: 0 15px;
  }

  .page-resources-online-gambling-guide__content-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-online-gambling-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-online-gambling-guide__hero-section {
    padding: 60px 15px;
  }

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

  .page-resources-online-gambling-guide__sub-section-title {
    font-size: 1.3em;
  }
}