/*
Theme Name: HuubMous V7
Theme URI: private
Description: Theme specially made for HuubMous.nl
Version: 7.0
Author: Jurriaan Mous
Author URI: http://jurmo.us

Theme last updated: 27.10.26
*/

:root {
	--theme-bg: #efeee8;
	--theme-paper: #ffffff;
	--theme-accent: #e8b34c;
	--theme-accent-strong: #ffc554;
	--theme-text: #5a5a5a;
	--theme-heading: #111111;
	--theme-link: #d08c0a;
	--theme-link-hover: #990000;
	--theme-radius: 8px;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Basics and Typography */

body {
	font-family: "Merriweather", "Georgia", "Times New Roman", serif;
	color: var(--theme-text);
	line-height: 1.8em;
	background-color: var(--theme-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

p {
	font-size: 1em;
	margin: 1.2em 0;
	line-height: 1.95em;
}
ol, ul {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.2em 0 1.2em 2em;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Merriweather", "Georgia", "Times New Roman", serif;
	color: var(--theme-heading);
	font-weight: normal;
}
h1, h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.3em;
}
h4 {
	font-size: 1.2em;
}
a {
	text-decoration: none;
}
a:link {
	color: var(--theme-link);
}
a:visited {
	color: #977635;
}
a:hover, a:active {
	color: var(--theme-link-hover);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid #990000;
	outline-offset: 2px;
}
input, textarea, select {
	border: 1px solid #dfdfdf;
	background-color: #f4f4f4;
	color: #222222;
	font-size: 1.1em;
	font-family: "Merriweather", "Georgia", "Times New Roman", serif;
	padding: 6px 6px 6px 6px;
	line-height: 1.5em;
}
textarea {
	width: 491px;
}
#submit{
	border-style: none;
	background-color: #ffc554;
	padding: 6px 17px;
	color: black;
	font-size: 1.2em;
	cursor: pointer;
	box-shadow:rgba(0,0,0,0.4) 0 0 4px;
}
#submit:hover{
	background-color: #DD0000;
    box-shadow: inset rgba(0,0,0,0.6) 0 0 5px;
}
label{
	font-size: 1.2em;
	font-style: italic;
	color:black;
}
small{
	font-size: 0.7em;
}
blockquote {
	padding: 0 20px;
	border-left: 5px solid #ffc554;
	font-size: 1em;
	font-style: italic;
}
code {
	font-family: monospace;
	color: #666;
}
img {
	margin: 5px;
	padding: 0;
	border: 0;
}

form{
	margin: 0;
	padding: 0;
	border: 0;
}

.small {
	font-size: 0.9em;
	color: #999;
}

/* Layout */

#siteheader {
	background-color: #e8b34caa;
}

.site-title {
	font-size: 2em;
	padding: 18px 16px;
	text-align: center;
	font-weight: 700;
	letter-spacing: 0.02em;
}

#wrapper {
	margin: 0 auto;
	max-width: 800px;
	box-shadow: rgba(0, 0, 0, 0.2) 0 0 20px;
	border-radius: 12px;
	overflow: hidden;
}

#content {
	background-color: var(--theme-paper);
	padding: 20px 40px 50px 40px;
}

@media screen and (max-width: 600px) {
	#content {
		padding: 15px 20px 50px 20px;
	}
}

/* Lots of sidebar styles, so they're below */

#footer {
	clear: both;
	font-size: 0.9em;
    height: 10px;
    background-color: #ffc554;
    left: 8px;
    position: absolute;
}

/* Menubar */

#menubar{
	display: flex;
	align-items: center;
	background-color: var(--theme-accent);
	padding: 4px;
}
#menubar ol{
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	font-size: 1.08em;
	font-weight: bold;
	text-transform: capitalize;
	color:#111122;
	text-shadow: #ffffff66 0 1px 0;
}
#menubar .notactive {
	border-radius: 6px;
	background: #FFFFFFAA;
	padding: 4px 8px;
}

#menubar .active, #menubar li .active{
	background: #FFFFFFAA;
}

#menubar li {
	display: block;
}
#menubar li a{
	display: block;
	color:black;
	padding: 4px 8px;
	cursor: pointer;
	border-radius: 6px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
#menubar li button {
	display: block;
	color: black;
	padding: 4px 8px;
	cursor: pointer;
	border-radius: 6px;
	border: 0;
	background: transparent;
	font: inherit;
	text-transform: inherit;
	font-weight: inherit;
	transition: background-color 0.2s ease, color 0.2s ease;
}
#menubar li a:hover{
	color:black;
	background: #FFFFFF33;
}
#menubar li button:hover{
	color: black;
	background: #FFFFFF33;
}
#menubar li a:active{
	color:white;
	background-color: #dd0000;
}
#menubar li button:active{
	color: white;
	background-color: #dd0000;
}

.toppanel {
	background-color: #e5ae55BB;
}
.toppanel.archive {
	height: 0;
	box-sizing: border-box;
	opacity: 0;
	overflow: hidden;
	transition: height 0.5s ease-out, opacity 0.5s ease-in-out;
}

.toppanel.archive.show {
	height: max-content;
	opacity: 1;
}

#archive ul{
	padding: 20px;
	display: flex;
	margin: 0;
	font-size: 0.8em;
	flex-wrap: wrap;
	gap: 4px;
}

#archive li {
	display:block;
}
#archive li.archive-year-row {
	flex-basis: 100%;
	margin-top: 10px;
	margin-bottom: 8px;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
#archive .archive-year {
	min-width: 50px;
	font-weight: 700;
	color: #6f4e17;
	text-shadow: rgba(255,255,255,0.7) 0 1px 0;
}
#archive .archive-months {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
#archive .archive-months a {
	padding: 6px;
	line-height: 2.4em;
	background-color: #fbe095;
	color: #000000;
	border-radius: 4px;
	box-shadow: rgba(0,0,0,0.2) 0 0 2px;
	text-shadow: rgba(255,255,255,1) 0 1px 1px;
}
#archive .archive-months a:hover {
	background-color: white;
    box-shadow: rgba(255,255,255,0.4) 0 0 5px;
}

/* Blog */

.post {
	margin-top: 24px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f2ede2;
}
.post-index {
	display: flex;
	gap: 24px;
}

.post .post-thumb {
	width: 200px;
	margin: 0;
	transition: transform;
	transition-duration: 0.2s;
	cursor: pointer;
}

@media screen and (max-width: 600px) {
	.post-index {
		flex-direction: column;
		gap: 4px;
	}
	.post .post-thumb {
		width: 100%;
	}
	.post .post-thumb a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
	}
	.post .post-thumb img {
		max-width: 100%;
	}
}


.post .post-thumb:hover {
	transform: scale(1.05) rotate(-1deg);
}
.post .post-thumb img {
	max-width: 200px;
	height: auto;
	border-radius: 6px;
	object-fit: contain;
	box-shadow: rgba(0, 0, 0, 0.12) 0 4px 14px;
}

.post .post-content {
	flex: 1;
}

.post-title {
	margin-top: 10px;
	font-size: 1.8em;
	font-weight: 700;
}
.post-title a {
	font-size: 0.8em;
}
.post-title a:link, .post-title a:visited {
	color: #000000;
}
.post-title a:hover, .post-title a:active {
	color: #DD0000;
}
#post-comment, #comments{
	font-size: 1.8em;
	font-weight: normal;
	font-style: italic;
	margin-left: -20px;
	margin-bottom: 20px;
}
.post-meta {
	margin: 0 0;
	padding-top: 0;
	color: #977635;
}
.single .post-meta {
	margin: 0.5em 0 1em;
}

.post-entry {
}
.post-excerpt p {
	margin: 0.6em 0;
}
.comments-link {
	padding: 0 0 0 -5px;
	clear: both;
}
.post-feedback{
	font-style: italic;
	font-weight: normal;
	font-size: 1.4em;
}
.post-continue {
	cursor: pointer;
	margin: 0.3em 0;
	font-style: italic;
}

.page-navigation{
	display: flex;
	flex-direction: row;
	margin-top: 20px;
	gap: 12px;
	color: black;
}
.page-navigation a{
	color:black;
	cursor: pointer;
	flex: 1;
}
.page-link {
	display: block;
	color:black;
	background-color: var(--theme-accent-strong);
	padding: 15px;
	font-size: 1.2em;
	text-align: center;
	text-shadow: rgba(0,0,0,0.3) 0 0 3px;
	box-shadow:rgba(0,0,0,0.4) 0 0 4px;
	border-radius: 4px;
}
.page-link:hover{
	background-color: #DD0000;
    box-shadow: inset rgba(0,0,0,0.6) 0 0 5px;
}

.postnavigation{
	display: flex;
	gap: 12px;
}
.post-link{
	flex: 1;
	border-style: none;
	background-color: var(--theme-accent-strong);
	color: black;
	font-size: 1.2em;
	box-shadow:rgba(0,0,0,0.4) 0 0 4px;
	border-radius: 4px;
	width: 220px;
	padding: 10px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
.post-link a{
	color: black;
}
.post-link a:hover{
	color: #DD0000;
}
.post-link small{
	font-size: 0.7em;
	color: white;
}

/* Comments */

#comment-list {
	margin: 1.2em 0;
	padding: 0;
	list-style-type: none;
}
	#comment-list li {
		padding: 20px 30px;
		padding-top: 10px;
		padding-left: 40px;
		line-height: 1.7em;
		background-color: #FDF0D3;
	}
	.alt {
		background-color: #fef9e8!important;
	}
	.commenttitle {
		margin-left: -5px;
		margin-bottom: 0;
		font-size: 1.5em;
		font-weight: normal;
		width: 270px;
	}
	.comment-meta {
		font-size: 0.9em;
		color: #977635;
		float:right;
		margin-top: -20px;
		margin-bottom: -20px;
	}

/* Live search */

#live-search{
	flex: 1;
	display: flex;
	padding-right: 4px;
	justify-content: end;
	margin-left: auto;
}

#search {
	position: relative;
}

#search .spinner{
	padding: 0 0 5px 0;
	text-align: right;
}

#search svg{
	position: absolute;
	top: 6px;
	left: 4px;
}

#search img.archives-icon{
	margin: 0 7px 0 0;
	top: 1px;
}

#search input{
	background-color: #f4f4f420;
	border: 1px solid #dfdfdf20;
	font-size: 1em;
	width: 64px;
	color: #222222;
	padding: 3px;
	padding-left: 22px;
	line-height: 1.2em;
	transition: width 0.5s ease-in;
	border-radius: 20px;
	box-shadow: inset rgba(0, 0, 0, 0.1) 0 0 3px;
}
#search input::placeholder {
	color: #22222266;
}

#search input:focus, #search input.active{
	background: #ffffff;
	width: 200px;
}

/* LiveSearch
----------------------------------------------- */
.autocomplete {
    position: absolute;
    z-index: 3000;
    padding:10px;
    color: #EEEEEE;
    background: #081727;
    width: 200px !important;
    height: auto !important;
    padding-bottom: 0.4em;
    margin-left: -70px;
}
.autocomplete ul {
	list-style-type:none;
	margin:0 ! important;
	padding:0 ! important;
}

.autocomplete ul li {
    list-style-type:none;
	margin:0;
	padding:3px;
	cursor: pointer;
	text-align: left;
}
.autocomplete ul li.more {
	background-color: #000033;
}
.autocomplete ul li.selected {
	background-color: #FFFFFF;
	color: #DD0000;
}
.autocomplete ul li span.informal {
	display: none;
}

/* Javascript Error Messages
----------------------------------------------- */
.error
{
	text-align:center;
	background:#FFEFEF;
	margin:0.3em;
	padding:0.3em;
	font-size:0.8em;
}

.error a
{
    font-weight:bold;
	background:#efefef;
	padding:0.3em;
}

.error a:hover
{
	background:#fff;
}

/* Post Image
----------------------------------------------- */
.post-image {
	float: left;
	margin-right: 10px;
}

.page_item{
	margin-bottom: 5px;
	padding-left: 10px;
	font-weight: normal;
	font-style: italic;
	font-size: 180%;
	margin-left: -30px;
	margin-top: 30px;
}

li ul .page_item{
	margin-bottom: 0;
	padding-left: 0;
	width: auto;
	font-weight: normal;
	font-style: normal;
	font-size: 0.7em;
	line-height: 1.7em;
	margin-left: 0;
	margin-top: 0;
}

img#wpstats {
	visibility: hidden;
}


@media (prefers-color-scheme: dark) {
	body {
		color: #e0e0e0;
		background-color: #121212;
	}

	h1, h2, h3, h4, h5, h6 {
		color: #eaeaea;
	}

	a:link {
		color: #ffcc00;
	}

	a:visited {
		color: #ff9900;
	}

	a:hover, a:active {
		color: #ff5733;
	}

	input, textarea, select {
		border: 1px solid #444;
		background-color: #222;
		color: #e0e0e0;
	}

	#submit {
		background-color: #444;
		color: #e0e0e0;
		box-shadow: rgba(255, 255, 255, 0.1) 0 0 4px;
	}

	#submit:hover {
		background-color: #990000;
		box-shadow: inset rgba(255, 255, 255, 0.2) 0 0 5px;
	}

	blockquote {
		border-left: 5px solid #ffcc00cc;
		color: #bbb;
	}

	code {
		color: #ff9900;
	}

	#siteheader {
		background-color: #e8b34c66;
	}

	#wrapper {
		background-color: #1e1e1e;
		box-shadow: rgba(0, 0, 0, 0.7) 0 0 20px;
	}

	#content {
		background-color: #222;
	}

	#footer {
		background-color: #444;
	}

	#menubar {
		background-color: #e8b34caa;
	}

	#menubar ol {
		color: #cccccc;
		text-shadow: rgba(0, 0, 0, 0.6) 0 1px 0;
	}

	#archive .archive-months a {
		background-color: #fbe09566;
		color: #e1e1e1;
		text-shadow: rgba(255,255,255,0.1) 0 1px 1px;
	}
	#archive .archive-year {
		color: #f0d7a2;
		text-shadow: rgba(0,0,0,0.4) 0 1px 0;
	}
	#archive .archive-months a:hover {
		background-color: rgba(255, 255, 255, 0.52);
	}

	#menubar .notactive {
		background: #333;
		color: #fff;
	}

	#menubar .active, #menubar li .active {
		background: #444;
	}

	#menubar li a {
		color: #e0e0e0;
	}
	#menubar li button {
		color: #e0e0e0;
	}

	#menubar li a:hover {
		background: rgba(255, 255, 255, 0.1);
	}
	#menubar li button:hover {
		background: rgba(255, 255, 255, 0.1);
	}

	.toppanel {
		background-color: #333;
	}

	.toppanel.archive {
		background-color: #222;
	}

	.post-title a:link, .post-title a:visited {
		color: #ffcc00;
	}

	.post-title a:hover, .post-title a:active {
		color: #ff5733;
	}

	.page-link {
		background-color: #444;
		color: #e0e0e0;
	}

	.page-link:hover {
		background-color: #990000;
	}

	.post-link {
		background-color: #333;
		color: #e0e0e0;
	}

	.post-link a:hover {
		color: #ffcc00;
	}

	#comment-list li {
		background-color: #1f1f1f;
	}

	.page_item {
		color: #ccc;
	}

	img {
		filter: brightness(0.9);
	}
}

/* Version 7: small improvements to the existing reading and navigation styles. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	z-index: 10000;
	top: -100px;
	left: 12px;
	padding: 8px 12px;
	background: var(--theme-accent-strong);
	color: #111;
}
.skip-link:focus {
	top: 12px;
}

#siteheader .site-title {
	margin: 0;
	line-height: 1.3;
}
#siteheader a,
#siteheader a:visited {
	color: #111;
}
#content:focus {
	outline: none;
}

#archive[hidden] {
	display: none;
}
#archive .archive-prompt {
	margin: 0;
	padding: 15px 20px 0;
	font-size: 0.85em;
	font-weight: 700;
	color: #674713;
}
#archive .archive-years {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 10px 20px 18px;
}
#archive .archive-year-button {
	padding: 7px 11px;
	border: 1px solid #bf8b32;
	border-radius: 4px;
	background: #fbe095;
	color: #261b08;
	font: 700 0.85em/1.4 "Merriweather", Georgia, serif;
	cursor: pointer;
}
#archive .archive-year-button:hover,
#archive .archive-year-button.active {
	background: white;
}
#archive .archive-month-panel {
	padding: 0 20px 20px;
}
#archive .archive-month-panel[hidden] {
	display: none;
}
#archive .archive-month-heading {
	margin: 0 0 8px;
	font-size: 0.85em;
	font-weight: 700;
	color: #674713;
}
#archive .archive-months {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	padding: 0;
	white-space: normal;
	overflow: visible;
}
#archive .archive-months a {
	display: block;
	padding: 7px 10px;
	font-size: 0.85em;
	line-height: 1.4;
	text-align: center;
}

#search form {
	position: relative;
}
#search input {
	box-sizing: border-box;
	width: 188px;
	min-height: 36px;
	padding: 6px 12px 6px 38px;
	font-size: 0.9em;
	line-height: 1.4;
	background-color: rgba(255, 247, 230, 0.42);
	border: 1px solid rgba(93, 61, 13, 0.5);
	border-radius: 22px;
	box-shadow: inset 0 1px 2px rgba(79, 51, 10, 0.08);
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#search input::placeholder {
	color: #5a431a;
	opacity: 1;
}
#search input:focus,
#search input.active {
	width: 188px;
	background-color: rgba(255, 247, 230, 0.85);
	border-color: #754c09;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
#search .search-icon {
	position: absolute;
	top: 50%;
	left: 11px;
	transform: translateY(-50%);
	color: #4b3713;
	pointer-events: none;
}
.search-count {
	color: #806528;
	margin: 0.5em 0 1.4em;
}

.post-title {
	line-height: 1.35;
	letter-spacing: -0.015em;
	overflow-wrap: break-word;
}
.post-index .post-thumb img {
	margin: 0;
}
.post-index .post-title {
	margin-top: 0;
	line-height: 1;
}
.post-index .post-thumb + .post-content .post-title {
	margin-top: -5px;
}
@media screen and (max-width: 600px) {
	.post-index .post-thumb + .post-content .post-title {
		margin-top: 0;
	}
}
.post-entry {
	max-width: 68ch;
	font-size: 1.02em;
	overflow-wrap: break-word;
}
.post-entry p {
	line-height: 1.9;
}
.post-entry h2,
.post-entry h3,
.post-entry h4 {
	line-height: 1.4;
	margin: 1.6em 0 0.6em;
}
.post-entry img,
#content img {
	max-width: calc(100% - 10px);
	height: auto;
}
.post-entry iframe,
.post-entry video,
.post-entry audio {
	max-width: 100%;
}
.post-entry pre,
.post-entry table {
	max-width: 100%;
	overflow-x: auto;
}
.post-entry figcaption,
.post-entry .wp-caption-text {
	font-size: 0.85em;
	line-height: 1.5;
	color: #806528;
}

@media screen and (max-width: 600px) {
	#menubar {
		flex-wrap: wrap;
		gap: 4px;
	}
	#menubar ol {
		flex-wrap: wrap;
	}
	#live-search {
		flex-basis: 100%;
		justify-content: flex-start;
		box-sizing: border-box;
		padding: 2px 8px 6px;
	}
	#live-search .inside,
	#search,
	#search form,
	#search input,
	#search input:focus,
	#search input.active {
		width: 100%;
	}
	#archive .archive-prompt {
		padding: 12px 12px 0;
	}
	#archive .archive-years {
		padding: 10px 12px 14px;
	}
	#archive .archive-month-panel {
		padding: 0 12px 14px;
	}
	#archive .archive-months {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.postnavigation,
	.page-navigation {
		flex-wrap: wrap;
	}
}

@media (prefers-color-scheme: dark) {
	#search input {
		background-color: rgba(255, 247, 230, 0.2);
	}
	#search input:focus,
	#search input.active {
		background-color: rgba(255, 247, 230, 0.65);
	}
	#archive .archive-prompt,
	#archive .archive-month-heading {
		color: #f0d7a2;
	}
	#archive .archive-year-button {
		background: #6d552e;
		border-color: #b48b46;
		color: #f5f0e6;
	}
	#archive .archive-year-button:hover,
	#archive .archive-year-button.active {
		background: #8d6a2f;
	}
	.post-meta,
	.search-count,
	.post-entry figcaption,
	.post-entry .wp-caption-text {
		color: #e3bf79;
	}
	#siteheader a,
	#siteheader a:visited {
		color: #f5f0e6;
	}
}
