.page-certificates {
	padding: 100px 0 70px;
}

.certificate-gallery-box .photo-gallery {
	height: calc(100% - 30px);
	margin-bottom: 30px;
}

.certificate-gallery-box .photo-gallery a {
	display: block;
	cursor: pointer;
}

.certificate-gallery-box .photo-gallery figure {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1.25;
	padding: 12px;
	overflow: hidden;
	border: 1px solid var(--divider-color);
	border-radius: 16px;
	background: #fff;
}

.certificate-gallery-box .photo-gallery img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.certificate-gallery-box .photo-gallery a:hover img {
	transform: scale(1.03);
}

.certificate-title {
	margin: 14px 0 0;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

.certificates-empty {
	padding: 50px 0;
	font-size: 22px;
	font-weight: 500;
	text-align: center;
}
