/*
Theme: Skandi Living
Basisstruktur für Header, Footer und Overlays
*/


a {
	color: #000;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

/* Grundlayout */
.site {
	position: relative;
}

.site-content {
	display: block;
}

/* Header */
.site-header {
	position: relative;
	width: 100%;

}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 2rem;
}

.header-left,
.header-center,
.header-right {
	display: flex;
	align-items: center;
}

.header-left {
	flex: 0 0 auto;
}

.header-center {
	flex: 1 1 auto;
	justify-content: center;
}

.header-right {
	flex: 0 0 auto;
	gap: 1.5rem;
	justify-content: flex-end;
}

/* Logo */
.site-branding {
	display: flex;
	align-items: center;
}

.custom-logo-link,
.custom-logo {
	display: block;
}

.site-title {

	letter-spacing: 0.03em;
}

/* Hauptnavigation */
.main-navigation {
	display: block;
}

.header-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-menu li {
	margin: 0;
	padding: 0;
}

.header-menu a {
	display: inline-block;
}

/* Suche und Textbutton-Look */
.header-search-toggle {
	display: inline-block;
	line-height: 1;
}

/* Hamburger immer sichtbar, aber schlicht */
.header-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.hamburger-icon {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.3rem;
	width: 1.5rem;
}

.hamburger-icon span {
	display: block;
	width: 100%;
	height: 1px;
	background: #000;
}

/* Overlay allgemein */
.site-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.site-overlay.is-active {
	display: block;
}

.site-overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.96);
}

.site-overlay-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	box-sizing: border-box;
}

.overlay-close {
	align-self: flex-end;
	font-size: 2rem;
	line-height: 1;
}

.overlay-title {
	margin: 0 0 2rem;
	font-size: 2rem;
	font-weight: 400;
}

/* Suchoverlay */
.search-overlay-content {
	max-width: 800px;
	width: 100%;
	margin: auto;
	text-align: center;
}

.search-form-wrap {
	width: 100%;
}

.search-form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.search-form label {
	flex: 1 1 300px;
}

.search-field {
	width: 100%;
	padding: 0.75rem 0;
	border: 0;
	border-bottom: 1px solid #000;
	background: transparent;
	font: inherit;
	color: #000;
	outline: none;
}

.search-submit {
	display: inline-block;
}

/* Menüoverlay */
.menu-overlay-content {
	margin: auto;
	width: 100%;
	max-width: 900px;
	text-align: center;
}

.overlay-navigation {
	display: block;
}

.overlay-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.overlay-menu li {
	margin: 0 0 1rem;
	padding: 0;
}

.overlay-menu a {
	font-size: 2rem;
	font-weight: 400;
	display: inline-block;
}

/* Footer */


.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 2rem;
}

.footer-left,
.footer-right {
	display: flex;
	align-items: center;
}

.footer-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	margin: 0;
	padding: 0;
}

.site-copyright {
	margin: 0;
}

/* Body Lock bei Overlay */
body.overlay-open {
	overflow: hidden;
}


/* Mobile */
@media (max-width: 991px) {
	.header-inner {
		gap: 1rem;
	}

	.header-center {
		display: none;
	}

	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-menu {
		flex-wrap: wrap;
	}
}

.content-area {
	width: 100%;
	padding: 3rem 2rem;
	box-sizing: border-box;
}



.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	margin: 0;
	font-size: 2rem;

}

.entry-content,
.entry-summary,
.page-content {
	line-height: 1.6;
}

.post-list,
.search-results-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.post-item,
.search-result-item,
.page-item {
	padding-bottom: 2rem;
	border-bottom: 1px solid #000;
}

.pagination {
	margin-top: 2rem;
}

.no-results,
.error-404 {
	max-width: 700px;
}

.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;
}

.archive-description {
	margin: 1rem 0 2rem;
	line-height: 1.6;
}

.archive-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.archive-item,
.single-post-item,
.front-page-item {
	padding-bottom: 2rem;
}

.single-post-item .entry-content,
.front-page-item .entry-content {
	line-height: 1.7;
}