@font-face {
  font-family: "fontello";
  src: url("../font/fontello.eot?10022323");
  src: url("../font/fontello.eot?10022323#iefix") format("embedded-opentype"),
    url("../font/fontello.woff2?10022323") format("woff2"),
    url("../font/fontello.woff?10022323") format("woff"),
    url("../font/fontello.ttf?10022323") format("truetype"),
    url("../font/fontello.svg?10022323#fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}

.page-template-page-trade-template #page #main :not(.tg-page-header) .tg-container {
  max-width: 100%;
}
@media (max-width: 768px) {
  .page-template-page-trade-template .site-content .tg-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.trade-page {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--e-global-color-text);
  width: 100%;
  padding-bottom: 60px;
}
.trade-page h1 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.5vw, 4rem);
  font-weight: 600;
  line-height: normal;
  color: var(--e-global-color-791a030b);
}
.trade-page h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3em;
  color: var(--e-global-color-74fecc4d);
}
.trade-page a {
  text-decoration: underline;
  color: #00abc4;
}
.trade-page a:hover {
  color: #1e7ba6;
}
.trade-page a.button {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--e-global-color-fae5bbd);
  background-color: var(--e-global-color-primary);
  padding: 12px 30px;
  border: 1px solid var(--e-global-color-primary);
  border-radius: 50px;
}
.trade-page p:last-child, .trade-page ul:last-child {
  margin-bottom: 0;
}

.trade-page > section {
  padding-left: 15px;
  padding-right: 15px;
}
.trade-page > section:not(:last-child) {
  margin-bottom: 50px;
}
.trade-page .section-content,
.trade-page .section-content > .column {
  display: flex;
  flex-direction: column;
}
.trade-page .section-content {
  max-width: 964px;
  margin: 0 auto;
}
.trade-page .section-content > *:not(:last-child):not(.column),
.trade-page .section-content > .column > *:not(:last-child) {
  margin-bottom: 20px;
}

.trade-page .banner {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 50px;
}
.trade-page .banner-overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.5;
}
.trade-page .banner .section-content {
  justify-content: center;
  position: relative;
  min-height: 330px;
}
.trade-page .banner .section-content > *:not(:last-child) {
  margin-bottom: 30px;
}
.trade-page .banner-pdf-buttons {
  margin-top: 30px;
}
.trade-page .banner-pdf-buttons a.button {
  background-color: var(--e-global-color-accent);
  border-color: var(--e-global-color-accent);
}

.trade-page .checkmarks {
  display: flex;
  flex-direction: column;
  gap: 10px 15px;
  margin-top: 10px;
}

.trade-page .banner-quote, .trade-page .checkmarks p {
  display: flex;
  gap: 10px;
}
.trade-page .banner-quote:before, .trade-page .checkmarks p:before {
  flex: 0 0 24px;
  font-family: "fontello";
  font-style: normal;
  display: inline-block;
  height: 24px;
  width: 24px;
  border-radius: 24px;
  text-align: center;
}

.trade-page .banner-quote {
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  line-height: 24px;
  color: var(--e-global-color-791a030b);
}
.trade-page .banner-quote:before {
  content: "\f10d";
  color: #fff;
  border: solid 2px #fff;
  line-height: 22px;
  font-size: 12px;
}

.trade-page .checkmarks p {
  margin-bottom: 0;
}
.trade-page .checkmarks p:before {
  content: "\e801";
  color: #000;
  border: solid 2px #000;
  line-height: 20px;
}

.trade-page section.videos {
  margin: 60px 0;
}
.trade-page .videos .section-content > *:not(:last-child) {
  margin-bottom: 10px;
}
.trade-page .videos iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.trade-page .video-thumbnails:not(.custom-swiper) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trade-page .video-thumbnails:not(.custom-swiper) > div {
  width: calc(20% - 40px / 5);
}
.trade-page .video-thumbnails:not(.custom-swiper).col-2 > div {
  width: calc(50% - 10px / 2);
}
.trade-page .video-thumbnails:not(.custom-swiper).col-3 > div {
  width: calc(33.3333% - 20px / 3);
}
.trade-page .video-thumbnails:not(.custom-swiper).col-4 > div {
  width: calc(25% - 30px / 4);
}
.trade-page .video-thumbnails img {
  margin-bottom: 10px;
  transition: opacity .3s;
}
.trade-page .video-thumbnails img:not(.active) {
  cursor: pointer;
  opacity: .35;
}
.trade-page .video-thumbnails h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trade-page .video-thumbnails .swiper-nav {
  top: calc((100vw - 15px * 2 - 10px * 4) / 3 / 16 * 9 / 2);
}

.trade-page .stat-know .section-content {
  gap: 30px;
}
.trade-page .stat-know .column {
  background-color: var(--e-global-color-primary);
  padding: 20px;
  border-radius: 10px;
}
.trade-page .stat-know h2 {
  line-height: 1em;
}
.trade-page .stat-know p {
  color: var(--e-global-color-secondary);
}
.trade-page .section-content > .column.stat > *:not(:last-child) {
  margin-bottom: 10px;
}
.trade-page .section-content > .column.stat > .stat-heading {
  margin-bottom: 35px;
}
.trade-page .stat-number {
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
}
.trade-page .stat-line {
  font-size: 20px;
  font-weight: 500;
}
.trade-page .stat-note {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  font-style: italic;
}

.trade-page .cta .column {
  background-color: var(--e-global-color-secondary);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
.trade-page .cta h2 {
  color: var(--e-global-color-primary);
}
.trade-page .cta p {
  max-width: 500px;
  margin: 0 auto;
  color: #fff;
}
.trade-page .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 30px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .trade-page {
    padding-bottom: 70px;
  }
  .trade-page > section {
    padding-left: 30px;
    padding-right: 30px;
  }
  .trade-page > section:not(:last-child) {
    margin-bottom: 60px;
  }
  .trade-page .banner .section-content > * {
    max-width: 55%;
  }
  .trade-page .banner-quote {
    font-size: 20px;
    line-height: 24px;
  }
  .trade-page .checkmarks {
    display: flex;
    flex-direction: row;
  }
  .trade-page .checkmarks p.w-1\/3 {
    flex: 0 0 calc(33.3333% - 10px);
  }
  .trade-page section.videos {
    margin: 70px 0;
  }
  .trade-page .video-thumbnails .swiper-nav {
    top: calc((100vw - 30px * 2 - 10px * 4) / 5 / 16 * 9 / 2);
  }
  .trade-page .stat-know .section-content {
    flex-direction: row;
  }
  .trade-page .stat-know .section-content > * {
    width: calc(50% - 15px);
  }
}

@media (min-width: 1025px) {
  .shrink .section-content > * {
    max-width: 80%;
  }
  .shrink .section-content > ul {
    max-width: calc(80% - 1.6rem);
  }
  .videos.shrink .section-content > .custom-swiper-container {
    max-width: calc(80% + 50px);
  }
  .trade-page .banner .section-content > * {
    max-width: 50%;
  }
  .trade-page .video-thumbnails .swiper-nav {
    top: calc(((100vw - 15px * 2) * 0.8 - 10px * 4) / 5 / 16 * 9 / 2);
  }
}
