.real-project-list{display:grid;gap:64px;margin-top:40px}
.real-project{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:44px;align-items:start;padding-bottom:56px;border-bottom:1px solid #dce5e8}
.real-project-copy{grid-column:2;grid-row:1;max-width:560px;padding-top:12px}
.real-project-copy h3{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:8px 0 18px}
.real-gallery-hint,.real-photo-total{font-size:14px;color:#526970}
.real-project-gallery{grid-column:1;grid-row:1;min-width:0;width:100%}
.real-project-gallery a{display:block;position:relative;overflow:hidden;border-radius:10px;background:#eef2f3;cursor:zoom-in}
.real-project-gallery a:focus-visible{outline:3px solid #008ba8;outline-offset:3px}
.real-project-main{aspect-ratio:4/3}
.real-project-main img{display:block;width:100%;height:100%;object-fit:cover}
.real-project-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:10px;width:100%;max-width:100%}
.real-project-thumbs a{aspect-ratio:1;min-width:0}
.real-project-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.real-project-thumbs .real-more{position:absolute;inset:0;display:grid;place-content:center;background:rgba(8,25,36,.58);color:#fff;font-size:clamp(19px,2.2vw,30px);font-weight:700;pointer-events:none}
.real-lightbox{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:0;margin:0;background:rgba(5,15,23,.94);color:#fff;overflow:hidden;overscroll-behavior:contain}
.real-lightbox::backdrop{background:rgba(5,15,23,.94)}
.real-lightbox[open]{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center}
.real-lightbox button{border:0;color:#fff;cursor:pointer;background:transparent;font:inherit;touch-action:manipulation}
.real-lightbox button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.real-lb-close{position:absolute;top:12px;right:16px;width:48px;height:48px;font-size:42px!important;z-index:3;background:rgba(0,0,0,.25)!important;border-radius:50%}
.real-lb-prev,.real-lb-next{height:64px;font-size:52px!important;z-index:2}
.real-lb-prev{grid-column:1}.real-lb-next{grid-column:3}
.real-lb-content{grid-column:2;grid-row:1;display:flex;align-items:center;flex-direction:column;justify-content:center;min-width:0;pointer-events:none}
.real-lb-photo{display:flex;align-items:center;justify-content:center;padding:0;max-width:100%;max-height:calc(100dvh - 150px);pointer-events:auto;touch-action:pan-y!important}
.real-lb-photo img{display:block;max-width:100%;max-height:calc(100dvh - 150px);width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none}
.real-lb-caption{margin:15px 0 0;text-align:center;max-width:900px;font-size:15px;line-height:1.5;pointer-events:none}
.real-lb-hint{margin:4px 0 0;font-size:12px;color:#c0cbd0;text-align:center}
@media(max-width:800px){.real-project{grid-template-columns:1fr;gap:22px;padding-bottom:36px}.real-project-copy{grid-column:1;grid-row:1;padding-top:0}.real-project-gallery{grid-column:1;grid-row:2}.real-project-list{gap:36px}}
@media(max-width:600px){.real-project-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}.real-project-main{aspect-ratio:4/3}.real-lightbox[open]{grid-template-columns:40px minmax(0,1fr) 40px}.real-lb-prev,.real-lb-next{font-size:40px!important;padding:0}.real-lb-caption{font-size:12px}.real-lb-close{right:8px;top:8px}.real-lb-hint{display:none}}
