.page-payment-methods {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 0 12px; /* Global padding for main content */
}

.page-payment-methods__hero-section {
  position: relative;
  margin-bottom: 40px;
  padding-top: 10px; /* Small top padding */
}

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

.page-payment-methods__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5; /* 1920x600 ratio */
  object-fit: cover;
  object-position: center;
}

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

.page-payment-methods__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted for larger main title on desktop, clamp for responsiveness */
  font-weight: 700;
  line-height: 1.2;
  color: #FF8C1A; /* Primary color for H1 */
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

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

.page-payment-methods__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
}

.page-payment-methods__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 1px solid #A84F0C;
}

.page-payment-methods__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.4);
}

.page-payment-methods__btn--secondary {
  background-color: transparent;
  color: #FF8C1A;
  border: 1px solid #FF8C1A;
}

.page-payment-methods__btn--secondary:hover {
  background-color: #FF8C1A;
  color: #0D0E12;
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-payment-methods__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF3E6;
}

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

.page-payment-methods__method-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #A84F0C; /* Border color */
}

.page-payment-methods__method-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2; /* 600x400 ratio */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  filter: none; /* Ensure no grayscale */
  min-height: 200px; /* Minimum size */
}

.page-payment-methods__method-title {
  font-size: 1.4rem;
  color: #FFA53A;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-payment-methods__method-description {
  font-size: 0.95rem;
  color: #FFF3E6;
  padding: 0 15px;
}

.page-payment-methods__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
}

.page-payment-methods__step-item {
  background-color: #17191F;
  border-left: 5px solid #FF8C1A;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-item:last-child {
  margin-bottom: 0;
}

.page-payment-methods__step-title {
  font-size: 1.25rem;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-payment-methods__step-description {
  font-size: 1rem;
  color: #FFF3E6;
}

.page-payment-methods__step-description a {
  color: #FF8C1A;
  text-decoration: underline;
}

.page-payment-methods__step-description a:hover {
  color: #FFA53A;
}

.page-payment-methods__btn--wide {
  display: block;
  width: fit-content;
  margin: 0 auto;
  min-width: 200px;
}

.page-payment-methods__security-support {
  text-align: center;
}

.page-payment-methods__security-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-payment-methods__security-content img {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 4 / 3; /* 800x600 ratio */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  filter: none; /* Ensure no grayscale */
  min-height: 200px; /* Minimum size */
}

.page-payment-methods__security-text {
  text-align: left;
}

.page-payment-methods__security-text .page-payment-methods__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .page-payment-methods {
    padding: 0; /* Remove global padding for larger screens, sections handle max-width and auto margins */
  }
  .page-payment-methods__hero-section {
    padding-top: 0; /* body padding-top will handle this */
  }
  .page-payment-methods__hero-content {
    padding: 40px 0;
  }
  .page-payment-methods__section {
    padding: 40px 20px;
  }
  .page-payment-methods__security-content {
    flex-direction: row;
    text-align: left;
  }
  .page-payment-methods__security-text {
    flex: 1;
    padding-right: 40px;
  }
  .page-payment-methods__security-content img {
    flex: 1;
    max-width: 50%; /* Adjust image width on larger screens */
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-banner img,
  .page-payment-methods__method-card img,
  .page-payment-methods__security-content img {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn--wide {
    width: 90%;
  }
  .page-payment-methods__section {
    margin-bottom: 40px;
  }
  .page-payment-methods__section-description {
    margin-bottom: 30px;
  }
  .page-payment-methods__security-content {
    flex-direction: column;
  }
  .page-payment-methods__security-text {
    text-align: center;
  }
  .page-payment-methods__security-text .page-payment-methods__section-description {
    text-align: center;
  }
}

@media (max-width: 549px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-payment-methods__hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .page-payment-methods__section-description {
    font-size: 0.9rem;
  }
  .page-payment-methods__btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .page-payment-methods__method-title {
    font-size: 1.2rem;
  }
  .page-payment-methods__step-title {
    font-size: 1.1rem;
  }
  .page-payment-methods__step-description {
    font-size: 0.9rem;
  }
}