.media-modal{z-index:1000;background:#000000e6;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.media-modal__content{background:#fff;border-radius:1rem;max-width:90vw;max-height:90vh;position:relative;overflow:hidden}.media-modal__close{color:#fff;cursor:pointer;z-index:1001;background:#000000b3;border:none;border-radius:50%;justify-content:center;align-items:center;width:3rem;height:3rem;font-size:1.5rem;transition:background .3s;display:flex;position:absolute;top:1rem;right:1rem}.media-modal__close:hover{background:#000000e6}.media-modal__image-container{max-width:80vw;max-height:70vh;position:relative}.media-modal__image,.media-modal__video{object-fit:contain;width:100%;height:auto;max-height:70vh}.media-modal__controls{background:#2d37480d;justify-content:center;align-items:center;gap:2rem;padding:1.5rem;display:flex}.media-modal__prev,.media-modal__next{color:#fff;cursor:pointer;background:#ff8904;border:none;border-radius:50%;justify-content:center;align-items:center;width:3rem;height:3rem;font-size:1.5rem;transition:all .3s;display:flex}.media-modal__prev:hover,.media-modal__next:hover{background:#ff6900;transform:scale(1.1)}.media-modal__counter{color:#2d3748;font-size:1.1rem;font-weight:600}