/* ============================================================
   images-styles.css — CotaBet
   Estilos para imagens de artigo, figuras e legendas
   ============================================================ */

/* ---- Hero image ---- */
.hero-figure {
  margin: 1.5rem 0 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;

  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* ---- Article figures ---- */
.article-figure {
  margin: 2rem 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-surface, #161620);
  border: 1px solid var(--color-border, #1e1e2a);
}

.article-image {
  display: block;
  width: 100%;
  height: auto;

  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.article-figure:hover .article-image {
  transform: scale(1.02);
}

figcaption {
  display: block;
  padding: 0.6rem 1rem 0.7rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  color: var(--color-text-muted, #8a8a9a);
  line-height: 1.4;
  background: var(--color-surface, #161620);
  border-top: 1px solid var(--color-border, #1e1e2a);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {


 

  .article-figure {
    margin: 1.5rem 0;
    border-radius: 6px;
  }

  figcaption {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .hero-image {
 
    border-radius: 6px;
  }

  

  .article-figure {
    margin: 1.25rem 0;
    border-radius: 4px;
  }
}
