/* JR Lightbox – styl jediného lightboxu webu (načítá jr-lightbox.php) */
.jrw2-gal img,.modulequote img{cursor:pointer}
.jrl{position:fixed;inset:0;z-index:99999;background:#111;display:none;color:#fff;font-family:system-ui,sans-serif}
.jrl.on{display:flex;/* align-items:center; */justify-content:center}
.jrl img{max-width:100%;max-height:calc(100% - 3.5rem);object-fit:contain;touch-action:none;user-select:none;-webkit-user-drag:none}
.jrl-c{position:absolute;left:0;right:0;bottom:0;display:flex;gap:1rem;align-items:center;justify-content:center;padding:.8rem;padding-bottom:calc(.8rem + env(safe-area-inset-bottom,0px));font-size:.85rem}
.jrl-c a{color:#fff;border:1px solid #fff8;padding:.3rem .8rem;text-decoration:none !important;border-radius:2rem}
.jrl-c span{display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap;justify-content:center}
.jrl-c b{font-size:1.3rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.jrl-c i{font-size:.8rem;opacity:.7}
.jrl button{position:absolute;background:none;border:0;color:#fff;font-size:2.2rem;cursor:pointer;padding:.5rem 1rem;line-height:1}
.jrl-x{top:env(safe-area-inset-top,0px);right:0}
.jrl-f{top:env(safe-area-inset-top,0px);right:3.2rem;font-size:1.6rem !important;padding-top:.75rem !important}
.jrl-s{top:env(safe-area-inset-top,0px);right:6.2rem;font-size:1.3rem !important;padding-top:.9rem !important}
.jrl.fs img{max-height:100%}
.jrl.fs .jrl-c{background:linear-gradient(transparent,#000a);opacity:0;transition:opacity .3s}
.jrl.fs:hover .jrl-c{opacity:1}
.jrl-p{left:0;top:45%}.jrl-n{right:0;top:45%}
@media(hover:none){.jrl-p,.jrl-n{display:none}}

/* ===== závěrečná karta za poslední fotkou galerie ===== */
.jrl-e{display:none;position:absolute;inset:0;overflow:auto;padding:4rem 1.2rem 2rem;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.jrl.end .jrl-e{display:flex}
.jrl.end>img,.jrl.end>.jrl-c,.jrl.end .jrl-f,.jrl.end>.jrl-x,.jrl.end .jrl-s,.jrl.end .jrl-p,.jrl.end .jrl-n{display:none !important}
.jrl-e-in{margin:auto;width:100%;max-width:860px;text-align:center}
.jrl-e h2{font-family:Oswald,system-ui,sans-serif;font-weight:300;font-size:1.9rem;letter-spacing:.04em;margin:0 0 1.6rem;color:#fff;border:0;padding:0}
.jrl-e-g{display:grid;grid-template-columns:260px 1fr;gap:2rem;align-items:start;text-align:left}
.jrl-e-ban{display:block;color:#fff;text-decoration:none !important}
.jrl-e-ban img{display:block;width:260px;height:260px;max-width:100%;max-height:none;object-fit:cover}
.jrl-e-ban b{display:block;margin-top:.8rem;font-family:Oswald,system-ui,sans-serif;font-weight:400;font-size:1.2rem;letter-spacing:.04em;text-transform:uppercase}
.jrl-e-ban i{display:block;margin:.2rem 0 .8rem;font-style:normal;font-size:.9rem;opacity:.75}
.jrl-e-ban span{display:inline-block;border:1px solid #fff8;border-radius:2rem;padding:.3rem 1rem;font-size:.85rem}
.jrl-e-ban:hover span{background:#fff;color:#111}
/* seznam workshopů z [jr_events_list] přebarvený do tmavé */
html body .jrl .jrl-e .jrev{background:transparent !important;margin:0 !important;padding:0 !important;width:auto !important;max-width:none !important;color:#fff}
html body .jrl .jrl-e .jrev h3{color:#fff !important;font-size:1.3rem !important;margin:0 0 .6rem !important}
html body .jrl .jrl-e .jrev li{border-bottom-color:#444 !important;color:#ddd}
html body .jrl .jrl-e .jrev .jrev-d{color:#e8806a}
html body .jrl .jrl-e .jrev a{color:#fff;border-bottom-color:#888}
html body .jrl .jrl-e .jrev .jrev-m{color:#aaa}
.jrl-e-b{display:flex;gap:1.2rem;justify-content:center;margin-top:2rem}
.jrl .jrl-e-b button{position:static;width:3.2rem;height:3.2rem;padding:0;border:1px solid #fff8;border-radius:50%;font-size:1.6rem;display:flex;align-items:center;justify-content:center}
.jrl .jrl-e-b button:hover{background:#fff;color:#111}
@media(max-width:700px){.jrl-e-g{grid-template-columns:1fr;gap:1.5rem}.jrl-e-ban img{width:100%;height:auto;aspect-ratio:1;max-width:260px}.jrl-e h2{font-size:1.5rem}}
html body .jrl .jrl-e .jrev ul{list-style:none !important;margin:0 !important;padding:0 !important}
html body .jrl .jrl-e .jrev li{display:flex;gap:1rem;align-items:baseline;list-style:none !important;margin:0 !important;padding:.5rem 0 !important;border-bottom:1px solid #444;font-size:1rem}
html body .jrl .jrl-e .jrev li:last-child{border-bottom:0 !important}
html body .jrl .jrl-e .jrev .jrev-d{flex:0 0 7.4rem;font-size:.95rem}
html body .jrl .jrl-e .jrev a{text-decoration:none !important;border-bottom:1px solid #888}
html body .jrl .jrl-e .jrev h3{font-family:Oswald,sans-serif;font-weight:300}
@media(max-width:600px){html body .jrl .jrl-e .jrev li{flex-wrap:wrap;gap:.1rem .8rem}}
