/* style/payment-methods.css */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

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

.page-payment-methods__container--center {
  text-align: center;
}

.page-payment-methods__dark-bg {
  background-color: #26A9E0;
  color: #ffffff; /* Light text for dark background */
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

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

.page-payment-methods__hero-image-container {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

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

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

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
}

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

.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-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-payment-methods__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__important-notes,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
  padding: 60px 0;
}

.page-payment-methods__withdrawal-methods {
  padding: 60px 0;
  background-color: #26A9E0;
}

.page-payment-methods__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #333333;
}

.page-payment-methods__section-title--white {
  color: #ffffff;
}

.page-payment-methods__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-payment-methods__text-block--white {
  color: #f0f0f0;
}

.page-payment-methods__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-payment-methods__card--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__card-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-payment-methods__card-title--white {
  color: #ffffff;
}

.page-payment-methods__card-description {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #555555;
}

.page-payment-methods__card-description--white {
  color: #f0f0f0;
}

.page-payment-methods__card-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #555555;
}

.page-payment-methods__card-list--white {
  color: #f0f0f0;
}

.page-payment-methods__card-list strong {
  color: #333333;
}

.page-payment-methods__card-list--white strong {
  color: #ffffff;
}

.page-payment-methods__info-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 30px;
  font-size: 1.05rem;
  color: #333333;
}

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

.page-payment-methods__info-list strong {
  color: #26A9E0;
}

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

.page-payment-methods__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #e5e5e5;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question .page-payment-methods__faq-toggle {
  content: '−';
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #555555;
}

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

/* Details element specific styling */
.page-payment-methods__faq-item summary {
  list-style: none;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-payment-methods__section-title {
    font-size: 2rem;
  }

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

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-content {
    margin-top: 10px;
  }

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

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section,
  .page-payment-methods__withdrawal-methods {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

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

  .page-payment-methods__card {
    padding: 20px;
  }

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

  .page-payment-methods__card-description {
    font-size: 0.9rem;
  }

  .page-payment-methods__card-list {
    font-size: 0.85rem;
  }

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

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-payment-methods__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image specific styles */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__hero-image-container,
  .page-payment-methods__image-content,
  .page-payment-methods__card-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Button containers for mobile */
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
  }

  .page-payment-methods__cta-buttons--center {
    padding-left: 15px;
    padding-right: 15px;
  }
}