.pn-home-gallery {
	margin: 0;
	padding-block: 96px 112px;
	color: var(--pn-river-blue, #122F3D);
	background: #fff;
	font: 400 16px/1.5 "Open Sans", sans-serif;
}
.pn-home-gallery *,
.pn-home-gallery *::before,
.pn-home-gallery *::after {
	box-sizing: border-box;
}
.pn-home-gallery__shell {
	width: 100%;
	max-width: var(--site-container-max, 1340px);
	margin-inline: auto;
	padding-inline: var(--site-gutter, 20px);
}
.pn-home-gallery__head {
	margin-bottom: 36px;
}
.pn-home-gallery h2 {
	margin: 0;
	color: inherit;
	font: 400 clamp(32px, 3.5vw, 48px)/1.12 Marta, Georgia, serif;
	text-transform: none;
}
.pn-home-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.pn-home-gallery .pn-home-gallery__card {
	position: relative;
	isolation: isolate;
	display: block;
	min-width: 0;
	aspect-ratio: 3 / 4;
	border-radius: 24px;
	overflow: hidden;
	color: #fff;
	background: var(--pn-river-blue, #122F3D);
	text-decoration: none;
}
.pn-home-gallery__card::after {
	position: absolute;
	z-index: -1;
	inset: 35% 0 0;
	background: linear-gradient(180deg, transparent, rgb(18 47 61 / 10%) 30%, rgb(0 0 0 / 72%));
	pointer-events: none;
	content: "";
}
.pn-home-gallery__card > img {
	position: absolute;
	z-index: -2;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 650ms cubic-bezier(.2, .75, .25, 1);
}
.pn-home-gallery__count {
	position: absolute;
	top: 24px;
	left: 24px;
	padding: 6px 12px;
	border-radius: 999px;
	color: #fff;
	background: rgb(0 0 0 / 35%);
	-webkit-backdrop-filter: blur(7.5px);
	backdrop-filter: blur(7.5px);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}
.pn-home-gallery .pn-home-gallery__card h3 {
	position: absolute;
	right: 80px;
	bottom: 30px;
	left: 28px;
	margin: 0;
	color: #fff;
	font: 400 clamp(26px, 2.7vw, 36px)/1.12 Marta, Georgia, serif;
	text-transform: none;
}
.pn-home-gallery__arrow {
	position: absolute;
	right: 24px;
	bottom: 30px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgb(255 255 255 / 18%);
	-webkit-backdrop-filter: blur(7.5px);
	backdrop-filter: blur(7.5px);
}
.pn-home-gallery__arrow svg {
	width: 20px;
	height: 20px;
}
.pn-home-gallery .pn-home-gallery__card:focus-visible {
	outline: 3px solid var(--pn-warm-sand, #D5A66D);
	outline-offset: -5px;
}
@media (hover: hover) and (pointer: fine) {
	.pn-home-gallery__card:hover > img {
		transform: scale(1.035);
	}
}
@media (max-width: 1100px) {
	.pn-home-gallery__grid {
		gap: 18px;
	}
	.pn-home-gallery .pn-home-gallery__card h3 {
		right: 24px;
		bottom: 78px;
		left: 24px;
	}
}
@media (max-width: 767px) {
	.pn-home-gallery {
		padding-block: 64px;
	}
	.pn-home-gallery__head {
		margin-bottom: 28px;
	}
	.pn-home-gallery__grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.pn-home-gallery__grid::-webkit-scrollbar {
		display: none;
	}
	.pn-home-gallery .pn-home-gallery__card {
		flex: 0 0 86%;
		scroll-snap-align: start;
		border-radius: 20px;
	}
	.pn-home-gallery__count {
		top: 20px;
		left: 20px;
	}
	.pn-home-gallery .pn-home-gallery__card h3 {
		left: 20px;
	}
	.pn-home-gallery__arrow {
		right: 20px;
		bottom: 24px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.pn-home-gallery__card > img {
		transition: none;
	}
}
