/*
Theme Name: Schafer Law Hello Child
Description: Update-safe Schafer Law header for the Hello Elementor theme.
Author: Schafer Law
Template: hello-elementor
Version: 1.0.2
Text Domain: schaferlaw-hello-child
*/

:root {
	--schafer-blue: #075b75;
	--schafer-orange: #f56b20;
	--schafer-ink: #17212a;
	--schafer-muted: #52606b;
	--schafer-border: #e4e8eb;
}

#site-header.schafer-site-header {
	background: #fff;
	box-shadow: 0 2px 14px rgb(10 35 50 / 8%);
	display: block;
	position: relative;
	width: 100%;
	z-index: 20;
}

.schafer-site-header .header-inner {
	margin: 0 auto;
	max-width: 1200px;
	padding-left: 24px;
	padding-right: 24px;
}

.schafer-topbar {
	background: var(--schafer-blue);
	color: #fff;
	font-size: 14px;
}

.schafer-topbar-inner,
.schafer-main-header,
.schafer-header-contact,
.schafer-header-actions {
	align-items: center;
	display: flex;
}

.schafer-topbar-inner {
	justify-content: space-between;
	min-height: 38px;
	width: 100%;
}

.schafer-header-contact,
.schafer-header-actions {
	flex-wrap: wrap;
	gap: 10px 22px;
}

.schafer-header-actions {
	justify-content: flex-end;
	margin-left: auto;
}

.schafer-site-header a {
	text-decoration: none;
}

.schafer-topbar a {
	color: #fff;
}

.schafer-topbar a:hover,
.schafer-topbar a:focus-visible {
	text-decoration: underline;
}

.schafer-main-header {
	gap: 24px;
	justify-content: space-between;
	min-height: 104px;
	padding-bottom: 14px;
	padding-top: 14px;
	width: 100%;
}

.schafer-branding {
	flex: 0 1 250px;
}

.schafer-branding img {
	display: block;
	height: auto;
	max-height: 82px;
	max-width: 230px;
	width: auto;
}

.schafer-site-header .site-navigation {
	margin-left: auto;
}

.schafer-site-header .site-navigation ul.menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.schafer-site-header .site-navigation a {
	color: var(--schafer-ink);
	font-weight: 600;
}

.schafer-site-header .site-navigation a:hover,
.schafer-site-header .site-navigation a:focus-visible {
	color: var(--schafer-blue);
}

.schafer-phone {
	color: var(--schafer-blue);
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
}

.schafer-contact-button {
	background: var(--schafer-orange);
	border: 2px solid var(--schafer-orange);
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
	padding: 11px 17px;
	white-space: nowrap;
}

.schafer-contact-button:hover,
.schafer-contact-button:focus-visible {
	background: #fff;
	color: #a63c00;
}

.schafer-site-header a:focus-visible,
.schafer-site-header button:focus-visible,
.schafer-site-header select:focus-visible {
	outline: 3px solid var(--schafer-orange);
	outline-offset: 3px;
}

.schafer-site-header .site-navigation-dropdown {
	background: #fff;
	border-top: 1px solid var(--schafer-border);
}

@media (max-width: 1024px) {
	.schafer-main-header {
		min-height: 88px;
	}

	.schafer-header-actions {
		gap: 10px;
	}

	.schafer-branding img {
		max-height: 68px;
		max-width: 190px;
	}
}

@media (max-width: 767px) {
	.schafer-site-header .header-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.schafer-topbar-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
		padding-bottom: 9px;
		padding-top: 9px;
	}

	.schafer-header-contact,
	.schafer-header-actions {
		gap: 6px 14px;
	}

	.schafer-main-header {
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
		min-height: 82px;
	}

	.schafer-branding {
		flex-basis: auto;
	}

	.schafer-branding img {
		max-height: 62px;
		max-width: 165px;
	}

	.schafer-main-header > .site-navigation,
	.schafer-main-header > .schafer-header-actions .schafer-contact-button {
		display: none;
	}

	.schafer-phone {
		font-size: 16px;
	}

	.schafer-site-header .site-navigation-toggle-holder {
		margin-left: auto;
	}
}

@media (max-width: 420px) {
	.schafer-topbar .schafer-hours {
		display: none;
	}

	.schafer-main-header {
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.schafer-branding img {
		max-width: 145px;
	}
}
