.page-resources-pwinph-payment-methods {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-pwinph-payment-methods__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-resources-pwinph-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-pwinph-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-pwinph-payment-methods__hero-title {
  font-size: 3em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-pwinph-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-resources-pwinph-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Main color for primary button */
  color: #8B0000; /* Auxiliary color for text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-pwinph-payment-methods__hero-button:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-resources-pwinph-payment-methods__content-section {
  padding: 40px 20px;
  background-color: #f8f8f8;
}

.page-resources-pwinph-payment-methods__container {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-pwinph-payment-methods__section-title {
  font-size: 2.2em;
  color: #8B0000; /* Auxiliary color for main titles */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-pwinph-payment-methods__sub-section-title {
  font-size: 1.8em;
  color: #FFD700; /* Main color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-pwinph-payment-methods__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-pwinph-payment-methods__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-pwinph-payment-methods__list-item {
  margin-bottom: 10px;
}

.page-resources-pwinph-payment-methods__payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-resources-pwinph-payment-methods__payment-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-resources-pwinph-payment-methods__payment-card:hover {
  transform: translateY(-5px);
}

.page-resources-pwinph-payment-methods__payment-icon {
  width: 200px; /* Minimum width 200px */
  height: auto; /* Maintain aspect ratio */
  max-height: 150px;
  margin-bottom: 15px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-pwinph-payment-methods__card-title {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-resources-pwinph-payment-methods__card-description {
  font-size: 0.95em;
  color: #555555;
}

.page-resources-pwinph-payment-methods__inline-link {
  color: #8B0000;
  text-decoration: underline;
}

.page-resources-pwinph-payment-methods__inline-link:hover {
  color: #FFD700;
}

.page-resources-pwinph-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-resources-pwinph-payment-methods__faq-container {
  margin-top: 30px;
}

.page-resources-pwinph-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-pwinph-payment-methods__faq-question {
  font-size: 1.1em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-resources-pwinph-payment-methods__faq-answer {
  font-size: 0.95em;
  color: #555555;
}

.page-resources-pwinph-payment-methods__cta-section {
  background-color: #8B0000; /* Auxiliary color for CTA background */
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-resources-pwinph-payment-methods__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-pwinph-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-pwinph-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Main color for CTA button */
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-pwinph-payment-methods__cta-button:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-resources-pwinph-payment-methods__cta-button--secondary {
  background-color: #ffffff;
  color: #8B0000;
}

.page-resources-pwinph-payment-methods__cta-button--secondary:hover {
  background-color: #f0f0f0;
  color: #6a0000;
}

.page-resources-pwinph-payment-methods__back-link-container {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}

.page-resources-pwinph-payment-methods__back-link {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources-pwinph-payment-methods__back-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-pwinph-payment-methods__hero-title {
    font-size: 2em;
  }

  .page-resources-pwinph-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-resources-pwinph-payment-methods__section-title {
    font-size: 1.8em;
  }

  .page-resources-pwinph-payment-methods__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources-pwinph-payment-methods__payment-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-pwinph-payment-methods__cta-title {
    font-size: 1.8em;
  }

  .page-resources-pwinph-payment-methods__cta-description {
    font-size: 1em;
  }

  .page-resources-pwinph-payment-methods__hero-section {
    min-height: 400px;
  }

  /* Ensure images do not overflow on mobile */
  .page-resources-pwinph-payment-methods__payment-icon,
  .page-resources-pwinph-payment-methods__image-full-width {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
}