.jzg-gallery {
	column-count: 4;
	column-gap: 10px;
	margin: 0 auto;
	max-width: min(100%, 1480px);
	padding: clamp(12px, 2vw, 28px);
}

.jzg-gallery__item {
	appearance: none;
	background: transparent;
	border: 0;
	break-inside: avoid;
	cursor: zoom-in;
	display: block;
	margin: 0 0 10px;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.jzg-gallery__item::after {
	background: rgba(0, 0, 0, 0.18);
	content: "";
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 180ms ease;
}

.jzg-gallery__item:hover::after,
.jzg-gallery__item:focus-visible::after {
	opacity: 1;
}

.jzg-gallery__item:focus-visible {
	outline: 3px solid #d7b56d;
	outline-offset: 3px;
}

.jzg-gallery__item img {
	display: block;
	height: auto;
	transform: scale(1.001);
	transition: transform 260ms ease;
	width: 100%;
}

.jzg-gallery__item:hover img,
.jzg-gallery__item:focus-visible img {
	transform: scale(1.035);
}

.jzg-lightbox {
	align-items: center;
	background: rgba(6, 6, 8, 0.94);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 18px;
	position: fixed;
	z-index: 999999;
}

.jzg-lightbox.is-open {
	display: flex;
}

.jzg-lightbox img {
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	max-height: 92vh;
	max-width: 92vw;
	object-fit: contain;
}

.jzg-lightbox button {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 30px;
	height: 44px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	width: 44px;
}

.jzg-lightbox button:hover,
.jzg-lightbox button:focus-visible {
	background: rgba(255, 255, 255, 0.24);
}

.jzg-lightbox__close {
	right: 18px;
	top: 18px;
}

.jzg-lightbox__prev {
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.jzg-lightbox__next {
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 1080px) {
	.jzg-gallery {
		column-count: 3;
	}
}

@media (max-width: 720px) {
	.jzg-gallery {
		column-count: 2;
		column-gap: 6px;
		padding: 6px;
	}

	.jzg-gallery__item {
		margin-bottom: 6px;
	}
}

@media (max-width: 420px) {
	.jzg-gallery {
		column-count: 1;
	}
}

.jzg-comments {
	background: #121212;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
	color: #fff;
	margin: 0;
	max-width: 420px;
	padding: 18px;
}

.jzg-comments h3 {
	color: #f3d98b;
	font-size: 16px;
	margin: 0 0 12px;
}

.jzg-comments .comment-reply-title {
	color: #fff;
	font-size: 18px;
	margin: 0 0 12px;
}

.jzg-comments__list {
	list-style: none;
	margin: 0 0 14px;
	max-height: 190px;
	overflow: auto;
	padding: 0;
}

.jzg-comments .comment {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14px;
	padding: 12px 0;
}

.jzg-comments .comment-author,
.jzg-comments .comment-meta,
.jzg-comments .comment-content {
	margin-bottom: 6px;
}

.jzg-comments a {
	color: #f1d486;
}

.jzg-comments p {
	margin: 0 0 10px;
}

.jzg-comments label {
	color: rgba(255, 255, 255, 0.82);
	display: block;
	font-size: 13px;
	margin-bottom: 5px;
}

.jzg-comments input:not([type="submit"]),
.jzg-comments textarea {
	background: rgba(255, 255, 255, 0.96);
	border: 0;
	border-radius: 8px;
	box-sizing: border-box;
	color: #111;
	font-size: 14px;
	max-width: 100%;
	padding: 9px 10px;
	width: 100%;
}

.jzg-comments textarea {
	min-height: 94px;
}

.jzg-comments .comment-form-cookies-consent {
	display: none;
}

.jzg-comments .form-submit {
	margin-bottom: 0;
}

.jzg-comments .form-submit input {
	background: #f1d486;
	border: 0;
	border-radius: 999px;
	color: #111;
	cursor: pointer;
	font-size: 14px;
	font-weight: 800;
	padding: 10px 16px;
	width: 100%;
}
