/* === Images Styles === */

[data-content] figure {
  margin: 2em 0;
  border-radius: var(--radius);
  overflow: hidden;
}

[data-content] figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-base);
}

[data-content] figure img:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

[data-content] figure figcaption {
  text-align: center;
  font-size: 0.85em;
  color: var(--color-text-secondary);
  margin-top: 0.6em;
  padding: 0 0.5em;
  line-height: 1.5;
}

[data-content="hero"] figure {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius);
}

[data-content="hero"] figure img {
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  [data-content] figure {
    margin: 1.5em 0;
  }

  [data-content] figure figcaption {
    font-size: 0.8em;
  }
}
