/* style/payment-methods.css */
.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.5); /* Darken image slightly for text contrast */
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Adjust as needed */
  padding: 60px 20px;
  z-index: 2;
  isolation: isolate; /* Ensures z-index context */
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-payment-methods__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-payment-methods__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-payment-methods__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-payment-methods__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-payment-methods__content-block {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #FCBC45;
}

.page-payment-methods__subsection-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-payment-methods__feature-card, .page-payment-methods__method-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-payment-methods__feature-card:hover, .page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  margin-top: 10px;
}

.page-payment-methods__card-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-payment-methods__card-image, .page-payment-methods__method-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-payment-methods__unordered-list, .page-payment-methods__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-payment-methods__unordered-list li, .page-payment-methods__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-payment-methods__details-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-payment-methods__card-link {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__card-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-payment-methods__button--view-details {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1em;
}

.page-payment-methods__button--view-details:hover {
  background-color: #333333;
}

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__call-to-action {
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods__button--start-journey {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-payment-methods__button--start-journey:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 80%;
  }
  .page-payment-methods__feature-grid, .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__content-block {
    margin: 20px auto;
    padding: 15px;
  }
  /* Ensure all images in content area are responsive and not too small */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__card-image, .page-payment-methods__method-image {
    max-width: 100%; /* Override specific max-width for mobile */
    height: auto;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__subsection-title {
    font-size: 1.5em;
  }
  .page-payment-methods__text-content, .page-payment-methods__card-description, .page-payment-methods__unordered-list li, .page-payment-methods__ordered-list li, .page-payment-methods__faq-answer {
    font-size: 0.95em;
  }
}