/* style/payment-methods.css */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  box-sizing: border-box;
}

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

.page-payment-methods__hero-content {
  position: relative; /* Not absolute, to avoid overlapping image */
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Sections */
.page-payment-methods__section {
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-payment-methods__section p {
  margin-bottom: 20px;
}

.page-payment-methods__section a {
  color: #FFFF00; /* Custom color for links in dark background */
  text-decoration: underline;
}

.page-payment-methods__section a:hover {
  color: #fff;
}

/* Background variations */
.page-payment-methods__dark-bg {
  background-color: #1a1a2e; /* Inherit from body or use a dark variant */
  color: #ffffff;
}

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

.page-payment-methods__light-bg .page-payment-methods__section-title,
.page-payment-methods__light-bg .page-payment-methods__card-title,
.page-payment-methods__light-bg .page-payment-methods__method-title,
.page-payment-methods__light-bg .page-payment-methods__step-title,
.page-payment-methods__light-bg .page-payment-methods__note-title {
  color: #017439; /* Brand green for titles on light background */
}

.page-payment-methods__light-bg a {
  color: #017439; /* Brand green for links on light background */
  text-decoration: underline;
}

.page-payment-methods__light-bg a:hover {
  color: #004d26;
}

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

.page-payment-methods__card {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text on white cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__card-title,
.page-payment-methods__method-title,
.page-payment-methods__step-title,
.page-payment-methods__note-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439; /* Brand primary for card titles */
}

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

.page-payment-methods__features-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
}

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

.page-payment-methods__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-payment-methods__step-item {
  counter-increment: step-counter;
  position: relative;
  padding-left: 50px;
}

.page-payment-methods__step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

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

/* Call to Action Buttons */
.page-payment-methods__cta-section {
  text-align: center;
  margin-top: 50px;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #FFFF00; /* Custom font color for register/login type buttons */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #C30808;
}

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

/* Images */
.page-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1000px; /* Example max-width for content images */
  margin: 40px auto;
  border-radius: 12px;
  object-fit: cover;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #017439; /* Brand primary for FAQ summary */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: #004d26;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

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

.page-payment-methods__faq-answer {
  padding: 20px 30px;
  background-color: #ffffff; /* White background for answers */
  color: #333333; /* Dark text for answers */
  font-size: 1em;
}

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

.page-payment-methods__faq-answer a {
  color: #017439; /* Brand green for links in FAQ answers */
  text-decoration: underline;
}

.page-payment-methods__faq-answer a:hover {
  color: #004d26;
}

/* Conclusion */
.page-payment-methods__conclusion {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image {
    width: 90%;
  }
  .page-payment-methods__grid,
  .page-payment-methods__method-list,
  .page-payment-methods__step-list,
  .page-payment-methods__note-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-payment-methods__main-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-payment-methods__grid,
  .page-payment-methods__method-list,
  .page-payment-methods__step-list,
  .page-payment-methods__note-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-payment-methods__card-title,
  .page-payment-methods__method-title,
  .page-payment-methods__step-title,
  .page-payment-methods__note-title {
    font-size: 1.2em;
  }
  .page-payment-methods__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__cta-section {
    padding: 0 15px;
  }
  .page-payment-methods__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__hero-content,
  .page-payment-methods__grid,
  .page-payment-methods__method-list,
  .page-payment-methods__step-list,
  .page-payment-methods__note-list,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__video-section { /* No video in this page, but keeping for robustness */
    padding-top: 10px !important;
  }
  .page-payment-methods__hero-image-wrapper { /* Ensure hero image wrapper doesn't overflow */
    padding: 0 15px;
  }
}