.anna-masonry-gallery {
	--anna-gallery-columns: 3;
	--anna-gallery-gap: 16px;
	--anna-gallery-radius: 18px;
	--anna-gallery-accent: #0ba3ef;
	--anna-gallery-highlight: #ffde01;
	--anna-gallery-purple: #5804fa;
	--anna-gallery-text: #550964;
	--anna-gallery-muted: #54595f;
	--anna-gallery-surface: #ffffff;
	--anna-gallery-soft: #f2fbff;
	--anna-gallery-overlay-opacity: 0.42;
	--anna-gallery-filter-arrow: var(--anna-gallery-accent);
	--anna-gallery-filter-bg: var(--anna-gallery-surface);
	--anna-gallery-filter-border: rgba(11, 163, 239, 0.24);
	--anna-gallery-filter-border-width: 2px;
	--anna-gallery-filter-color: var(--anna-gallery-text);
	--anna-gallery-filter-hover-bg: var(--anna-gallery-filter-bg);
	--anna-gallery-filter-hover-border: var(--anna-gallery-highlight);
	--anna-gallery-filter-hover-color: var(--anna-gallery-filter-color);
	--anna-gallery-filter-active-bg: var(--anna-gallery-accent);
	--anna-gallery-filter-active-border: var(--anna-gallery-accent);
	--anna-gallery-filter-active-color: #ffffff;
	--anna-gallery-filter-label-color: var(--anna-gallery-text);
	--anna-gallery-filter-radius: var(--anna-gallery-radius);
	--anna-gallery-caption-bg: transparent;
	--anna-gallery-caption-color: #ffffff;
	--anna-gallery-load-bg: var(--anna-gallery-accent);
	--anna-gallery-load-border: var(--anna-gallery-accent);
	--anna-gallery-load-color: #ffffff;
	--anna-gallery-load-hover-bg: var(--anna-gallery-purple);
	--anna-gallery-load-hover-border: var(--anna-gallery-highlight);
	--anna-gallery-load-hover-color: #ffffff;
	--anna-gallery-load-radius: var(--anna-gallery-radius);
	--anna-gallery-lightbox-backdrop: rgba(36, 12, 62, 0.94);
	--anna-gallery-lightbox-button-bg: rgba(255, 255, 255, 0.13);
	--anna-gallery-lightbox-button-color: #ffffff;
	--anna-gallery-lightbox-caption-color: #ffffff;
	--anna-gallery-lightbox-counter-color: rgba(255, 255, 255, 0.72);
	color: var(--anna-gallery-text);
	font-family: "Quicksand", "Poppins", Arial, sans-serif;
	position: relative;
	width: 100%;
}

.anna-gallery-empty {
	color: var(--anna-gallery-muted);
	margin: 0;
	padding: 32px;
	text-align: center;
}

.anna-gallery-filterbar {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin: 0 0 22px;
}

.anna-gallery-filterbar__label {
	color: var(--anna-gallery-filter-label-color);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.anna-gallery-filterbar__control {
	display: inline-flex;
	max-width: 100%;
	min-width: min(300px, 100%);
	position: relative;
}

.anna-gallery-filterbar__control::after {
	border-color: transparent var(--anna-gallery-filter-arrow) var(--anna-gallery-filter-arrow) transparent;
	border-style: solid;
	border-width: 0 2px 2px 0;
	content: "";
	height: 9px;
	pointer-events: none;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-64%) rotate(45deg);
	width: 9px;
}

.anna-gallery-filter-select {
	appearance: none;
	background: var(--anna-gallery-filter-bg);
	border: var(--anna-gallery-filter-border-width) solid var(--anna-gallery-filter-border);
	border-radius: var(--anna-gallery-filter-radius);
	box-shadow: none;
	color: var(--anna-gallery-filter-color);
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	min-height: 50px;
	padding: 12px 48px 12px 18px;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
	width: 100%;
}

.anna-gallery-filter-select:hover,
.anna-gallery-filter-select:focus-visible {
	background: var(--anna-gallery-filter-hover-bg);
	border-color: var(--anna-gallery-filter-hover-border);
	box-shadow: none;
	color: var(--anna-gallery-filter-hover-color);
	outline: 2px solid var(--anna-gallery-highlight);
	outline-offset: 2px;
}

.anna-gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0 0 20px;
}

.anna-gallery-filters--scroll {
	flex-wrap: nowrap;
	justify-content: flex-start;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: none;
}

.anna-gallery-filters--scroll::-webkit-scrollbar {
	display: none;
}

.anna-gallery-filters--scroll .anna-gallery-filter {
	flex: 0 0 auto;
}

.anna-gallery-filter {
	appearance: none;
	background: var(--anna-gallery-filter-bg);
	border: var(--anna-gallery-filter-border-width) solid var(--anna-gallery-filter-border);
	border-radius: var(--anna-gallery-filter-radius);
	color: var(--anna-gallery-filter-color);
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	min-height: 46px;
	padding: 12px 20px;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.anna-gallery-filter:hover,
.anna-gallery-filter:focus-visible {
	background: var(--anna-gallery-filter-hover-bg);
	border-color: var(--anna-gallery-filter-hover-border);
	box-shadow: 0 12px 22px rgba(88, 4, 250, 0.14);
	color: var(--anna-gallery-filter-hover-color);
	outline: 2px solid var(--anna-gallery-highlight);
	outline-offset: 2px;
	transform: translateY(-1px);
}

.anna-gallery-filter.is-active {
	background: var(--anna-gallery-filter-active-bg);
	border-color: var(--anna-gallery-filter-active-border);
	box-shadow: none;
	color: var(--anna-gallery-filter-active-color);
}

.anna-gallery-filter.is-active:hover,
.anna-gallery-filter.is-active:focus-visible {
	background: var(--anna-gallery-filter-active-bg);
	border-color: var(--anna-gallery-filter-hover-border);
	color: var(--anna-gallery-filter-active-color);
}
.anna-gallery-grid {
	column-count: var(--anna-gallery-columns);
	column-gap: var(--anna-gallery-gap);
	width: 100%;
}

.anna-gallery-item {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: var(--anna-gallery-radius);
	break-inside: avoid;
	cursor: zoom-in;
	display: block;
	margin: 0 0 var(--anna-gallery-gap);
	overflow: hidden;
	padding: 0;
	position: relative;
	text-align: left;
	width: 100%;
}

.anna-gallery-item[hidden],
.anna-gallery-load.is-hidden {
	display: none !important;
}

.anna-gallery-item__media {
	background: var(--anna-gallery-soft);
	border-radius: var(--anna-gallery-radius);
	display: block;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.anna-gallery-item--landscape .anna-gallery-item__media {
	aspect-ratio: 4 / 3;
}

.anna-gallery-item--portrait .anna-gallery-item__media {
	aspect-ratio: 3 / 4;
}

.anna-gallery-item--square .anna-gallery-item__media {
	aspect-ratio: 1 / 1;
}

.anna-gallery-item--wide .anna-gallery-item__media {
	aspect-ratio: 16 / 9;
}

.anna-gallery-item img {
	display: block;
	height: auto;
	object-fit: cover;
	transform: scale(1);
	transition: transform 420ms ease;
	width: 100%;
}

.anna-gallery-item--landscape img,
.anna-gallery-item--portrait img,
.anna-gallery-item--square img,
.anna-gallery-item--wide img {
	height: 100%;
}

.anna-gallery-item__shade {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.66), transparent 58%);
	inset: 0;
	opacity: var(--anna-gallery-overlay-opacity);
	position: absolute;
	transition: opacity 180ms ease;
}

.anna-gallery-item__caption {
	background: var(--anna-gallery-caption-bg);
	bottom: 0;
	color: var(--anna-gallery-caption-color);
	font-size: 14px;
	font-weight: 700;
	left: 0;
	line-height: 1.35;
	padding: 14px;
	position: absolute;
	right: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
	transform: translateY(4px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.anna-gallery-item__play {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	display: flex;
	height: 54px;
	justify-content: center;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
}

.anna-gallery-item__play::before {
	border-bottom: 10px solid transparent;
	border-left: 16px solid var(--anna-gallery-accent);
	border-top: 10px solid transparent;
	content: "";
	margin-left: 4px;
}

.anna-gallery-item:hover img,
.anna-gallery-item:focus-visible img {
	transform: scale(1.045);
}

.anna-gallery-item:hover .anna-gallery-item__shade,
.anna-gallery-item:focus-visible .anna-gallery-item__shade {
	opacity: 0.72;
}

.anna-gallery-item:focus-visible {
	outline: 3px solid var(--anna-gallery-highlight);
	outline-offset: 3px;
}

.anna-gallery-load {
	display: flex;
	justify-content: center;
	margin: 10px 0 0;
}

.anna-gallery-load__button {
	appearance: none;
	background: var(--anna-gallery-load-bg);
	border: 2px solid var(--anna-gallery-load-border);
	border-radius: var(--anna-gallery-load-radius);
	box-shadow: 0 12px 24px rgba(11, 163, 239, 0.22);
	color: var(--anna-gallery-load-color);
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	min-height: 46px;
	padding: 12px 20px;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.anna-gallery-load__button:hover,
.anna-gallery-load__button:focus-visible {
	background: var(--anna-gallery-load-hover-bg);
	border-color: var(--anna-gallery-load-hover-border);
	box-shadow: 0 12px 22px rgba(88, 4, 250, 0.14);
	color: var(--anna-gallery-load-hover-color);
	outline: 2px solid var(--anna-gallery-highlight);
	outline-offset: 2px;
	transform: translateY(-1px);
}

body.anna-gallery-scroll-lock {
	overflow: hidden;
}

.anna-gallery-lightbox[hidden] {
	display: none !important;
}

.anna-gallery-lightbox {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 1000000;
}

.anna-gallery-lightbox__backdrop {
	background: var(--anna-gallery-lightbox-backdrop);
	inset: 0;
	position: absolute;
}

.anna-gallery-lightbox__panel {
	align-items: center;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 54px;
	grid-template-rows: minmax(160px, 1fr) auto auto;
	max-height: calc(100vh - 48px);
	max-width: min(1120px, calc(100vw - 48px));
	position: relative;
	width: 100%;
	z-index: 1;
}

.anna-gallery-lightbox__stage {
	align-items: center;
	display: flex;
	grid-column: 2;
	grid-row: 1;
	justify-content: center;
	min-height: 180px;
	outline: none;
	position: relative;
	width: 100%;
}

.anna-gallery-lightbox__stage img,
.anna-gallery-lightbox__stage video {
	border-radius: var(--anna-gallery-radius);
	display: block;
	max-height: calc(100vh - 170px);
	max-width: 100%;
	object-fit: contain;
}

.anna-gallery-lightbox__stage iframe {
	aspect-ratio: 16 / 9;
	background: #000000;
	border: 0;
	border-radius: var(--anna-gallery-radius);
	display: block;
	max-height: calc(100vh - 170px);
	width: min(960px, 100%);
}

.anna-gallery-lightbox__caption {
	color: var(--anna-gallery-lightbox-caption-color);
	font-size: 15px;
	font-weight: 600;
	grid-column: 2;
	grid-row: 2;
	line-height: 1.45;
	margin: 14px 0 0;
	text-align: center;
}

.anna-gallery-lightbox__counter {
	color: var(--anna-gallery-lightbox-counter-color);
	font-size: 13px;
	font-weight: 600;
	grid-column: 2;
	grid-row: 3;
	margin: 8px 0 0;
	text-align: center;
}

.anna-gallery-lightbox__close,
.anna-gallery-lightbox__nav {
	appearance: none;
	background: var(--anna-gallery-lightbox-button-bg);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	color: var(--anna-gallery-lightbox-button-color);
	cursor: pointer;
	height: 44px;
	padding: 0;
	position: relative;
	transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
	width: 44px;
}

.anna-gallery-lightbox__close:hover,
.anna-gallery-lightbox__close:focus-visible,
.anna-gallery-lightbox__nav:hover,
.anna-gallery-lightbox__nav:focus-visible {
	background: var(--anna-gallery-highlight);
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

.anna-gallery-lightbox__close {
	position: fixed;
	right: 18px;
	top: 18px;
	z-index: 2;
}

.anna-gallery-lightbox__close::before,
.anna-gallery-lightbox__close::after {
	background: currentColor;
	content: "";
	height: 2px;
	left: 12px;
	position: absolute;
	top: 20px;
	width: 18px;
}

.anna-gallery-lightbox__close::before {
	transform: rotate(45deg);
}

.anna-gallery-lightbox__close::after {
	transform: rotate(-45deg);
}

.anna-gallery-lightbox__nav {
	align-self: center;
	grid-row: 1;
	justify-self: center;
}

.anna-gallery-lightbox__nav:disabled {
	cursor: default;
	opacity: 0.28;
}

.anna-gallery-lightbox__nav::before {
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	content: "";
	height: 13px;
	left: 16px;
	position: absolute;
	top: 14px;
	width: 13px;
}

.anna-gallery-lightbox__nav--prev {
	grid-column: 1;
}

.anna-gallery-lightbox__nav--prev::before {
	transform: rotate(45deg);
}

.anna-gallery-lightbox__nav--next {
	grid-column: 3;
}

.anna-gallery-lightbox__nav--next::before {
	left: 12px;
	transform: rotate(225deg);
}

.anna-gallery-lightbox__loader {
	border: 3px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	border-top-color: #ffffff;
	grid-column: 2;
	grid-row: 1;
	height: 38px;
	justify-self: center;
	width: 38px;
	z-index: 2;
	animation: anna-gallery-spin 800ms linear infinite;
}

@keyframes anna-gallery-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 767px) {
	.anna-gallery-filterbar {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}

	.anna-gallery-filterbar__control {
		min-width: 0;
		width: 100%;
	}

	.anna-gallery-filter-select {
		font-size: 15px;
	}

	.anna-gallery-filters--scroll {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: none;
	}

	.anna-gallery-filters--scroll::-webkit-scrollbar {
		display: none;
	}

	.anna-gallery-filters--scroll .anna-gallery-filter {
		flex: 0 0 auto;
	}

	.anna-gallery-lightbox {
		padding: 14px;
	}

	.anna-gallery-lightbox__panel {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: minmax(160px, 1fr) auto auto auto;
		max-height: calc(100vh - 28px);
		max-width: calc(100vw - 28px);
	}

	.anna-gallery-lightbox__stage {
		grid-column: 1 / -1;
	}

	.anna-gallery-lightbox__stage img,
	.anna-gallery-lightbox__stage video,
	.anna-gallery-lightbox__stage iframe {
		max-height: calc(100vh - 210px);
	}

	.anna-gallery-lightbox__caption,
	.anna-gallery-lightbox__counter {
		grid-column: 1 / -1;
	}

	.anna-gallery-lightbox__nav {
		grid-row: 4;
		margin-top: 14px;
	}

	.anna-gallery-lightbox__nav--prev {
		grid-column: 1;
	}

	.anna-gallery-lightbox__nav--next {
		grid-column: 2;
	}

	.anna-gallery-lightbox__close {
		right: 12px;
		top: 12px;
	}
}
