/* style/payment-methods.css */
.page-payment-methods {
  background-color: #F3F3F3;
  color: #404040;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding for visual spacing */
  padding-bottom: 40px;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

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

.page-payment-methods__hero-content {
  position: relative; /* Ensure content is above the image if needed, but not overlaying */
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #025BE8; /* Using accent color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-payment-methods__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-payment-methods__section-block {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #025BE8;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-payment-methods__section-text {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #404040;
}

.page-payment-methods__image-block {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-payment-methods__image--full-width {
  width: 100%;
}

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

.page-payment-methods__method-card {
  background-color: #E5EEFD; /* Light blue for cards */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.page-payment-methods__card-title {
  font-size: 1.25rem;
  color: #025BE8;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__card-description {
  font-size: 0.95rem;
  color: #404040;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  margin-top: auto;
  white-space: nowrap;
  font-size: 1rem;
}

.page-payment-methods__cta-button--primary {
  background-color: #1266EC; /* Register button color */
  color: #FFFFFF;
}

.page-payment-methods__cta-button--primary:hover {
  background-color: #0d4bbd;
}

.page-payment-methods__cta-button--secondary {
  background-color: #E5EEFD; /* Login button color */
  color: #025BE8;
  border: 1px solid #025BE8;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #d1e2fa;
}

.page-payment-methods__button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.page-payment-methods__guide-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__guide-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__guide-card .page-payment-methods__card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-payment-methods__guide-card .page-payment-methods__card-title a {
  color: #025BE8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__guide-card .page-payment-methods__card-title a:hover {
  color: #1266EC;
  text-decoration: underline;
}

.page-payment-methods__guide-card .page-payment-methods__cta-button {
  background-color: #025BE8;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-payment-methods__guide-card .page-payment-methods__cta-button:hover {
  background-color: #0140a2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

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

  .page-payment-methods__content-area {
    padding: 20px 15px;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-payment-methods__cta-button {
    width: 100%;
    text-align: center;
  }

  .page-payment-methods__button-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-payment-methods__image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images are responsive and not too small */
  .page-payment-methods__content-area img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__method-card-grid {
    grid-template-columns: 1fr;
  }
}