/*
Theme Name: Joseph Steinberger for US Senate
Theme URI: https://josephsteinberger.us/
Description: Joe's theme.
Author: Nate
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
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: steinberger
*/

/* ---- The look of the original letter (base.html), unchanged. ---- */

body {
	margin: 0px;
	padding: 0px;
	font-family: sans-serif;
	font-size: 18px;
	line-height: 24px;
}

.container {
	max-width: 800px;
	margin: 0px auto 0px auto;
	padding: 48px 16px 48px 16px;
}

/* ---- Everything below only adds what a blog needs, in the same spirit. ---- */

/* Headings look like the letter's title: bold, same size as the text. */
h1, h2, h3, h4, h5, h6 {
	font-size: 18px;
	line-height: 24px;
	font-weight: bold;
	margin: 18px 0;
}

img {
	max-width: 100%;
	height: auto;
}

/* Links to the front page, Ideas, and other pages, shown at the top of every page except the front page. */
.site-nav {
	margin: 0 0 36px;
}

.site-nav a {
	margin-right: 20px;
}

.site-nav a[aria-current] {
	color: inherit;
	font-weight: bold;
	text-decoration: none;
}

/* The buttons under the letter on the front page. */
.page-buttons {
	margin-top: 36px;
}

.page-buttons a {
	display: inline-block;
	margin: 0 12px 12px 0;
	padding: 8px 20px;
	border: 1px solid #000;
	border-radius: 4px;
	color: #000;
	text-decoration: none;
}

.page-buttons a:hover,
.page-buttons a:focus {
	background: #000;
	color: #fff;
}

/* One entry in the Ideas list (or a single idea, or a page). */
.entry + .entry {
	margin-top: 36px;
	padding-top: 12px;
	border-top: 1px solid #ccc;
}

.entry-title {
	margin: 18px 0 0;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	text-decoration: underline;
}

.entry-meta {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 20px;
	color: #666;
}

.entry-meta a {
	color: inherit;
}

/* Older / newer links under the Ideas list, and previous / next links under a single idea. */
.pagination,
.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
}

.post-navigation .nav-next {
	margin-left: auto;
	text-align: right;
}

/* Comments. */
.comments {
	margin-top: 48px;
	padding-top: 12px;
	border-top: 1px solid #ccc;
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	margin-left: 24px;
}

.comment-list .comment-body {
	margin: 18px 0;
}

.comment-list .comment-meta {
	font-size: 14px;
	line-height: 20px;
	color: #666;
}

.comment-list .comment-metadata a {
	color: inherit;
}

.comment-form label {
	display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 6px;
	border: 1px solid #999;
	font: inherit;
}

.comment-form .submit {
	padding: 8px 20px;
	border: 1px solid #000;
	border-radius: 4px;
	background: #fff;
	color: #000;
	font: inherit;
	cursor: pointer;
}

.comment-form .submit:hover,
.comment-form .submit:focus {
	background: #000;
	color: #fff;
}

/* Standard WordPress helper classes. */
.alignleft {
	float: left;
	margin: 0 16px 8px 0;
}

.alignright {
	float: right;
	margin: 0 0 8px 16px;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}
