:is(.home, .category-werke) .pswp {
	--pswp-bg: #fff;
	--pswp-placeholder-bg: #f5f5f5;
	--pswp-icon-color: #000;
	--pswp-error-text-color: #000;
	--pswp-preloader-color: #fff;
	color: #000;
}

:is(.home, .category-werke) .pswp .pswp__img {
	/* Override PhotoSwipe's zoom cursors in every zoom and drag state. */
	cursor: default !important;
}

:is(.home, .category-werke) .pswp__button .pswp__icn {
	display: none;
}

:is(.home, .category-werke) .pswp__button {
	color: #000;
}
:is(.home, .category-werke) .pswp .pswp__button--arrow {
    /* Keep navigation visible on touch devices and at gallery boundaries. */
    display: block;
    visibility: visible;
    position: absolute;
    width: 80px;
    height: 75px;
    top: auto;
    bottom: 0;
    margin-top: -50px;
    z-index: 11;
}
@media (max-width: 600px) {
    :is(.home, .category-werke) .pswp .pswp__button--arrow {
        width: 70px;
        height: 65px;
    }
}

:is(.home, .category-werke) .pswp__button--arrow:disabled {
	display: block;
	color: #aaa;
	opacity: 0.7;
	cursor: default;
}

:is(.home, .category-werke) .pswp__button::before {
	background: currentColor;
	content: "";
	display: block;
	height: 2.7rem;
	margin: auto;
	mask: center / contain no-repeat;
	-webkit-mask: center / contain no-repeat;
	width: 2.7rem;
}

:is(.home, .category-werke) .pswp__button--close::before {
	mask-image: url("../icons/lightbox/close.svg");
	-webkit-mask-image: url("../icons/lightbox/close.svg");
}

:is(.home, .category-werke) .pswp__button--zoom::before {
	mask-image: url("../icons/lightbox/zoom.svg");
	-webkit-mask-image: url("../icons/lightbox/zoom.svg");
}

:is(.home, .category-werke) .pswp--zoomed-in .pswp__button--zoom::before {
	mask-image: url("../icons/lightbox/zoom-out.svg");
	-webkit-mask-image: url("../icons/lightbox/zoom-out.svg");
}

:is(.home, .category-werke) .pswp__button--fullscreen::before {
	mask-image: url("../icons/lightbox/fullscreen.svg");
	-webkit-mask-image: url("../icons/lightbox/fullscreen.svg");
}

:is(.home, .category-werke) .pswp:fullscreen .pswp__button--fullscreen::before {
	mask-image: url("../icons/lightbox/fullscreen-exit.svg");
	-webkit-mask-image: url("../icons/lightbox/fullscreen-exit.svg");
}

:is(.home, .category-werke) .pswp__button--arrow--prev::before {
	mask-image: url("../icons/lightbox/previous.svg");
	-webkit-mask-image: url("../icons/lightbox/previous.svg");
}

:is(.home, .category-werke) .pswp__button--arrow--next::before {
	mask-image: url("../icons/lightbox/next.svg");
	-webkit-mask-image: url("../icons/lightbox/next.svg");
}

:is(.home, .category-werke) .pswp__button--fullscreen {
	display: none;
}

:is(.home, .category-werke) .pswp__caption {
	background: #fff;
	bottom: 0;
	box-sizing: border-box;
	color: #000;
	left: 0;
	min-height: 30px;
	padding: 19px 20px 15px 20px;
	position: absolute;
	text-align: center;
	width: 100%;
	z-index: 10;
}

@media (max-width: 600px) {
	:is(.home, .category-werke) .pswp__button::before {
		height: 28px;
		width: 28px;
	}
}
@media (max-width: 800px) {
    :is(.home, .category-werke) .pswp__caption {
        padding: 19px 70px 15px 70px;
    }
}
@media (max-width: 600px) {
    :is(.home, .category-werke) .pswp__caption {
        font-size: var(--wp--preset--font-size--small);
    }
}

:is(.home, .category-werke)  .pswp__counter {
    font-size: var(--wp--preset--font-size--medium) !important;
    text-shadow: none !important;
    opacity: 1 !important;
}
:is(.home, .category-werke) .pswp__video {
	display: block;
	object-fit: contain;
	background: #fff;
}

