.pga-gallery-page {
	background: #ffffff;
}

.pga-hero {
	padding: 80px 0 58px;
	background: linear-gradient(90deg, #0057b7, #004494);
	color: #ffffff;
}

.pga-hero h1 {
	margin: 0 0 16px;
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0;
}

.pga-hero p {
	max-width: 760px;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 19px;
	line-height: 1.7;
}

.pga-gallery-section {
	padding: 64px 0 82px;
	background: #f6f7f9;
}

.pga-gallery-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.pga-gallery-item {
	position: relative;
	min-width: 0;
	margin: 0;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
	overflow: hidden;
}

.pga-gallery-button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.pga-gallery-button img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.22s ease;
}

.pga-gallery-button:hover img,
.pga-gallery-button:focus-visible img {
	transform: scale(1.035);
}

.pga-gallery-item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 34px 12px 10px;
	background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.78));
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.pga-gallery-item:hover figcaption,
.pga-gallery-item:focus-within figcaption {
	opacity: 1;
}

.pga-load-status {
	min-height: 28px;
	margin-top: 28px;
	color: #4b5563;
	text-align: center;
}

.pga-load-sentinel {
	width: 100%;
	height: 1px;
}

.pga-empty {
	max-width: 680px;
	padding: 36px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

.pga-empty h2 {
	margin: 0 0 10px;
	color: #111827;
	font-size: 26px;
	line-height: 1.25;
}

.pga-empty p {
	margin: 0;
	color: #4b5563;
}

.pga-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	align-items: center;
	justify-items: center;
	padding: 32px;
	background: rgba(6, 12, 24, 0.92);
}

.pga-lightbox[hidden] {
	display: none;
}

.pga-lightbox img {
	position: relative;
	z-index: 1;
	max-width: min(100%, 1180px);
	max-height: calc(100vh - 130px);
	border-radius: 8px;
	object-fit: contain;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.pga-lightbox p {
	max-width: min(100%, 980px);
	margin: 16px 0 0;
	color: #ffffff;
	text-align: center;
}

.pga-lightbox-close {
	position: absolute;
	z-index: 4;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 32px;
	line-height: 38px;
	cursor: pointer;
}

.pga-lightbox-close:hover,
.pga-lightbox-close:focus-visible {
	background: rgba(255, 255, 255, 0.22);
}

.pga-lightbox-nav {
	position: absolute;
	z-index: 4;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.72);
	color: #ffffff;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
	transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.pga-lightbox-nav::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	border: solid currentColor;
	border-width: 0 4px 4px 0;
}

.pga-lightbox-prev {
	left: 22px;
}

.pga-lightbox-prev::before {
	transform: translateX(4px) rotate(135deg);
}

.pga-lightbox-next {
	right: 22px;
}

.pga-lightbox-next::before {
	transform: translateX(-4px) rotate(-45deg);
}

.pga-lightbox-nav:hover,
.pga-lightbox-nav:focus-visible {
	background: rgba(0, 87, 183, 0.88);
	transform: translateY(-50%) scale(1.04);
}

.pga-lightbox-nav:disabled {
	opacity: 0.32;
	cursor: default;
}

@media (max-width: 1100px) {
	.pga-gallery-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 840px) {
	.pga-gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.pga-hero {
		padding: 58px 0 44px;
	}

	.pga-gallery-section {
		padding: 42px 0 64px;
	}

	.pga-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.pga-lightbox {
		padding: 18px;
	}

	.pga-lightbox img {
		max-height: calc(100vh - 110px);
	}

	.pga-lightbox-nav {
		width: 48px;
		height: 48px;
	}

	.pga-lightbox-nav::before {
		width: 14px;
		height: 14px;
		border-width: 0 3px 3px 0;
	}

	.pga-lightbox-prev {
		left: 8px;
	}

	.pga-lightbox-next {
		right: 8px;
	}
}
