/*
Theme Name: Mike Makes
Theme URI: https://mikemakes.diy
Author: Mike Makes
Author URI: https://mikemakes.diy
Description: WordPress theme for mikemakes.diy. Adapted from Verti by HTML5 UP (html5up.net), which is free for personal and commercial use under the Creative Commons Attribution 3.0 license. See LICENSE-verti.txt.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mikemakes
*/

/* WordPress additions on top of assets/css/main.css */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: #fff;
	color: #444;
	padding: 0.75em 1em;
	border-radius: 6px;
}

.skip-link:focus {
	left: 1em;
	top: 1em;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 0.75em 1em;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#nav ul li.current-menu-item > a,
#nav ul li.current-menu-ancestor > a,
#nav ul li.current_page_item > a,
#nav ul li.current > a {
	background: #444;
	color: #fff;
}

#content > article {
	margin-bottom: 3em;
}

#content .post-meta {
	color: #888;
	font-size: 0.85em;
	letter-spacing: 0.04em;
	margin: 0 0 1.25em 0;
}

#content img,
#content iframe,
#content video,
#content embed {
	max-width: 100%;
	height: auto;
}

#content .alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

#content .alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

#content .aligncenter,
#content .alignnone {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.widget ul,
#footer .widget ul {
	list-style: none;
	padding-left: 0;
}

.widget ul li,
#footer .widget ul li {
	padding-left: 0;
}

.search-form input[type="text"],
.search-form input[type="search"] {
	width: 100%;
	margin-bottom: 0.75em;
}

.navigation.pagination {
	margin-top: 1em;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.navigation.pagination .page-numbers {
	display: inline-block;
	padding: 0.5em 0.9em;
	background: #f3f3f3;
	border-radius: 6px;
	text-decoration: none;
	color: #444;
	font-weight: 800;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover {
	background: #444;
	color: #fff;
}

.post-navigation {
	margin: 1em 0 2em 0;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1em;
}

.post-navigation a {
	text-decoration: none;
	font-weight: 800;
}

.comment-list,
.comment-list ol {
	list-style: none;
	padding-left: 0;
}

.comment-list li {
	padding-left: 0;
}

.comment-body {
	margin-bottom: 1.75em;
}

.comment-meta {
	font-size: 0.85em;
	margin-bottom: 0.5em;
}

.children {
	margin-top: 1.25em;
	padding-left: 1.5em;
}

.archive-description {
	margin-bottom: 2em;
}

#footer #copyright a {
	color: inherit;
}
