.recipe-photo-thumb, .recipe-photo-open {display:block;overflow:hidden;position:relative;background:#f2f3ec;border-radius:.45rem}
.recipe-photo-thumb {width:100%;height:clamp(4.7rem,8vw,6.5rem)}
.recipe-photo-thumb img, .recipe-photo-open img {display:block;width:100%;height:100%;object-fit:cover}
.recipe-photo-open {width:100%;height:clamp(7rem,20vh,10rem);padding:0;border:0;margin-bottom:.85rem;cursor:zoom-in}
.recipe-photo-open span {position:absolute;bottom:.5rem;right:.5rem;background:#19271de8;color:white;border-radius:.35rem;padding:.32rem .6rem;font-size:.8rem}
.recipe-lightbox {box-sizing:border-box;width:min(94vw,48rem);max-height:94dvh;border:0;border-radius:.85rem;background:#15221b;color:#fff;padding:1rem;overflow:auto}
.recipe-lightbox::backdrop {background:#0c1710cc}
.recipe-lightbox header, .recipe-lightbox nav {display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.recipe-lightbox button {min-width:44px;min-height:44px;background:transparent;color:inherit;border:1px solid #a1b0a4;border-radius:.45rem;font:inherit;cursor:pointer}
.recipe-lightbox button:focus-visible {outline:3px solid #fff;outline-offset:2px}
.recipe-lightbox .photo-close {padding:0 .85rem}
.recipe-lightbox figure {margin:.8rem 0}
.recipe-lightbox figure img {display:block;width:100%;height:min(62dvh,32rem);object-fit:contain}
.recipe-lightbox figcaption {font-size:.84rem;margin-top:.4rem;color:#e2e8dd;overflow-wrap:anywhere}
.recipe-lightbox a {color:inherit}
.recipe-lightbox nav {justify-content:center}
.recipe-lightbox [hidden], [data-recipe-preview][hidden] {display:none}
