/*
 * Jason DeBacker personal academic website
 * Base template: Free CSS Templates (FreeCSSTemplates.org), CC Attribution 2.5
 * Redesigned 2026
 */

/* ===== BASE ===== */

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background: #f2eeea;
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: #222;
}

h1, h2, h3 {
	margin: 0;
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-weight: normal;
	color: #73000A;
}

h1 { font-size: 32px; letter-spacing: -0.5px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }

p, ul, ol {
	margin: 0 0 1.2em 0;
	line-height: 1.7;
	color: #222;
	text-align: left;
}

a:link    { color: #73000A; text-decoration: none; }
a:visited { color: #5a4060; text-decoration: none; }
a:hover, a:active { color: #73000A; text-decoration: underline; }

img { border: none; max-width: 100%; height: auto; }
img.left  { float: left;  margin: 6px 16px 6px 0; }
img.right { float: right; margin: 6px 0 6px 16px; }


/* ===== HEADER ===== */

#header {
	width: 940px;
	margin: 0 auto;
	padding: 22px 0 14px 0;
	border-bottom: 3px solid #73000A;
}

#logo h1 {
	font-size: 38px;
	color: #73000A;
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	letter-spacing: -1px;
}

#logo h1 a {
	color: #73000A;
	text-decoration: none;
}

#logo .tagline {
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 13px;
	color: #555;
	margin-top: 3px;
	letter-spacing: 0.2px;
}



/* ===== PAGE CONTAINER ===== */

#page {
	width: 940px;
	margin: 24px auto;
	background: #fff;
	border: 1px solid #ddd6cc;
	padding: 28px 28px 32px 28px;
}


/* ===== MAIN CONTENT ===== */

#content {
	float: left;
	width: 638px;
	padding-right: 0;
}


/* ===== SIDEBAR ===== */

#sidebar {
	float: right;
	width: 234px;
	padding-left: 22px;
	border-left: 2px solid #f0e9e0;
}

#sidebar ul {
	margin: 0 0 4px 0;
	padding: 0;
	list-style: none;
}

#sidebar > ul > li {
	margin-bottom: 0;
}

#sidebar li li {
	margin: 0;
	padding: 4px 0;
	border-bottom: 1px solid #f0eae0;
}

#sidebar h2 {
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #73000A;
	margin-top: 18px;
	margin-bottom: 4px;
	padding-bottom: 3px;
	border-bottom: 1px solid #d4c8bc;
}

#sidebar > ul > li > h2:first-child {
	margin-top: 0;
}

#sidebar li li a {
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 13px;
	color: #333;
	text-decoration: none;
	background: none;
	padding-left: 0;
}

#sidebar li li a:hover {
	color: #73000A;
	text-decoration: underline;
}

#sidebar a {
	text-decoration: none;
}

#sidebar strong, #sidebar b {
	color: #73000A;
}


/* ===== RESEARCH CATEGORIES & ITEMS ===== */

.category {
	margin-top: 4px;
	margin-bottom: 18px;
	padding-bottom: 8px;
	border-bottom: 2px solid #f0e9e0;
	color: #73000A;
	font-size: 24px;
}

.item {
	margin-top: 0;
	padding: 10px 0 6px 0;
	border-top: 1px dashed #ddd;
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 13px;
	line-height: 1.6;
	color: #333;
}

.item:first-of-type {
	border-top: none;
}

.item b {
	color: #111;
}

.item b a {
	color: #73000A;
}

.item b a:hover {
	text-decoration: underline;
}

.item i {
	color: #555;
}

.item .with   { color: #555; }
.item .entry  { color: #333; }

.item .title {
	margin-bottom: 8px;
	padding-bottom: 4px;
	border-top: 1px dashed #ddd;
	font-size: 15px;
	color: #73000A;
}

.item .abstract {
	text-align: justify;
	color: #444;
	margin-bottom: 16px;
	font-size: 13px;
}

.item .date {
	text-align: right;
	margin-top: -12px;
	margin-bottom: 8px;
	color: #666;
}

.item .meta .byline {
	float: left;
	color: #73000A;
}


/* ===== TODO / PLACEHOLDER ===== */

.todo {
	background-color: #fff;
	color: #555;
}


/* ===== CONTACT BOX (index page) ===== */

.contact-box {
	background: #faf8f5;
	border: 1px solid #e8e0d6;
	border-left: 4px solid #73000A;
	padding: 14px 18px;
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 13px;
	line-height: 1.8;
	color: #333;
	margin-top: 20px;
}

.contact-box h3 {
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #73000A;
	margin-bottom: 8px;
}

.contact-box a {
	color: #73000A;
}


/* ===== FOOTER ===== */

#footer {
	width: 940px;
	margin: 0 auto 24px auto;
	padding: 10px 0 0 0;
	font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 11px;
	color: #888;
}

#legal {
	clear: both;
	color: #aaa;
	text-align: left;
}

#legal a {
	color: #73000A;
}


/* ===== ACTIVE NAV ===== */

.nav-active a {
	color: #73000A !important;
	font-weight: 600;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 980px) {
	#header, #page, #footer {
		width: auto;
		margin-left: 16px;
		margin-right: 16px;
	}
}

@media (max-width: 720px) {
	#content {
		float: none;
		width: 100%;
		padding-right: 0;
	}

	#sidebar {
		float: none;
		width: 100%;
		border-left: none;
		border-top: 2px solid #f0e9e0;
		padding-left: 0;
		margin-top: 28px;
	}

	#logo h1 {
		font-size: 28px;
	}
}


/* ===== UTILITY ===== */

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