/* style/blog-what-is-pq88-code.css */

/* Base styles for the page content, ensuring contrast with body background */
/* Assuming body background is dark based on color palette #08160F */
.page-blog-what-is-pq88-code {
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  background-color: var(--background, #08160F); /* Page specific background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-what-is-pq88-code__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stack image then content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, rely on body for header offset */
  background-color: var(--deep-green, #0A4B2C); /* Ensure a base color */
  overflow: hidden; /* Prevent content from spilling */
}

.page-blog-what-is-pq88-code__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%; /* Ensure image scales down */
}

.page-blog-what-is-pq88-code__hero-content {
  position: relative; /* Not absolute, to be below the image */
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -80px; /* Overlap slightly for visual flow, but not covering image */
  background: var(--card-bg, #11271B); /* Dark background for text */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-50px); /* Lift content slightly */
}

.page-blog-what-is-pq88-code__main-title {
  color: var(--gold, #F2C14E);
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-what-is-pq88-code__subtitle {
  color: var(--text-main, #F2FFF6);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-what-is-pq88-code__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
  width: 100%;
  max-width: 500px; /* Constrain button group width */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0 15px;
}

.page-blog-what-is-pq88-code__btn-primary,
.page-blog-what-is-pq88-code__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-blog-what-is-pq88-code__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-what-is-pq88-code__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-blog-what-is-pq88-code__btn-secondary {
  background-color: transparent;
  color: var(--glow, #57E38D);
  border: 2px solid var(--glow, #57E38D);
}

.page-blog-what-is-pq88-code__btn-secondary:hover {
  background-color: var(--glow, #57E38D);
  color: var(--deep-green, #0A4B2C);
  transform: translateY(-2px);
}

.page-blog-what-is-pq88-code__section {
  padding: 60px 0;
  background-color: var(--background, #08160F); /* Default section background */
  color: var(--text-main, #F2FFF6);
}

.page-blog-what-is-pq88-code__dark-bg {
  background-color: var(--deep-green, #0A4B2C); /* Darker green section */
}

.page-blog-what-is-pq88-code__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-what-is-pq88-code__heading {
  color: var(--gold, #F2C14E);
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-blog-what-is-pq88-code__sub-heading {
  color: var(--glow, #57E38D);
  font-size: clamp(1.4rem, 2.5vw + 1rem, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-blog-what-is-pq88-code__paragraph {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
  margin-bottom: 15px;
}

.page-blog-what-is-pq88-code__highlight {
  color: var(--gold, #F2C14E);
  font-weight: 700;
}

.page-blog-what-is-pq88-code__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-blog-what-is-pq88-code__list-item {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
  margin-bottom: 10px;
}

.page-blog-what-is-pq88-code__list-item strong {
  color: var(--text-main, #F2FFF6);
}

.page-blog-what-is-pq88-code__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-what-is-pq88-code__faq-list {
  margin-top: 40px;
}

.page-blog-what-is-pq88-code__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-what-is-pq88-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  font-size: 1.1rem;
  user-select: none;
  list-style: none; /* Remove default marker for details summary */
}

.page-blog-what-is-pq88-code__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog-what-is-pq88-code__faq-qtext {
  flex-grow: 1;
}

.page-blog-what-is-pq88-code__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-blog-what-is-pq88-code__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-blog-what-is-pq88-code__faq-answer p {
  margin-bottom: 0;
}

.page-blog-what-is-pq88-code__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-blog-what-is-pq88-code__cta-text {
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--text-main, #F2FFF6);
}

.page-blog-what-is-pq88-code__highlight-link {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
  font-weight: 700;
}

.page-blog-what-is-pq88-code__highlight-link:hover {
  color: var(--glow, #57E38D);
  text-decoration: none;
}

/* Links within content */
.page-blog-what-is-pq88-code a {
  color: var(--glow, #57E38D);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-what-is-pq88-code a:hover {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-blog-what-is-pq88-code {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-what-is-pq88-code__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
    transform: translateY(-30px);
  }

  .page-blog-what-is-pq88-code__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog-what-is-pq88-code__subtitle {
    font-size: 1rem;
  }

  .page-blog-what-is-pq88-code__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
  }

  .page-blog-what-is-pq88-code__btn-primary,
  .page-blog-what-is-pq88-code__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-blog-what-is-pq88-code__section {
    padding: 40px 0;
  }

  .page-blog-what-is-pq88-code__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-what-is-pq88-code__heading {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 30px;
  }

  .page-blog-what-is-pq88-code__sub-heading {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-blog-what-is-pq88-code__paragraph,
  .page-blog-what-is-pq88-code__list-item {
    font-size: 0.95rem;
  }

  .page-blog-what-is-pq88-code__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    margin: 20px auto;
  }

  .page-blog-what-is-pq88-code__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-what-is-pq88-code__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9rem;
  }

  .page-blog-what-is-pq88-code__cta-text {
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* Ensure no filter on images */
.page-blog-what-is-pq88-code img {
  filter: none !important;
}

/* Ensure content area images meet minimum display size */
.page-blog-what-is-pq88-code__container img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  /* Enforce content area image size for mobile */
  .page-blog-what-is-pq88-code__container img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}