.page-resources-philippine-betting-regulations {
  color: #333333; /* Dark text on light background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-philippine-betting-regulations__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text contrast */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 40px; /* Add padding below hero content */
}

.page-resources-philippine-betting-regulations__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the image for text readability */
}

.page-resources-philippine-betting-regulations__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; /* Ensure hero section has a minimum height */
}

.page-resources-philippine-betting-regulations__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-resources-philippine-betting-regulations__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-philippine-betting-regulations__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.page-resources-philippine-betting-regulations__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-philippine-betting-regulations__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;
  font-size: 1em;
  white-space: nowrap;
}

.page-resources-philippine-betting-regulations__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-philippine-betting-regulations__button--register:hover {
  background-color: #F0F0F0;
  color: #000000;
}

.page-resources-philippine-betting-regulations__button--learn-more,
.page-resources-philippine-betting-regulations__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-philippine-betting-regulations__button--learn-more:hover,
.page-resources-philippine-betting-regulations__button--join-now:hover {
  background-color: #e0a73d;
  color: #000000;
}

.page-resources-philippine-betting-regulations__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.page-resources-philippine-betting-regulations__article-container {
  padding: 0 15px;
}

.page-resources-philippine-betting-regulations__intro-paragraph {
  font-size: 1.15em;
  margin-bottom: 30px;
  line-height: 1.7;
  font-weight: 500;
}

.page-resources-philippine-betting-regulations__heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-philippine-betting-regulations__sub-heading {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-philippine-betting-regulations__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-resources-philippine-betting-regulations__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);
}

.page-resources-philippine-betting-regulations__image--centered {
  text-align: center;
}

.page-resources-philippine-betting-regulations__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 50px;
}

.page-resources-philippine-betting-regulations__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources-philippine-betting-regulations__related-resources {
  margin-top: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.page-resources-philippine-betting-regulations__resource-list {
  list-style: none;
  padding: 0;
}

.page-resources-philippine-betting-regulations__resource-item {
  margin-bottom: 10px;
}

.page-resources-philippine-betting-regulations__resource-item a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-philippine-betting-regulations__resource-item a:hover {
  color: #e0a73d;
  text-decoration: underline;
}

.page-resources-philippine-betting-regulations__back-link {
  display: inline-block;
  margin-top: 40px;
  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-philippine-betting-regulations__back-link:hover {
  background-color: #000000;
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .page-resources-philippine-betting-regulations__hero-title {
    font-size: 2.2em;
  }

  .page-resources-philippine-betting-regulations__hero-description {
    font-size: 1em;
  }

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

  .page-resources-philippine-betting-regulations__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-philippine-betting-regulations__heading {
    font-size: 1.8em;
  }

  .page-resources-philippine-betting-regulations__sub-heading {
    font-size: 1.4em;
  }

  .page-resources-philippine-betting-regulations__cta-text {
    font-size: 1.2em;
  }

  .page-resources-philippine-betting-regulations__image {
    max-width: 100%;
    height: auto;
  }

  /* Mobile content image constraint */
  .page-resources-philippine-betting-regulations img {
    max-width: 100%;
    height: auto;
  }
}