/* Visuel d'en-tête de la fiche boulangerie (charte §4 : ratio 16:9 imposé).
   max-height en vh, combiné à l'aspect-ratio, pour que le H1 et la note restent
   visibles sans scroller sur les résolutions larges (desktop/laptop) tout en
   laissant l'aspect-ratio seul gouverner sur mobile, où il produit déjà une
   hauteur plus faible que ce plafond. */
.mbb-bakery-hero {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 34vh;
    object-fit: cover;
    border-radius: var(--mbb-radius-card);
}

/* Crédit photo en surimpression, bas droite — discret, lisible sur tout visuel. */
.mbb-bakery-hero-figure {
    position: relative;
}

.mbb-bakery-hero-credit {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    max-width: calc(100% - 1rem);
    padding: .15rem .5rem;
    font-size: .7rem;
    line-height: 1.3;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
