/* --------------------------------------------------------------
# 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;
}

.entry-content,
.comment-content,
.widget,
.site-content {
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

pre,
code {
	max-width: 100%;
	overflow-x: auto;
}

.site-main,
.entry-content {
	max-width: 100%;
	overflow: hidden;
}

.entry-content > * {
	max-width: 100%;
}

table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

iframe,
embed,
object,
video {
	max-width: 100%;
}
.entry-content img,
.entry-content video,
.entry-content iframe {
	height: auto;
	max-width: 100%;
}

/* --------------------------------------------------------------
# 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;
	}
}

.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;
}

/* --------------------------------------------------------------
# Site Logo
-------------------------------------------------------------- */

.custom-logo {
	max-height: 60px;
	width: auto;
}

.custom-logo-link {
	display: flex;
	align-items: center;
}

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

/* First level */

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

.primary-navigation li {
	position: relative;
}

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

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

/* Visible focus for keyboard users */
.primary-navigation a:focus {
	outline: 2px solid #000;
	outline-offset: 2px;
	opacity: 0.7;
}

.primary-navigation li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 0.35em;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	vertical-align: middle;
}

/* Submenus */

.primary-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	list-style: none;
	margin: 0;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid #eee;
	min-width: 180px;
	flex-direction: column;
	gap: 0.5rem;
}

.primary-navigation ul ul li {
	margin: 0;
}

/* Mouse hover */
.primary-navigation li:hover > ul {
	display: flex;
}

/* Keyboard navigation */
.primary-navigation li:focus-within > ul {
	display: flex;
}

/* Mobile stacking */

@media (max-width: 768px) {
	.primary-navigation > ul {
		flex-direction: column;
		gap: 0.75rem;
	}

	.primary-navigation ul ul {
		position: static;
		border: none;
		padding-left: 1rem;
		display: block;
	}
}

/* --------------------------------------------------------------
# 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 {
	margin-bottom: 1.25rem;
}

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

/* Fix full / wide alignment overflow */

.alignwide,
.alignfull {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.entry-title {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* --------------------------------------------------------------
# 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;
}

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

/* --------------------------------------------------------------
# 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;
}

.skip-link:focus {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: #000;
	color: #fff;
	padding: 0.75rem 1rem;
	z-index: 1000;
	text-decoration: none;
}

/* --------------------------------------------------------------
# WordPress Recommended Classes (Scanner Compatibility)
-------------------------------------------------------------- */

.sticky {}
.bypostauthor {}
.gallery-caption {}
.wp-caption {}
.wp-caption-text {}
.alignleft {}
.alignright {}
.aligncenter {}