.page-pagcor-regulatory-advantages {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color */
  background-color: #0A0A0A; /* Overall background */
  line-height: 1.6;
}

.page-pagcor-regulatory-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-pagcor-regulatory-advantages__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Enforce image on top, text below */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-pagcor-regulatory-advantages__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px; /* Space between image and text */
}

.page-pagcor-regulatory-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-pagcor-regulatory-advantages__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-pagcor-regulatory-advantages__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-pagcor-regulatory-advantages__hero-description {
  font-size: 1.15rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-pagcor-regulatory-advantages__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
  width: 100%; /* Ensure container takes full width for wrapping */
  max-width: 100%; /* Important for mobile */
  box-sizing: border-box;
  padding: 0 15px; /* Add padding to button container for mobile */
}

.page-pagcor-regulatory-advantages__btn-primary,
.page-pagcor-regulatory-advantages__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button itself respects max-width */
  box-sizing: border-box;
}

.page-pagcor-regulatory-advantages__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on bright button for contrast */
  border: 2px solid transparent;
}

.page-pagcor-regulatory-advantages__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-pagcor-regulatory-advantages__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main brand color */
  border: 2px solid #F2C14E; /* Brand color border */
}

.page-pagcor-regulatory-advantages__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

/* General Sections */
.page-pagcor-regulatory-advantages__section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-pagcor-regulatory-advantages__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-pagcor-regulatory-advantages__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: #FFD36B; /* Auxiliary brand color */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-pagcor-regulatory-advantages__text-block {
  font-size: 1.05rem;
  color: #FFF6D6;
  margin-bottom: 25px;
  line-height: 1.7;
}

.page-pagcor-regulatory-advantages__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Advantages Grid */
.page-pagcor-regulatory-advantages__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-pagcor-regulatory-advantages__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-pagcor-regulatory-advantages__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-pagcor-regulatory-advantages__card-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Auxiliary brand color */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.page-pagcor-regulatory-advantages__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.7;
}

/* Features Grid */
.page-pagcor-regulatory-advantages__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-pagcor-regulatory-advantages__feature-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-pagcor-regulatory-advantages__feature-icon {
  width: 200px; /* Explicitly set to 200px to meet min size for content images */
  height: 200px; /* Explicitly set to 200px to meet min size for content images */
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-pagcor-regulatory-advantages__feature-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-pagcor-regulatory-advantages__feature-description {
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.7;
}

/* Benefits List */
.page-pagcor-regulatory-advantages__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-pagcor-regulatory-advantages__benefits-list li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #FFF6D6;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.page-pagcor-regulatory-advantages__benefits-list li:before {
  content: '✓';
  color: #F2C14E;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2rem;
}

.page-pagcor-regulatory-advantages__benefits-list li:hover {
  transform: translateX(5px);
}

.page-pagcor-regulatory-advantages__benefits-list strong {
  color: #FFD36B;
}

/* FAQ Section */
.page-pagcor-regulatory-advantages__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-pagcor-regulatory-advantages__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-pagcor-regulatory-advantages__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-pagcor-regulatory-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2C14E;
  cursor: pointer;
  background: #111111;
  border-bottom: 1px solid transparent; /* default */
  transition: border-bottom 0.3s ease;
}

.page-pagcor-regulatory-advantages__faq-item.active .page-pagcor-regulatory-advantages__faq-question {
  border-bottom: 1px solid #3A2A12; /* Border when active */
}

.page-pagcor-regulatory-advantages__faq-question:hover {
  background: #1a1a1a;
}

.page-pagcor-regulatory-advantages__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-pagcor-regulatory-advantages__faq-item.active .page-pagcor-regulatory-advantages__faq-toggle {
  transform: rotate(45deg);
  color: #F2C14E;
}

.page-pagcor-regulatory-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
  line-height: 1.7;
}

.page-pagcor-regulatory-advantages__faq-answer p {
  margin: 0;
  color: #FFF6D6;
}

.page-pagcor-regulatory-advantages__faq-item.active .page-pagcor-regulatory-advantages__faq-answer {
  max-height: 1000px !important; /* Important for override */
  padding: 15px 25px 25px;
}

/* Bottom CTA */
.page-pagcor-regulatory-advantages__cta-bottom {
  text-align: center;
  padding: 80px 0;
  background: #0A0A0A;
}

.page-pagcor-regulatory-advantages__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-pagcor-regulatory-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-pagcor-regulatory-advantages__hero-section {
    padding-bottom: 40px;
  }

  .page-pagcor-regulatory-advantages__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-pagcor-regulatory-advantages__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-pagcor-regulatory-advantages__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Ensure padding for button container */
  }

  .page-pagcor-regulatory-advantages__btn-primary,
  .page-pagcor-regulatory-advantages__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-pagcor-regulatory-advantages__section {
    padding: 40px 0;
  }

  .page-pagcor-regulatory-advantages__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-pagcor-regulatory-advantages__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-pagcor-regulatory-advantages__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-pagcor-regulatory-advantages__advantages-grid,
  .page-pagcor-regulatory-advantages__features-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-pagcor-regulatory-advantages__card,
  .page-pagcor-regulatory-advantages__feature-item {
    padding: 25px;
    border-radius: 10px;
  }

  .page-pagcor-regulatory-advantages__card-title,
  .page-pagcor-regulatory-advantages__feature-title {
    font-size: 1.3rem;
  }

  .page-pagcor-regulatory-advantages__feature-icon {
    width: 200px !important; /* Enforce min size for icons */
    height: 200px !important;
    margin: 0 auto 15px;
  }

  .page-pagcor-regulatory-advantages__benefits-list li {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .page-pagcor-regulatory-advantages__faq-section {
    padding: 50px 0;
  }

  .page-pagcor-regulatory-advantages__faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }

  .page-pagcor-regulatory-advantages__faq-answer {
    padding: 0 20px;
  }

  .page-pagcor-regulatory-advantages__faq-item.active .page-pagcor-regulatory-advantages__faq-answer {
    padding: 15px 20px 20px;
  }

  .page-pagcor-regulatory-advantages__cta-bottom {
    padding: 60px 0;
  }

  /* Image responsiveness for all content images */
  .page-pagcor-regulatory-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* All containers with images */
  .page-pagcor-regulatory-advantages__container,
  .page-pagcor-regulatory-advantages__section,
  .page-pagcor-regulatory-advantages__card,
  .page-pagcor-regulatory-advantages__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}