.addst-gal-archive,
.addst-gal-single {
	--gal-red: #c8102e;
	--gal-red-dark: #a60d26;
	--gal-ink: #171d2a;
	--gal-text: #4b5563;
	--gal-line: #dce2e8;
}

.addst-gal-archive {
	padding: clamp(52px, 6vw, 84px) 0;
	background: #f4f6f8;
}

.addst-gal-archive-header {
	max-width: 860px;
}

.addst-gal-archive-header h1 {
	margin: 0;
	color: var(--gal-ink);
	font-size: clamp(2.8rem, 5vw, 4.9rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.addst-gal-archive-header > p:not(.add-kicker) {
	color: var(--gal-text);
	font-size: 1.1rem;
	line-height: 1.7;
}

.addst-gal-year-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 42px;
}

.addst-gal-year-nav a {
	min-width: 72px;
	padding: 10px 14px;
	border: 1px solid var(--gal-line);
	border-radius: 6px;
	background: #fff;
	color: var(--gal-ink);
	font-weight: 800;
	text-align: center;
}

.addst-gal-year-nav a:hover {
	border-color: var(--gal-red);
	background: var(--gal-red);
	color: #fff;
}

.addst-gal-year-section {
	padding: 34px 0;
	border-top: 1px solid #d5dce3;
	scroll-margin-top: 120px;
}

.addst-gal-year-section h2 {
	margin: 0 0 22px;
	color: var(--gal-ink);
	font-size: clamp(2rem, 4vw, 3.2rem);
}

.addst-gal-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.addst-gal-card {
	overflow: hidden;
	border: 1px solid rgba(23, 29, 42, 0.08);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(23, 29, 42, 0.08);
}

.addst-gal-card-image {
	display: grid;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	place-items: center;
	background: linear-gradient(135deg, var(--gal-red), var(--gal-red-dark));
	color: #fff;
	font-weight: 800;
}

.addst-gal-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 200ms ease;
}

.addst-gal-card:hover .addst-gal-card-image img {
	transform: scale(1.035);
}

.addst-gal-card-copy {
	padding: 22px;
}

.addst-gal-card-copy time {
	color: var(--gal-red);
	font-size: 0.84rem;
	font-weight: 800;
}

.addst-gal-card-copy h3 {
	margin: 8px 0 9px;
	font-size: 1.3rem;
	line-height: 1.3;
}

.addst-gal-card-copy h3 a {
	color: var(--gal-ink);
	text-decoration: none;
}

.addst-gal-card-copy p {
	margin: 0;
	color: var(--gal-text);
}

.addst-gal-card-link {
	display: inline-flex;
	margin-top: 14px;
	color: var(--gal-red);
	font-weight: 800;
	text-decoration: none;
}

.addst-gal-single {
	padding-top: 12px;
}

.addst-gal-single-date {
	margin-bottom: 12px;
	color: var(--gal-red);
	font-weight: 800;
}

.addst-gal-single-description {
	max-width: 850px;
	color: var(--gal-text);
	font-size: 1.05rem;
	line-height: 1.7;
}

.addst-gal-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	margin: 28px 0 22px;
	padding: 14px 0;
	border-top: 1px solid var(--gal-line);
	border-bottom: 1px solid var(--gal-line);
	color: var(--gal-text);
	font-weight: 700;
}

.addst-gal-single-meta a,
.addst-gal-back a {
	color: var(--gal-red);
	text-decoration: none;
}

.addst-gal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.addst-gal-photo {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: #e6e9ed;
	cursor: zoom-in;
}

.addst-gal-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.addst-gal-photo:hover img {
	transform: scale(1.035);
}

.addst-gal-back {
	margin-top: 30px;
	font-weight: 800;
}

.addst-gal-empty-front {
	padding: 30px;
	border: 1px dashed #b8c0c8;
	border-radius: 10px;
	background: #fff;
	color: var(--gal-text);
	text-align: center;
}

.addst-gal-lightbox {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 46px 80px;
	background: rgba(5, 7, 10, 0.94);
}

.addst-gal-lightbox[aria-hidden="false"] {
	display: flex;
}

.addst-gal-lightbox img {
	display: block;
	max-width: min(1200px, 88vw);
	max-height: 88vh;
	object-fit: contain;
}

.addst-gal-lightbox-close,
.addst-gal-lightbox-prev,
.addst-gal-lightbox-next {
	position: absolute;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-family: Arial, sans-serif;
}

.addst-gal-lightbox-close {
	top: 18px;
	right: 24px;
	font-size: 46px;
	line-height: 1;
}

.addst-gal-lightbox-prev,
.addst-gal-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 64px;
	line-height: 1;
}

.addst-gal-lightbox-prev {
	left: 20px;
}

.addst-gal-lightbox-next {
	right: 20px;
}

body.addst-gal-lightbox-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.addst-gal-card-grid,
	.addst-gal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.addst-gal-card-grid,
	.addst-gal-grid {
		grid-template-columns: 1fr;
	}

	.addst-gal-lightbox {
		padding: 54px 42px;
	}

	.addst-gal-lightbox-prev,
	.addst-gal-lightbox-next {
		font-size: 44px;
	}

	.addst-gal-lightbox-prev {
		left: 6px;
	}

	.addst-gal-lightbox-next {
		right: 6px;
	}
}
