/* Header-only theme shell. Keep page and Elementor component rules out of this file. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 12px;
	inset-inline-start: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	overflow: visible;
	background: #17202a;
	color: #fff;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
	background: #fff;
	border-bottom: 1px solid #d9e0e8;
}

.admin-bar .site-header { top: 32px; }

.site-header__inner {
	width: min(100%, 1180px);
	min-height: 72px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 32px);
	display: flex;
	align-items: center;
	gap: 24px;
	box-sizing: border-box;
}

.site-branding {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
}

.site-branding .custom-logo-link {
	display: inline-flex;
	max-width: 220px;
}

.site-branding .custom-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 52px;
}

.site-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 auto;
	min-width: 0;
}

.site-header__actions {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.language-switcher { position: relative; }

.language-switcher__toggle {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid #d9e0e8;
	border-radius: 6px;
	color: #17202a;
	background: #fff;
}

.language-switcher__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.language-switcher__menu[hidden] { display: none; }

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 820px) {
	.site-header__inner {
		min-height: 64px;
		padding-inline: 16px;
		gap: 12px;
	}

	.site-branding { flex: 1 1 0; }

	.site-branding .custom-logo {
		max-width: min(180px, 100%);
		max-height: 48px;
	}

	.site-navigation {
		flex: 0 0 44px;
		min-width: 44px;
	}
}
