.wrr-pressekit {
	--wrr-gap: 18px;
	--wrr-radius: 12px;
	--wrr-overlay: rgba(0, 0, 0, 0.82);
	--wrr-columns: 3;
}

.wrr-pressekit.is-post-layout {
	--wrr-columns: 1;
}

.wrr-pressekit__grid {
	display: grid;
	grid-template-columns: repeat(var(--wrr-columns), minmax(0, 1fr));
	gap: var(--wrr-gap);
}

.wrr-pressekit__item {
	display: block;
}

.wrr-pressekit__media-wrap {
	position: relative;
	border-radius: var(--wrr-radius);
	overflow: hidden;
}

.wrr-pressekit__lightbox-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.wrr-pressekit__lightbox-trigger img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.wrr-pressekit__checkbox {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	cursor: pointer;
}

.wrr-pressekit__checkbox-input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.wrr-pressekit__checkbox-box {
	position: relative;
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.wrr-pressekit__checkbox-box::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 4px;
	width: 8px;
	height: 14px;
	border-right: 4px solid #d31212;
	border-bottom: 4px solid #d31212;
	transform: rotate(45deg);
	opacity: 0;
}

.wrr-pressekit__checkbox-input:checked + .wrr-pressekit__checkbox-box::after {
	opacity: 1;
}

.wrr-pressekit__checkbox-input:focus-visible + .wrr-pressekit__checkbox-box {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.wrr-pressekit__actions {
	margin-top: 34px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: center;
}

.wrr-pressekit__selected-count {
	font-size: 14px;
	font-weight: 600;
}

.wrr-pressekit__download-button {
	border: 0;
	border-radius: 4px;
	padding: 12px 18px;
	cursor: pointer;
}

.wrr-pressekit__lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: var(--wrr-overlay);
}

.wrr-pressekit__lightbox[hidden] {
	display: none;
}

.wrr-pressekit__lightbox-inner {
	max-width: min(1100px, 90vw);
	max-height: 90vh;
	text-align: center;
	color: #fff;
}

.wrr-pressekit__lightbox-image {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	margin: 0 auto;
}

.wrr-pressekit__lightbox-caption {
	margin-top: 16px;
}

.wrr-pressekit__lightbox-close,
.wrr-pressekit__lightbox-nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	cursor: pointer;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	font-size: 28px;
	line-height: 1;
}

.wrr-pressekit__lightbox-close {
	top: 20px;
	right: 20px;
}

.wrr-pressekit__lightbox-nav.is-prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.wrr-pressekit__lightbox-nav.is-next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 1024px) {
	.wrr-pressekit.is-page-layout {
		--wrr-columns: 2;
	}
}

@media (max-width: 767px) {
	.wrr-pressekit.is-page-layout,
	.wrr-pressekit.is-post-layout {
		--wrr-columns: 1;
	}

	.wrr-pressekit__lightbox {
		padding: 16px;
	}

	.wrr-pressekit__download-button {
		width: 100%;
		max-width: 100%;
	}
}
