:root {
	--site-width: 1180px;
	--page-bg: #f3eadc;
	--surface: #fffaf1;
	--soft: #e7d6be;
	--text: #2d251c;
	--title: #412d1f;
	--muted: #746553;
	--border: #d2bea2;
	--accent: #8f4f23;
	--focus: #8f4f23;
	--button-bg: #412d1f;
	--button-border: #412d1f;
	--button-text: #fffaf1;
	--shadow: 0 10px 22px rgba(65, 45, 31, 0.12);
	--font-body: "Trebuchet MS", Arial, sans-serif;
	--font-heading: Georgia, "Times New Roman", serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--page-bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--accent);
}

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

button,
input {
	font: inherit;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

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

.screen-reader-text:focus {
	top: 1rem;
	left: 1rem;
	z-index: 20;
	width: auto;
	height: auto;
	padding: 0.7rem 1rem;
	clip: auto;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
}

.site-header,
.site-main,
.site-footer {
	width: min(100% - 32px, var(--site-width));
	margin-inline: auto;
}

.site-header {
	margin-top: 18px;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-branding {
	min-width: 0;
}

.custom-logo-link img {
	max-width: 220px;
	max-height: 72px;
}

.site-title {
	display: inline-block;
	color: var(--title);
	font-family: var(--font-heading);
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
}

.site-description {
	margin: 0.25rem 0 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.menu-toggle {
	display: grid;
	gap: 4px;
	width: 42px;
	height: 42px;
	place-content: center;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	cursor: pointer;
}

.menu-toggle span[aria-hidden="true"] {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
}

.primary-navigation {
	display: none;
	position: absolute;
	left: 16px;
	right: 16px;
	top: 78px;
	z-index: 10;
	padding: 0.75rem;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

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

.primary-navigation ul,
.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a,
.footer-navigation a {
	display: block;
	padding: 0.55rem 0.75rem;
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	background: var(--soft);
	color: var(--accent);
}

.site-main {
	margin-top: 28px;
}

.front-intro,
.archive-head {
	margin-bottom: 34px;
}

.front-copy h1,
.archive-head h1,
.single-header h1 {
	margin: 0 0 1rem;
	color: var(--title);
	font-family: var(--font-heading);
	font-size: 2.15rem;
	line-height: 1.1;
}

.front-copy p,
.archive-head p,
.featured-excerpt p,
.post-card-excerpt p {
	margin: 0;
	color: var(--muted);
}

.eyebrow {
	margin: 0 0 0.6rem;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.button,
.read-more,
.text-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 40px;
	color: var(--button-text);
	background: var(--button-bg);
	border: 1px solid var(--button-border);
	padding: 0.55rem 0.9rem;
	font-weight: 800;
	text-decoration: none;
}

.read-more,
.text-link {
	min-height: auto;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--accent);
}

.featured-post,
.post-card,
.category-column,
.widget,
.no-results {
	background: var(--surface);
	border: 1px solid var(--border);
}

.featured-image img,
.post-card-image img,
.single-image img {
	width: 100%;
	object-fit: cover;
}

.featured-content,
.post-card-body,
.category-column,
.widget,
.no-results {
	padding: 1rem;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.75rem;
	margin-bottom: 0.55rem;
	color: var(--muted);
	font-size: 0.86rem;
}

.post-meta a,
.single-categories a {
	color: var(--accent);
	font-weight: 800;
	text-decoration: none;
}

.featured-title,
.post-card-title,
.section-title h2,
.category-column h3,
.widget-title,
.related-posts h2,
.entry-tags h2 {
	margin: 0;
	color: var(--title);
	font-family: var(--font-heading);
	line-height: 1.2;
}

.featured-title {
	font-size: 1.65rem;
}

.post-card-title {
	font-size: 1.2rem;
}

.featured-title a,
.post-card-title a {
	text-decoration: none;
}

.post-grid,
.category-columns,
.footer-widgets {
	display: grid;
	gap: 1rem;
}

.post-card {
	display: grid;
	overflow: hidden;
}

.post-card-image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.post-card-image img {
	height: 100%;
}

.post-card-body {
	display: grid;
	gap: 0.75rem;
	align-content: start;
}

.section-title {
	margin-bottom: 1rem;
}

.latest-section,
.category-section,
.category-posts-section,
.resource-section,
.related-posts {
	margin-top: 40px;
}

.category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.category-list a {
	display: grid;
	gap: 0.1rem;
	min-width: 140px;
	padding: 0.75rem;
	background: var(--surface);
	border: 1px solid var(--border);
	text-decoration: none;
}

.category-list span {
	font-weight: 900;
}

.category-list small {
	color: var(--muted);
}

.category-column ul,
.widget ul {
	padding-left: 1.1rem;
	margin: 0.75rem 0;
}

.category-column li + li,
.widget li + li {
	margin-top: 0.35rem;
}

.content-layout {
	display: grid;
	gap: 1.4rem;
}

.widget-area {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.resource-section .widget-area {
	grid-template-columns: 1fr;
}

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

.search-field {
	width: 100%;
	min-height: 42px;
	padding: 0.55rem 0.7rem;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
}

.search-submit {
	min-height: 42px;
	padding: 0.55rem 0.8rem;
	background: var(--button-bg);
	border: 1px solid var(--button-border);
	color: var(--button-text);
	font-weight: 800;
	cursor: pointer;
}

.archive-description {
	color: var(--muted);
}

.pagination-wrap {
	margin-top: 1.5rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 0.35rem 0.65rem;
	background: var(--surface);
	border: 1px solid var(--border);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--button-bg);
	color: var(--button-text);
}

.single-layout {
	align-items: start;
}

.single-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.single-categories a {
	padding: 0.25rem 0.45rem;
	background: var(--soft);
}

.single-image {
	margin: 0 0 1.5rem;
}

.single-image img {
	aspect-ratio: 16 / 9;
}

.entry-content {
	font-size: 1.03rem;
}

.entry-content > * {
	max-width: 760px;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-top: 0;
	margin-bottom: 1.15rem;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.8rem;
	color: var(--title);
	font-family: var(--font-heading);
	line-height: 1.2;
}

.entry-content blockquote {
	margin: 1.4rem 0;
	padding: 0.9rem 1rem;
	background: var(--soft);
	border-left: 4px solid var(--accent);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.65rem;
	border: 1px solid var(--border);
	text-align: left;
}

.entry-tags,
.post-navigation-wrap {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}

.entry-tags div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.entry-tags a {
	padding: 0.3rem 0.45rem;
	background: var(--soft);
	color: var(--accent);
	font-weight: 800;
	text-decoration: none;
}

.post-navigation .nav-links {
	display: grid;
	gap: 1rem;
}

.post-navigation a {
	display: grid;
	text-decoration: none;
}

.post-navigation span {
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
}

.site-footer {
	margin-top: 48px;
	margin-bottom: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
}

.footer-bottom {
	display: grid;
	gap: 0.8rem;
	margin-top: 1.2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	color: var(--muted);
}

.footer-bottom p {
	margin: 0;
}

@media (min-width: 680px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.category-columns,
	.footer-widgets,
	.resource-section .widget-area {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.menu-toggle {
		display: none;
	}

	.primary-navigation {
		position: static;
		display: block;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.content-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.front-copy h1,
	.archive-head h1,
	.single-header h1 {
		font-size: 3rem;
	}
}


.motyw-serwis-stolarki .site-header-inner {
	display: grid;
	gap: 1rem;
	padding-bottom: 0.8rem;
	border-bottom: 6px solid var(--title);
}

.motyw-serwis-stolarki .primary-navigation a {
	padding-inline: 0;
	margin-right: 1rem;
}

.motyw-serwis-stolarki .primary-navigation a:hover,
.motyw-serwis-stolarki .primary-navigation .current-menu-item > a {
	background: transparent;
	color: var(--accent);
}

.motyw-serwis-stolarki .front-intro {
	display: grid;
	gap: 1rem;
}

.motyw-serwis-stolarki .front-copy {
	padding: 1.2rem;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: inset 8px 0 0 var(--accent);
}

.motyw-serwis-stolarki .featured-post {
	display: grid;
	background: transparent;
	border: 0;
	gap: 0.8rem;
}

.motyw-serwis-stolarki .featured-image,
.motyw-serwis-stolarki .post-card-image {
	border: 1px solid var(--border);
}

.motyw-serwis-stolarki .featured-content,
.motyw-serwis-stolarki .post-card-body {
	border: 1px solid var(--border);
	background: var(--surface);
}

.motyw-serwis-stolarki .post-card {
	display: grid;
	grid-template-columns: 1fr;
	background: transparent;
	border: 0;
	gap: 0.7rem;
}

.motyw-serwis-stolarki .category-list a {
	background: var(--title);
	border-color: var(--title);
	color: var(--button-text);
}

.motyw-serwis-stolarki .category-list small {
	color: rgba(255, 250, 241, 0.72);
}

@media (min-width: 900px) {
	.motyw-serwis-stolarki .front-intro {
		grid-template-columns: 0.9fr 1.1fr;
		align-items: start;
	}

	.motyw-serwis-stolarki .site-header-inner {
		grid-template-columns: 300px 1fr;
		align-items: end;
	}

	.motyw-serwis-stolarki .post-grid {
		grid-template-columns: 1fr;
	}

	.motyw-serwis-stolarki .post-card {
		grid-template-columns: 260px 1fr;
	}
}
