body {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

/* Navbar Base Styles */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--pico-color);
	padding: 15px 30px;
	position: relative;
}

.logo a {
	color: #009900;
	font-size: 1.5rem;
	font-weight: bold;
	text-decoration: none;
}

.nav-list {
	display: flex;
	list-style: none;
}

.nav-link {
	color: #009900;
	text-decoration: none;
	padding: 10px 15px;
	font-size: 1rem;
	transition: color 0.3s ease;
}

.nav-link:hover {
	color: #00ff00;
}

.reading-pref {
	width: 3rem;
}

/* Mobile Hamburger Menu */
.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.bar {
	height: 3px;
	width: 25px;
	background-color: #009900;
	margin: 4px 0;
	transition: all 0.3s ease;
}

/* Responsive Media Query for Mobile */
@media screen and (max-width: 768px) {
	.menu-toggle {
		display: flex; /* Show hamburger button */
	}

	.nav-list {
		display: none; /* Hide standard link list */
		flex-direction: column;
		width: 100%;
		background-color: var(--pico-background-color);
		position: absolute;
		top: 60px;
		left: 0;
		text-align: center;
		padding: 20px 0;
	}

	.nav-list.active {
		display: flex; /* Display list when toggled via JS */
	}

	.nav-link {
		display: block;
		padding: 15px 0;
	}
}

main {
	flex-grow: 1;
	padding: 1rem;
}

ul.post-list li {
	display: block;
	margin-bottom: 1.5rem;
}
ul.post-list p {
	margin: 0; padding: 0; border: 0; /* Hack to handle spurious <p> tags emitted by templating engine */
}

ul.post-list li, li a {
	color: #009900;
	text-decoration-color: #009900;
}
ul.post-list li a:hover {
	color: #00ff00;
	text-decoration-color: #00ff00;
}

/* Footer - pin all the way to the bottom without any space after it */
footer {
	padding-bottom: 0 !important;
	padding-block-start: 0 !important;
	padding-block-end: 0 !important;
}

footer p {
	background-color: var(--pico-color);
	color: var(--pico-background-color);
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;

	padding-bottom: 0 !important;
	padding-block-start: 0 !important;
	padding-block-end: 0 !important;
	margin-bottom: 0 !important;
}

