/* style/payment-methods-deposit-guide.css */

/* Base styles for the page */
.page-payment-methods-deposit-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black */
}

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

/* Hero Section */
.page-payment-methods-deposit-guide__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand color as background for hero */
  color: #ffffff;
  padding-top: 100px; /* Adjust as needed, assuming shared.css handles body padding-top */
}

.page-payment-methods-deposit-guide__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-payment-methods-deposit-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods-deposit-guide__btn-primary,
.page-payment-methods-deposit-guide__btn-secondary,
.page-payment-methods-deposit-guide__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-payment-methods-deposit-guide__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-payment-methods-deposit-guide__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

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

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

.page-payment-methods-deposit-guide__btn-link {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-payment-methods-deposit-guide__btn-link:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
}

/* Content Area */
.page-payment-methods-deposit-guide__content-area {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for main content */
  color: #333333; /* Dark text for light background */
}

.page-payment-methods-deposit-guide__section-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-payment-methods-deposit-guide__text-block {
  font-size: 1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-payment-methods-deposit-guide a {
  color: #26A9E0;
  text-decoration: none;
}

.page-payment-methods-deposit-guide a:hover {
  text-decoration: underline;
}

/* Method Grid */
.page-payment-methods-deposit-guide__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-payment-methods-deposit-guide__card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards are same height */
  color: #333333; /* Dark text for card background */
}

.page-payment-methods-deposit-guide__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-payment-methods-deposit-guide__card-title {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-payment-methods-deposit-guide__card-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

/* Step-by-step Guide */
.page-payment-methods-deposit-guide__step-by-step {
  margin-bottom: 60px;
}

.page-payment-methods-deposit-guide__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f0f8ff;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #333333; /* Dark text for light background */
}

.page-payment-methods-deposit-guide__step-number {
  font-size: 2em;
  font-weight: bold;
  color: #26A9E0;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-payment-methods-deposit-guide__step-title {
  font-size: 1.2em;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-payment-methods-deposit-guide__step-text {
  font-size: 0.95em;
}

/* Tips List */
.page-payment-methods-deposit-guide__tips-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 60px;
  color: #333333;
}

.page-payment-methods-deposit-guide__tips-list li {
  margin-bottom: 10px;
}

.page-payment-methods-deposit-guide__tips-list strong {
  color: #26A9E0;
}

/* CTA Banner */
.page-payment-methods-deposit-guide__cta-banner {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 60px;
}

.page-payment-methods-deposit-guide__banner-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__banner-text {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

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

.page-payment-methods-deposit-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light background */
}

.page-payment-methods-deposit-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  background-color: #e6f7ff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-question:hover {
  background-color: #d9edf7;
}

.page-payment-methods-deposit-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods-deposit-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-payment-methods-deposit-guide__faq-answer p {
  margin-bottom: 0;
  font-size: 0.95em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods-deposit-guide__main-title {
    font-size: 2.2em;
  }

  .page-payment-methods-deposit-guide__section-title {
    font-size: 1.8em;
  }
}

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

  .page-payment-methods-deposit-guide__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure proper spacing on mobile */
  }

  .page-payment-methods-deposit-guide__main-title {
    font-size: 1.8em;
  }

  .page-payment-methods-deposit-guide__description {
    font-size: 1em;
  }

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

  .page-payment-methods-deposit-guide__btn-primary,
  .page-payment-methods-deposit-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 20px;
  }
  
  .page-payment-methods-deposit-guide__btn-link {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-payment-methods-deposit-guide__content-area {
    padding: 40px 0;
  }

  .page-payment-methods-deposit-guide__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }

  .page-payment-methods-deposit-guide__method-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

  .page-payment-methods-deposit-guide__card {
    padding: 20px;
  }

  .page-payment-methods-deposit-guide__card-image {
    max-width: 250px;
  }

  .page-payment-methods-deposit-guide__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border-left: none;
    border-top: 5px solid #26A9E0;
    margin: 0 15px 25px 15px;
  }

  .page-payment-methods-deposit-guide__step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-payment-methods-deposit-guide__tips-list {
    margin-left: 15px;
    padding: 0 15px;
  }

  .page-payment-methods-deposit-guide__cta-banner {
    padding: 40px 20px;
    margin: 0 15px 50px 15px;
  }

  .page-payment-methods-deposit-guide__banner-title {
    font-size: 1.5em;
  }

  .page-payment-methods-deposit-guide__banner-text {
    font-size: 1em;
  }

  .page-payment-methods-deposit-guide__faq-list {
    padding: 0 15px;
  }

  .page-payment-methods-deposit-guide__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-payment-methods-deposit-guide__faq-answer {
    padding: 0 20px;
  }
  
  /* Ensure all content images are responsive */
  .page-payment-methods-deposit-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers with images/buttons are constrained */
  .page-payment-methods-deposit-guide__container,
  .page-payment-methods-deposit-guide__method-grid,
  .page-payment-methods-deposit-guide__card,
  .page-payment-methods-deposit-guide__step-by-step,
  .page-payment-methods-deposit-guide__step-item,
  .page-payment-methods-deposit-guide__cta-banner,
  .page-payment-methods-deposit-guide__faq-list,
  .page-payment-methods-deposit-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  /* Add horizontal padding to main content elements if not already handled by container */
  .page-payment-methods-deposit-guide__content-area > .page-payment-methods-deposit-guide__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Color Contrast Fixes (as per instructions) */
.page-payment-methods-deposit-guide__dark-bg {
  color: #ffffff;
}

.page-payment-methods-deposit-guide__light-bg {
  color: #333333;
}

.page-payment-methods-deposit-guide p,
.page-payment-methods-deposit-guide li {
  color: #333333;
}

.page-payment-methods-deposit-guide__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__btn-primary {
  background: #EA7C07;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-payment-methods-deposit-guide__card {
  background: #f9f9f9;
  color: #333333;
}

.page-payment-methods-deposit-guide__faq-question {
  background-color: #e6f7ff;
  color: #26A9E0;
}

.page-payment-methods-deposit-guide__faq-answer p {
  color: #555555;
}