#mesto-demo{scroll-margin-top:110px;margin:32px 0;padding:30px;border:1px solid rgba(255,255,255,.95);border-radius:28px;background:rgba(255,255,255,.72);box-shadow:0 16px 50px rgba(21,43,64,.06)}
#mesto-demo h2{margin:0 0 10px;font-size:clamp(25px,3vw,36px);line-height:1.2;color:#15232e}.demo-intro{margin:0;color:#526675;line-height:1.6}.demo-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 16px}.demo-tab{min-height:44px;padding:11px 18px!important;border-radius:14px!important;border:1px solid #d6e1e9!important;background:#f6f9fc!important;color:#36516b!important;box-shadow:none!important;font:inherit;font-weight:700;cursor:pointer}.demo-tab[aria-selected="true"]{background:#dfeaff!important;color:#1458c6!important;border-color:#bfd5ff!important}.demo-tab:focus-visible,.demo-zoom:focus-visible,.demo-enlarge:focus-visible{outline:3px solid #2467d7;outline-offset:3px}.demo-screen{overflow:hidden;border-radius:20px;border:1px solid #d7e1e8;background:#edf3f7}.demo-zoom{display:block;width:100%;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;cursor:zoom-in;overflow:hidden}.demo-photo{display:block;width:100%;height:auto;aspect-ratio:1.52;object-fit:cover;object-position:top}.demo-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:rgba(255,255,255,.78)}.demo-caption{margin:0;color:#334c60;line-height:1.5}.demo-enlarge{flex-shrink:0;padding:10px 14px!important;min-height:44px;border-radius:12px!important;background:#edf3fc!important;border:1px solid #cedbed!important;color:#315b92!important;box-shadow:none!important;cursor:zoom-in;font:inherit;font-weight:700}.demo-note{margin:14px 0 0;font-size:12px;color:#63717c}.demo-gallery-link{text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;min-height:48px}
#mesto-demo-dialog{width:min(94vw,1400px);max-width:1400px;max-height:94dvh;box-sizing:border-box;padding:16px;border:1px solid white;border-radius:22px;background:#f2f6fa;box-shadow:0 24px 100px #0004}#mesto-demo-dialog::backdrop{background:#101f2ec4;backdrop-filter:blur(8px)}.demo-dialog-bar{position:sticky;top:-16px;display:flex;justify-content:flex-end;background:#f2f6fa;padding:8px 0 12px;z-index:1}#mesto-demo-dialog button{min-height:44px;padding:10px 18px;border-radius:12px}#mesto-demo-dialog img{display:block;width:100%;height:auto;border-radius:14px}
@media(max-width:600px){#mesto-demo{margin:24px 0;padding:20px 14px;border-radius:24px;scroll-margin-top:24px}.demo-tabs{gap:6px;margin-top:18px}.demo-tab{padding:10px 12px!important;font-size:13px}.demo-screen{border-radius:16px}.demo-bottom{flex-direction:column;align-items:flex-start;padding:14px;gap:10px}.demo-caption{font-size:14px}.demo-enlarge{width:100%}.demo-photo{aspect-ratio:1.25}.demo-note{line-height:1.5}#mesto-demo-dialog{width:96vw;padding:10px;border-radius:16px}.demo-dialog-bar{top:-10px}}
#mesto-demo .demo-zoom:hover,#mesto-demo .demo-zoom:active{filter:none!important;transform:none!important;background:transparent!important;box-shadow:none!important;transition:none!important}
body.glow-ui #mesto-demo h2{color:#f3f7ff!important}body.glow-ui #mesto-demo .demo-intro{color:#bfd0e4!important}

.demo-photo{object-fit:contain!important;background:#f7f9f6;aspect-ratio:auto!important;height:auto!important}
