/* Performance — CLS, polices, images (chargé après style.css) */

/* Réserve d'espace avant chargement des polices web */
.magazine-masthead h1 {
  min-height: 2.75em;
}

.masthead-tagline {
  min-height: 3.25em;
}

.article-header h1 {
  min-height: 2.5em;
}

.article-dek {
  min-height: 1.5em;
}

/* Emplacement fixe bannière promo (évite décalage layout) */
.blog-promo-reserved {
  min-height: 4.25rem;
  margin-top: 1rem;
}

.blog-promo-reserved:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

.blog-promo-reserved .blog-promo {
  margin-top: 0;
}

.article-cover {
  aspect-ratio: 1200 / 514;
  width: 100%;
  height: auto;
}

.shop-featured-media,
.shop-grid-media {
  aspect-ratio: 16 / 9;
}

.magazine-cover-card {
  contain: layout;
}
