/* Reglas propias del tema. WordPress carga tokens, base, components, templates y este archivo por separado (en paralelo). theme.css los importa juntos solo para las vistas previas estáticas. */

.article .wp-block-image,
.article .article-featured,
.article .wp-block-gallery,
.article .happyfiles-gallery {
  margin-top: var(--space-32);
  max-width: 100%;
}

.article .wp-block-gallery .wp-block-image,
.article .happyfiles-gallery figure {
  margin-top: 0;
}

.article .happyfiles-gallery ul,
.article .wp-block-gallery ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  max-width: none;
  list-style: none;
}

.article .happyfiles-gallery li,
.article .wp-block-gallery li {
  margin: 0;
  padding-left: 0;
}

.article .happyfiles-gallery li::before,
.article .wp-block-gallery li::before {
  content: none;
}

.article .article-featured {
  margin-bottom: 0;
}

.article .article-featured img,
.article .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
