.page-resources-philippine-online-gambling-legality {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.8;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.page-resources-philippine-online-gambling-legality__hero-section {
  background-color: #0A2342; /* Main brand color */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-resources-philippine-online-gambling-legality__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-philippine-online-gambling-legality__hero-title {
  font-size: 3.2em;
  color: #E5B80B; /* Auxiliary brand color for titles */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources-philippine-online-gambling-legality__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-philippine-online-gambling-legality__hero-button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2342; /* Dark text on auxiliary button */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-philippine-online-gambling-legality__hero-button:hover {
  background-color: #f5cc45; /* Slightly lighter gold on hover */
  transform: translateY(-2px);
}

.page-resources-philippine-online-gambling-legality__hero-image-container {
  max-width: 1200px;
  width: 100%;
  margin-top: 40px;
}

.page-resources-philippine-online-gambling-legality__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-philippine-online-gambling-legality__section {
  max-width: 800px; /* Optimal reading width for long articles */
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(10, 35, 66, 0.8); /* Semi-transparent main color for content sections */
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-philippine-online-gambling-legality__section-title {
  font-size: 2.5em;
  color: #E5B80B;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  line-height: 1.3;
}

.page-resources-philippine-online-gambling-legality__sub-title {
  font-size: 1.8em;
  color: #f0f0f0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-philippine-online-gambling-legality__paragraph {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  color: #e0e0e0;
}

.page-resources-philippine-online-gambling-legality__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 1.5em;
}

.page-resources-philippine-online-gambling-legality__list-item {
  font-size: 1.1em;
  margin-bottom: 0.8em;
  color: #e0e0e0;
}

.page-resources-philippine-online-gambling-legality__list-item strong {
  color: #E5B80B;
}

.page-resources-philippine-online-gambling-legality__button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2342;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-resources-philippine-online-gambling-legality__button:hover {
  background-color: #f5cc45;
}

.page-resources-philippine-online-gambling-legality__button--secondary {
  background-color: #D62828; /* Accent color for secondary button */
  color: #ffffff;
  margin-left: 15px;
}

.page-resources-philippine-online-gambling-legality__button--secondary:hover {
  background-color: #e04a4a;
}

.page-resources-philippine-online-gambling-legality__image-container {
  margin: 30px auto;
  text-align: center;
}

.page-resources-philippine-online-gambling-legality__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-philippine-online-gambling-legality__faq-item {
  background-color: rgba(10, 35, 66, 0.6); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-philippine-online-gambling-legality__faq-question {
  font-size: 1.3em;
  color: #E5B80B;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-philippine-online-gambling-legality__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-resources-philippine-online-gambling-legality__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-philippine-online-gambling-legality__faq-answer {
  font-size: 1em;
  color: #d0d0d0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-resources-philippine-online-gambling-legality__faq-answer.open {
  max-height: 200px; /* Adjust as needed for content length */
}

.page-resources-philippine-online-gambling-legality__cta-section {
  text-align: center;
  background-color: #0A2342;
  padding: 60px 20px;
  border-radius: 10px;
}

.page-resources-philippine-online-gambling-legality__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-philippine-online-gambling-legality__back-link-section {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 40px;
  background: transparent;
  box-shadow: none;
}

.page-resources-philippine-online-gambling-legality__back-link {
  color: #E5B80B;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-philippine-online-gambling-legality__back-link:hover {
  color: #f5cc45;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-philippine-online-gambling-legality__hero-title {
    font-size: 2.2em;
  }

  .page-resources-philippine-online-gambling-legality__hero-description {
    font-size: 1.1em;
  }

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

  .page-resources-philippine-online-gambling-legality__sub-title {
    font-size: 1.5em;
  }

  .page-resources-philippine-online-gambling-legality__paragraph,
  .page-resources-philippine-online-gambling-legality__list-item,
  .page-resources-philippine-online-gambling-legality__faq-question {
    font-size: 1em;
  }

  .page-resources-philippine-online-gambling-legality__hero-button,
  .page-resources-philippine-online-gambling-legality__button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-resources-philippine-online-gambling-legality__button--secondary {
    margin-left: 0;
  }

  .page-resources-philippine-online-gambling-legality__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content images are responsive and not smaller than 200px */
  .page-resources-philippine-online-gambling-legality img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
  }

  .page-resources-philippine-online-gambling-legality {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-resources-philippine-online-gambling-legality__section {
    padding: 20px 15px;
  }
}