/* style/payment-methods.css */

/* Ensure main content color contrasts with body background */
.page-payment-methods {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333; /* Dark text for light background */
  background-color: #f8f8f8; /* A very light grey for main content area if body is dark */
}

.page-payment-methods__hero-section {
  background-color: #26A9E0; /* Brand primary color for hero background */
  color: #ffffff;
  padding: 0 20px 80px 20px; /* Adjust padding as image will be above */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for first section */
}

.page-payment-methods__hero-main-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width if needed */
  height: auto;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-payment-methods__hero-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  max-width: 100%; /* Ensure button adapts to container */
}

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

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

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

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

.page-payment-methods__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff; /* Default light background for sections */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  color: #333333; /* Dark text for light background */
}

.page-payment-methods__section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #26A9E0; /* Brand primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-payment-methods__section h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods__section p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-payment-methods__section ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 15px;
}

.page-payment-methods__section li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-payment-methods__image-container {
  text-align: center;
  margin: 40px 0;
}

.page-payment-methods__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px; /* Minimum size for content images */
}

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

.page-payment-methods__method-card {
  background-color: #f5f5f5; /* Light grey background for method cards */
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-payment-methods__method-card h3 {
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-payment-methods__method-card p {
  font-size: 0.95rem;
}

.page-payment-methods__step-container {
  counter-reset: step-counter;
}

.page-payment-methods__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.page-payment-methods__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-right: 15px;
}

.page-payment-methods__step-content {
  text-align: left;
}

.page-payment-methods__step-content h3 {
  margin-top: 0;
  color: #26A9E0;
}

.page-payment-methods__notes ul {
  list-style: none;
  padding: 0;
}

.page-payment-methods__notes li {
  background-color: #fff3e0; /* Light orange for notes */
  border-left: 5px solid #ff9800;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #333333;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  counter-reset: faq-counter;
}

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

.page-payment-methods__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* Hide default marker */
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

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

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__section h2 {
    font-size: 1.8rem;
  }
  .page-payment-methods__section h3 {
    font-size: 1.4rem;
  }
}

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

  .page-payment-methods__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-payment-methods__hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-payment-methods__hero-content p {
    font-size: 1rem;
  }

  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%; /* Ensure container takes full width */
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-payment-methods__section,
  .page-payment-methods__method-card,
  .page-payment-methods__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .page-payment-methods__section h3 {
    font-size: 1.2rem;
  }

  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__image-container img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all content image styles respect min-width/height, but max-width:100% is critical */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video specific responsive rules (even if no video is currently planned, for robustness) */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}