/* ==========================================================================
   Article figures — Primeirazo editorial style
   ========================================================================== */

.article-figure {
  margin: 2.5rem auto;
  max-width: 100%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.article-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.article-figure-hero {
  margin: 2rem auto 2.75rem;
  border: none;
  border-radius: 3px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  background: #141414;
  position: relative;
}

.article-figure-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: #eb653c;
}

.article-figure-hero img {
  aspect-ratio: 1200 / 630;
}

.article-figure figcaption {
  padding: 0.85rem 1.25rem 1rem;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #a8a29b;
  border-top: 1px solid #2a2a2a;
  background: #141414;
}

.article-figure figcaption::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: #eb653c;
  vertical-align: middle;
  margin-right: 0.6rem;
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .article-figure {
    margin: 2rem auto;
  }
  .article-figure-hero {
    margin: 1.5rem auto 2.25rem;
  }
  .article-figure figcaption {
    padding: 0.75rem 1rem 0.9rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 375px) {
  .article-figure figcaption::before {
    width: 12px;
    margin-right: 0.45rem;
  }
}
