/* --------------------------------------------------------------
# Base Reset
-------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.7;
	color: #2b2b2b;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------
# Layout
-------------------------------------------------------------- */

.site-header,
.site-footer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem;
}

.site-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;

	display: grid;
	grid-template-columns: 2.2fr 1fr;
	gap: 3rem;
}

@media (max-width: 900px) {
	.site-content {
		grid-template-columns: 1fr;
	}
}

/* Pages without sidebar */

.page .site-content,
.error404 .site-content {
	grid-template-columns: 1fr;
	max-width: 1000px;
}

/* --------------------------------------------------------------
# Header
-------------------------------------------------------------- */

.site-header {
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-title {
	font-weight: 600;
	font-size: 1.1rem;
	text-decoration: none;
	color: inherit;
}

/* --------------------------------------------------------------
# Navigation
-------------------------------------------------------------- */

.primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.5rem;
}

.primary-navigation a {
	text-decoration: none;
	color: #444;
	font-size: 0.95rem;
	transition: opacity 0.2s ease;
}

.primary-navigation a:hover {
	opacity: 0.7;
}

/* --------------------------------------------------------------
# Content
-------------------------------------------------------------- */

.site-main {
	width: 100%;
}

article {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #f0f0f0;
}

article:last-child {
	border-bottom: none;
}

.entry-title {
	margin: 0 0 0.75rem;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.3;
}

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

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

.entry-content {
	font-size: 1rem;
	color: #444;
}

.entry-content::after {
	content: "";
	display: block;
	clear: both;
}

.entry-content p {
	color: #444;
	margin-bottom: 1.25rem;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1rem;
	border-radius: 2px;
}

/* --------------------------------------------------------------
# Blog Refinement
-------------------------------------------------------------- */

.blog article,
.archive article {
	padding-bottom: 2rem;
	border-bottom: 1px solid #f0f0f0;
}

/* --------------------------------------------------------------
# Single Refinement
-------------------------------------------------------------- */

.single .entry-title {
	font-size: 1.9rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.single .wp-post-image {
	margin-bottom: 1.5rem;
}

.single .entry-content {
	font-size: 1.05rem;
}

/* --------------------------------------------------------------
# Sidebar
-------------------------------------------------------------- */

aside {
	font-size: 0.95rem;
}

.widget {
	margin-bottom: 2.5rem;
}

.widget-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.widget ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.widget ul li {
	margin-bottom: 0.5rem;
}

.widget a {
	color: #555;
	text-decoration: none;
}

.widget a:hover {
	text-decoration: underline;
}

/* --------------------------------------------------------------
# Footer
-------------------------------------------------------------- */

.site-footer {
	border-top: 1px solid #eee;
	text-align: center;
	font-size: 0.85rem;
	color: #777;
	padding: 2rem 1.5rem;
	margin-top: 4rem;
}

/* --------------------------------------------------------------
# Comments
-------------------------------------------------------------- */

.comments-area {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #f0f0f0;
}

.comments-title {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
}

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

.comment-body {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #f0f0f0;
}

.comment-author {
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.comment-metadata {
	font-size: 0.85rem;
	color: #777;
	margin-bottom: 0.75rem;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 0.6rem;
	border: 1px solid #ddd;
	margin-bottom: 1rem;
	font-family: inherit;
	border-radius: 3px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: #aaa;
}

/* --------------------------------------------------------------
# Block Base Styles
-------------------------------------------------------------- */

.wp-block-image {
	margin: 1.5rem 0;
}

.wp-block-quote {
	border-left: 4px solid #eee;
	padding-left: 1rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: #555;
}

.alignwide {
	max-width: 1300px;
}

.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* --------------------------------------------------------------
# WordPress Required / Recommended Classes
-------------------------------------------------------------- */

.wp-caption {
	max-width: 100%;
	margin-bottom: 1rem;
}

.wp-caption img {
	margin: 0;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: #666;
	margin-top: 0.5rem;
}

.sticky {
	/* Optional highlight */
}

.gallery-caption {
	font-size: 0.875rem;
	color: #666;
}

.bypostauthor {
	/* Author comment */
}

.alignright {
	float: right;
	margin-left: 1.5rem;
}

.alignleft {
	float: left;
	margin-right: 1.5rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Accessibility */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
}
