/* Beira Patrol Page - HMS Eagle */
body.routes-page {
	/* CUSTOMIZE: Change the background image path below */
	background: url("../Images/Eagle/Beira Patrol/Joanna V 1.webp") no-repeat
		center center fixed;
	background-size: cover;
}

/* 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: url("../Images/Eagle/carrierbgd2.webp") no-repeat center top;
	background-size: cover;
	padding: 30px;
	margin-bottom: 20px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.header-top {
	display: flex;
	align-items: center;
	gap: 15px;
}

.header-buttons {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-left: auto;
	padding-right: 15px;
}

.header-subtitle {
	color: white;
	font-size: 1rem;
	margin: 0;
	text-align: center;
	text-shadow:
		2px 2px 8px black,
		0 0 10px black,
		0 0 20px black;
}

.place-header h1 {
	color: white;
	font-size: 1.8rem;
	margin: 0;
	padding-left: 15px;
	text-shadow:
		2px 2px 8px black,
		0 0 10px black,
		0 0 20px black;
}

.back-button,
.nav-button {
	background-color: rgba(70, 130, 180, 0.7);
	color: white;
	padding: 6px 14px;
	border-radius: 4px;
	text-decoration: none;
	border: 1px solid rgba(70, 130, 180, 0.9);
	transition: all 0.3s ease;
	font-size: 0.85rem;
	font-weight: bold;
}

.header-top .back-button,
.header-top .nav-button {
	padding: 4px 10px;
	font-size: 0.75rem;
}

.back-button:hover,
.nav-button:hover {
	background-color: rgba(70, 130, 180, 0.85);
	transform: none;
}

.place-columns {
	display: flex;
	gap: 20px;
	background: url("../Images/backgrounds/Back (19).webp") center center;
	background-size: cover;
	padding: 30px;
	border-radius: 10px;
	border: 4px solid white;
}

.place-column-left {
	flex: 1;
	color: white;
}

.place-column-left h2 {
	font-size: 1.8rem;
	margin-bottom: 15px;
}

.place-column-left p {
	font-size: 1.1rem;
	line-height: 1.6;
}

.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: 5px;
	cursor: pointer;
	transition: transform 0.3s ease;
	border: 2px solid white;
}

.gallery-grid img:hover {
	transform: scale(1.05);
}

/* Navigation Footer */
.navigation-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* 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;
}