.page-resources-phwin-faq {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-phwin-faq__hero-section {
  background-color: #1A202C;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #f0f0f0;
}

.page-resources-phwin-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay for text readability */
  z-index: 0;
}

.page-resources-phwin-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-phwin-faq__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-phwin-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-phwin-faq__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-phwin-faq__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-phwin-faq__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-phwin-faq__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 15px;
}

.page-resources-phwin-faq__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-resources-phwin-faq__accordion-container {
  margin-bottom: 40px;
}

.page-resources-phwin-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-phwin-faq__accordion-header {
  background-color: #f9f9f9;
  color: #1A202C;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-resources-phwin-faq__accordion-header:hover {
  background-color: #f0f0f0;
}

.page-resources-phwin-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources-phwin-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-phwin-faq__accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-resources-phwin-faq__accordion-content.active {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 20px;
}

.page-resources-phwin-faq__accordion-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444444;
}

.page-resources-phwin-faq__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum display width */
  min-height: 200px; /* Minimum display height */
}

.page-resources-phwin-faq__inline-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-resources-phwin-faq__inline-button:hover {
  background-color: #e6c200;
}

.page-resources-phwin-faq__action-panel {
  background-color: #1A202C;
  color: #f0f0f0;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-phwin-faq__action-panel-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-phwin-faq__action-panel-text {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-resources-phwin-faq__action-panel-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-phwin-faq__action-panel-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-phwin-faq__action-panel-button--secondary {
  background-color: #3a475a;
  color: #f0f0f0;
}

.page-resources-phwin-faq__action-panel-button--secondary:hover {
  background-color: #4b5d72;
}

.page-resources-phwin-faq__related-resources {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.page-resources-phwin-faq__related-resources-title {
  font-size: 2em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 25px;
}

.page-resources-phwin-faq__resource-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.page-resources-phwin-faq__resource-list li {
  margin-bottom: 10px;
}

.page-resources-phwin-faq__resource-list li a {
  color: #007bff;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-phwin-faq__resource-list li a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-phwin-faq__hero-title {
    font-size: 2.2em;
  }

  .page-resources-phwin-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-phwin-faq__section-title {
    font-size: 2em;
  }

  .page-resources-phwin-faq__intro-text {
    font-size: 1em;
  }

  .page-resources-phwin-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-phwin-faq__accordion-content.active {
    padding: 15px;
  }

  .page-resources-phwin-faq__action-panel {
    padding: 30px 20px;
  }

  .page-resources-phwin-faq__action-panel-title {
    font-size: 1.6em;
  }

  .page-resources-phwin-faq__action-panel-button {
    display: block;
    margin: 15px auto;
  }

  .page-resources-phwin-faq__content-area {
    padding: 0 15px;
  }

  /* Ensure content images do not overflow on mobile */
  .page-resources-phwin-faq__content-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all img elements within .page-resources-phwin-faq are responsive and do not cause overflow */
  .page-resources-phwin-faq img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-resources-phwin-faq__hero-title {
    font-size: 1.8em;
  }

  .page-resources-phwin-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-phwin-faq__accordion-header {
    font-size: 1em;
  }

  .page-resources-phwin-faq__action-panel-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}