/* -------------------------------------------------------------------------- */
/*                              Base Page Styles                              */
/* -------------------------------------------------------------------------- */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--secondary-color, #FFFFFF);
  line-height: 1.6;
}

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

.page-payment-methods__section {
  padding: 60px 0;
  background-color: var(--secondary-color, #FFFFFF);
  text-align: center;
}

.page-payment-methods__dark-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff; /* White text for dark background */
}

.page-payment-methods__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #26A9E0;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-payment-methods__subsection-title {
  font-size: clamp(22px, 3vw, 28px);
  color: #333333;
  margin: 30px 0 15px;
  font-weight: 600;
}

.page-payment-methods__dark-section .page-payment-methods__subsection-title {
  color: #ffffff;
}

.page-payment-methods p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-payment-methods__dark-section p {
  color: #f0f0f0;
}

.page-payment-methods__feature-list,
.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}

.page-payment-methods__feature-list li,
.page-payment-methods__step-list li {
  margin-bottom: 10px;
  font-size: 16px;
  padding-left: 30px;
  position: relative;
}

.page-payment-methods__feature-list li::before {
  content: '✔';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-payment-methods__dark-section .page-payment-methods__feature-list li::before {
  color: #ffffff;
}

.page-payment-methods__step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter) ".";
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-payment-methods__dark-section .page-payment-methods__step-list li {
  color: #f0f0f0;
}

.page-payment-methods__dark-section .page-payment-methods__step-list li::before {
  color: #ffffff;
}

/* -------------------------------------------------------------------------- */
/*                                 Hero Section                               */
/* -------------------------------------------------------------------------- */
.page-payment-methods__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--secondary-color, #FFFFFF);
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-payment-methods__hero-content-wrapper {
  max-width: 900px;
  padding: 40px 15px 60px;
  z-index: 2;
  position: relative;
}

.page-payment-methods__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #26A9E0;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__intro-text {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
}

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

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

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

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a7fb8;
  border-color: #1a7fb8;
}

/* -------------------------------------------------------------------------- */
/*                               Content Blocks                               */
/* -------------------------------------------------------------------------- */
.page-payment-methods__content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__content-block--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__text-content {
  flex: 1;
  min-width: 0;
}

.page-payment-methods__image-wrapper {
  flex: 1;
  min-width: 0;
  max-width: 50%; /* Ensure image doesn't take full width on desktop */
  box-sizing: border-box;
}

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

.page-payment-methods__center-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-payment-methods__security-image {
  margin: 30px auto;
  max-width: 100%;
  height: auto;
}

.page-payment-methods__security-text {
  font-size: 17px;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #f5f5f5;
}

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

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  text-align: center;
  line-height: 1;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555555;
  font-size: 16px;
  line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/*                                 Responsive Design                          */
/* -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .page-payment-methods__hero-image {
    max-height: 400px;
  }
  .page-payment-methods__content-block {
    flex-direction: column;
    text-align: center;
  }
  .page-payment-methods__content-block--reverse {
    flex-direction: column;
  }
  .page-payment-methods__image-wrapper {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .page-payment-methods__text-content {
    padding: 0 15px;
  }
  .page-payment-methods__feature-list,
  .page-payment-methods__step-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-payment-methods__subsection-title {
    font-size: 20px;
  }
  .page-payment-methods__hero-section {
    padding-top: 5px;
  }
  .page-payment-methods__hero-content-wrapper {
    padding: 30px 15px 40px;
  }
  .page-payment-methods__main-title {
    font-size: 28px;
  }
  .page-payment-methods__intro-text {
    font-size: 16px;
  }
  .page-payment-methods__cta-group {
    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;
    box-sizing: border-box !important;
    font-size: 16px;
    padding: 12px 20px;
  }

  /* General image and container responsiveness for mobile */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-payment-methods__section,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__hero-content-wrapper,
  .page-payment-methods__content-block,
  .page-payment-methods__image-wrapper,
  .page-payment-methods__text-content,
  .page-payment-methods__cta-group,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  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;
    margin-left: 10px;
    width: 28px;
  }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-image {
    max-height: 300px;
  }
  .page-payment-methods__main-title {
    font-size: 24px;
  }
  .page-payment-methods__intro-text {
    font-size: 15px;
  }
}