.page-payment-methods {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-payment-methods__hero-section {
  position: relative;
  background-color: #2F6BFF;
  padding-bottom: 30px; /* Space for content below image */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
  min-height: 200px; /* Ensure minimum size */
}

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

.page-payment-methods__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-payment-methods__cta-button:hover {
  opacity: 0.9;
}

.page-payment-methods__cta-button--secondary {
  background: #6FA3FF;
}

.page-payment-methods__cta-button--secondary:hover {
  background: #2F6BFF;
}

.page-payment-methods__introduction-section,
.page-payment-methods__methods-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  padding: 40px 0;
}

.page-payment-methods__section-title {
  font-weight: 700;
  line-height: 1.3;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
}

.page-payment-methods__text-content {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__method-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

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

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

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px; /* Ensure image is not too wide */
  height: auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-payment-methods__method-title {
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.page-payment-methods__method-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-payment-methods__card-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 500;
}

.page-payment-methods__card-link:hover {
  text-decoration: underline;
}

.page-payment-methods__faq-list {
  margin-top: 30px;
}

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-payment-methods__faq-question {
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer {
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D;
}

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

  .page-payment-methods__main-title {
    font-size: 1.8em; /* Slightly smaller for mobile */
  }

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

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

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

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

  .page-payment-methods__method-icon,
  .page-payment-methods__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

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

.page-payment-methods__hero-section h1 {
  /* No fixed font-size, rely on font-weight, line-height, etc. */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure content area images are not smaller than 200px via CSS */
.page-payment-methods img {
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensures it fills card width */
  height: auto;
  min-width: 200px;
  min-height: 200px;
}