.page-payment-methods__hero-section {
  padding-top: 10px; /* Adjusted to 10px as body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background: #140C0C; /* Background from custom colors */
  color: #FFF1E8;
  overflow: hidden;
  min-height: 500px;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #F3C54D;
}

.page-payment-methods__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFF1E8;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #6A1E1E; /* Border */
}

.page-payment-methods__btn-secondary:hover {
  background: #6A1E1E; /* Border */
  color: #FFF1E8;
  transform: translateY(-2px);
}

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

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

.page-payment-methods__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
  color: #F3C54D;
}

.page-payment-methods__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #F3C54D;
}

.page-payment-methods__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-payment-methods__introduction-section {
  background: #140C0C;
  color: #FFF1E8;
}

.page-payment-methods__deposit-methods {
  background: #140C0C;
  color: #FFF1E8;
}

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

.page-payment-methods__method-card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF1E8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

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

.page-payment-methods__method-description {
  font-size: 15px;
  line-height: 1.6;
  color: #FFF1E8;
}

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

.page-payment-methods__withdrawal-guide {
  background: #140C0C;
  color: #FFF1E8;
}

.page-payment-methods__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-payment-methods__step-card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 12px;
  padding: 25px;
  color: #FFF1E8;
}

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

.page-payment-methods__step-description {
  font-size: 15px;
  line-height: 1.6;
  color: #FFF1E8;
}

.page-payment-methods__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.page-payment-methods__security-features {
  background: #140C0C;
  color: #FFF1E8;
}

.page-payment-methods__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-payment-methods__security-text {
  flex: 1;
}

.page-payment-methods__security-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  display: block;
}

.page-payment-methods__faq-section {
  background: #140C0C;
  color: #FFF1E8;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
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;
}
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: #6A1E1E; /* Border */
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D;
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  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: #140C0C;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-payment-methods__cta-bottom {
  background: #140C0C;
  color: #FFF1E8;
  text-align: center;
}

.page-payment-methods a {
  color: #F3C54D;
  text-decoration: none;
}

.page-payment-methods a:hover {
  text-decoration: underline;
}

/* General image styling for content areas */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-payment-methods__main-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }

  .page-payment-methods__hero-description {
    font-size: 16px;
  }

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

  .page-payment-methods__section-title {
    font-size: clamp(22px, 2.8vw, 34px);
    margin-bottom: 30px;
  }

  .page-payment-methods__sub-title {
    font-size: clamp(18px, 2.2vw, 24px);
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-payment-methods__text-block,
  .page-payment-methods__list li,
  .page-payment-methods__method-description,
  .page-payment-methods__step-description {
    font-size: 15px;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__step-by-step {
    gap: 20px;
  }

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

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

  .page-payment-methods__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-payment-methods__security-image-wrapper {
    order: -1; /* Image first on smaller screens */
  }

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

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

  .page-payment-methods__faq-toggle {
    font-size: 22px;
    width: 26px;
  }

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

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px; /* Consistent top padding */
    min-height: auto;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__hero-content {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 10px;
  }

  .page-payment-methods__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-payment-methods__section-title {
    font-size: clamp(20px, 6vw, 30px);
    margin-bottom: 25px;
  }

  .page-payment-methods__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-payment-methods__text-block,
  .page-payment-methods__list li,
  .page-payment-methods__method-description,
  .page-payment-methods__step-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr; /* Single column for methods */
    gap: 20px;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__method-icon {
    max-width: 180px;
  }

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

  .page-payment-methods__step-by-step {
    grid-template-columns: 1fr; /* Single column for steps */
    gap: 15px;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__step-title {
    font-size: 18px;
  }

  .page-payment-methods__security-content {
    flex-direction: column;
    gap: 25px;
  }

  .page-payment-methods__security-image-wrapper {
    order: -1; 
  }

  .page-payment-methods__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-payment-methods__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

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

  /* Ensure all content images are responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}