/* =======================================================================
   STAGE-PHOTO-PROOF-GRID.CSS
   VERSION: v1.0 - 2026-04-08

   PURPOSE:
     - Shared styling for the static stage-rental page image sections
     - Supports:
         1) the 8-image stage proof grid
         2) the older 2-image hero/photo crop class still in use

   NOTES:
     - Intended to be loaded globally from EA-HEAD.ASP
     - Safe to use across county/static stage rental pages
     - Does NOT include page intro/paragraph styling
   ======================================================================= */

/* ========================================================= */
/* START: 8-Image Proof Grid Core                            */
/* ========================================================= */

.eden-photo-grid a {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: .25rem;
}

.eden-photo-grid a::before {
	content: "";
	display: block;
	padding-top: 75%;
}

.eden-photo-grid a img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Modern browsers: prefer aspect-ratio */
@supports (aspect-ratio: 1 / 1) {
	.eden-photo-grid a {
		aspect-ratio: 4 / 3;
	}

	.eden-photo-grid a::before {
		display: none;
		padding-top: 0;
	}
}

/* Optional 16:9 variant */
.eden-photo-grid.eden-photo-grid16x9 a::before {
	padding-top: 56.25%;
}

@supports (aspect-ratio: 1 / 1) {
	.eden-photo-grid.eden-photo-grid16x9 a {
		aspect-ratio: 16 / 9;
	}
}

/* Fallback if object-fit is not supported */
@supports not (object-fit: cover) {
	.eden-photo-grid a {
		overflow: visible;
	}

	.eden-photo-grid a::before {
		display: none;
		padding-top: 0;
	}

	.eden-photo-grid a img {
		position: static;
		width: 100%;
		height: auto;
	}
}

/* ========================================================= */
/* END: 8-Image Proof Grid Core                              */
/* ========================================================= */


/* ========================================================= */
/* START: Stage Photo Grid Cards                             */
/* ========================================================= */

.eden-stage-photo-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	background: #ffffff;
	border: 1px solid #e9ecef;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.eden-stage-photo-card:hover {
	border-color: #e54242;
	box-shadow: 0 0.35rem 1rem rgba(229,66,66,0.18);
}

.eden-stage-photo-card a {
	display: block;
}

.eden-stage-photo-card img {
	display: block;
	width: 100%;
	height: auto;
}

.eden-stage-photo-caption {
	flex-grow: 1;
	margin: 0;
	padding: 0.8rem 0.9rem 0.95rem 0.9rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #444;
	background: #ffffff;
	border-top: 1px solid #f1f3f5;
	min-height: 108px;
}

.eden-stage-photo-card:hover .eden-stage-photo-caption {
	border-top-color: rgba(229,66,66,0.22);
}

.eden-stage-photo-caption strong {
	display: inline;
	color: #222;
	font-weight: 700;
}

@media (max-width: 767.98px) {
	.eden-stage-photo-caption {
		min-height: 96px;
		font-size: 0.88rem;
		padding: 0.7rem 0.8rem 0.85rem 0.8rem;
	}
}

/* ========================================================= */
/* END: Stage Photo Grid Cards                               */
/* ========================================================= */


/* ========================================================= */
/* START: Legacy 2-Image Crop Support                        */
/* ========================================================= */

.hero-photo-crop-220 {
	display: block;
	width: 100%;
	height: 200px !important;
	object-fit: cover;
}

@media (min-width: 768px) {
	.hero-photo-crop-220 {
		height: 260px !important;
	}
}

/* ========================================================= */
/* END: Legacy 2-Image Crop Support                          */
/* ========================================================= */