.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F4F7FB; /* Background color as per custom palette */
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset handled by body */
  background-color: #F4F7FB;
  overflow: hidden;
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-payment-methods__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-payment-methods__hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #333333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-payment-methods__section {
  padding: 50px 20px;
  background-color: #FFFFFF;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section:nth-of-type(even) {
  background-color: #F4F7FB;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-payment-methods__container--center {
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-payment-methods__section-subtitle {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #2F6BFF;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-payment-methods p {
  font-size: 17px;
  color: #333333;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-payment-methods__highlight-text {
  color: #2F6BFF;
  font-weight: 600;
}

.page-payment-methods__bold-text {
  font-weight: 700;
}

.page-payment-methods__inline-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-payment-methods__inline-link:hover {
  color: #6FA3FF;
  text-decoration: underline;
}

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

.page-payment-methods__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__card--single {
  max-width: 800px;
  margin: 30px auto;
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-payment-methods__card-title {
  font-size: 22px;
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  width: 100%;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
  color: #333333;
}

.page-payment-methods__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2F6BFF;
  font-weight: bold;
}

.page-payment-methods__list--bullet li::before {
  content: '•';
  color: #2F6BFF;
  font-size: 20px;
  line-height: 1;
  top: 3px;
}

.page-payment-methods__list-item-title {
  color: #1F2D3D;
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #FFFFFF;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 5px rgba(47, 107, 255, 0.2);
  cursor: pointer;
}

.page-payment-methods__btn-secondary:hover {
  background: #EBF2FF;
  color: #255DD9;
  box-shadow: 0 4px 8px rgba(47, 107, 255, 0.3);
}

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

.page-payment-methods__feature-item {
  background-color: #F4F7FB;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-icon {
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-payment-methods__feature-title {
  font-size: 20px;
  color: #1F2D3D;
  margin-bottom: 10px;
  font-weight: 600;
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #F0F5FF;
}

.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  background: #F9FBFF;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #333333;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

.page-payment-methods__cta-bottom {
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(47, 107, 255, 0.4);
  margin-bottom: 40px;
}

.page-payment-methods__cta-bottom .page-payment-methods__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-payment-methods__cta-bottom p {
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

.page-payment-methods__cta-button--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-payment-methods__cta-button--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-payment-methods__cta-button--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}

.page-payment-methods__cta-button--secondary:hover {
  background: #F0F5FF;
  color: #255DD9;
  border-color: #F0F5FF;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-image {
    margin-bottom: 20px;
  }

  .page-payment-methods__hero-image img {
    border-radius: 4px;
  }

  .page-payment-methods__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-payment-methods__section {
    padding: 30px 15px;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-payment-methods__section-subtitle {
    font-size: 22px;
  }

  .page-payment-methods p {
    font-size: 15px;
  }

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

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-title {
    font-size: 20px;
  }

  .page-payment-methods__list li {
    font-size: 15px;
  }

  .page-payment-methods__btn-secondary {
    padding: 10px 25px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-payment-methods__feature-item {
    padding: 25px;
  }

  .page-payment-methods__feature-title {
    font-size: 18px;
  }

  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px 20px;
  }

  .page-payment-methods__faq-qtext {
    font-size: 16px;
  }

  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
    padding: 0 20px 15px;
  }

  .page-payment-methods__cta-bottom {
    padding: 40px 15px;
  }

  .page-payment-methods__cta-bottom .page-payment-methods__section-title {
    font-size: 26px;
  }

  .page-payment-methods__cta-bottom p {
    font-size: 15px;
  }

  .page-payment-methods__button-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-payment-methods__button-group .page-payment-methods__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure all images are responsive on mobile */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* All containers with images */
  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Reset padding for specific elements that have it defined by default */
  .page-payment-methods__container { padding: 0 !important; }
  .page-payment-methods__overview .page-payment-methods__container,
  .page-payment-methods__deposit-methods .page-payment-methods__container,
  .page-payment-methods__withdrawal-methods .page-payment-methods__container,
  .page-payment-methods__security .page-payment-methods__container,
  .page-payment-methods__faq .page-payment-methods__container,
  .page-payment-methods__cta-bottom .page-payment-methods__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Specific overrides for padding if needed */
  .page-payment-methods__card, .page-payment-methods__feature-item {
    padding: 20px !important;
  }
}