/* 您的資金 您的方式 — 对齐 IC Markets spread-steps-sec / steps-card */

.home-payment-methods-section {
  padding: 4.375rem 0;
  background: #fff;
  color: #000;
}

.home-payment-methods__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.home-payment-methods__card {
  background: #f6f6f6;
  border-radius: 1.25rem;
  padding: 3.75rem 2rem;
  box-sizing: border-box;
}

.home-payment-methods__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.home-payment-methods__title {
  margin: 0 0 1.25rem;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  font-family: "Roboto-Bold", sans-serif;
  font-weight: 700;
  color: #000;
}

.home-payment-methods__perks {
  list-style: none;
  margin: 0 0 1.5625rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.home-payment-methods__perks li {
  position: relative;
  margin: 0 2.5rem 0.625rem 0;
  padding: 0 0 0 1.875rem;
  font-size: 15px;
  line-height: 1.5rem;
  font-family: "Roboto-Bold", sans-serif;
  font-weight: 700;
  color: #000;
}

.home-payment-methods__perks li:last-child {
  margin-right: 0;
}

.home-payment-methods__perks li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background-image: url("/assets/images/payments/check.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0.0625rem;
}

.home-payment-methods__tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.875rem 2.5rem;
  border-radius: 0.5rem;
  background: #dadada;
  color: #000;
  font-size: 1.25rem;
  line-height: 1.4375rem;
  font-family: "Roboto-Regular", sans-serif;
  font-weight: 400;
}

.home-payment-methods__note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-family: "Roboto-Regular", sans-serif;
  color: #000;
  white-space: nowrap;
}

.home-payment-methods__logos {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-payment-methods__logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-payment-methods__funding {
  padding: 0.75rem;
  min-width: 6.5rem;
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.home-payment-methods__logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

#footer .secure_payment[data-payment-footer-hidden='1'] {
  display: none !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home-payment-methods__perks {
    display: block;
  }

  .home-payment-methods__perks li {
    display: inline-block;
    width: 49%;
    margin: 0 0 0.5625rem;
  }
}

@media (max-width: 900px) {
  .home-payment-methods__grid {
    grid-template-columns: 1fr;
  }

  .home-payment-methods__note {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .home-payment-methods-section {
    padding: 2.5rem 0;
  }

  .home-payment-methods__card {
    min-height: auto;
    padding: 1.75rem 1.75rem 3.75rem;
    overflow: hidden;
  }

  .home-payment-methods__tag {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .home-payment-methods__perks {
    display: block;
  }

  .home-payment-methods__perks li {
    display: block;
    width: auto;
    margin: 0 0 0.5625rem;
  }
}
