.gallery-card {
	margin-bottom: 20px;
	border: 1px solid #eee;
	border-radius: 5px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
	background: #fff;
}
.gallery-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.gallery-card-img {
	overflow: hidden;
	aspect-ratio: 4/3;
}
.gallery-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform 0.3s ease;
	display: block;
}
.gallery-card:hover .gallery-thumb {
	transform: scale(1.05);
}
.gallery-card-body {
	padding: 10px 12px;
}
.gallery-card-body h3 {
	font-size: 13pt;
	font-weight: 900;
	line-height: 23px;
	margin: 0 0 4px;
}
.gallery-card-body p,
.gallery-card-body span {
	font-size: 0.9em;
	margin: 2px 0;
	color: #555;
}
.gallery-card-body a {
	color: #c01b1d;
}
.gallery-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	flex-wrap: wrap;
	gap: 10px;
}
.gallery-toolbar .photo-count {
	font-size: 14px;
	color: #666;
}
.gallery-toolbar select {
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}
.gallery-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
	padding: 10px 0;
}
.gallery-pagination a,
.gallery-pagination .first-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
}
.gallery-pagination a.pagination {
	color: #333;
	background: #fff;
}
.gallery-pagination a.pagination:hover {
	background: #f5f5f5;
	border-color: #bbb;
}
.gallery-pagination a.prev-page,
.gallery-pagination a.next-page {
	color: #fff;
	background: #b20223;
	border-color: #b20223;
}
.gallery-pagination a.prev-page:hover,
.gallery-pagination a.next-page:hover {
	background: #8e011b;
	border-color: #8e011b;
}
.gallery-pagination .first-page {
	color: #fff;
	background: #333;
	border-color: #333;
}
.gallery-pagination .first-page strong {
	font-weight: 700;
}
