.project-gallery{margin-top:18px}
.project-gallery-main{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(320px,43vw,580px);border:0;padding:0;background:#f4f6f8;cursor:zoom-in;touch-action:pan-y}
.project-gallery-main img{width:100%;height:100%;object-fit:contain}
.project-gallery-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px}
.project-gallery-bar p{font-size:15px;line-height:1.5;color:#53647b}
.project-gallery-controls{display:flex;gap:12px;align-items:center;flex-shrink:0}
.project-gallery-controls button{width:44px;height:44px;border:1px solid #bac3d0;border-radius:4px;background:white;font-size:22px}
.project-gallery-controls output{min-width:44px;text-align:center;font-size:14px;font-weight:700}
.project-gallery-thumbs{position:relative;display:flex;gap:10px;overflow-x:auto;padding:10px 3px 6px;scrollbar-width:thin}
.project-gallery-thumbs a{flex:0 0 118px;border:3px solid transparent;border-radius:4px;overflow:hidden;padding:2px}
.project-gallery-thumbs a[aria-current=true]{border-color:#cbbb00;background:#fff6b8}
.project-gallery-thumbs img{width:100%;height:78px;object-fit:cover}
.project-gallery-hint{font-size:13px;color:#53647b;margin-top:4px}
.project-local-nav{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:17px;font-size:15px;font-weight:700}
.project-local-nav a{padding:7px 0;border-bottom:1px solid #c0c6d0}
.project-story{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.classic-variant .project-story h2{font-size:clamp(27px,3vw,36px);line-height:1.2;margin:0 0 16px}
.project-story p{font-size:17px;color:#53647b;line-height:1.65}
.project-story p+p{margin-top:14px}
.project-specification{background:#f4f6f9;border-top:3px solid #e5d719;padding:24px;border-radius:5px}
.classic-variant .project-specification h2{font-size:25px;margin-bottom:12px}
.project-specification dl{margin:0}
.project-specification dl>div{padding:11px 0;border-bottom:1px solid #d9dee6}
.project-specification dl>div:last-child{border:0;padding-bottom:0}
.project-specification dt{font-size:13px;color:#53647b;margin-bottom:3px}
.project-specification dd{margin:0;font-size:16px;line-height:1.5;font-weight:650}
.project-used-links{display:flex;gap:10px 25px;flex-wrap:wrap;margin-top:18px}
.project-used-links a{font-weight:700;border-bottom:1px solid #adb5c4;padding:8px 0}
.project-gallery-main:focus-visible,.project-gallery-thumbs a:focus-visible{outline:3px solid #9b8b00;outline-offset:3px}
@media(max-width:760px){
 .project-gallery-main{height:clamp(210px,64vw,390px)}
 .project-gallery-bar{align-items:flex-start;gap:10px}
 .project-gallery-bar p{font-size:14px}
 .project-gallery-controls{gap:5px}
 .project-gallery-controls button{width:40px;height:44px}
 .project-gallery-controls output{min-width:34px;font-size:13px}
 .project-gallery-thumbs a{flex-basis:93px}
 .project-gallery-thumbs img{height:62px}
 .project-story{grid-template-columns:1fr;gap:22px}
 .project-story p{font-size:16px}
 .project-specification{padding:18px}
 .project-local-nav{font-size:14px;gap:9px 18px;margin-top:12px}
}
