.fleetcard-portal-selector-page .section-eofy-promo-bar,
.fleetcard-portal-selector-page .sitewide-disclaimer {
  display: none;
}

.portal-selector-template,
.portal-selector-template * {
  box-sizing: border-box;
}

.portal-selector-template {
  color: #121217;
  background: #f7f8fa;
  font-family: "Gilroy", Arial, sans-serif;
}

.portal-selector-template__intro {
  padding: 72px 24px 56px;
  text-align: center;
}

.portal-selector-template__intro h1 {
  margin: 0 !important;
  color: #000;
  font-family: "Gilroy", Arial, sans-serif;
  font-size: 56px !important;
  font-weight: 700;
  line-height: 64px !important;
}

.portal-selector-template__intro p {
  max-width: 738px;
  margin: 12px auto 0 !important;
  color: #66605c;
  font-size: 18px !important;
  line-height: 28px !important;
}

.portal-selector-template__cards-wrap {
  padding: 36px 24px 40px;
}

.portal-selector-template__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.portal-selector-template__card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px 32px;
  border: 2px solid rgba(102, 96, 92, 0.25);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(18, 22, 32, 0.03),
    0 6px 12px rgba(18, 22, 32, 0.02),
    0 2px 4px rgba(18, 22, 32, 0.02),
    0 1px 2px rgba(18, 22, 32, 0.01);
  text-align: center;
  transition: border-color 180ms ease;
}

.portal-selector-template__card:focus-within {
  border-color: #f54c36;
}

@media (hover: hover) {
  .portal-selector-template__card:hover {
    border-color: #f54c36;
  }
}

.portal-selector-template__card-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-selector-template__card h2 {
  margin: 0 !important;
  color: #333;
  font-family: "Gilroy", Arial, sans-serif;
  font-size: 28px !important;
  font-weight: 700;
  line-height: 36px !important;
}

.portal-selector-template__description p,
.portal-selector-template__question {
  margin: 0 !important;
  color: #2b2b2b;
  font-size: 16px !important;
  line-height: 24px !important;
}

.portal-selector-template__question {
  margin-top: 16px !important;
  color: #47474c !important;
  font-weight: 700;
}

.portal-selector-template__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.portal-selector-template__button,
.portal-selector-template__button:visited {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff !important;
  font-family: "Gilroy", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  text-decoration: none !important;
}

.portal-selector-template__button:hover,
.portal-selector-template__button:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(0.96);
}

.portal-selector-template__button:focus-visible {
  outline: 3px solid #121217;
  outline-offset: 2px;
}

.portal-selector-template__button.btn-apply {
  border-radius: 8px;
  line-height: 24px !important;
}

.portal-selector-template__button--blue,
.portal-selector-template__button--blue:visited {
  background: linear-gradient(90deg, #233db0, #3a79da);
}

.portal-selector-template__button--merchant,
.portal-selector-template__button--merchant:visited {
  background: #000;
}

.portal-selector-template__button--secondary,
.portal-selector-template__button--secondary:visited {
  border-color: rgba(102, 96, 92, 0.25);
  background: #fff;
  color: #121217 !important;
}

.portal-selector-template__button--secondary:hover,
.portal-selector-template__button--secondary:focus {
  background: #f7f7f7;
  color: #121217 !important;
}

.portal-selector-template__more {
  padding: 0 24px 56px;
}

.portal-selector-template__more-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 16px;
  background: #f2f2f5;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.portal-selector-template__more-item {
  margin: 0 !important;
  color: #121217;
  font-size: inherit !important;
  font-weight: inherit;
  line-height: inherit !important;
}

.portal-selector-template__more a,
.portal-selector-template__more a:visited {
  color: #f54c36;
  text-decoration: none;
}

.portal-selector-template__more a:hover,
.portal-selector-template__more a:focus {
  color: #d83f2d;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .portal-selector-template__cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 16px;
  }

  .portal-selector-template__card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .portal-selector-template__intro {
    padding: 72px 16px 32px;
  }

  .portal-selector-template__intro h1 {
    font-size: 32px !important;
    line-height: 40px !important;
  }

  .portal-selector-template__intro p {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .portal-selector-template__cards-wrap {
    padding: 16px;
  }

  .portal-selector-template__card {
    gap: 40px;
    padding: 32px 16px 24px;
  }

  .portal-selector-template__card h2 {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .portal-selector-template__actions {
    margin-top: 0;
  }

  .portal-selector-template__more {
    padding: 0 16px;
  }

  .portal-selector-template__more-inner {
    flex-direction: column;
    gap: 8px;
    padding: 16px 8px;
    font-size: 16px;
  }
}
