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

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

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

.page-payment-methods__light-bg {
  background: #FFFFFF;
  color: #333333;
}

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

.page-payment-methods__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-payment-methods__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-payment-methods__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 15px;
  color: #26A9E0;
  line-height: 1.1;
}

.page-payment-methods__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-payment-methods__cta-buttons--center {
  margin-top: 30px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-payment-methods__btn-primary:hover {
  background: #d66f06;
  transform: translateY(-2px);
}

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

.page-payment-methods__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87b6;
  transform: translateY(-2px);
}

/* Feature Grid Section */
.page-payment-methods__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce min-width for all images */
  min-height: 200px;
}

.page-payment-methods__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-payment-methods__feature-text {
  font-size: 16px;
  color: #555555;
}

/* Method Cards */
.page-payment-methods__method-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.page-payment-methods__method-card--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__method-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__method-content {
  width: 50%;
}

.page-payment-methods__method-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent section */
}

.page-payment-methods__method-steps {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 16px;
  color: inherit;
}

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

.page-payment-methods__method-steps strong {
  color: inherit;
}

.page-payment-methods__info-block {
  background: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-payment-methods__info-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-payment-methods__info-list {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 16px;
  color: #555555;
}

.page-payment-methods__info-list li {
  margin-bottom: 8px;
}

/* Security Section */
.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__security-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__security-icon {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__security-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Tips Section */
.page-payment-methods__tips-list {
  list-style-type: disc;
  margin: 0 auto 40px;
  padding-left: 20px;
  max-width: 900px;
  font-size: 18px;
  color: #555555;
}

.page-payment-methods__tips-list li {
  margin-bottom: 15px;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333;
}

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

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #f5f5f5;
}

.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-payment-methods__faq-answer p {
  margin: 0;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section .page-payment-methods__section-description {
  color: #ffffff;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__container {
    padding: 20px 40px;
  }

  .page-payment-methods__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-payment-methods__method-card {
    gap: 30px;
    padding: 25px;
  }

  .page-payment-methods__method-title {
    font-size: 26px;
  }

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

@media (max-width: 849px) {
  .page-payment-methods__hero-image {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    max-height: 400px; /* Adjust max height for smaller screens */
  }
}

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

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

  .page-payment-methods__section-title {
    font-size: clamp(24px, 7vw, 32px);
    padding: 0 10px;
  }

  .page-payment-methods__section-description {
    font-size: 16px;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-payment-methods__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 300px; /* Further reduce hero image height */
  }

  .page-payment-methods__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
  }

  .page-payment-methods__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .page-payment-methods__hero-description {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    padding: 12px 20px;
    font-size: 17px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Feature Grid */
  .page-payment-methods__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-payment-methods__feature-card {
    padding: 25px;
  }

  .page-payment-methods__feature-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Method Cards */
  .page-payment-methods__method-card {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__method-card--reverse {
    flex-direction: column;
  }

  .page-payment-methods__method-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-payment-methods__method-content {
    width: 100%;
  }

  .page-payment-methods__method-title {
    font-size: 24px;
    text-align: center;
  }

  .page-payment-methods__method-steps {
    margin-left: 0;
    padding-left: 15px;
    text-align: left;
  }

  .page-payment-methods__info-block {
    padding: 20px;
    margin-top: 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__info-title {
    font-size: 22px;
  }

  .page-payment-methods__info-list {
    margin-left: 15px;
    text-align: left;
  }

  /* Security Section */
  .page-payment-methods__security-features {
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-payment-methods__security-card {
    padding: 25px;
  }

  .page-payment-methods__security-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__security-title {
    font-size: 22px;
  }

  /* Tips Section */
  .page-payment-methods__tips-list {
    font-size: 16px;
    margin-left: 0;
    padding-left: 15px;
    max-width: 100%;
    text-align: left;
  }

  /* FAQ Section */
  .page-payment-methods__faq-list {
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100%;
  }

  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px;
  }

  .page-payment-methods__faq-qtext {
    font-size: 16px;
  }

  .page-payment-methods__faq-toggle {
    font-size: 24px;
  }

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