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

body {
	font-family: var(--font-body);
	font-weight: var(--font-body-weight);
	font-size: var(--font-size-base);
	line-height: var(--line-height-body);
	color: #333;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	letter-spacing: var(--letter-spacing-heading);
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 1rem;
	color: #222;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: var(--primary-color-dark);
}

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

.container {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--content-padding-x);
	padding-right: var(--content-padding-x);
}

.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.button {
	display: inline-block;
	padding: var(--button-padding-y) var(--button-padding-x);
	font-size: var(--button-font-size);
	font-weight: var(--button-font-weight);
	font-family: var(--font-body);
	text-transform: var(--button-text-transform);
	color: var(--button-text-color);
	background-color: var(--primary-color);
	border: var(--button-border-width) solid var(--primary-color);
	border-radius: var(--button-radius);
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease;
	line-height: 1.5;
}

.btn:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.button:hover {
	background-color: var(--button-hover-bg);
	border-color: var(--button-hover-bg);
	color: var(--button-text-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active,
.wp-block-button__link:active,
button[type="submit"]:active,
input[type="submit"]:active,
.button:active {
	transform: translateY(0);
}

.btn-secondary {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}

.btn-secondary:hover {
	background-color: var(--secondary-color-dark);
	border-color: var(--secondary-color-dark);
}

.btn-outline {
	background-color: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-outline:hover {
	background-color: var(--primary-color);
	color: var(--button-text-color);
}

.site-header {
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
	padding: 1.5rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo a {
	display: flex;
	align-items: center;
	color: #222;
	font-weight: 700;
	font-size: 1.5rem;
	transition: opacity 0.3s ease;
}

.site-logo a:hover {
	opacity: 0.8;
}

.site-title a {
	font-family: var(--font-heading);
	font-weight: var(--font-heading-weight);
	color: var(--primary-color);
	font-size: 1.75rem;
}

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

.main-navigation a {
	color: #333;
	font-weight: 500;
	transition: color 0.3s ease;
}

.main-navigation a:hover {
	color: var(--primary-color);
}

.site-main {
	padding: var(--section-padding-top) 0 var(--section-padding-bottom);
	min-height: 60vh;
}

.entry-header {
	margin-bottom: 2rem;
}

.entry-title {
	color: var(--primary-color-dark);
	margin-bottom: 0.5rem;
}

.entry-title a {
	color: inherit;
}

.entry-title a:hover {
	color: var(--primary-color);
}

.entry-meta {
	font-size: 0.9rem;
	color: #666;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.entry-content {
	margin-bottom: var(--element-spacing);
}

.entry-content > * + * {
	margin-top: var(--element-spacing);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 2rem;
	margin-bottom: 1rem;
}

.entry-content li {
	margin-bottom: 0.5rem;
}

.entry-content blockquote {
	border-left: 4px solid var(--primary-color);
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	color: #555;
}

.entry-footer {
	border-top: 1px solid #e0e0e0;
	padding-top: 1.5rem;
	margin-top: 2rem;
	font-size: 0.9rem;
	color: #666;
}

.entry-footer span {
	margin-right: 1.5rem;
}

article + article {
	margin-top: var(--element-spacing);
	padding-top: var(--element-spacing);
	border-top: 1px solid #e0e0e0;
}

.site-footer {
	background-color: #1a1a1a;
	color: #fff;
	padding: var(--section-padding-top) 0 2rem;
	margin-top: var(--section-padding-top);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.site-footer .widget {
	margin-bottom: 2rem;
}

.site-footer .widget-title {
	color: #fff;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.site-footer a {
	color: #ccc;
}

.site-footer a:hover {
	color: var(--primary-color);
}

.site-footer .site-logo a {
	color: #fff;
}

.site-info {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #333;
	font-size: 0.9rem;
	color: #999;
}

.sidebar {
	padding: 2rem;
	background-color: #f8f8f8;
	border-radius: 8px;
}

.widget {
	margin-bottom: 2rem;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	color: var(--primary-color-dark);
}

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

.widget li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.widget li:last-child {
	border-bottom: none;
}

.has-sidebar .site-main {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 3rem;
	align-items: start;
}

.posts-navigation,
.post-navigation {
	margin-top: var(--element-spacing);
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.wp-block-group {
	margin-bottom: var(--element-spacing);
}

.alignwide {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

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

@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	.site-header .container {
		flex-direction: column;
		gap: 1rem;
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.has-sidebar .site-main {
		grid-template-columns: 1fr;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}
}

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

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
