.event-album-page {
	background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
}

.event-album-section {
	padding: 70px 0 90px;
}

.event-album-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 32px;
	padding-bottom: 25px;
	border-bottom: 1px solid rgba(75, 25, 125, .12);
}

.event-album-back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	color: #e5007e;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.event-album-back:hover { color: #4b197d; }

.event-album-intro h2 {
	margin: 0;
	color: #22133f;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.12;
}

.event-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.event-photo-item {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #eee8f2;
	box-shadow: 0 13px 30px rgba(39, 20, 57, .12);
	cursor: zoom-in;
	aspect-ratio: 4 / 3;
}

.event-photo-item::after {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 50%;
	background: rgba(45, 11, 87, .88);
	color: #fff;
	content: "\f00e";
	font: normal normal normal 15px/1 FontAwesome;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .25s ease, transform .25s ease;
}

.event-photo-item img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	transition: transform .45s ease;
}

.event-photo-item:hover img,
.event-photo-item:focus-visible img { transform: scale(1.045); }

.event-photo-item:hover::after,
.event-photo-item:focus-visible::after {
	opacity: 1;
	transform: none;
}

.event-photo-item:focus-visible {
	outline: 4px solid #f5c829;
	outline-offset: 3px;
}

#modal01.event-photo-modal {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: none;
	width: 100%;
	height: 100%;
	padding: 35px;
	overflow: auto;
	background: rgba(15, 4, 28, .94);
	backdrop-filter: blur(7px);
}

.event-photo-modal .w3-modal-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(1180px, calc(100% - 30px));
	min-height: calc(100vh - 70px);
	margin: 0 auto;
	background: transparent;
}

.event-photo-modal .w3-modal-content img {
	display: block;
	width: auto !important;
	max-width: 100%;
	max-height: calc(100vh - 80px);
	border-radius: 12px;
	object-fit: contain;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.event-photo-close {
	position: fixed;
	top: 18px;
	right: 22px;
	z-index: 2;
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	font-size: 25px;
	line-height: 1;
}

.event-photo-close:hover { background: #e5007e; }

@media (max-width: 991px) {
	.event-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 575px) {
	.event-album-section { padding: 50px 0 65px; }

	.event-album-intro {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.event-photo-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	#modal01.event-photo-modal { padding: 15px; }

	.event-photo-modal .w3-modal-content {
		width: 100%;
		min-height: calc(100vh - 30px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.event-photo-item img,
	.event-photo-item::after { transition: none; }
}
