/* Photo gallery block (Gallery page). */
.arlen-photos__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}
.arlen-photos__filter button {
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
}
.arlen-photos__filter button:hover {
	border-color: var(--wp--preset--color--contrast);
}
.arlen-photos__filter button[aria-pressed="true"] {
	border-color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}
.arlen-photos__album {
	margin-top: var(--wp--preset--spacing--60);
}
.arlen-photos__album h2 {
	margin: 0;
}
.arlen-photos__desc {
	margin: 8px 0 0;
	color: var(--wp--preset--color--muted);
}
.arlen-photos__grid {
	margin-top: 24px;
	columns: 2 320px;
	column-gap: 18px;
}
.arlen-photo {
	margin: 0 0 26px;
	break-inside: avoid;
}
.arlen-photo a {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	cursor: zoom-in;
}
.arlen-photo img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.4s ease;
}
.arlen-photo a:hover img {
	transform: scale(1.02);
}
.arlen-photo figcaption {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 2px 0;
	font-size: var(--wp--preset--font-size--x-small);
}
.arlen-photo figcaption span {
	font-weight: 500;
}
.arlen-photo figcaption time {
	flex: none;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--geist-mono);
}

.arlen-viewer {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 10, 14, 0.94);
	color: #fff;
}
.arlen-viewer::backdrop {
	background: transparent;
}
.arlen-viewer figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 56px 16px 24px;
	box-sizing: border-box;
	pointer-events: none;
}
.arlen-viewer img {
	max-width: min(92vw, 1600px);
	max-height: calc(100vh - 140px);
	border-radius: 10px;
	object-fit: contain;
}
.arlen-viewer figcaption {
	margin-top: 14px;
	font-size: 15px;
	opacity: 0.85;
}
.arlen-viewer button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.arlen-viewer button:hover {
	background: rgba(255, 255, 255, 0.18);
}
.arlen-viewer__close {
	top: 16px;
	right: 16px;
}
.arlen-viewer__prev,
.arlen-viewer__next {
	top: 50%;
	transform: translateY(-50%);
}
.arlen-viewer__prev {
	left: 16px;
}
.arlen-viewer__next {
	right: 16px;
}
@media (prefers-reduced-motion: reduce) {
	.arlen-photo img {
		transition: none;
	}
}
