/* In Memoriam Page - HMS Eagle */
body.routes-page {
	/* CUSTOMIZE: Change the background image path below */
	background: url("../Images/Eagle/Eagle leaving Guz.webp") no-repeat center
		center fixed;
	background-size: cover;
	background-color: #1a1a1a;
}

/* Add solemn dark overlay */
body.routes-page::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
	pointer-events: none;
}

/* Place Page Styles */
.place-page {
	width: 90vw;
	margin: 20px auto;
	padding: 20px;
	padding-bottom: calc(100vh - 80px);
	position: relative;
	z-index: 100;
}

.place-header {
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.8) 0%,
		rgba(20, 20, 30, 0.9) 100%
	);
	padding: 40px;
	margin-bottom: 20px;
	border-radius: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-left: 8px solid #a0826d;
	border-right: 8px solid #a0826d;
	border-top: 3px solid #a0826d;
	border-bottom: 3px solid #a0826d;
	box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.header-top {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-bottom: 20px;
	border-bottom: 2px solid #a0826d;
}

.header-buttons {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-left: auto;
	padding-right: 15px;
}

.header-subtitle {
	color: #c0c0c0;
	font-size: 1.1rem;
	margin: 0;
	text-align: center;
	text-shadow: 2px 2px 4px black;
	font-style: italic;
	letter-spacing: 1px;
	padding-top: 15px;
}

.header-subtitle::before,
.header-subtitle::after {
	content: "✦";
	display: block;
	color: #a0826d;
	font-size: 1.2rem;
	line-height: 1.5;
}

.place-header h1 {
	color: #d0d0d0;
	font-size: 2rem;
	margin: 0;
	padding-left: 15px;
	text-shadow: 2px 2px 8px black;
	font-weight: 300;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.back-button,
.nav-button {
	background-color: rgba(160, 130, 109, 0.2);
	color: #a0826d;
	padding: 6px 12px;
	border-radius: 0;
	text-decoration: none;
	border: 1px solid #a0826d;
	transition: all 0.3s ease;
	font-size: 0.85rem;
	align-self: center;
	margin-top: 10px;
	font-weight: bold;
}

.header-top .back-button,
.header-top .nav-button {
	padding: 4px 10px;
	font-size: 0.75rem;
	margin-top: 0;
	align-self: auto;
}

.back-button:hover {
	background-color: rgba(160, 130, 109, 0.3);
	transform: none;
	color: #d0d0d0;
	border-color: #d0d0d0;
}

.place-columns {
	display: flex;
	gap: 40px;
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(20, 20, 30, 0.8) 100%
	);
	padding: 40px;
	border-radius: 0;
	border: 3px solid #a0826d;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.place-column-left {
	flex: 1;
	color: #d0d0d0;
	background: rgba(40, 40, 50, 0.6);
	padding: 25px;
	border-left: 4px solid #a0826d;
	border-radius: 2px;
}

.place-column-left h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	margin-top: 0;
	color: #000000;
	border-bottom: 2px solid #a0826d;
	padding-bottom: 15px;
	font-weight: 300;
	letter-spacing: 2px;
}

.place-column-left p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #000000;
	font-style: italic;
}

.place-column-right {
	flex: 1;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.gallery-grid img {
	width: 100%;
	height: auto;
	border-radius: 0;
	cursor: pointer;
	transition: all 0.4s ease;
	border: 4px solid #a0826d;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	opacity: 0.85;
}

.gallery-grid img:hover {
	transform: scale(1.03);
	opacity: 1;
	border-color: #d0d0d0;
	box-shadow: 0 8px 20px rgba(160, 130, 109, 0.4);
}

/* Memorial Footer */
.memorial-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #a0826d;
}

/* Navigation Footer */
.navigation-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #a0826d;
}

.nav-button {
	background-color: rgba(160, 130, 109, 0.2);
	color: #a0826d;
	padding: 6px 12px;
	border-radius: 0;
	text-decoration: none;
	border: 1px solid #a0826d;
	transition: all 0.3s ease;
	font-size: 0.85rem;
}

.nav-button:hover {
	background-color: rgba(160, 130, 109, 0.3);
	color: #d0d0d0;
	border-color: #d0d0d0;
}

/* Eagle nav buttons: original style, smaller and uniform */
.place-header .header-top {
display: flex;
align-items: center;
}

.place-header .header-buttons {
margin-left: auto;
justify-content: flex-end;
align-items: center;
flex-wrap: wrap;
gap: 10px;
padding-right: 15px;
}

.navigation-footer {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
}

.header-buttons .back-button,
.header-buttons .nav-button,
.navigation-footer .back-button,
.navigation-footer .nav-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 170px;
min-height: 28px;
padding: 4px 8px;
font-size: 0.72rem;
line-height: 1.2;
box-sizing: border-box;
text-align: center;
margin: 0;
flex: 0 0 170px;
}