/* Первая правка заказчика: единая типографика и ракурсы внутри проекта. */
h1,h2,h3{font-family:'Manrope',Arial,sans-serif}
h1 em,h2 em,h3 em{font-family:inherit;font-weight:inherit;font-style:normal;letter-spacing:inherit}
.hero-photo:after{display:none}
.project-badges{position:absolute;z-index:1;top:12px;left:12px;right:12px;display:flex;flex-wrap:wrap;gap:6px;pointer-events:none}
.project-badges span{background:#f8f7f3f2;color:#283b31;padding:6px 10px;font-size:11px;border-radius:3px;line-height:1.5}
.project-badges .stage-badge{background:#ede5d6f5;color:#4e422f}
#photo-dialog>img{display:block;max-height:calc(94dvh - 210px)}
.dialog-bottom>div:first-child{min-width:0;flex:1}
.dialog-bottom .dialog-stage{font-size:11px;line-height:1.6;color:var(--muted);margin-top:5px;max-width:480px}
.gallery-thumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:0 18px 16px}
.gallery-thumbs button{width:68px;height:54px;padding:3px;border:2px solid transparent;background:transparent;cursor:pointer}
.gallery-thumbs button[aria-pressed=true]{border-color:var(--ink)}
.gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:700px){
 #photo-dialog>img{max-height:calc(90dvh - 240px);min-height:110px}
 .dialog-bottom{align-items:center}
 .dialog-bottom>div:first-child{flex-basis:65%}
 .dialog-bottom .dialog-stage{font-size:10px}
 .gallery-thumbs{gap:6px;padding:0 12px 12px}
 .gallery-thumbs button{width:62px;height:50px}
}
