:root {
	--color-bg: #f7f8fa;
	--color-bg-soft: #ffffff;
	--color-surface: #ffffff;
	--color-text: #1e2430;
	--color-muted: #5a6270;
	--color-border: #dce1e8;
	--color-accent: #2d63d6;
	--shadow-soft: none;
	--radius-lg: 0;
	--radius-md: 0;
	--space-section: clamp(2rem, 4vw, 4rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
	background: var(--color-bg);
	color: var(--color-text);
	line-height: 1.7;
}

a {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
	color: var(--color-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	width: min(1120px, 92%);
	margin-inline: auto;
}

.content-wrap {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 2rem;
	padding: var(--space-section) 0;
}

.no-sidebar .content-wrap {
	grid-template-columns: 1fr;
}

.site-header {
	background: var(--color-bg-soft);
	border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem 0;
	gap: 1rem;
}

.site-title {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.site-description {
	margin: 0.3rem 0 0;
	font-size: 0.84rem;
	color: var(--color-muted);
}

.custom-logo-link {
	display: inline-block;
	max-width: min(240px, 65vw);
}

.custom-logo {
	width: 100%;
	height: auto;
	max-height: 72px;
	object-fit: contain;
}

.menu {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 1rem;
}

.menu a {
	padding: 0.35rem 0.45rem;
	font-weight: 500;
}

.menu a:hover,
.menu a:focus-visible {
	background: #edf2ff;
}

.hero {
	padding: 2.4rem 0 1.8rem;
	border-bottom: 1px solid var(--color-border);
}

.hero-inner {
	max-width: 800px;
}

.hero-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: var(--color-accent);
	border: 1px solid #cfd9f0;
	padding: 0.35rem 0.7rem;
}

.hero-title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	line-height: 1.15;
	margin: 1rem 0 0.7rem;
}

.hero-tagline {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: var(--color-muted);
	max-width: 55ch;
}

.featured-card,
.post-card,
.single-article,
.widget,
.comments-area,
.not-found {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.featured-post {
	margin-bottom: 2rem;
}

.featured-card {
	overflow: hidden;
	padding-bottom: 1rem;
}

.featured-thumb,
.post-card-thumb {
	display: block;
}

.featured-thumb img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
}

.post-card-thumb img {
	width: 100%;
	max-height: 220px;
	object-fit: cover;
}

.featured-content {
	padding: 0.9rem 0 0;
}

.button-link {
	display: inline-block;
	margin-top: 0.7rem;
	background: var(--color-accent);
	color: #ffffff;
	padding: 0.55rem 0.9rem;
	font-weight: 700;
}

.posts-grid {
	display: block;
}

.post-card {
	overflow: hidden;
	margin-bottom: 1.5rem;
	padding-bottom: 1.1rem;
}

.post-card-content {
	padding: 0.8rem 0 0;
}

.post-card-title {
	margin: 0.4rem 0 0.6rem;
	font-size: 1.2rem;
	line-height: 1.3;
}

.meta {
	margin: 0;
	font-size: 0.8rem;
	color: var(--color-muted);
	letter-spacing: 0.03em;
}

.excerpt,
.entry-content {
	color: #303845;
}

.sidebar {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.widget {
	padding: 0 0 1rem;
}

.widget-title {
	margin-top: 0;
}

.site-footer {
	border-top: 1px solid var(--color-border);
	padding: 1.4rem 0 2rem;
}

.site-footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.footer-text {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.88rem;
}

.archive-title,
.entry-title {
	margin-top: 0;
}

.single-article {
	padding: 0 0 1.2rem;
}

.entry-thumbnail {
	margin: 1rem 0;
	overflow: hidden;
	border-radius: var(--radius-md);
}

.comments-area {
	margin-top: 1.4rem;
	padding: 0.8rem 0 0;
}

.comments-title {
	margin-top: 0;
	margin-bottom: 1rem;
}

.comment-list {
	padding-left: 1.1rem;
}

.comment-list li {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--color-border);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--color-border);
	border-radius: 0;
	background: #fff;
	color: var(--color-text);
	font: inherit;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form p {
	margin: 0 0 0.9rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.comment-form .comment-form-comment {
	display: block;
}

#respond {
	margin-top: 1rem;
}

#respond .comment-reply-title {
	margin: 0 0 0.8rem;
	font-size: 1.4rem;
}

#respond .logged-in-as,
#respond .comment-notes {
	margin: 0 0 0.9rem;
	color: var(--color-muted);
	font-size: 0.95rem;
}

#respond .comment-form-comment label {
	display: block !important;
}

#respond .comment-form-comment textarea {
	display: block;
}

#respond .form-submit {
	margin-top: 0.3rem;
}

#respond .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

#respond .comment-form-cookies-consent input[type="checkbox"] {
	margin: 0;
}

#respond .comment-form-cookies-consent label {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid #c4d2f4;
	outline-offset: 0;
	border-color: #9fb6ec;
}

.comment-form .submit {
	background: var(--color-accent);
	color: #fff;
	border: 0;
	border-radius: 0;
	padding: 0.6rem 1rem;
	font-weight: 600;
	cursor: pointer;
}

.not-found {
	padding: 2rem;
	text-align: center;
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
}

.screen-reader-text:focus {
	left: 1rem;
	top: 1rem;
	background: #fff;
	color: #000;
	padding: 0.5rem;
	z-index: 100000;
}

@media (max-width: 960px) {
	.content-wrap {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.site-header-inner {
		flex-wrap: wrap;
	}

	.main-nav {
		width: 100%;
		overflow-x: auto;
	}

	.menu {
		width: max-content;
	}
}

