.evt-hero-highlight {
  --evt-hero-nav-gap: 00px;
  --evt-hero-nav-overlap: -56px;
  --evt-hero-nav-card-height: 168px;
  --evt-hero-nav-card-padding: 28px;
  --evt-hero-mobile-bullet-size: 12px;
  --evt-hero-mobile-bullet-size-visible: 15px;
  --evt-hero-mobile-bullet-size-active: 18px;
  position: relative;
  margin: 0 auto;
  color: var(--evt-color-text);
  font-family: var(--evt-font-family-base);
}

.evt-hero-highlight * {
  box-sizing: border-box;
}

.evt-hero-highlight__stage {
  position: relative;
  min-height: 620px;
  border-radius: 50px;
  overflow: hidden;
  background: var(--secondary-darker);
}

.evt-hero-highlight__hero-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
  display: flex;
  align-items: flex-end;
}

.evt-hero-highlight__hero-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.evt-hero-highlight__hero-bg,
.evt-hero-highlight__hero-overlay,
.evt-hero-highlight__hero-surface-link {
  position: absolute;
  inset: 0;
}

.evt-hero-highlight__hero-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1);
  transition: transform var(--evt-transition-medium);
}

.evt-hero-highlight__hero-overlay {
  background:
    linear-gradient(180deg, rgba(16, 17, 24, 0.22) 0%, rgba(16, 17, 24, 0.72) 72%, rgba(16, 17, 24, 0.96) 100%),
    linear-gradient(90deg, rgba(16, 17, 24, 0.68) 0%, rgba(16, 17, 24, 0.16) 48%, rgba(16, 17, 24, 0.78) 100%);
}

.evt-hero-highlight__hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 148px 112px 148px;
}

.evt-hero-highlight__brand-row {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  width: fit-content;
  max-width: 100%;
  color: var(--white);
  font-size: clamp(2rem, 2.8vw, 3.5rem);
  font-weight: var(--evt-font-weight-medium);
  line-height: 1;
  letter-spacing: -0.04em;
}

.evt-hero-highlight__brand-text--accent {
  color: var(--white);
}

.evt-hero-highlight__brand-divider {
  width: 2px;
  height: 56px;
  background: rgba(255, 255, 255, 0.42);
}

.evt-hero-highlight__meta-top {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.evt-hero-highlight__category-pill,
.evt-hero-highlight__nav-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: var(--evt-radius-pill);
  background: var(--tertiary-lighter);
  border-top:1px solid var(--tertiary-main);
  border-bottom:1px solid var(--tertiary-main);
  color: var(--tertiary-main);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2em;
  text-transform: uppercase;
}

.evt-hero-highlight__date,
.evt-hero-highlight__author-submeta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.evt-hero-highlight__date--mobile-top {
  display: none;
}

.evt-hero-highlight__title {
  grid-column: 1;
  max-width: 80%;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2em;
  color:white !important;
}

.evt-hero-highlight__title a {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 3;
  transition: color var(--evt-transition-fast);
}

.evt-hero-highlight__cta-wrap {
  grid-column: 1;
  align-self: start;
  margin-top: 8px;
}

.evt-hero-highlight__button {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius:0 32px 32px 24px;
  background: var(--primary-main);
  color: white !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition:
    background-color var(--evt-transition-fast),
    color var(--evt-transition-fast),
    transform var(--evt-transition-fast);
  line-height: 1em;
}

.evt-hero-highlight__button .bi {
  font-size: 16px;
}

.evt-hero-highlight__author-row {
  grid-column: 2;
  grid-row: 3 / span 2;
  align-self: end;
  justify-self: end;
  width: min(100%, 420px);
}

.evt-hero-highlight__author-row .evt-post-author-meta {
  gap: 14px;
}


.evt-hero-highlight__author-row .evt-post-author-meta__date,
.evt-hero-highlight__author-row .evt-post-author-meta__reading-time {
  font-size: 12px;
}


.evt-hero-highlight__hero-item.is-active:hover .evt-hero-highlight__hero-bg {
  transform: scale(1.04);
}

.evt-hero-highlight__hero-item.is-active:hover .evt-hero-highlight__title a {
  color: var(--primary-main);
}

.evt-hero-highlight__hero-item.is-active:hover .evt-hero-highlight__button {
  background: var(--tertiary-main);
  color: white;
}

.evt-hero-highlight__nav-wrap {
  position: relative;
  z-index: 5;
  width: min(100%, calc(100% - 320px));
  margin: var(--evt-hero-nav-overlap) auto 0;
}

.evt-hero-highlight__nav-viewport {
  overflow: hidden;
  border-radius: 12px;
  background: var(--secondary-dark);
  box-shadow: 0 2px 0 0 rgba(75, 90, 104, 0.30) inset, 0 30px 42px 0 rgba(0, 0, 0, 0.30);
}

.evt-hero-highlight__nav-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.evt-hero-highlight__nav-card {
  appearance: none;
  border: 0;
  padding: 24px 30px;
  background: transparent;
  color: var(--evt-color-text);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;  
  gap: 14px;
  cursor: pointer;
  transition:
    background-color var(--evt-transition-fast),
    color var(--evt-transition-fast),
    transform var(--evt-transition-fast),
    box-shadow var(--evt-transition-fast);
}

.evt-hero-highlight__nav-track {
  align-items: stretch;
}

.evt-hero-highlight__nav-card {
  position: relative;
  align-self: stretch;
  border-right: 0 !important;
}

.evt-hero-highlight__nav-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 1px;
  background: #4B5A68;
}

.evt-hero-highlight__nav-card:last-child::after {
  display: none;
}

.evt-hero-highlight__nav-card:hover,
.evt-hero-highlight__nav-card:focus-visible,
.evt-hero-highlight__nav-card:focus {
  background: var(--secondary-darker);
  outline: none;
  color: var(--primary-main);
  box-shadow: 0 2px 0 0 rgba(75, 90, 104, 0.30) inset, 0 30px 42px 0 rgba(0, 0, 0, 0.30);  

}

.evt-hero-highlight__nav-card.is-active {
  background: var(--secondary-darker);
  box-shadow: 0 2px 0 0 rgba(75, 90, 104, 0.30) inset, 0 30px 42px 0 rgba(0, 0, 0, 0.30);  

}

.evt-hero-highlight__nav-card.is-active .evt-hero-highlight__nav-category,
.evt-hero-highlight__nav-card:hover .evt-hero-highlight__nav-category,
.evt-hero-highlight__nav-card:focus-visible .evt-hero-highlight__nav-category {
  background: var(--primary-lighter);
  color: var(--evt-color-accent-orange);
  border-top: 1px solid var(--primary-main);
  border-bottom: 1px solid var(--primary-main);
}

.evt-hero-highlight__nav-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  transition: color var(--evt-transition-fast);
}

.evt-hero-highlight__nav-card.is-active .evt-hero-highlight__nav-title {
  color: var(--primary-main);
}

.evt-hero-highlight__bullets {
  display: none;
}

@media (max-width: 1024px) {



  .evt-hero-highlight__cta-wrap {
    margin-top: 8px;
  }

  .evt-hero-highlight__button .bi {
    font-size: 10px;
  }

  .evt-hero-highlight {
    --evt-hero-nav-gap: 16px;
    --evt-hero-nav-overlap: -36px;
    --evt-hero-nav-card-height: 214px;
    --evt-hero-nav-card-padding: 22px;
  }

  .evt-hero-highlight__stage {
    min-height: 380px;
    border-radius: var(--evt-radius-xl);
  }

  .evt-hero-highlight__hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 16px;
    min-height: auto;
    padding: 30px 30px 36px 30px;
  }

  .evt-hero-highlight__brand-row {
    gap: 18px;
    font-size: clamp(1.6rem, 7vw, 2.3rem);
  }

  .evt-hero-highlight__brand-divider {
    height: 38px;
  }

  .evt-hero-highlight__meta-top {
    gap: 12px;
  }

  .evt-hero-highlight__date--mobile-top {
    display: inline-flex;
  }

  .evt-hero-highlight__title {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.2em;
  }

  .evt-hero-highlight__button {
    padding: 8px 12px;
    font-size: 10px;
    gap:4px;
  }

  .evt-hero-highlight__author-row {
    display: none;
  }

  .evt-hero-highlight__nav-wrap {
    width: calc(100% - 20px);
    margin-top: var(--evt-hero-nav-overlap);
  }


  .evt-hero-highlight__nav-viewport {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.evt-hero-highlight__nav-viewport::-webkit-scrollbar {
  display: none;
}

  .evt-hero-highlight__nav-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .evt-hero-highlight__nav-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: max-content !important;
    min-width: 0 !important;
  }

  .evt-hero-highlight__nav-card {
    box-sizing: border-box;
    flex: 0 0 var(--evt-mobile-card-width) !important;
    width: var(--evt-mobile-card-width) !important;
    min-width: var(--evt-mobile-card-width) !important;
    max-width: var(--evt-mobile-card-width) !important;
    scroll-snap-align: start;
  }


  
  .evt-hero-highlight__nav-card {
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 20px;
  }

  .evt-hero-highlight__nav-title {
    -webkit-line-clamp: 3;
    font-size: clamp(1.05rem, 3.4vw, 14px);
    line-height: 1.2em;
  }

  .evt-hero-highlight__bullets {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }

  .evt-hero-highlight__bullet:focus,
  .evt-hero-highlight__bullet:hover,
  .evt-hero-highlight__bullet:focus-visible {
    background: var(--primary-main);
  }

  .evt-hero-highlight__bullet {
    appearance: none;
    border: 1px solid #F6B181;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition:
      width var(--evt-transition-fast),
      height var(--evt-transition-fast),
      background-color var(--evt-transition-fast),
      border-color var(--evt-transition-fast),
      transform var(--evt-transition-fast);
  }

  .evt-hero-highlight__bullet.is-visible {
    width: 10px;
    height:10px;
    transform: translateY(-1px);
  }

  .evt-hero-highlight__bullet.is-active {
    width: 12px;
    height: 12px;
    background: var(--primary-main);
    border:var(--primary-main)
  }

  .evt-hero-highlight__date,
  .evt-hero-highlight__author-submeta {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

/* força o clamp dos títulos da lista */
.evt-hero-highlight__nav-track {
  align-items: stretch;
}

.evt-hero-highlight__nav-card {
  min-width: 0;
  overflow: hidden;
  grid-template-rows: auto 1fr;
}

.evt-hero-highlight__nav-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  min-width: 0;
  line-height: 1.2 !important;
}

@media (min-width: 1025px) {
  .evt-hero-highlight__nav-title {
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    min-height: calc(1.2em * 2);
    max-height: calc(1.2em * 2);
  }
}

@media (max-width: 1024px) {
  .evt-hero-highlight__nav-title {
    -webkit-line-clamp: 3 !important;
    line-clamp: 3;
    min-height: calc(1.2em * 3);
    max-height: calc(1.2em * 3);
  }
}
