.page-payment-methods {
  background-color: #F5F7FA;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-payment-methods__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-payment-methods__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-payment-methods__hero-content {
  max-width: 800px;
  margin: 20px auto 0;
  padding: 0 20px;
  text-align: center;
}

.page-payment-methods__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-payment-methods__cta-button--outline {
    background: none;
    border: 2px solid #E53935;
    color: #E53935;
}

.page-payment-methods__cta-button--outline:hover {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
}

.page-payment-methods__overview-section,
.page-payment-methods__process-section,
.page-payment-methods__security-support {
  padding: 40px 0;
}

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
}

.page-payment-methods__text-content {
  font-size: 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

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

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

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

.page-payment-methods__method-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: none; /* Ensure no CSS filter changes image color */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 15px;
}

.page-payment-methods__card-description {
  font-size: 0.95rem;
  color: #333333;
  margin-bottom: 20px;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__card-features li {
  font-size: 0.9rem;
  color: #555555;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__card-features li::before {
  content: '✓';
  color: #E53935;
  position: absolute;
  left: 0;
}

.page-payment-methods__process-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.page-payment-methods__process-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__process-steps,
.page-payment-methods__process-image {
  flex: 1;
}

.page-payment-methods__process-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: none; /* Ensure no CSS filter changes image color */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods__step-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 20px;
}

.page-payment-methods__step-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-payment-methods__step-list li {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 10px;
}

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

  .page-payment-methods__hero-content {
    padding: 0 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

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

  .page-payment-methods__section-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .page-payment-methods__process-wrapper,
  .page-payment-methods__process-wrapper--reverse {
    flex-direction: column;
    gap: 30px;
  }

  .page-payment-methods__process-image img,
  .page-payment-methods__method-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-payment-methods__method-card {
    padding: 20px;
  }

  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__step-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 549px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }

  .page-payment-methods__description {
    font-size: 0.95rem;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.1rem, 6vw, 1.6rem);
  }

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

/* Ensure content area images are not smaller than 200px */
.page-payment-methods img {
    width: auto; /* Allow width to be determined by max-width */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-payment-methods img {
        max-width: 100%;
        height: auto;
    }
}