body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #ffffff;
	color: #000000;
	margin: 0;
	padding: 0;
}
.gallery-header {
	background: #A6725A;
	color: #ffffff;
	padding: 14px 20px;
}
.gallery-header h1 {
	margin: 0;
	font-size: 1.4em;
}
.gallery-header a {
	color: #ffffff;
}
.gallery-nav {
	background: #CCCCCC;
	padding: 8px 20px;
}
.gallery-nav a {
	color: #000000;
	text-decoration: none;
	margin-right: 14px;
	font-weight: bold;
}
.gallery-nav a:hover,
.gallery-nav a.current {
	color: #CC0000;
	text-decoration: underline;
}
.gallery-main {
	padding: 20px;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
}
.gallery-grid a {
	display: block;
	border: 3px solid #CCCCCC;
	background: #E8E8E8;
	line-height: 0;
}
.gallery-grid a:hover {
	border-color: #A6725A;
}
.gallery-grid img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.album-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}
.album-card {
	text-decoration: none;
	color: #000000;
	border: 3px solid #CCCCCC;
	background: #E8E8E8;
}
.album-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.album-card span {
	display: block;
	padding: 8px;
	text-align: center;
	font-weight: bold;
	background: #ffffff;
}
.album-card:hover {
	border-color: #A6725A;
}

/* lightbox */
#lightbox-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.85);
	z-index: 1000;
	text-align: center;
}
#lightbox-overlay.open {
	display: flex;
	align-items: center;
	justify-content: center;
}
#lightbox-overlay img {
	max-width: 90vw;
	max-height: 85vh;
	border: 4px solid #ffffff;
}
#lightbox-close, #lightbox-prev, #lightbox-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.85);
	border: none;
	font-size: 2em;
	line-height: 1;
	cursor: pointer;
	padding: 10px 16px;
	color: #000000;
}
#lightbox-close {
	top: 20px;
	right: 20px;
	transform: none;
}
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }
