/* Ready website templates (HTML layout) in ru 170 / com 188 (2026-11-25). Used together with web.css, same file on ru and com. */
.ws-cover { margin: 0 0 26px; }
.ws-cover img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px -26px rgba(18, 21, 28, .55); }
.ws-full { display: grid; grid-template-columns: minmax(0, 1fr) 262px; gap: 18px; align-items: start; }
.ws-full .wb-scroll { max-height: 620px; }
.ws-phone { border: 9px solid #171b24; border-radius: 34px; background: #171b24; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(18, 21, 28, .6); }
.ws-phone .wb-scroll { border-radius: 24px; max-height: 560px; background: #0b0e13; scrollbar-width: none; }
.ws-phone .wb-scroll::-webkit-scrollbar { display: none; }
.ws-cap { margin: 10px 0 0 !important; font-size: 13px; color: #5d6877; text-align: center; }
.wb .ws-cap { text-align: center; }
.ws-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ws-shots a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid #d9e2e8; background: #0b0e13; transition: transform .15s ease; }
.ws-shots a:hover { transform: translateY(-3px); }
.ws-shots img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: center top; }
.ws-dev { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.ws-dev img { display: block; width: 100%; height: auto; border-radius: 16px; border: 6px solid #171b24; box-sizing: border-box; background: #171b24; }
.ws-list { columns: 2; column-gap: 26px; list-style: none; margin: 0; padding: 0; }
.ws-list li { position: relative; padding: 0 0 7px 22px; break-inside: avoid; color: #3a4452; }
.ws-list li::before { content: "\203A"; position: absolute; left: 5px; top: -1px; color: #12a594; font: bold 18px/1.3 Arial, sans-serif; }
@media (max-width: 760px) {
  .ws-full, .ws-shots { grid-template-columns: minmax(0, 1fr); }
  .ws-phone { max-width: 262px; margin: 0 auto; }
  .ws-dev { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-dev img:first-child { grid-column: 1 / -1; }
  .ws-list { columns: 1; }
}

/* picture viewer (web_site.js) */
.ws-shots a { cursor: zoom-in; }
.ws-lock { overflow: hidden; }
.ws-view { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 56px 76px;
  box-sizing: border-box; background: rgba(8, 10, 15, .9); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; cursor: zoom-out; }
.ws-view.ws-on { opacity: 1; visibility: visible; }
.ws-view img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  cursor: default; transform: scale(.96); transition: transform .22s ease, opacity .18s ease; }
.ws-view.ws-on img { transform: none; }
.ws-view.ws-load img { opacity: .35; }
.ws-view button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; padding: 0 0 4px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font: 34px/1 Arial, sans-serif; cursor: pointer; transition: background .15s ease; }
.ws-view button:hover { background: #12a594; }
.ws-view button:focus-visible { outline: 2px solid #7de3d4; outline-offset: 2px; }
.ws-view .ws-close { top: 14px; right: 16px; width: 44px; height: 44px; padding: 0 0 2px; font-size: 30px; }
.ws-view .ws-prev { left: 14px; top: 50%; margin-top: -24px; }
.ws-view .ws-next { right: 14px; top: 50%; margin-top: -24px; }
.ws-view .ws-count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #c9d4e2; font: 14px/1 Arial, sans-serif; pointer-events: none; }
.ws-view.ws-one .ws-prev, .ws-view.ws-one .ws-next, .ws-view.ws-one .ws-count { display: none; }
@media (max-width: 760px) {
  .ws-view { padding: 64px 8px 84px; }
  .ws-view .ws-prev, .ws-view .ws-next { top: auto; bottom: 18px; margin: 0; }
  .ws-view .ws-prev { left: 18px; } .ws-view .ws-next { right: 18px; }
  .ws-view .ws-count { bottom: 35px; }
}
@media (prefers-reduced-motion: reduce) { .ws-view, .ws-view img { transition: none; } }
