.rnpg-overview,
.rnpg-gallery-section {
	--rnpg-navy: var(--rn-navy, #092433);
	--rnpg-green: var(--rn-green, #2fa84f);
	--rnpg-soft: var(--rn-soft, #f3f8f7);
	--rnpg-line: var(--rn-line, #dbe7e6);
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(30px, 5vw, 70px) 20px;
}

.rnpg-overview h2 {
	margin: 0;
	text-align: center;
	color: var(--rnpg-navy);
	font-size: clamp(2rem, 4vw, 3.25rem);
}

.rnpg-eyebrow {
	margin: 0 0 10px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .13em;
	font-size: .78rem;
	font-weight: 800;
	color: var(--rnpg-green);
}

.rnpg-intro,
.rnpg-gallery-intro {
	max-width: 760px;
	margin: 16px auto 36px;
	text-align: center;
	font-size: 1.08rem;
	line-height: 1.7;
	color: #56656d;
}

.rnpg-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.rnpg-card {
	position: relative;
	display: flex;
	min-height: 390px;
	overflow: hidden;
	align-items: flex-end;
	border-radius: 22px;
	background-color: #bcd7d9;
	background-image: linear-gradient(145deg, #dfecef, #9fc7ca);
	background-size: cover;
	background-position: center;
	box-shadow: 0 14px 34px rgba(9, 36, 51, .11);
	text-decoration: none !important;
	transform: translateY(0);
	transition: transform .2s ease, box-shadow .2s ease;
}

.rnpg-card:hover,
.rnpg-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 20px 42px rgba(9, 36, 51, .18);
}

.rnpg-card:focus-visible {
	outline: 4px solid rgba(47, 168, 79, .35);
	outline-offset: 3px;
}

.rnpg-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(9, 36, 51, .96), rgba(9, 36, 51, .08) 72%);
}

.rnpg-card-content {
	position: relative;
	z-index: 1;
	display: block;
	padding: 28px;
	color: #fff;
}

.rnpg-card-content strong,
.rnpg-card-content span,
.rnpg-card-content em {
	display: block;
}

.rnpg-card-content strong {
	margin-bottom: 8px;
	font-size: 1.55rem;
	line-height: 1.2;
}

.rnpg-card-content > span {
	color: rgba(255, 255, 255, .8);
	font-size: .96rem;
	line-height: 1.55;
}

.rnpg-card-content em {
	margin-top: 16px;
	font-style: normal;
	font-weight: 800;
	color: #8ee29f;
}

.rnpg-cta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	margin-top: 42px;
	padding: 28px 32px;
	border-left: 5px solid var(--rnpg-green);
	border-radius: 0 18px 18px 0;
	background: var(--rnpg-soft);
}

.rnpg-cta h3,
.rnpg-cta p {
	margin: 0;
}

.rnpg-cta p {
	margin-top: 5px;
	color: #56656d;
}

.rnpg-cta > a {
	flex: 0 0 auto;
	padding: 13px 20px;
	border-radius: 999px;
	background: var(--rnpg-green);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
}

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

.rnpg-gallery-item {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	background: #eaf1f0;
	box-shadow: 0 8px 24px rgba(9, 36, 51, .08);
}

.rnpg-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

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

.rnpg-gallery-item:focus-visible {
	outline: 4px solid rgba(47, 168, 79, .35);
	outline-offset: 3px;
}

.rnpg-zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 7px 11px;
	border-radius: 999px;
	background: rgba(9, 36, 51, .82);
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .2s ease, transform .2s ease;
}

.rnpg-gallery-item:hover .rnpg-zoom,
.rnpg-gallery-item:focus-visible .rnpg-zoom {
	opacity: 1;
	transform: translateY(0);
}

.rnpg-empty {
	padding: 42px 28px;
	border: 1px dashed var(--rnpg-line);
	border-radius: 18px;
	background: var(--rnpg-soft);
	text-align: center;
}

.rnpg-empty strong {
	font-size: 1.3rem;
	color: var(--rnpg-navy);
}

.rnpg-empty p {
	margin: 7px 0 0;
	color: #56656d;
}

.rnpg-back {
	margin: 32px 0 0;
}

.rnpg-back a {
	font-weight: 800;
	color: var(--rnpg-navy);
}

.rnpg-lightbox {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: none;
	place-items: center;
}

.rnpg-lightbox.is-open {
	display: grid;
}

.rnpg-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 16, 23, .92);
}

.rnpg-lightbox-dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	width: min(94vw, 1300px);
	height: min(92vh, 900px);
}

.rnpg-lightbox figure {
	display: flex;
	min-width: 0;
	height: 100%;
	margin: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.rnpg-lightbox img {
	display: block;
	max-width: 100%;
	max-height: calc(100% - 46px);
	border-radius: 8px;
	object-fit: contain;
}

.rnpg-lightbox figcaption {
	margin-top: 12px;
	color: #fff;
	text-align: center;
}

.rnpg-lightbox-close,
.rnpg-lightbox-nav {
	border: 0;
	color: #fff;
	background: rgba(255, 255, 255, .12);
	cursor: pointer;
}

.rnpg-lightbox-close {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 30px;
	line-height: 1;
}

.rnpg-lightbox-nav {
	width: 48px;
	height: 60px;
	margin: 8px;
	border-radius: 10px;
	font-size: 38px;
}

.rnpg-lightbox button:hover,
.rnpg-lightbox button:focus-visible {
	background: var(--rnpg-green, #2fa84f);
	outline: 2px solid #fff;
}

body.rnpg-lightbox-open {
	overflow: hidden;
}

@media (max-width: 820px) {
	.rnpg-card-grid,
	.rnpg-gallery {
		grid-template-columns: 1fr 1fr;
	}

	.rnpg-card:last-child {
		grid-column: 1 / -1;
	}

	.rnpg-cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 600px) {
	.rnpg-card-grid,
	.rnpg-gallery {
		grid-template-columns: 1fr;
	}

	.rnpg-card:last-child {
		grid-column: auto;
	}

	.rnpg-card {
		min-height: 320px;
	}

	.rnpg-lightbox-dialog {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		width: 100vw;
		height: 88vh;
	}

	.rnpg-lightbox-nav {
		width: 36px;
		height: 50px;
		margin: 2px;
	}

	.rnpg-lightbox-close {
		top: -42px;
		right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rnpg-card,
	.rnpg-gallery-item img,
	.rnpg-zoom {
		transition: none;
	}
}

