body.photography-page {
	background-image: url("../../img/core-img/thumbs/Photography.jpeg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-color: #111;
}

body.photography-page nav a,
body.photography-page footer {
	color: #f7bfa1;
	text-shadow: 0 6px 10px rgba(0, 0, 0, 0.85);
}

body.photography-page main {
	width: 100%;
	padding: 3% 10%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.design-scroll-shell {
	width: 100%;
	max-width: 100%;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.design-scroll-header h1 {
	font-family: "Michroma", sans-serif;
	font-size: 220%;
	color: #ffffff;
	margin-bottom: 1rem;
}

.design-scroll-header p {
	color: rgba(255, 255, 255, 0.92);
	max-width: 76ch;
	margin-bottom: 1.2rem;
}

.design-scroll-stack {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	max-height: 72vh;
	overflow-y: auto;
	padding-right: 0.35rem;
	align-items: stretch;
}

.design-scroll-stack::-webkit-scrollbar {
	width: .55rem;
}

.design-scroll-stack::-webkit-scrollbar-thumb {
	background: rgba(255, 184, 143, 0.55);
	border-radius: 999px;
}


.gallery-item {
	display: block;
	aspect-ratio: 4 / 5;
	contain: layout paint style;
	content-visibility: auto;
	contain-intrinsic-size: 420px 520px;
	border-radius: 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(0, 0, 0, 0.25);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	cursor: zoom-in;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(255, 233, 221, 0.75);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	outline: none;
}

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

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

.photo-viewer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 260ms ease;
	z-index: 80;
}

.photo-viewer-overlay.is-visible {
	opacity: 1;
}

.photo-viewer {
	position: fixed;
	top: 50%;
	left: 50%;
	width: min(76vw, 70rem);
	height: min(74vh, 50rem);
	display: grid;
	place-items: center;
	padding: 0.75rem;
	overflow: hidden;
	border-radius: 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: linear-gradient(145deg, rgba(39, 18, 12, 0.66), rgba(8, 8, 8, 0.62));
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 24px 46px rgba(0, 0, 0, 0.45);
	transform: translate(-50%, calc(-50% + 2.4rem));
	opacity: 0;
	pointer-events: none;
	transition: transform 280ms ease, opacity 280ms ease;
	z-index: 90;
}

.photo-viewer.is-open {
	transform: translate(-50%, -50%);
	opacity: 1;
	pointer-events: auto;
}

.photo-viewer-image {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
	display: block;
	border-radius: 0.75rem;
	background: rgba(0, 0, 0, 0.45);
}

body.photography-page.photo-viewer-open {
	overflow: hidden;
}

@media (max-width: 760px) {
	.design-scroll-header h1 {
		font-size: clamp(1.55rem, 7.4vw, 2rem);
		line-height: 1.1;
	}

	.design-scroll-shell {
		max-width: 100%;
		padding: 0;
	}

	.design-scroll-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-height: none;
		overflow: visible;
	}

}

@media (max-width: 520px) {
	.design-scroll-stack {
		grid-template-columns: 1fr;
	}
}




