/* =========================
   Global / Reset
========================= */
* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background-color: black;
	background-image: url("/gas_station.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: fixed;
}

body {
	min-height: 100vh;
	max-width: 100%;
	overflow-x: hidden;
	color: white;
	font-family: Arial, sans-serif;
	padding: 20px;
	margin: 0;
	background-color: transparent;
}

/* =========================
   Navigation Bar
========================= */
.topnav {
	background-color: black;
	overflow: hidden;
}

.topnav a {
	float: left;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}

.topnav a:hover {
	background-color: #ddd;
	color: black;
}

.topnav a.active {
	background-color: white;
	color: black;
}

/* =========================
   Layout Columns
========================= */
.row {
	width: 100%;
}

.leftcolumn {
	float: left;
	width: 75%;
	min-width: 0;
}

.rightcolumn {
	float: left;
	width: 25%;
	padding-left: 20px;
	min-width: 0;
}

.row::after {
	content: "";
	display: table;
	clear: both;
}

/* =========================
   Cards
========================= */
.card {
	background-color: black;
	padding: 20px;
	margin-top: 20px;
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* =========================
   Images
========================= */
img {
	max-width: 100%;
	height: auto;
}

.fakeimg {
	background-color: #111;
	width: 100%;
	padding: 20px;
}

.post-thumbnail {
	display: block;
	width: 100%;
	max-height: 320px;
	object-fit: cover;
	margin-top: 12px;
	margin-bottom: 12px;
	border: 1px solid #444;
}

.sidebar-image {
	width: 160px;
	height: 160px;
	max-width: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	margin: 0 auto 10px auto;
}

.sidebar-caption {
	text-align: center;
	font-size: 0.9rem;
	color: #ccc;
}

/* =========================
   Posts
========================= */
.post-link {
	color: white;
	text-decoration: none;
}

.post-link:hover {
	text-decoration: underline;
}

.post-title {
	margin-bottom: 4px;
}

.post-date {
	margin-top: 6px;
	margin-bottom: 12px;
	color: #ddd;
	font-weight: normal;
}

.post-summary {
	margin-top: 12px;
}

.post-tags,
.post-hierarchy {
	margin-top: 12px;
	font-size: 0.95rem;
	color: #ccc;
}

.post-hierarchy {
	margin-top: 0;
	margin-bottom: 8px;
	color: #bbb;
	font-style: italic;
	letter-spacing: 0.02em;
}

.tag-pill {
	display: inline-block;
	background: #222;
	border: 1px solid #555;
	padding: 3px 8px;
	margin-right: 6px;
	margin-bottom: 6px;
}

.meta-label {
	font-weight: bold;
	color: #ddd;
}

/* =========================
   Sidebar Links
========================= */
.sidebar-link {
	margin-bottom: 6px;
	font-size: 0.95rem;
}

.sidebar-link a {
	color: #ccc;
	text-decoration: none;
}

.sidebar-link a:hover {
	color: white;
	text-decoration: underline;
}

/* =========================
   Footer
========================= */
.footer {
	padding: 20px;
	text-align: center;
	background: black;
	margin-top: 20px;
}

/* =========================
   Responsive
========================= */
@media screen and (max-width: 800px) {
	body {
		padding: 12px;
	}

	.leftcolumn,
	.rightcolumn {
		width: 100%;
		padding-left: 0;
	}

	.topnav a {
		float: none;
		display: block;
		text-align: left;
	}

	.sidebar-image {
		width: 130px;
		height: 130px;
	}
}