/*
Theme Name:   Hello Elementor Child – ems-tens.de
Description:  Child-Theme für ems-tens.de: eigener Header, Footer, 404-Seite, Stile für Seitenleisten-Menü und Suche (Ersatz für Elementor Pro).
Author:       A+S Lederwerkstatt
Template:     hello-elementor
Version:      1.0.1
Text Domain:  lw-child
*/

:root {
	--lw-blue: #005392;
	--lw-blue-dark: #324a6d;
	--lw-bar: #467ff7;
	--lw-max-width: 1100px;
}

/* =====================================================================
   HEADER (Wellenbild + Logo)
   ===================================================================== */

.lw-ems-header {
	background-image: url("/wp-content/uploads/2020/03/ems-tens-wave-reizstrom.jpg");
	background-size: 72% auto;
	background-position: -18px 0;
	background-repeat: repeat;
	background-color: #000;
	height: 72px;
}

.lw-ems-header__inner {
	max-width: var(--lw-max-width);
	height: 100%;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
}

.lw-ems-header__logo img {
	display: block;
	width: 140px;
	height: 72px;
	object-fit: cover;
}

@media (max-width: 767px) {
	.lw-ems-header {
		height: 56px;
		background-size: auto 100%;
	}

	.lw-ems-header__logo img {
		width: 109px;
		height: 56px;
	}
}

/* =====================================================================
   SEITENLEISTE: Menü (früher Pro „WordPress Menu“, vertikal)
   ===================================================================== */

.lw-sidebar-menu ul.menu,
.lw-sidebar-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lw-sidebar-menu li {
	margin: 0 0 21px;
	padding: 0;
}

.lw-sidebar-menu a {
	display: block;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
	color: var(--lw-blue);
	text-decoration: none;
}

.lw-sidebar-menu a:hover,
.lw-sidebar-menu a:focus {
	color: var(--lw-blue-dark);
	text-decoration: underline;
}

.lw-sidebar-menu .current-menu-item > a,
.lw-sidebar-menu .current_page_item > a {
	background: var(--lw-blue);
	color: #fff;
	padding: 0 4px;
	border-radius: 3px;
	text-decoration: none;
}

/* =====================================================================
   SUCHE (früher Pro „Suchformular“)
   ===================================================================== */

.lw-search .search-form,
.lw-404 .search-form {
	display: flex;
	align-items: center;
	margin: 0;
}

.lw-search .search-form label {
	flex: 1;
	margin: 0;
}

.lw-search .search-field {
	width: 100%;
	height: 38px;
	padding: 6px 12px 6px 40px;
	font-size: 15px;
	color: #54595f;
	background: #f2f2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%2354595f' d='M505 442.7 405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3E%3C/svg%3E") no-repeat 14px center / 15px 15px;
	border: 1px solid #7a7a7a;
	border-radius: 10px;
}

/* Such-Button ausblenden: Enter sendet ab, wie beim bisherigen Pro-Feld */
.lw-search .search-submit {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* =====================================================================
   FOOTER
   ===================================================================== */

.lw-ems-footer {
	font-family: Poppins, sans-serif;
	color: var(--lw-blue-dark);
}

.lw-ems-footer__main {
	background: #fff;
	padding: 28px 112px;
}

.lw-ems-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	max-width: 1176px;
	margin: 0 auto;
}

.lw-ems-footer__logo img {
	display: block;
	width: 105px;
	height: auto;
}

.lw-ems-footer__info {
	min-width: 207px;
	line-height: 1.4;
}

.lw-ems-footer__name {
	display: block;
	font-size: 24px;
	font-weight: 400;
}

.lw-ems-footer__site {
	display: block;
	font-size: 18.67px;
	font-weight: 400;
}

.lw-ems-footer__info hr {
	margin: 10px 0 6px;
	border: 0;
	border-top: 1px solid #808080;
}

.lw-ems-footer__info a {
	display: block;
	font-size: 18.67px;
	color: var(--lw-blue);
	text-decoration: none;
	margin-bottom: 10px;
}

.lw-ems-footer__info a:hover,
.lw-ems-footer__info a:focus {
	text-decoration: underline;
}

.lw-ems-footer__bar {
	background: var(--lw-bar);
	color: #fff;
	font-weight: 300;
	text-align: center;
	padding: 10px 16px;
}

.lw-ems-footer__bar p {
	margin: 0;
}

@media (max-width: 767px) {
	.lw-ems-footer__main {
		padding: 28px 20px;
	}

	.lw-ems-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =====================================================================
   404
   ===================================================================== */

.lw-404 {
	max-width: 760px;
	margin: 0 auto;
	padding: 64px 16px 80px;
	text-align: center;
	font-family: Roboto, sans-serif;
}

.lw-404__code {
	font-size: clamp(4rem, 15vw, 8rem);
	font-weight: 700;
	line-height: 1;
	margin: 0 0 8px;
	color: var(--lw-blue);
}

.lw-404 h1 {
	color: var(--lw-blue);
	margin: 0 0 16px;
}

.lw-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 24px 0 32px;
}

.lw-404__links a {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 4px;
	background: var(--lw-blue);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}
