.discovery-card .studio-entity-image{display:block;margin:0 0 16px;aspect-ratio:4/3;background:var(--accent-soft);border-radius:16px;overflow:hidden;position:relative}.discovery-card .studio-entity-image img{width:100%;height:100%;object-fit:cover;display:block}.discovery-card .studio-entity-image figcaption{position:absolute;bottom:8px;right:8px;left:auto;max-width:calc(100% - 16px);border-radius:7px;padding:3px 6px;background:var(--paper);color:var(--muted);font-size:11px}.discovery-card .studio-entity-image[hidden],figure[hidden]{display:none!important}.studio-entity-image img{max-width:100%;height:auto}.food-art.entity-food-art img{width:100%;height:100%;object-fit:cover}

.discovery-card .studio-entity-image{max-width:none;width:100%;margin:0 0 16px}.discovery-card .studio-entity-image img{height:100%;object-fit:cover}

.studio-entity-image figcaption a{color:inherit;text-underline-offset:2px}.studio-entity-image figcaption a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Next-meal inspirations use the reviewed recipe image directly, with reserved space. */
.recipe-card.has-recipe-image .entity-food-art{position:relative;margin:0;min-height:0;height:auto;width:100%;aspect-ratio:4/3;border-radius:0;overflow:hidden;background:var(--accent-soft)}
.recipe-card.has-recipe-image .entity-food-art img{display:block;width:100%;height:100%;object-fit:cover}
.recipe-card .entity-food-art figcaption{position:absolute;bottom:8px;right:8px;left:auto;max-width:calc(100% - 16px);padding:3px 7px;border-radius:7px;background:var(--paper);color:var(--muted);font-size:11px;line-height:1.5}
@media(max-width:620px){.recipe-card.has-recipe-image{display:block}}
