#fx-converter,
#fx-finder {
  scroll-margin-top: 100px;
}
.fx-hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.fx-hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("/static/images/currency-exchange/fx-hero.jpg");
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
}
.fx-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 30%,
    rgba(255, 255, 255, 0) 47%
  );
}
.fx-hero-content {
  max-width: 44%;
  padding: 60px 0 64px;
}
.fx-hero-heading {
  color: #262c5d;
  font-size: 48px;
  line-height: 1.14;
  font-weight: 800;
  margin: 0 0 22px;
}
.fx-hero-sub {
  color: #33395f;
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 34px;
  max-width: 470px;
}
.fx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 44px;
}
@media (min-width: 1024px) {
  .fx-hero-cta {
    flex-wrap: nowrap;
    width: max-content;
  }
}
.fx-hero .pcd-btn-outline {
  background: #fff;
}
.fx-hero .pcd-btn-outline:hover {
  background: #262c5d;
}
.fx-btn-swap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 12px;
}
.fx-hero-trust {
  display: flex;
  width: fit-content;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
}
.fx-hero-trust li {
  text-align: center;
  max-width: 110px;
}
.fx-hero-trust img {
  height: 54px;
  width: auto;
  margin: 0 auto 10px;
}
.fx-hero-trust p {
  color: #262c5d;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
}
.fx-hero-mobile {
  display: none;
  width: 100%;
  height: auto;
}
.fx-popular {
  background: #fff;
  padding: 56px 0 64px;
}
.fx-popular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 1024px) {
  .fx-popular-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    grid-template-rows: auto auto;
    row-gap: 0;
  }
  .fx-currencies {
    display: contents;
  }
  .fx-currencies-head {
    grid-column: 1;
    grid-row: 1;
  }
  .fx-popular-grid .fx-cards {
    grid-column: 1;
    grid-row: 2;
  }
  .fx-popular-grid .fx-converter {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .fx-popular-grid .fx-converter {
    padding: 36px 28px 30px;
  }
  .fx-popular-grid .fx-converter-heading {
    margin-bottom: 28px;
  }
  .fx-popular-grid .fx-conv-col {
    gap: 16px;
  }
  .fx-popular-grid .fx-conv-card {
    padding: 22px 18px;
  }
  .fx-popular-grid .fx-conv-swap {
    top: 39px;
  }
  .fx-popular-grid .fx-conv-rate {
    font-size: 19px;
    margin-bottom: 10px;
  }
  .fx-popular-grid .fx-conv-note p:not(.fx-conv-rate) {
    font-size: 15px;
  }
  .fx-popular-grid .fx-converter-grid {
    flex: 1;
    grid-template-rows: auto 1fr;
    row-gap: 18px;
  }
  .fx-popular-grid .fx-conv-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.fx-popular-heading {
  color: #262c5d;
  font-size: 34px !important;
  font-weight: 800;
  text-transform: uppercase;
  margin: 4px 0 26px;
}
.fx-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .fx-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .fx-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.fx-card {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #b9c6dd;
  border-radius: 4px;
  padding: 18px 10px 14px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.fx-card:hover,
.fx-card.is-active {
  border-color: #262c5d;
  box-shadow: 0 2px 10px rgba(38, 44, 93, 0.18);
}
.fx-card img {
  width: 74px;
  height: auto;
  margin: 0 auto 12px;
}
.fx-card-code {
  display: block;
  color: #262c5d;
  font-size: 18px;
  font-weight: 800;
}
.fx-card-name {
  display: block;
  color: #33395f;
  font-size: 13.5px;
  margin-top: 2px;
}
.fx-converter {
  background: #262c5d;
  border-radius: 22px;
  padding: 30px 28px 28px;
}
.fx-converter-heading {
  color: #fff;
  font-size: 25px !important;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 24px;
}
.fx-converter-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
}
.fx-conv-col {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.fx-conv-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
}
.fx-conv-label {
  display: block;
  color: #262c5d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}
.fx-conv-est {
  font-weight: 700;
  text-transform: none;
}
.fx-conv-amount {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #262c5d;
  font-family: inherit;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.fx-conv-amount:focus {
  outline: none;
}
.fx-conv-currency {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fx-conv-currency img {
  width: 48px;
  height: auto;
  flex-shrink: 0;
}
.fx-conv-select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #262c5d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.fx-conv-usd {
  color: #262c5d;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}
.fx-conv-usd small {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #33395f;
}
.fx-conv-swap {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  z-index: 1;
}
.fx-conv-note {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  text-align: center;
  margin-top: 6px;
}
.fx-conv-rate {
  color: #00a859;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.fx-conv-note p:not(.fx-conv-rate) {
  color: #33395f;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}
.fx-why {
  background: #262c5d;
  padding: 48px 0 54px;
}
.fx-why-heading {
  color: #fff;
  font-size: 32px !important;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 38px;
}
.fx-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .fx-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .fx-why-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .fx-why-grid li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.7);
  }
}
.fx-why-grid li {
  text-align: center;
  padding: 0 18px;
}
.fx-why-grid img {
  width: 96px;
  height: auto;
  margin: 0 auto 26px;
}
.fx-why-grid h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.fx-why-grid p {
  color: #e8ebf7;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}
.fx-steps {
  background: #262c5d;
  padding: 48px 0 56px;
}
.fx-steps-heading {
  color: #fff;
  font-size: 34px !important;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 30px;
}
.fx-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .fx-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .fx-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.fx-steps-grid li {
  text-align: center;
  padding: 0 12px;
}
.fx-steps-grid img {
  width: 118px;
  height: auto;
  margin: 0 auto 20px;
}
.fx-steps-grid h3 {
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.fx-steps-grid p {
  color: #e8ebf7;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 250px;
}
.fx-faq {
  background: #fff;
  padding: 52px 0 36px;
}
.fx-buy {
  position: relative;
  background: #262c5d;
  overflow: hidden;
}
.fx-buy-art {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  z-index: 1;
}
.fx-buy-row {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 54px 0;
  max-width: 66%;
}
.fx-buy-swap {
  width: 96px;
  height: auto;
  flex-shrink: 0;
}
.fx-buy-heading {
  color: #fff;
  font-size: 31px !important;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.fx-buy-red {
  color: #ec081b;
}
.fx-buy-sub {
  color: #e8ebf7;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
}
@media (max-width: 1199px) {
  .fx-hero-photo::after {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.93) 46%,
      rgba(255, 255, 255, 0) 66%
    );
  }
}
@media (max-width: 1023px) {
  .fx-hero-photo::after {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.93) 60%,
      rgba(255, 255, 255, 0) 80%
    );
  }
}
@media (max-width: 1023px) {
  .fx-hero-content {
    max-width: 58%;
    padding: 46px 0 52px;
  }
  .fx-hero-heading {
    font-size: 38px;
  }
  .fx-hero-trust {
    flex-wrap: wrap;
    gap: 22px;
  }
  .fx-buy-row {
    max-width: 70%;
  }
  .fx-buy-art {
    opacity: 0.45;
  }
}
@media (max-width: 767px) {
  .fx-hero-photo {
    display: none;
  }
  .fx-hero-content {
    max-width: none;
    padding: 40px 0 30px;
  }
  .fx-hero-mobile {
    display: block;
  }
  .fx-buy-row {
    max-width: none;
  }
  .fx-buy-art {
    opacity: 0.3;
  }
}
@media (max-width: 779px) {
  .fx-hero-heading {
    font-size: 34px;
  }
  .fx-popular-heading {
    font-size: 28px !important;
  }
  .fx-converter-heading {
    font-size: 22px !important;
  }
  .fx-why-heading,
  .fx-steps-heading {
    font-size: 27px !important;
  }
  .fx-buy-heading {
    font-size: 25px !important;
  }
}
@media (max-width: 479px) {
  .fx-hero-heading {
    font-size: 30px;
  }
  .fx-hero-cta {
    gap: 12px;
  }
  .fx-converter {
    padding: 24px 16px 22px;
  }
  .fx-converter-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .fx-conv-swap {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto;
    width: 38px;
    height: 38px;
  }
  .fx-conv-amount {
    font-size: 22px;
  }
  .fx-conv-currency img {
    width: 46px;
  }
  .fx-conv-usd {
    font-size: 16px;
  }
}
