/* style/payment-methods-faq.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #000000; /* Assuming --black-color from shared.css is #000000 or similar dark */
}

.page-payment-methods-faq {
  color: var(--text-light); /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background-dark); /* Ensure consistency with body background */
}

.page-payment-methods-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

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

.page-payment-methods-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-faq__hero-content {
  max-width: 900px;
  margin-top: 30px;
  z-index: 1;
  color: var(--text-light);
}

.page-payment-methods-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods-faq__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-payment-methods-faq__btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-faq__btn-primary:hover {
  background-color: #1a8ccb;
  transform: translateY(-2px);
}

.page-payment-methods-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-light); /* Lighter background for main content */
  color: var(--text-dark); /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-top: -50px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 2;
}

.page-payment-methods-faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods-faq__section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-payment-methods-faq__section-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
}

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

.page-payment-methods-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-payment-methods-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: var(--secondary-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-payment-methods-faq__faq-item[open] > .page-payment-methods-faq__faq-question {
  background-color: #e6f7ff;
}

.page-payment-methods-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-payment-methods-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: #f0f0f0;
  border-top: 1px solid #e0e0e0;
}

.page-payment-methods-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-payment-methods-faq__faq-answer ul,
.page-payment-methods-faq__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style-type: disc;
}

.page-payment-methods-faq__faq-answer ul li,
.page-payment-methods-faq__faq-answer ol li {
  margin-bottom: 8px;
}

.page-payment-methods-faq__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-payment-methods-faq__image-block {
  margin: 40px 0;
  text-align: center;
}

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

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

.page-payment-methods-faq__tip-item.page-payment-methods-faq__card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  text-align: left;
}

.page-payment-methods-faq__tip-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods-faq__tip-item p {
  font-size: 1rem;
  line-height: 1.5;
}

.page-payment-methods-faq__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 40px 20px;
  background-color: #e6f7ff; /* Light blue background for CTA */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-faq__cta-text {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--text-dark);
  font-weight: 500;
}

.page-payment-methods-faq__cta-button {
  background: var(--login-color);
}

.page-payment-methods-faq__cta-button:hover {
  background-color: #c96a06;
}

.page-payment-methods-faq__image-block--full-width {
  margin-top: 60px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods-faq__hero-content {
    max-width: 700px;
  }
  .page-payment-methods-faq__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-payment-methods-faq__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-payment-methods-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-payment-methods-faq__hero-description,
  .page-payment-methods-faq__section-intro,
  .page-payment-methods-faq__faq-question,
  .page-payment-methods-faq__faq-answer p,
  .page-payment-methods-faq__tip-item p,
  .page-payment-methods-faq__cta-text {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .page-payment-methods-faq__content-area {
    padding: 20px 15px;
    margin-top: -30px;
  }

  .page-payment-methods-faq__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
  }

  .page-payment-methods-faq__faq-question {
    padding: 15px 20px;
  }
  .page-payment-methods-faq__faq-answer {
    padding: 15px 20px;
  }

  .page-payment-methods-faq__tip-item.page-payment-methods-faq__card {
    padding: 20px;
  }

  .page-payment-methods-faq__cta-section {
    padding: 30px 15px;
  }

  /* Mobile responsive images */
  .page-payment-methods-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive containers for images/content */
  .page-payment-methods-faq__section,
  .page-payment-methods-faq__card,
  .page-payment-methods-faq__container,
  .page-payment-methods-faq__hero-image-wrapper,
  .page-payment-methods-faq__image-block,
  .page-payment-methods-faq__image-block--full-width {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  /* Mobile responsive buttons */
  .page-payment-methods-faq__btn-primary,
  .page-payment-methods-faq__cta-button,
  .page-payment-methods-faq a[class*="button"],
  .page-payment-methods-faq a[class*="btn"] {
    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-faq__cta-section .page-payment-methods-faq__btn-primary {
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-payment-methods-faq__cta-buttons,
  .page-payment-methods-faq__button-group,
  .page-payment-methods-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-payment-methods-faq__cta-section .page-payment-methods-faq__btn-primary {
    width: auto !important; /* Allow button to size based on content if not full width */
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods-faq__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-payment-methods-faq__section-title {
    font-size: 1.6rem;
  }
  .page-payment-methods-faq__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .page-payment-methods-faq__faq-answer {
    padding: 12px 15px;
  }
  .page-payment-methods-faq__btn-primary {
    padding: 12px 20px;
  }
  .page-payment-methods-faq__tip-title {
    font-size: 1.1rem;
  }
}