.page-payment-methods {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

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

.page-payment-methods__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #F4F7FB;
  overflow: hidden; /* Ensure no image overflow */
}

.page-payment-methods__hero-image-wrapper {
  margin-bottom: 20px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__hero-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-payment-methods__hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.6);
}

.page-payment-methods__overview-section,
.page-payment-methods__security-section,
.page-payment-methods__guide-section,
.page-payment-methods__faq-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

.page-payment-methods__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2F6BFF;
  border-radius: 2px;
}

.page-payment-methods__section-description {
  font-size: 1.05em;
  line-height: 1.6;
  color: #1F2D3D;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure images take full width of card */
  max-width: 400px; /* Max width for product images */
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-height: 200px; /* Enforce min size for content images */
  min-width: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-payment-methods__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #1F2D3D;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-height: 200px; /* Enforce min size for content images */
  min-width: 200px;
}

.page-payment-methods__security-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods__feature-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 15px 25px;
  font-size: 1.1em;
  color: #1F2D3D;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-payment-methods__feature-item::before {
  content: '✔';
  color: #2F6BFF;
  font-weight: bold;
  font-size: 1.2em;
}

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

.page-payment-methods__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF;
}

.page-payment-methods__step-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 20px;
  text-align: center;
}

.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
}

.page-payment-methods__step-list li {
  background-color: #F4F7FB;
  border-left: 4px solid #6FA3FF;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.5;
}

.page-payment-methods__action-text {
  font-size: 1.2em;
  color: #1F2D3D;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 500;
}

.page-payment-methods__action-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-payment-methods__action-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.6);
}

.page-payment-methods__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  font-size: 1.15em;
  font-weight: 600;
  color: #2F6BFF;
  padding: 18px 25px;
  margin: 0;
  cursor: pointer;
  background-color: #F4F7FB;
  border-bottom: 1px solid #D6E2FF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  padding: 15px 25px;
  margin: 0;
  display: none;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  display: block;
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 15px;
  }

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

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

  .page-payment-methods__hero-cta {
    padding: 12px 25px;
  }

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

  .page-payment-methods__section-description {
    font-size: 0.95em;
  }

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-features {
    flex-direction: column;
    align-items: stretch;
  }

  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
  }

  /* Mobile image overflow prevention */
  .page-payment-methods__hero-image,
  .page-payment-methods__method-icon,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
    min-width: unset; /* Allow smaller width on mobile if needed by layout */
    min-height: 200px; /* Still enforce min height */
  }

  /* Ensure content area images maintain min size on mobile unless specifically overridden */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}