body.home-page {
	background: url("../Images/Antigua/Nelsons/Antigua13.webp") no-repeat center
		center fixed;
	background-size: cover;
	background-attachment: fixed;
}

.home-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	min-height: 100vh;
	padding-top: 120px; /* Space for fixed header */
	padding-bottom: calc(
		100vh - 80px
	); /* Full viewport minus footer - allows content to scroll under header */
	position: relative;
	z-index: 100;
}

.home-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	width: 90%;
	max-width: 1400px;
	margin: 20px auto;
}

.home-columns > * {
	min-width: 0;
}

.text-box-container {
	background-color: rgba(255, 255, 255, 0.85);
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: relative;
	max-height: 70vh;
	overflow-y: auto;
	z-index: 100;
	overflow-wrap: anywhere;
}

hr {
	border: none;
	border-top: 4px solid black;
}

.nelson-callout {
	background-color: rgba(255, 255, 255, 0.7);
	border: 4px double darkslategrey;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 4px 0;
}

.nelson-callout p {
	margin: 0;
	color: darkgoldenrod;
	font-style: italic;
	line-height: 1.5;
}

.navigation-explanations {
	background-color: rgba(255, 255, 255, 0.85);
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: relative;
	max-height: 70vh;
	overflow-y: auto;
	z-index: 100;
	overflow-wrap: anywhere;
}

.navigation-explanations h2 {
	margin-top: 0;
	color: darkslategrey;
	font-weight: bold;
	border-bottom: 3px solid darkslategrey;
	padding-bottom: 10px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
	.home-columns {
		grid-template-columns: 1fr;
		width: 95%;
	}

	.text-box-container {
		max-height: 65vh;
	}

	.navigation-explanations {
		max-height: 65vh;
	}

	.nelson-callout {
		padding: 12px 14px;
	}

	.home-content {
		padding-top: 100px;
		padding-bottom: calc(100vh - 60px);
	}
}

@media (max-width: 420px) {
	.text-box-container {
		width: 95%;
		padding: 16px;
		max-height: 60vh;
	}

	.nelson-callout {
		padding: 10px 12px;
		font-size: 0.9rem;
	}

	.home-content {
		padding-top: 90px;
		padding-bottom: calc(100vh - 50px);
		min-height: 100vh;
	}
}

@media (max-width: 300px) {
	.text-box-container {
		width: 98%;
		padding: 12px;
	}

	.nelson-callout {
		padding: 8px 10px;
		font-size: 0.8rem;
	}

	.home-content {
		padding-top: 80px;
	}

	.navigation-explanations {
		padding: 12px;
	}
}
