/* Gallery layout – dedicated override loaded after frontend/app.min.css. */
#gallery-single .gallery-single__base {
	background: #fff;
}
#gallery-single .gallery-single__base .pswp-gallery {
	width: 100%;
	margin: 0 auto;
}
#gallery-single .gallery-single__base .base__set {
	padding: clamp(1rem, 2.5vw, 2rem);
	background: #f8f3f0;
	border: 1px solid #e7e0dd;
	border-radius: 1rem;
}
#gallery-single .gallery-single__base .base__set + .base__set {
	margin-top: clamp(1.25rem, 3vw, 2.5rem);
}
#gallery-single .gallery-single__base .base__set-heading {
	display: flex;
	align-items: center;
	gap: .875rem;
	margin-bottom: 1.25rem;
}
#gallery-single .gallery-single__base .base__set-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 2.25rem;
	height: 2.25rem;
	background: #9777f2;
	border-radius: .5rem;
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
}
#gallery-single .gallery-single__base .base__set-title {
	margin: 0;
	font-family: "Graphik", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.3;
	color: #171717;
}
#gallery-single .gallery-single__base .base__pair {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(.75rem, 2vw, 1.5rem);
	align-items: start;
}
#gallery-single .gallery-single__base .base__image {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e2ddda;
	border-radius: .625rem;
	overflow: hidden;
}
#gallery-single .gallery-single__base .base__image figcaption {
	order: -1;
	margin: 0;
	padding: .875rem 1rem;
	background: #fff;
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .075em;
	line-height: 1.25;
	text-transform: uppercase;
	text-align: center;
	color: #353535;
}
#gallery-single .gallery-single__base .base__image--after figcaption {
	color: #7353c3;
}
#gallery-single .gallery-single__base .base__image a {
	display: block;
	width: 100%;
	min-width: 0;
	background: #eae7e5;
	text-decoration: none;
}
#gallery-single .gallery-single__base .base__image a:focus-visible,
#gallery-single .gallery-single__base .base__extras-item a:focus-visible {
	outline: 3px solid #9777f2;
	outline-offset: -3px;
}
#gallery-single .gallery-single__base .base__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	max-width: none;
	object-fit: contain;
	background: #eae7e5;
}
#gallery-single .gallery-single__base .base__extras {
	margin-top: 2.5rem;
}
#gallery-single .gallery-single__base .base__extras-title {
	font-family: "Graphik", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.375rem;
	margin-bottom: 1rem;
}
#gallery-single .gallery-single__base .base__extras-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}
#gallery-single .gallery-single__base .base__extras-item {
	min-width: 0;
}
#gallery-single .gallery-single__base .base__extras-item img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}
#gallery-cat .gallery-cat__base .base__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
#gallery-cat .gallery-cat__base .gallery-card {
	min-width: 0;
	background: #fff;
	border: 1px solid #e7e0dd;
	border-radius: .75rem;
	overflow: hidden;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .25rem;
	background: #eae7e5;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__image {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__image figcaption {
	order: -1;
	background: #f8f3f0;
	padding: .625rem;
	color: #353535;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .075em;
	text-transform: uppercase;
	text-align: center;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #eae7e5;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: 1rem;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__name {
	color: #252525;
	font-size: .95rem;
	font-weight: 700;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__cta {
	display: block;
	padding: 0;
	color: #7353c3;
	font-weight: 600;
	font-size: .875rem;
	text-align: right;
}
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__link:hover .gallery-card__cta,
#gallery-cat .gallery-cat__base .gallery-card .gallery-card__link:focus-visible .gallery-card__cta {
	text-decoration: underline;
}
@media (max-width: 991.98px) {
	#gallery-cat .gallery-cat__base .base__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 575.98px) {
	#gallery-single .gallery-single__base .base__set {
		padding: .75rem;
		border-radius: .75rem;
	}
	#gallery-single .gallery-single__base .base__pair {
		grid-template-columns: minmax(0, 1fr);
	}
	#gallery-single .gallery-single__base .base__set-heading {
		margin-bottom: .75rem;
	}
	#gallery-cat .gallery-cat__base .base__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	#gallery-single .gallery-single__base .base__extras-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
