/* Public portfolio v6: finished-product language, real museum VK screenshots, stable responsive typography. */
.neuro-capabilities{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 34px;
}
.neuro-capabilities span{
 display:flex;min-height:74px;align-items:center;justify-content:center;text-align:center;
 padding:12px 10px;line-height:1.35;border:1px solid #ccd9dc;border-radius:13px;
 background:#e9f0f1;color:#294f5a;font-size:.83rem;letter-spacing:.025em;font-weight:780;
}
.real-ui-visual.museum-vk-proof {
 background:linear-gradient(150deg,#1b345a,#193e65 60%,#1c4563);
 color:#edf4ff;min-height:380px;overflow:hidden;
}
.museum-vk-proof .real-ui-head,.museum-vk-proof .real-ui-foot{
 font-size:.72rem;flex-wrap:wrap;align-items:flex-start;line-height:1.4
}
.museum-vk-proof .real-ui-foot strong{color:#b5d7f8}
.vk-proof-stage{display:flex;align-items:center;justify-content:center;gap:15px;min-width:0;flex:1;padding:10px 4px 13px}
.vk-proof-card{
 display:flex;align-items:center;justify-content:center;min-width:0;
 border:4px solid #e5ebf3;border-radius:14px;overflow:hidden;
 background:#131c2e;box-shadow:0 14px 28px #081b36a0;
}
.vk-proof-welcome{width:53%;height:250px;transform:rotate(-2deg)}
.vk-proof-consent{width:40%;height:270px;transform:rotate(3deg)}
.vk-proof-card img {display:block;max-width:100%;width:100%;height:100%;object-fit:cover;object-position:top center}
.vk-proof-welcome img{object-fit:cover}
.vk-proof-consent img{object-position:top center}
.gallery-vk-real{background:#e8ebf2;color:#172d4d}
.gallery-vk-real .gallery-intro{color:#234e73}
.vk-real-gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin:27px auto 14px;max-width:860px}
.vk-real-gallery figure{margin:0;min-width:0}
.vk-real-gallery a{
 display:flex;align-items:start;justify-content:center;overflow:hidden;border-radius:16px;
 padding:9px;border:1px solid #c9d3e3;background:#fff;box-shadow:0 10px 24px #173b6320
}
.vk-real-gallery img{display:block;width:100%;height:auto;max-height:570px;object-fit:contain;object-position:top center;border-radius:8px}
.vk-real-gallery figcaption{text-align:center;color:#3d5671;font-weight:730;font-size:.93rem;line-height:1.4;margin-top:12px}
.vk-real-source{color:#5f7083;font-size:.87rem;margin-top:12px;line-height:1.5;text-align:center}
@media(max-width:950px){
 .neuro-capabilities{grid-template-columns:repeat(2,minmax(0,1fr));}
 .real-ui-visual.museum-vk-proof {min-height:340px}
 .vk-proof-welcome{height:225px}
 .vk-proof-consent{height:242px}
}
@media(max-width:700px){
 .neuro-capabilities{gap:8px;margin-bottom:28px}
 .neuro-capabilities span{font-size:.75rem;padding:10px 6px;min-height:63px}
 .real-ui-visual.museum-vk-proof{min-height:320px;padding:17px 17px 13px}
 .vk-proof-stage{gap:10px;padding:8px 0}
 .vk-proof-welcome{height:208px;border-width:3px}
 .vk-proof-consent{height:227px;border-width:3px}
 .vk-real-gallery{grid-template-columns:1fr;gap:23px;max-width:370px;margin:20px auto}
 .vk-real-gallery img{max-height:none}
 .vk-real-gallery a{padding:7px}
 .vk-real-gallery figcaption{font-size:.93rem}
 .vk-real-source{font-size:.79rem}
}
@media(max-width:350px){
 .museum-vk-proof .real-ui-head,.museum-vk-proof .real-ui-foot{font-size:.67rem}
 .vk-proof-welcome{height:189px}
 .vk-proof-consent{height:206px}
 .neuro-capabilities span{font-size:.69rem}
}

/* Ensure technology line wraps rather than colliding with offline label. */
.real-ui-nuclear .real-ui-foot {align-items:flex-end;flex-wrap:wrap;gap:7px 12px}
.real-ui-nuclear .real-ui-foot span {max-width:65%;line-height:1.4;overflow-wrap:anywhere}
.real-ui-nuclear .real-ui-foot strong {max-width:35%;line-height:1.3}

@media(max-width:700px){
 .real-ui-nuclear .real-ui-foot {justify-content:space-between;align-items:center;gap:7px}
 .real-ui-nuclear .real-ui-foot span {max-width:74%;font-size:.65rem}
 .real-ui-nuclear .real-ui-foot strong {max-width:24%;font-size:.72rem;white-space:nowrap;text-align:right}
}
