/* Hotfix produção: destaques sobrepostos (margens negativas + título absoluto branco). */
app-highlights .featured {
  margin-bottom: 16px !important;
  height: auto !important;
  align-items: flex-start !important;
}

app-highlights .featured-image-d-wrapper {
  height: auto !important;
  max-width: 420px;
  flex: 0 0 420px;
}

app-highlights .featured-image {
  display: block !important;
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
}

app-highlights .featured .text-content {
  height: auto !important;
  padding: 0 16px 8px !important;
}

app-highlights .sub-featured {
  margin-top: 8px !important;
  gap: 10px !important;
  align-items: stretch !important;
}

app-highlights .sub-featured-column {
  height: auto !important;
  position: relative !important;
  overflow: hidden !important;
  background: #111;
}

app-highlights .sub-featured-image {
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
}

app-highlights .sub-featured-title {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  padding: 28px 10px 10px !important;
  color: #fff !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)) !important;
}

app-highlights .sub-featured-text {
  margin-top: 12px !important;
}

app-highlights .sub-featured-text .sub-featured-column {
  background: transparent !important;
  height: auto !important;
}

app-highlights .sub-featured-text .sub-featured-title {
  position: static !important;
  color: #222 !important;
  background: none !important;
  padding: 8px 4px 0 !important;
  font-size: 14px !important;
}

app-highlights .d-wrapper,
app-highlights .d-container {
  height: auto !important;
  overflow: visible !important;
}

.latest-title {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 8px !important;
  min-height: 56px !important;
  margin-bottom: 8px !important;
}

.latest-title h1 {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 8px 0 0 !important;
  overflow: visible !important;
}

.latest-title h1 span {
  background: #fff !important;
}

.latest-title button {
  margin: 0 0 2px 0 !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
  background: #fff !important;
}

.content-columns,
.content-columns.feature-2 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px 16px !important;
  align-items: start !important;
  width: 100% !important;
}

.content-columns .column {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

.img-text {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
}

.img-text p {
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Miniaturas quebradas: esconde o alt cru e reserva o espaço da foto. */
.img-text img {
  display: block !important;
  flex: 0 0 100px !important;
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  height: 80px !important;
  object-fit: cover !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  background: #cfd8dc url("/assets/images/thumbnail-default.jpg") center / cover no-repeat !important;
}

img.img-fallback {
  object-fit: cover !important;
  background: #d9e2ea !important;
}

app-highlights .sub-featured-image.img-fallback,
app-highlights .featured-image.img-fallback {
  background: #1a1a1a url("/assets/images/thumbnail-default.jpg") center / cover no-repeat !important;
}

@media (max-width: 991px) {
  app-highlights .featured {
    flex-direction: column !important;
  }

  app-highlights .featured-image-d-wrapper {
    flex: 1 1 auto !important;
    max-width: 100%;
  }

  app-highlights .featured-image {
    height: 220px !important;
  }

  app-highlights .sub-featured {
    flex-wrap: wrap !important;
  }
}
