@media (max-width: 820px) {
  body main#top header.topbar.referenceHeader .topSearchDesktop {
    display: none !important;
  }

  body main#top header.topbar.referenceHeader .navShell.referenceHead {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  body main#top section.hero {
    height: auto !important;
    min-height: 545px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body main#top section.hero .heroContent {
    width: 100% !important;
    min-height: 0 !important;
    padding: 56px 16px 74px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body main#top section.hero h1 {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.08 !important;
  }

  body main#top section.hero p {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto 22px !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  body main#top section.hero form.searchBox {
    width: min(100%, 500px) !important;
    margin: 0 auto !important;
  }

  body main#top section.hero .searchRow button {
    background: #071728 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-weight: 950 !important;
  }

  body main#top section.hero .referenceFilterButton {
    margin: 18px auto 0 !important;
    align-self: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 520px) {
  body main#top section.hero {
    min-height: 560px !important;
  }

  body main#top section.hero .heroContent {
    padding-top: 42px !important;
  }

  body main#top section.hero h1 {
    font-size: 32px !important;
  }

  body main#top section.hero .searchRow input {
    font-size: 14px !important;
  }
}

/* Home: vitrine patrocinada no padrao da referencia */
body main#top #homeSponsorShowcase.sponsorShowcase {
  width: min(100% - 96px, 1220px) !important;
  margin: 30px auto 12px !important;
  padding: 0 !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
}

body main#top #homeSponsorShowcase .sponsorTrack {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  overflow: hidden !important;
}

body main#top #homeSponsorShowcase .sponsorDynamic {
  height: 210px !important;
  min-height: 210px !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #07192b !important;
  box-shadow: 0 16px 32px rgba(3, 24, 45, .12) !important;
}

body main#top #homeSponsorShowcase .sponsorCardLink {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  text-decoration: none !important;
}

body main#top #homeSponsorShowcase .sponsorCardLink::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(90deg, rgba(0, 17, 32, .94) 0%, rgba(0, 17, 32, .84) 54%, rgba(0, 17, 32, .42) 76%, rgba(0, 17, 32, .08) 100%) !important;
}

body main#top #homeSponsorShowcase .sponsorVisual {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

body main#top #homeSponsorShowcase .sponsorVisual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

body main#top #homeSponsorShowcase .sponsorCopy {
  position: relative !important;
  z-index: 2 !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 24px 16px 22px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 9px !important;
}

body main#top #homeSponsorShowcase .sponsorCopy strong,
body main#top #homeSponsorShowcase .sponsorCopy h2,
body main#top #homeSponsorShowcase .sponsorButton {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  text-align: left !important;
}

body main#top #homeSponsorShowcase .sponsorCopy strong {
  display: block !important;
  width: min(100%, 390px) !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(18px, 1.22vw, 23px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

body main#top #homeSponsorShowcase .sponsorCopy h2 {
  display: -webkit-box !important;
  width: min(100%, 390px) !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(12px, .92vw, 15px) !important;
  line-height: 1.18 !important;
  font-weight: 850 !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body main#top #homeSponsorShowcase .sponsorCopy p {
  display: none !important;
}

body main#top #homeSponsorShowcase .sponsorButton {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 136px !important;
  max-width: 205px !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #06192b !important;
  font-size: 11px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  text-align: center !important;
}

body main#top #homeSponsorShowcase .sponsorTone2 .sponsorButton {
  background: #ffb000 !important;
}

body main#top #homeSponsorShowcase .sponsorDynamic .sponsorCopy,
html body main#top #homeSponsorShowcase .sponsorDynamic .sponsorCopy {
  width: calc(100% - 32px) !important;
  max-width: none !important;
}

body main#top #homeSponsorShowcase .sponsorDynamic strong,
html body main#top #homeSponsorShowcase .sponsorDynamic strong {
  width: min(100%, 390px) !important;
  max-width: 100% !important;
  font-size: clamp(18px, 1.22vw, 23px) !important;
  line-height: 1.05 !important;
  white-space: normal !important;
  overflow: visible !important;
}

body main#top #homeSponsorShowcase .sponsorDynamic h2,
html body main#top #homeSponsorShowcase .sponsorDynamic h2 {
  width: min(100%, 390px) !important;
  max-width: 100% !important;
  font-size: clamp(12px, .92vw, 15px) !important;
  line-height: 1.18 !important;
  -webkit-line-clamp: 5 !important;
}

body main#top #homeSponsorShowcase .roundArrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid #dfe4e9 !important;
  background: #fff !important;
  color: #06192b !important;
  display: grid !important;
  place-items: center !important;
  font-size: 24px !important;
  line-height: 1 !important;
  box-shadow: 0 12px 28px rgba(5, 19, 35, .12) !important;
}

body main#top #homeSponsorShowcase .roundArrow.left {
  left: -44px !important;
  right: auto !important;
}

body main#top #homeSponsorShowcase .roundArrow.right {
  right: -44px !important;
  left: auto !important;
}

@media (max-width: 1100px) {
  body main#top #homeSponsorShowcase.sponsorShowcase {
    width: min(100% - 56px, 980px) !important;
  }

  body main#top #homeSponsorShowcase .sponsorTrack {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body main#top #homeSponsorShowcase .sponsorTrack .sponsorDynamic:nth-child(3) {
    display: none !important;
  }

  body main#top #homeSponsorShowcase .roundArrow.left {
    left: -42px !important;
  }

  body main#top #homeSponsorShowcase .roundArrow.right {
    right: -42px !important;
  }
}

@media (max-width: 720px) {
  body main#top #homeSponsorShowcase.sponsorShowcase {
    width: min(100% - 24px, 520px) !important;
  }

  body main#top #homeSponsorShowcase .sponsorTrack {
    grid-template-columns: 1fr !important;
  }

  body main#top #homeSponsorShowcase .sponsorTrack .sponsorDynamic:nth-child(n+2) {
    display: none !important;
  }

  body main#top #homeSponsorShowcase .roundArrow {
    display: none !important;
  }

  body main#top #homeSponsorShowcase .sponsorDynamic {
    height: 220px !important;
  }

  body main#top #homeSponsorShowcase .sponsorCopy {
    padding: 23px 22px !important;
  }

  body main#top #homeSponsorShowcase .sponsorCopy h2 {
    max-width: 86% !important;
    font-size: 16px !important;
  }
}
