/* UNITY — imagens editoriais responsivas
   Mantém proporção, evita distorção e reduz cortes inesperados. */

img {
  max-width: 100%;
}

.article-cover,
.featured-image,
.card-image,
.s-b142f7a7db {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(11, 23, 17, 0.96), rgba(5, 8, 7, 0.98));
}

.article-cover img,
.featured-image img,
.card-image img,
.s-b142f7a7db img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.article-cover {
  margin-inline: 0;
}

.featured-post,
.featured-post > a,
.featured-copy {
  min-width: 0;
  max-width: 100%;
}

.featured-post {
  overflow: hidden;
}

.featured-post > a {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.82fr);
  align-items: stretch;
}

.featured-copy {
  overflow-wrap: anywhere;
}

.catalog-card,
.catalog-card > a,
.card-body {
  min-width: 0;
  max-width: 100%;
}

.related-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 960px) {
  .featured-post > a {
    grid-template-columns: 1fr;
  }

  .featured-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .article-cover,
  .featured-image,
  .card-image,
  .s-b142f7a7db {
    aspect-ratio: 16 / 9;
  }

  .featured-copy,
  .card-body {
    min-width: 0;
  }
}

@media (prefers-reduced-data: reduce) {
  .article-cover img,
  .featured-image img,
  .card-image img,
  .s-b142f7a7db img {
    image-rendering: auto;
  }
}
