.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Fallback to white if var not defined */
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  background-color: #f5f5f5;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

.page-payment-methods__hero-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transform: translateY(-50px); /* Slightly overlap the image for visual flow */
  z-index: 1;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-payment-methods__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-payment-methods__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-payment-methods__section {
  padding: 60px 0;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-payment-methods__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure icons are not tiny, min 200px */
  min-width: 200px;
  min-height: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__feature-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #666666;
}

.page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__method-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__method-description {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 20px;
  max-width: 800px;
}

.page-payment-methods__method-list {
  text-align: left;
  width: 100%;
  max-width: 800px;
  list-style: disc inside;
  color: #444444;
  line-height: 1.8;
}

.page-payment-methods__method-list ol {
  list-style: decimal inside;
  margin-left: 20px;
}

.page-payment-methods__method-list li {
  margin-bottom: 10px;
}

.page-payment-methods__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__promo-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-payment-methods__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__promo-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-payment-methods__btn-small {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 5px;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__btn-small:hover {
  background-color: #1e87b8;
}

.page-payment-methods__faq-section {
  background-color: #f9f9f9;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f8ff; /* Lighter shade of primary for contrast */
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-payment-methods__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #eee;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid transparent; /* Remove border when open */
}

.page-payment-methods__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__dark-section .page-payment-methods__section-title,
.page-payment-methods__dark-section .page-payment-methods__description {
  color: #ffffff;
}

.page-payment-methods__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-payment-methods__contact-info p {
  margin-bottom: 10px;
}

.page-payment-methods__text-link {
  color: #EA7C07;
  text-decoration: underline;
}

.page-payment-methods__text-link:hover {
  color: #d16b06;
}

.page-payment-methods__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    transform: translateY(-30px);
    padding: 30px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.5em, 3.5vw, 2em);
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-content {
    transform: translateY(0);
    border-radius: 0;
    box-shadow: none;
    padding: 20px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
  }

  .page-payment-methods__description {
    font-size: 1em;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__promo-card,
  .page-payment-methods__method-card {
    padding: 20px;
  }

  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container,
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
  }

  .page-payment-methods__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-payment-methods__faq-answer {
    padding: 15px;
  }

  .page-payment-methods__method-list {
    padding-left: 0;
  }

  .page-payment-methods__method-list li {
    margin-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.4em, 6vw, 1.8em);
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.3em, 5vw, 1.7em);
  }
}