/* Sekce News: instagramová galerie staveb (v1) */
#newsView{--nw-ink:#202720;--nw-muted:#747b70;--nw-line:#e2e5dd;padding:clamp(16px,2.4vw,32px) clamp(16px,4.2vw,64px) 82px;color:var(--nw-ink);font-family:inherit;background:#f5f3ef;min-height:100vh}
#newsView[hidden]{display:none}
#newsView *{box-sizing:border-box}
#newsView button,#newsView select,#newsView input{min-height:0!important;font:inherit}
.nw-shell{max-width:1320px;margin:0 auto}
.nw-refresh{height:30px;padding:0 12px;border:1px solid #d8dcd4;border-radius:15px;background:#fff;color:var(--nw-ink);font-size:12px;cursor:pointer}
.nw-refresh:hover{background:#314333;border-color:#314333;color:#fff}
.nw-note{padding:48px 0;text-align:center;color:var(--nw-muted);font-size:14px}.nw-note.is-err{color:#cf4a3c}
.nw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:6px}
.nw-tile{position:relative!important;width:auto!important;height:auto!important;display:block;aspect-ratio:1/1;padding:0;border:0;background:#e8e5d9;overflow:hidden;cursor:pointer;border-radius:4px}
.nw-tile[hidden]{display:none}
.nw-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.nw-tile:hover img,.nw-tile:focus-visible img{transform:scale(1.04)}
.nw-multi{position:absolute;top:8px;right:8px;padding:2px 7px;border-radius:10px;background:rgba(0,0,0,.45);color:#fff;font-size:11px;letter-spacing:.02em}
.nw-cap{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:2px;padding:28px 12px 11px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;text-align:left;opacity:0;transition:opacity .2s}
.nw-cap b{font-size:13px;font-weight:600;line-height:1.25}.nw-cap i{font-style:normal;font-size:11px;opacity:.85}
.nw-tile:hover .nw-cap,.nw-tile:focus-visible .nw-cap{opacity:1}
@media (hover:none){.nw-cap{opacity:1;padding-top:22px}}
.nw-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(10,12,10,.92);padding:16px}
.nw-x{position:absolute!important;top:14px;right:16px;left:auto!important;width:38px!important;height:38px!important;padding:0!important;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:16px;cursor:pointer}
.nw-x:hover{background:rgba(255,255,255,.25)}
.nw-card{display:flex;flex-direction:column;width:min(1100px,100%);max-height:100%;gap:12px}
.nw-stage{position:relative;display:flex;align-items:center;justify-content:center;height:min(72vh,720px);background:#000;touch-action:pan-y;user-select:none}
.nw-stage img{max-width:100%;max-height:100%;object-fit:contain}
.nw-stage.is-broken::after{content:"Fotku se nepodařilo načíst";position:absolute;color:#aaa;font-size:13px}
.nw-nav{position:absolute!important;top:50%;transform:translateY(-50%);width:42px!important;height:42px!important;padding:0!important;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.nw-nav:hover{background:rgba(255,255,255,.34)}.nw-prev{left:10px!important;right:auto!important}.nw-next{right:10px!important;left:auto!important}
.nw-dots{display:flex;justify-content:center;gap:6px}
.nw-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.3)}.nw-dots i.on{background:#fff}
.nw-info{color:#fff;text-align:center}
.nw-info h3{margin:0 0 4px;font-size:18px;font-weight:600}
.nw-info p{margin:0;font-size:13px;color:rgba(255,255,255,.8);line-height:1.5}
.nw-info .nw-award{color:#e4c98b}
.nw-info .nw-credit{margin-top:6px;font-size:11px;color:rgba(255,255,255,.55)}
.nw-info .nw-credit a{color:rgba(255,255,255,.8);text-decoration:underline}
body.nw-lock{overflow:hidden}
@media (max-width:640px){.nw-grid{grid-template-columns:repeat(3,1fr);gap:2px}.nw-cap{display:none}.nw-stage{height:60vh}}

/* ovladače ve stylu Fakturace, kompaktní (poloviční velikost) */
#newsView .nw-tabs{display:flex;align-items:center;gap:2px;border-bottom:1px solid var(--nw-line);margin:0 0 8px;padding:0 1px}
#newsView .nw-tabs>button:not(.nw-refresh){position:relative;border:0!important;background:transparent!important;color:var(--nw-muted);padding:6px 9px 5px!important;width:auto!important;height:auto!important;font-size:9px!important;font-weight:500;letter-spacing:.1em;cursor:pointer;transition:color .18s ease;border-radius:0;line-height:1.25!important}
#newsView .nw-tabs>button:not(.nw-refresh):hover,#newsView .nw-tabs>button:not(.nw-refresh):focus-visible{color:var(--nw-ink);outline:none}
#newsView .nw-tabs>button.is-active{color:var(--nw-ink)}
#newsView .nw-tabs>button.is-active::after{content:"";position:absolute;left:7px;right:7px;bottom:-1px;height:1.5px;background:#314333}
#newsView .nw-count{margin-left:auto;font-size:9px!important;color:var(--nw-muted);line-height:1.25!important}
#newsView .nw-refresh{width:20px!important;height:20px!important;padding:0!important;border:1px solid #d8dcd4!important;border-radius:10px!important;background:#fff!important;color:var(--nw-muted);font-size:11px!important;line-height:1;cursor:pointer;margin-left:6px}
#newsView .nw-refresh:hover{background:#314333!important;border-color:#314333!important;color:#fff}
#newsView .nw-bar{display:flex;flex-wrap:wrap;align-items:center;gap:5px 6px;margin-bottom:12px}
#newsView .nw-pills{display:flex;align-items:center;gap:3px;flex-wrap:wrap}
#newsView .nw-pill{display:inline-flex!important;align-items:center;gap:3px;height:20px!important;width:auto!important;box-sizing:border-box;border:1px solid #d8dcd4!important;background:#fff!important;color:var(--nw-muted);padding:0 8px!important;font-size:10px!important;line-height:1;border-radius:10px!important;cursor:pointer;white-space:nowrap;list-style:none;transition:background .15s,color .15s,border-color .15s}
#newsView .nw-pill::-webkit-details-marker{display:none}
#newsView .nw-pill i{font-style:normal;font-size:8px!important;line-height:1.25!important}
#newsView .nw-pill:hover{border-color:#879780!important;color:var(--nw-ink)}
#newsView .nw-pill.is-on{background:#314333!important;color:#fff;border-color:#314333!important}
#newsView .nw-pop{position:relative}
#newsView .nw-list{position:absolute;top:24px;left:0;z-index:30;min-width:190px;max-width:320px;max-height:220px;overflow-y:auto;padding:3px;background:#fff;border:1px solid #d8dcd4;border-radius:6px;box-shadow:0 8px 24px #1c251b1f;display:flex;flex-direction:column;gap:1px}
#newsView .nw-list button{width:100%!important;height:auto!important;padding:5px 8px!important;border:0!important;background:transparent!important;text-align:left;font-size:10px!important;line-height:1.3;color:var(--nw-ink);border-radius:4px!important;cursor:pointer}
#newsView .nw-list button:hover{background:#f2f4ee!important}
#newsView .nw-list button.is-on{background:#314333!important;color:#fff}
#newsView .nw-search{display:flex;align-items:center;gap:4px;height:20px;padding:0 8px;border:1px solid #d8dcd4;border-radius:10px;background:#fff;width:auto!important;min-width:130px;margin-left:auto}
#newsView .nw-search span{color:#8a9186;font-size:10px!important;line-height:1.25!important}
#newsView .nw-search input{border:0!important;outline:0;background:transparent;width:100%;font-size:10px!important;color:var(--nw-ink);padding:0!important;height:auto!important;box-shadow:none!important;line-height:1.25!important}
@media (max-width:640px){#newsView .nw-search{margin-left:0;width:100%!important}}
#newsView .nw-x,#newsView .nw-nav{border-radius:50%}
#newsView .nw-stage{border-radius:4px;overflow:hidden}
#newsView .nw-list button{min-height:0!important;height:auto!important;font-size:10px!important;line-height:1.3!important}
#newsView .nw-pill{font-size:10px!important;line-height:1!important}
#newsView .nw-pop summary{font-size:10px!important}
.nw-legal{margin:28px 2px 0;padding-top:14px;border-top:1px solid var(--nw-line);font-size:10px;line-height:1.6;color:var(--nw-muted);max-width:900px}.nw-legal b{font-weight:600;color:var(--nw-ink)}
