.tml-r2-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.tml-r2-photo{display:block;overflow:hidden;aspect-ratio:4/3;padding:0;border:0;background:#f2f2f2;border-radius:4px;cursor:zoom-in}.tml-r2-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.tml-r2-photo:hover img,.tml-r2-photo:focus-visible img{transform:scale(1.04)}.tml-r2-photo:focus-visible{outline:3px solid #2271b1;outline-offset:2px}.tml-r2-empty{padding:1rem;background:#f6f6f6}
.tml-r2-lightbox{position:fixed;inset:0;width:min(96vw,1400px);height:min(94vh,1000px);max-width:none;max-height:none;margin:auto;padding:52px 64px 78px;border:0;border-radius:8px;background:rgba(12,12,12,.97);color:#fff;overflow:hidden}.tml-r2-lightbox::backdrop{background:rgba(0,0,0,.82)}.tml-r2-lightbox-image{display:block;width:100%;height:100%;object-fit:contain}.tml-r2-lightbox button{font:inherit}.tml-r2-close,.tml-r2-nav{position:absolute;border:0;color:#fff;background:rgba(255,255,255,.16);cursor:pointer}.tml-r2-close{top:10px;right:14px;width:40px;height:40px;border-radius:50%;font-size:30px;line-height:1}.tml-r2-nav{top:50%;width:48px;height:64px;transform:translateY(-50%);border-radius:8px;font-size:48px;line-height:1}.tml-r2-prev{left:8px}.tml-r2-next{right:8px}.tml-r2-lightbox-tools{position:absolute;left:0;right:0;bottom:12px;display:flex;align-items:center;justify-content:center;gap:20px}.tml-r2-counter{color:#ddd}.tml-r2-download{display:inline-block;padding:9px 14px;border-radius:5px;background:#fff;color:#111;text-decoration:none;font-weight:600}.tml-r2-download:hover{background:#e8e8e8;color:#111}.tml-r2-download[aria-busy=true]{opacity:.7;pointer-events:none}@media(max-width:600px){.tml-r2-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tml-r2-lightbox{width:100vw;height:100dvh;padding:50px 42px 76px;border-radius:0}.tml-r2-nav{width:38px;height:54px;font-size:40px}.tml-r2-prev{left:2px}.tml-r2-next{right:2px}}
