/*
Theme Name: Fireblog Classic
Theme URI: https://example.com/fireblog-classic
Author: Custom
Author URI: https://example.com
Description: A spare, text-first WordPress theme inspired by classic independent weblogs.
Version: 0.5.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fireblog-classic
*/

:root {
	--fb-bg: #4a525a;
	--fb-bg-hover: #606870;
	--fb-code-bg: #5b636b;
	--fb-text: #eeeeee;
	--fb-muted: #aaaaaa;
	--fb-link: #dddddd;
	--fb-rule: #777777;
	--fb-sans: Verdana, system-ui, Helvetica, sans-serif;
	--fb-heading: "Gill Sans MT", "Gill Sans", "Gill Sans Std", Verdana, sans-serif;
}

html {
	height: 100%;
	margin-bottom: 1px;
}

body {
	-webkit-text-size-adjust: none;
	background-color: var(--fb-bg);
	color: var(--fb-text);
	font-family: var(--fb-sans);
	font-size: 12px;
	line-height: 1.8em;
	margin: 0;
	min-width: 760px;
	padding: 0;
	text-align: left;
}

a {
	color: var(--fb-link);
	border-color: #888888;
	border-style: none none solid;
	border-width: 0 0 1px;
	padding: 3px 0 2px;
	text-decoration: none;
}

a:visited {
	border-color: #999999;
	border-style: none none dotted;
	color: var(--fb-link);
}

a:hover,
a:focus {
	background-color: var(--fb-bg-hover);
	border-color: var(--fb-bg-hover);
	color: #ffffff;
	text-decoration: none;
}

img {
	height: auto;
	margin-top: 5px;
	max-width: 100%;
}

p {
	margin: 0 0 1.6em;
	padding: 0;
}

strong {
	font-size: 0.91em;
	font-weight: normal;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.site-box {
	border: 0;
	height: auto;
	margin: 0 auto;
	padding: 0;
	position: relative;
	text-align: left;
	width: 720px;
}

.site-banner {
	align-items: center;
	background-color: transparent;
	border: 0 dotted var(--fb-bg-hover);
	display: flex;
	gap: 12px;
	height: auto;
	line-height: 0;
	margin: 59px 12px 69px 53px;
	padding: 0;
	text-align: left;
	width: 300px;
}

.site-title {
	border: 0;
	color: var(--fb-text);
	display: inline-block;
	font-family: var(--fb-heading);
	font-size: 28px;
	font-weight: normal;
	letter-spacing: 0.12em;
	line-height: 1.1;
	padding: 0;
	text-transform: uppercase;
}

.site-title:hover,
.site-title:focus {
	background-color: transparent;
	color: #ffffff;
	text-decoration: none;
}

.custom-logo-link {
	border: 0;
	display: inline-block;
	line-height: 0;
	padding: 0;
}

.custom-logo-link:hover,
.custom-logo-link:focus {
	background-color: transparent;
}

.custom-logo {
	display: block;
	margin-top: 0;
	max-height: 44px;
	max-width: 44px;
	object-fit: contain;
	width: auto;
}

.site-wordmark {
	border: 0;
	color: var(--fb-text);
	display: inline-block;
	font-family: var(--fb-heading);
	font-size: 1.55em;
	font-weight: normal;
	letter-spacing: 0;
	line-height: 1.3em;
	padding: 0;
	text-decoration: none;
	white-space: nowrap;
}

.site-wordmark:hover,
.site-wordmark:focus {
	background-color: transparent;
	color: #ffffff;
	text-decoration: none;
}

.site-title-mark {
	color: var(--fb-muted);
	font-size: 1.15em;
	margin-right: 0.25rem;
}

.site-sidebar {
	background-color: transparent;
	border: 0 dotted gray;
	color: var(--fb-text);
	font-family: var(--fb-heading);
	height: auto;
	left: 0;
	line-height: 1em;
	padding: 5px 0 0;
	position: absolute;
	font-size: 13px;
	text-align: right;
	top: 110px;
	width: 160px;
}

.site-sidebar p {
	letter-spacing: 2px;
	margin: 0 0 5em -3em;
	padding: 0;
}

.site-sidebar strong {
	color: var(--fb-text);
	font-size: 1em;
	font-weight: normal;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.site-sidebar ul {
	list-style: none;
	margin: 0 0 5em -4em;
	padding: 0;
}

.site-sidebar li {
	letter-spacing: 2px;
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
	text-transform: uppercase;
}

.site-sidebar a {
	border: 0;
	color: var(--fb-text);
	padding: 4px 1px;
	text-decoration: none;
}

.site-sidebar a:hover,
.site-sidebar a:focus {
	background-color: var(--fb-bg-hover);
	color: #ffffff;
}

.sidebar-sponsor {
	border: 0;
	font-size: 11px;
	line-height: 1.7em;
	margin: 10em 0 0 2em;
	padding: 0;
}

.sidebar-sponsor-title {
	color: var(--fb-text);
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.site-main {
	background: transparent;
	border: 0 dotted gray;
	box-sizing: content-box;
	margin: 0 0 0 222px;
	padding: 0;
	position: relative;
	width: 425px;
}

.article,
.archive-index,
.page-content,
.not-found {
	background-color: transparent;
	color: var(--fb-text);
	font-size: 1em;
}

.article {
	margin: 0;
	padding: 0;
}

.article + .article {
	margin-top: 10em;
}

.dateline,
.page-content h1,
.not-found h1 {
	font-family: var(--fb-sans);
	color: var(--fb-muted);
	font-size: 1em;
	font-weight: normal;
	letter-spacing: 0;
	line-height: 1.8em;
	margin: -0.75em 0 2em;
	text-transform: none;
}

.article-title {
	font-family: var(--fb-heading);
	font-size: 1.36em;
	font-weight: normal;
	line-height: 1.3em;
	margin: 0 0 1.25em;
	text-align: left;
}

.article-title a {
	border: 0;
	color: var(--fb-text);
	padding: 0;
	text-decoration: none;
}

.article-title a:hover,
.article-title a:focus {
	background-color: transparent;
	color: #ffffff;
}

.entry-content p,
.page-content p {
	margin: 0 0 1.6em;
}

.entry-content blockquote {
	background: transparent;
	border-left: 1px solid var(--fb-rule);
	border-right: 0 solid var(--fb-rule);
	color: var(--fb-text);
	margin: 2em 0 2em 0.25em;
	outline: 0;
	padding: 0 0 0 1.25em;
	vertical-align: baseline;
}

.entry-content code,
.entry-content pre {
	font-family: ui-monospace, Menlo, Monaco, monospace;
}

.entry-content pre {
	background-color: var(--fb-code-bg);
	border-radius: 3px;
	color: var(--fb-text);
	display: inline-block;
	font-size: 1em;
	line-height: 1.5em;
	margin: 0.5em 0 2em;
	max-width: 120%;
	min-width: 93%;
	overflow-x: auto;
	padding: 5px 10px;
	white-space: pre;
	width: auto;
}

.entry-content code {
	background-color: var(--fb-code-bg);
	border-radius: 3px;
	font-size: 1.09em;
	padding: 2px;
}

.permalink {
	border: 0;
	color: #bbbbbb;
	font-family: "Hiragino Kaku Gothic Pro", Osaka, "Zapf Dingbats", sans-serif;
	padding: 3px 3px 3px 5px;
	white-space: nowrap;
}

.post-divider {
	border: 0;
	color: #cccccc;
	margin: 7em 0 11em;
	padding-right: 2em;
}

.nav-links,
.post-navigation,
.posts-navigation {
	font-family: var(--fb-sans);
	font-size: 1em;
	margin-top: 5em;
}

.nav-links {
	display: flex;
	justify-content: space-between;
}

.archive-search {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0 0 4em;
}

.archive-search input[type="text"] {
	appearance: auto;
	background-color: #f4efe3;
	border-color: #6f746e #e6e1d6 #e6e1d6 #6f746e;
	border-style: inset;
	border-width: 2px;
	box-sizing: border-box;
	color: #1f1f1f;
	font-family: var(--fb-sans);
	font-size: 1em;
	height: 22px;
	margin: 0;
	max-width: calc(100% - 78px);
	padding: 1px 3px;
	width: 26em;
}

.archive-search input[type="submit"] {
	appearance: none;
	background-color: #f4efe3;
	border: 1px solid #c6c0b5;
	border-radius: 6px;
	box-shadow: none;
	color: #1f1f1f;
	cursor: pointer;
	font-family: var(--fb-sans);
	font-size: 1em;
	height: 22px;
	line-height: 18px;
	margin: 0;
	padding: 1px 8px;
}

.archive-index h1 {
	color: var(--fb-text);
	font-family: var(--fb-heading);
	font-size: 1.55em;
	font-weight: normal;
	line-height: 1.3em;
	margin: 0 0 1.25em;
}

.archive-month {
	color: var(--fb-muted);
	font-family: var(--fb-heading);
	font-size: 1.05em;
	font-weight: normal;
	letter-spacing: 0.2em;
	line-height: 1.8em;
	margin: 4em 0 1em;
	text-transform: uppercase;
}

.archive-entry {
	line-height: 1.8em;
	margin: 0 0 1em;
	padding-left: 2em;
	text-indent: -2em;
}

.archive-entry small {
	color: var(--fb-muted);
	font-family: var(--fb-sans);
	font-size: 1em;
	margin-left: 1.25em;
	white-space: nowrap;
}

.site-footer {
	color: var(--fb-muted);
	font-family: var(--fb-sans);
	font-size: 0.91em;
	margin-top: 14em;
	padding-bottom: 1em;
}

.site-footer p {
	margin: 0.45rem 0;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

@media (max-width: 760px) {
	body {
		min-width: 0;
	}

	.site-box {
		align-items: center;
		box-sizing: border-box;
		column-gap: 14px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		max-width: 100%;
		overflow-x: hidden;
		padding: 0 18px 36px;
		width: 100%;
	}

	.site-banner {
		grid-column: 1;
		gap: 10px;
		justify-self: start;
		margin: 28px 0 22px;
		min-width: 0;
		width: auto;
	}

	.site-wordmark {
		font-size: 16px;
	}

	.site-sidebar {
		display: contents;
		font-size: 13px;
		position: static;
	}

	.site-sidebar p {
		grid-column: 2;
		justify-self: end;
		line-height: 1em;
		margin: 0;
		position: absolute;
		right: 18px;
		text-align: right;
		top: 45px;
		white-space: nowrap;
	}

	.site-sidebar ul {
		display: flex;
		flex-wrap: wrap;
		font-size: 16px;
		gap: 0.75em 1em;
		grid-column: 1 / -1;
		margin: 0 0 3em;
		padding: 0;
		text-align: left;
	}

	.site-sidebar li {
		display: inline-block;
		margin: 0;
	}

	.site-main {
		grid-column: 1 / -1;
		margin-left: 0;
		max-width: 100%;
		min-width: 0;
		width: auto;
	}

	.article-title,
	.entry-content,
	.page-content,
	.archive-index {
		overflow-wrap: anywhere;
	}

	.archive-entry small {
		display: block;
		margin: 0.15rem 0 0;
	}

	.archive-search {
		align-items: center;
		box-sizing: border-box;
		flex-wrap: nowrap;
		max-width: 100%;
		width: 100%;
	}

	.archive-search input[type="text"] {
		flex: 1 1 auto;
		max-width: none;
		min-width: 0;
		width: calc(100% - 68px);
	}

	.archive-search input[type="submit"] {
		flex: 0 0 auto;
		min-width: 58px;
	}
}
