.ass-gallery-page {
	background: #ffffff;
	padding: 2.5rem 0 4.5rem;
}

.ass-gallery-page .ass-gallery-showcase {
	padding: 0 1.5rem;
}

.ass-gallery-page .ass-gallery-showcase__shell {
	max-width: 1120px;
	margin: 0 auto;
}

.ass-gallery-page .ass-gallery-showcase__header {
	max-width: 760px;
	margin: 0 auto 2rem;
	text-align: center;
}

.ass-gallery-page .ass-gallery-showcase__header h1 {
	margin: 0 0 0.85rem;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.02;
	color: #231f20;
}

.ass-gallery-page .ass-gallery-showcase__header p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #5d5855;
}

.ass-gallery-page .ass-gallery-showcase__grid {
	column-count: 4;
	column-gap: 12px;
}

.ass-gallery-page .ass-gallery-showcase__tile {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 12px;
	border: 0;
	background: transparent;
	break-inside: avoid;
	cursor: pointer;
	overflow: hidden;
	position: relative;
}

.ass-gallery-page .ass-gallery-showcase__tile::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
	opacity: 0;
	transition: opacity 180ms ease;
}

.ass-gallery-page .ass-gallery-showcase__tile:hover::after,
.ass-gallery-page .ass-gallery-showcase__tile:focus-visible::after {
	opacity: 1;
}

.ass-gallery-page .ass-gallery-showcase__tile:focus-visible {
	outline: 3px solid #1a5dad;
	outline-offset: 3px;
}

.ass-gallery-page .ass-gallery-showcase__image {
	display: block;
	width: 100%;
	height: auto;
}

.ass-gallery-page .ass-gallery-showcase__empty {
	padding: 3.5rem 2rem;
	border: 1px dashed #d5d1cb;
	text-align: center;
	background: #faf8f5;
}

.ass-gallery-page .ass-gallery-showcase__empty h2 {
	margin: 0 0 0.75rem;
	font-size: 1.65rem;
	color: #231f20;
}

.ass-gallery-page .ass-gallery-showcase__empty p {
	margin: 0;
	color: #5d5855;
}

.ass-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 5000;
	background: rgba(25, 25, 25, 0.96);
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease;
}

.ass-gallery-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.ass-gallery-lightbox__backdrop {
	position: absolute;
	inset: 0;
}

.ass-gallery-lightbox__chrome {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.95rem 1rem;
	z-index: 2;
	color: #efefef;
}

.ass-gallery-lightbox__counter {
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.ass-gallery-lightbox__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ass-gallery-lightbox__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease;
}

.ass-gallery-lightbox__icon-btn:hover,
.ass-gallery-lightbox__icon-btn:focus-visible,
.ass-gallery-lightbox__icon-btn.is-active {
	background: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.ass-gallery-lightbox__icon-btn svg,
.ass-gallery-lightbox__share-option svg,
.ass-gallery-lightbox__nav svg {
	width: 1.1rem;
	height: 1.1rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ass-gallery-lightbox__share-wrap {
	position: relative;
}

.ass-gallery-lightbox__share-menu {
	position: absolute;
	top: calc(100% + 0.65rem);
	right: 0;
	min-width: 12rem;
	padding: 0.45rem;
	border-radius: 1rem;
	background: rgba(20, 20, 20, 0.98);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
	display: grid;
	gap: 0.25rem;
}

.ass-gallery-lightbox__share-menu[hidden] {
	display: none !important;
}

.ass-gallery-lightbox__share-option[hidden] {
	display: none !important;
}

.ass-gallery-lightbox__share-option {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.8rem 0.9rem;
	border: 0;
	border-radius: 0.8rem;
	background: transparent;
	color: #ffffff;
	text-decoration: none;
	font: inherit;
	cursor: pointer;
}

.ass-gallery-lightbox__share-option:hover,
.ass-gallery-lightbox__share-option:focus-visible {
	background: rgba(255, 255, 255, 0.08);
}

.ass-gallery-lightbox__stage {
	position: absolute;
	inset: 4.75rem 4.75rem 5.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.ass-gallery-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transform: scale(1);
	transition: transform 180ms ease;
}

.ass-gallery-lightbox.is-zoomed .ass-gallery-lightbox__image {
	transform: scale(1.45);
	cursor: zoom-out;
}

.ass-gallery-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.15rem;
	height: 3.15rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	cursor: pointer;
}

.ass-gallery-lightbox__nav:hover,
.ass-gallery-lightbox__nav:focus-visible {
	background: rgba(255, 255, 255, 0.18);
}

.ass-gallery-lightbox__nav--prev {
	left: 1.4rem;
}

.ass-gallery-lightbox__nav--next {
	right: 1.4rem;
}

.ass-gallery-lightbox__caption {
	position: absolute;
	left: 50%;
	bottom: 1.15rem;
	transform: translateX(-50%);
	padding: 0.65rem 1rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	font-weight: 700;
	text-align: center;
	z-index: 2;
	max-width: calc(100vw - 3rem);
}

body.ass-gallery-lightbox-open {
	overflow: hidden;
}

@media (max-width: 1140px) {
	.ass-gallery-page .ass-gallery-showcase__grid {
		column-count: 3;
	}
}

@media (max-width: 860px) {
	.ass-gallery-page .ass-gallery-showcase__grid {
		column-count: 2;
	}

	.ass-gallery-lightbox__stage {
		inset: 5rem 1.5rem 5.8rem;
	}

	.ass-gallery-lightbox__nav {
		width: 2.8rem;
		height: 2.8rem;
	}

	.ass-gallery-lightbox__nav--prev {
		left: 0.65rem;
	}

	.ass-gallery-lightbox__nav--next {
		right: 0.65rem;
	}
}

@media (max-width: 640px) {
	.ass-gallery-page {
		padding: 1.4rem 0 3rem;
	}

	.ass-gallery-page .ass-gallery-showcase {
		padding: 0 0.9rem;
	}

	.ass-gallery-page .ass-gallery-showcase__grid {
		column-count: 1;
		column-gap: 0;
	}

	.ass-gallery-lightbox__chrome {
		padding: 0.75rem;
	}

	.ass-gallery-lightbox__counter {
		font-size: 0.78rem;
	}

	.ass-gallery-lightbox__actions {
		gap: 0.35rem;
	}

	.ass-gallery-lightbox__icon-btn {
		width: 2.35rem;
		height: 2.35rem;
	}

	.ass-gallery-lightbox__nav {
		top: auto;
		bottom: 4.9rem;
		transform: none;
	}

	.ass-gallery-lightbox__nav--prev {
		left: 0.8rem;
	}

	.ass-gallery-lightbox__nav--next {
		right: 0.8rem;
	}

	.ass-gallery-lightbox__caption {
		left: 0.8rem;
		right: 0.8rem;
		bottom: 0.85rem;
		transform: none;
		border-radius: 1rem;
	}
}
