/* Scoped repairs for the native templates reviewed at mobile and wide desktop sizes. */
body.page-template-contact-us main .communication--top > a.btn,
body.page-template-contact-us main .steps > .box-center > a.btn,
main.content .page-nomination--experience .trade-slider__box > a.btn,
main.vt-instrument-hub .trade-device--top > a.btn,
body.home main .home-banner__links > a.btn,
main.content .page-default.awards .default-banner__actions > a.btn {
  display: inline-flex;
  width: max-content !important;
  min-width: 196px;
  max-width: 100% !important;
  height: auto !important;
  min-height: 50px;
  padding: 12px 24px !important;
  box-sizing: border-box;
  white-space: normal !important;
  overflow-wrap: break-word;
  line-height: 1.4;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
}

body.page-template-contact-us main .communication--top > a.btn {
  margin: 12px 12px 0 0;
}

main.content .page-default.awards .default-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

main.content .page-default.awards .default-banner__actions > a.btn {
  margin: 0;
}

@media (min-width: 920px) {
  main.content .page-nomination--experience .page-nomination__banner-text .page__title > span {
    color: #25c660 !important;
  }
}

main.content .page-default.copytradin .copy-banner .banner__content-title > span {
  color: #141921 !important;
}

/* Keep all six account cards within the same centered column as the section title. */
main.vt-instrument-hub .differences > .box-center {
  width: calc(100% - 48px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}

main.vt-instrument-hub .differences__columns {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 0 20px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* A single task-based directory replaces the three overlapping home guide sections. */
body.home main .vt-guide-nav {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 72px auto;
}

body.home main .vt-guide-nav__intro {
  max-width: 660px;
  margin-bottom: 28px;
}

body.home main .vt-guide-nav h2 {
  margin: 0 0 12px;
  color: #141921;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

body.home main .vt-guide-nav__intro p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

body.home main .vt-guide-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.home main .vt-guide-nav__group {
  min-width: 0;
  padding: 28px;
  border-radius: 16px;
  background: #f6f6f6;
}

body.home main .vt-guide-nav h3 {
  margin: 0 0 16px;
  color: #141921;
  font-size: 22px;
  line-height: 1.3;
}

body.home main .vt-guide-nav ul {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.home main .vt-guide-nav a {
  display: inline-block;
  max-width: 100%;
  padding: 8px 0;
  color: #0b5c31;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
}

body.home main .vt-guide-nav a:hover,
body.home main .vt-guide-nav a:focus-visible {
  text-decoration: underline;
}

body.home main .vt-guide-nav a:focus-visible {
  outline: 2px solid #0b5c31;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 960px) {
  main.vt-instrument-hub .differences__columns,
  body.home main .vt-guide-nav__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  main.content .page-default.awards .award--tabs .tabs-block__header {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  main.vt-instrument-hub .differences > .box-center,
  body.home main .vt-guide-nav {
    width: calc(100% - 32px) !important;
  }

  main.vt-instrument-hub .differences__columns,
  body.home main .vt-guide-nav__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.home main .vt-guide-nav {
    margin-block: 48px;
  }

  body.home main .vt-guide-nav__group {
    padding: 24px;
  }

  body.home main .home-banner__links > a.btn,
  main.content .page-default.awards .default-banner__actions > a.btn {
    width: 100% !important;
    min-width: 0;
  }
}
