:root {
	--zatoria-border: #dedede;
	--zatoria-header-height: 4.5rem;
}

.site-header {
	border-bottom: 1px solid var(--zatoria-border);
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100% - 2rem, 1200px);
	min-height: var(--zatoria-header-height);
	margin-inline: auto;
	gap: 2rem;
}

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

.custom-logo {
	max-height: 3rem;
	width: auto;
}

.menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a,
.footer-menu a {
	color: inherit;
	text-decoration: none;
}

.menu a:hover,
.menu a:focus-visible,
.footer-menu a:hover,
.footer-menu a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.menu-toggle {
	display: none;
	padding: 0.5rem;
	border: 1px solid var(--zatoria-border);
	background: transparent;
	font-size: 1.25rem;
	cursor: pointer;
}

.site-main,
.widget-area {
	width: min(100% - 2rem, 1200px);
	margin-inline: auto;
}

.content-layout,
.entry-content > :where(:not(.alignwide):not(.alignfull)) {
	width: min(100% - 2rem, 760px);
	margin-inline: auto;
}

.entry-content > .alignwide {
	width: min(100% - 2rem, 1200px);
	margin-inline: auto;
}

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

.page-header,
.entry,
.entry-card,
.no-results,
.error-404,
.comments-area {
	padding-block: clamp(2rem, 6vw, 5rem);
}

.entry-card + .entry-card {
	border-top: 1px solid var(--zatoria-border);
}

.entry-title {
	margin-top: 0;
}

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

.entry-meta {
	color: var(--wp--preset--color--muted, #666);
	font-size: 0.875rem;
}

.entry-featured-image {
	margin-block: 2rem;
}

.widget-area {
	padding-block: 2rem;
	border-top: 1px solid var(--zatoria-border);
}

.site-footer {
	margin-top: 4rem;
	border-top: 1px solid var(--zatoria-border);
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-field,
.search-form button {
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	font: inherit;
}

@media (max-width: 48rem) {
	.menu-toggle {
		display: block;
	}

	.primary-navigation {
		display: none;
		position: absolute;
		top: var(--zatoria-header-height);
		left: 0;
		z-index: 10;
		width: 100%;
		padding: 1rem;
		border-bottom: 1px solid var(--zatoria-border);
		background: var(--wp--preset--color--surface, #fff);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.menu {
		align-items: stretch;
		flex-direction: column;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		padding-block: 1.5rem;
	}
}

