.pgs-heading {
	text-align: center;
	margin: 60px 0 15px;
}

.pgs-heading h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 600;
	color: #4A76B2;
	letter-spacing: 1px;
	margin: 0 0 15px;
}

.pgs-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: 10px;
}

.pgs-divider:before,
.pgs-divider:after {
	content: "";
	width: 120px;
	height: 1px;
	background: #4A76B2;
	opacity: .25;
}

.pgs-divider span {
	color: #4A76B2;
	font-size: 16px;
}

@media (max-width: 767px) {
	.pgs-heading h2 { font-size: 28px; }
	.pgs-divider:before,
	.pgs-divider:after { width: 50px; }
}

.pgs-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0;
}

.pgs-scroll-row {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	padding: 6px 4px 14px;
	flex: 1;
}

.pgs-scroll-row::-webkit-scrollbar {
	height: 8px;
}
.pgs-scroll-row::-webkit-scrollbar-thumb {
	background: #c9c2ab;
	border-radius: 10px;
}

.pgs-item {
	position: relative;
	flex: 0 0 auto;
	width: 240px;
	height: 240px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	scroll-snap-align: start;
	display: block;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease;
}

.pgs-item:hover {
	transform: translateY(-6px);
}

.pgs-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pgs-item-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 12px;
	background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pgs-item:hover .pgs-item-title {
	opacity: 1;
}

.pgs-arrow {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pgs-arrow:hover {
	background: #f0f0f0;
}

@media (max-width: 767px) {
	.pgs-item { width: 170px; height: 170px; }
	.pgs-arrow { display: none; }
}

/* Lightbox */
.pgs-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.85);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.pgs-lightbox.pgs-open {
	display: flex;
}

.pgs-lightbox-inner {
	position: relative;
	max-width: 800px;
	width: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	max-height: 90vh;
	overflow-y: auto;
}

.pgs-lightbox-inner img {
	width: 100%;
	max-height: 60vh;
	object-fit: contain;
	background: #111;
	display: block;
}

.pgs-lightbox-title {
	margin: 18px 24px 6px;
	font-size: 22px;
}

.pgs-lightbox-desc {
	margin: 0 24px 24px;
	line-height: 1.8;
	color: #444;
}

.pgs-lightbox-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 2;
}

/* Detail page */
.pgs-detail-wrap {
	max-width: 1100px;
	margin: 50px auto;
	padding: 0 20px;
}

.pgs-detail-back {
	display: inline-block;
	margin-bottom: 25px;
	text-decoration: none;
	font-weight: 600;
}

.pgs-detail-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 50px;
	align-items: flex-start;
}

.pgs-detail-image img {
	width: 100%;
	border-radius: 8px;
	display: block;
}

.pgs-detail-content h1 {
	font-size: 32px;
	margin-bottom: 18px;
}

.pgs-detail-content p {
	line-height: 2;
	font-size: 16px;
	color: #333;
}

@media (max-width: 900px) {
	.pgs-detail-grid {
		grid-template-columns: 1fr;
	}
}
