/* style/blog-pagcor-regulatory-impact.css */

:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Ensure text contrast for the main content area, assuming a dark body background from shared.css */
.page-blog-pagcor-regulatory-impact {
  color: var(--text-main-color); /* Light text for dark background */
  background-color: var(--background-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-pagcor-regulatory-impact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--background-color);
  overflow: hidden;
}

.page-blog-pagcor-regulatory-impact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog-pagcor-regulatory-impact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-pagcor-regulatory-impact__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px 60px;
}

.page-blog-pagcor-regulatory-impact__main-title {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem); /* Responsive font size for H1 */
}

.page-blog-pagcor-regulatory-impact__hero-description {
  font-size: 1.15rem;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

.page-blog-pagcor-regulatory-impact__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-blog-pagcor-regulatory-impact__btn-primary,
.page-blog-pagcor-regulatory-impact__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-pagcor-regulatory-impact__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for gradient button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-pagcor-regulatory-impact__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-blog-pagcor-regulatory-impact__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-pagcor-regulatory-impact__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-blog-pagcor-regulatory-impact__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-blog-pagcor-regulatory-impact__dark-bg {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

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

.page-blog-pagcor-regulatory-impact__section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-blog-pagcor-regulatory-impact__sub-title {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-pagcor-regulatory-impact__text-block p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-main-color);
}

.page-blog-pagcor-regulatory-impact__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px 0;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-blog-pagcor-regulatory-impact__faq-section {
  padding: 60px 20px;
  background-color: var(--card-bg-color);
}

.page-blog-pagcor-regulatory-impact__faq-list {
  margin-top: 40px;
}

.page-blog-pagcor-regulatory-impact__faq-item {
  background: #1e1e1e;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-pagcor-regulatory-impact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: var(--card-bg-color);
  color: var(--text-main-color);
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-blog-pagcor-regulatory-impact__faq-question:hover {
  background: #2a2a2a;
}

.page-blog-pagcor-regulatory-impact__faq-question h3 {
  margin: 0;
  color: var(--text-main-color);
  font-size: 1.1rem;
}

.page-blog-pagcor-regulatory-impact__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-blog-pagcor-regulatory-impact__faq-item.active .page-blog-pagcor-regulatory-impact__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-pagcor-regulatory-impact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color);
}

.page-blog-pagcor-regulatory-impact__faq-item.active .page-blog-pagcor-regulatory-impact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px;
}

.page-blog-pagcor-regulatory-impact__faq-answer p {
  margin: 0;
  color: var(--text-main-color);
}

/* CTA Section at the bottom */
.page-blog-pagcor-regulatory-impact__cta-section {
  background-color: var(--primary-color);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-blog-pagcor-regulatory-impact__cta-section .page-blog-pagcor-regulatory-impact__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-blog-pagcor-regulatory-impact__cta-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ffffff;
}

.page-blog-pagcor-regulatory-impact__cta-section .page-blog-pagcor-regulatory-impact__btn-primary {
  background: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-pagcor-regulatory-impact__cta-section .page-blog-pagcor-regulatory-impact__btn-primary:hover {
  background: #f0f0f0;
  color: #DDA11D;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-pagcor-regulatory-impact__cta-section .page-blog-pagcor-regulatory-impact__btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-blog-pagcor-regulatory-impact__cta-section .page-blog-pagcor-regulatory-impact__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-pagcor-regulatory-impact__main-title {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  }

  .page-blog-pagcor-regulatory-impact__section-title {
    font-size: 2.2rem;
  }

  .page-blog-pagcor-regulatory-impact__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-blog-pagcor-regulatory-impact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-pagcor-regulatory-impact__hero-content {
    padding: 0 15px 40px;
  }

  .page-blog-pagcor-regulatory-impact__main-title {
    font-size: clamp(1.8rem, 6vw + 1rem, 3rem);
  }

  .page-blog-pagcor-regulatory-impact__hero-description {
    font-size: 1rem;
  }

  .page-blog-pagcor-regulatory-impact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-pagcor-regulatory-impact__btn-primary,
  .page-blog-pagcor-regulatory-impact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-blog-pagcor-regulatory-impact__content-area,
  .page-blog-pagcor-regulatory-impact__faq-section,
  .page-blog-pagcor-regulatory-impact__cta-section {
    padding: 40px 15px;
  }

  .page-blog-pagcor-regulatory-impact__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-pagcor-regulatory-impact__sub-title {
    font-size: 1.4rem;
  }

  /* Mobile image and container adaptation */
  .page-blog-pagcor-regulatory-impact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller images if they are not content images */
    min-height: unset !important;
  }
  
  .page-blog-pagcor-regulatory-impact__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-pagcor-regulatory-impact__section,
  .page-blog-pagcor-regulatory-impact__card,
  .page-blog-pagcor-regulatory-impact__container,
  .page-blog-pagcor-regulatory-impact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific adjustment for hero section image wrapper */
  .page-blog-pagcor-regulatory-impact__hero-image-wrapper {
    padding: 0 15px;
  }

  /* FAQ specific mobile styles */
  .page-blog-pagcor-regulatory-impact__faq-question {
    padding: 15px;
  }

  .page-blog-pagcor-regulatory-impact__faq-question h3 {
    font-size: 1rem;
  }

  .page-blog-pagcor-regulatory-impact__faq-answer {
    padding: 0 15px;
  }

  .page-blog-pagcor-regulatory-impact__faq-item.active .page-blog-pagcor-regulatory-impact__faq-answer {
    padding: 10px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-pagcor-regulatory-impact__main-title {
    font-size: clamp(1.6rem, 8vw + 1rem, 2.5rem);
  }

  .page-blog-pagcor-regulatory-impact__section-title {
    font-size: 1.6rem;
  }

  .page-blog-pagcor-regulatory-impact__sub-title {
    font-size: 1.2rem;
  }
}