.gallery { max-width: 1440px; margin: auto; padding: 2.5rem clamp(1rem, 4vw, 4rem); }
.gallery-intro { margin: 0 0 2rem; }
.gallery h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 620; letter-spacing: -.045em; }
.gallery-intro p, .gallery footer { color: #adb1c4; max-width: 62ch; font-size: .93rem; line-height: 1.65; margin-top: .65rem; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.recipe-card { border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; background: #171a26; }
.recipe-card figure { margin: 0; }
.recipe-card img { display: block; width: 100%; height: auto; aspect-ratio: 296 / 320; background: #10121b; }
.recipe-card figcaption { display: grid; grid-template-columns: repeat(2,1fr); padding: .5rem 0; color: #b6bbce; text-align: center; font-size: .75rem; border-bottom: 1px solid var(--line); }
.recipe-body { padding: 1rem; }
.recipe-body h2 { font-size: 1.1rem; margin: 0 0 .85rem; font-weight: 590; }
.recipe-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem; }
.edit-link { color: var(--accent); text-underline-offset: .2rem; text-decoration: underline; font-size: .9rem; }
.recipe-status { margin-top: .8rem; color: #d5cfea; font-size: .83rem; line-height: 1.5; }
.gallery footer { margin-top: 2rem; max-width: none; font-size: .8rem; }
.gallery footer a { color: var(--accent); text-decoration: underline; }
