.school-site-header,
.school-site-header * {
	box-sizing: border-box;
}

html,
body,
#page {
	max-width: 100%;
	overflow-x: hidden;
}

@supports (overflow: clip) {
	html,
	body,
	#page {
		overflow-x: clip;
	}
}

.school-site-header {
	--SG70: #9a9a9a;
	--VT100: #00afaa;
	--Black-B0: #fff;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	background: #fff;
	transition: box-shadow 180ms ease;
}

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

.school-site-header.is-scrolled {
	box-shadow: 0 6px 22px rgba(0, 48, 46, 0.14);
}

.school-header-spacer {
	height: var(--school-header-height, 68px);
}

.school-header__inner {
	display: flex;
	width: 100%;
	min-height: 68px;
	padding-top: 12px;
	padding-bottom: 12px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.school-header__brand {
	display: inline-flex;
	margin-right: auto;
	min-width: 0;
	align-items: center;
	text-decoration: none;
}

.school-header__logo {
	display: block;
}

.school-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--SG70, #9a9a9a);
	border-radius: 8px;
	background: #fff;
	color: var(--VT100, #00afaa);
	cursor: pointer;
}

.school-header__toggle-lines {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

.school-header__toggle-lines span {
	position: absolute;
	right: 0;
	left: 0;
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.school-header__toggle-lines span:nth-child(1) {
	top: 0;
}

.school-header__toggle-lines span:nth-child(2) {
	top: 6px;
}

.school-header__toggle-lines span:nth-child(3) {
	top: 12px;
}

.school-site-header.is-menu-open .school-header__toggle-lines span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.school-site-header.is-menu-open .school-header__toggle-lines span:nth-child(2) {
	opacity: 0;
}

.school-site-header.is-menu-open .school-header__toggle-lines span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.school-header__actions {
	display: flex;
	margin-left: auto;
	align-items: stretch;
	gap: 12px;
}

.school-header__language,
.school-header__language:visited,
.school-header__tour,
.school-header__tour:visited {
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.school-header__language,
.school-header__language:visited {
	padding: 12px 20px;
	gap: 10px;
	align-self: stretch;
	border: 1px solid var(--SG70, #fff);
	border-radius: 8px;
	background: #fff;
	color: var(--SG70, #fff);
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.school-header__tour,
.school-header__tour:visited {
	padding: 12px 16px;
	gap: 12px;
	border-radius: 8px;
	background: var(--VT100, #00afaa);
	color: var(--Black-B0, #fff);
	text-align: center;
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
}

.school-header__language:hover {
	border-color: #707070;
	background: #f7f7f7;
	color: #707070;
}

.school-header__tour:hover {
	background: #A363FF;
	color: #fff;
}

.school-header__language:focus-visible,
.school-header__tour:focus-visible,
.school-header__toggle:focus-visible,
.school-header__brand:focus-visible {
	outline: 3px solid rgba(0, 175, 170, 0.32);
	outline-offset: 3px;
}

.school-header__language:active,
.school-header__tour:active {
	transform: translateY(1px);
}

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

	.school-header__inner {
		gap: 18px;
	}

	.school-header__logo {
		width: 180px;
	}

	.school-header__actions {
		gap: 8px;
	}

	.school-header__language,
	.school-header__tour {
		padding: 10px 14px;
		font-size: 14px;
	}
}

@media (max-width: 520px) {
	.school-header__inner {
		flex-wrap: wrap;
		max-width: 100%;
		padding-top: 10px;
		padding-bottom: 10px;
		column-gap: 12px;
		row-gap: 0;
	}

	.school-header__brand {
		width: auto;
		min-width: 0;
		margin-right: auto;
		flex: 0 1 auto;
		justify-content: flex-start;
	}

	.school-header__logo {
		width: clamp(150px, 48vw, 170px);
		max-width: 100%;
	}

	.school-header__toggle {
		display: flex;
	}

	.school-header__actions {
		display: flex;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		max-height: 0;
		margin-left: 0;
		flex: 0 0 100%;
		gap: 8px;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-6px);
		transition: max-height 220ms ease, margin-top 220ms ease, opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
	}

	.school-site-header.is-menu-open .school-header__actions {
		max-height: 56px;
		margin-top: 10px;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
		transition-delay: 0s;
	}

	.school-header__language {
		padding: 10px 14px;
		flex: 0 0 auto;
		font-size: 14px;
	}

	.school-header__tour {
		min-width: 0;
		padding: 10px 14px;
		flex: 1 1 auto;
		font-size: 14px;
		line-height: 20px;
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.school-site-header,
	.school-header__language,
	.school-header__tour,
	.school-header__actions,
	.school-header__toggle-lines span {
		transition: none;
	}
}

/* WPML / WordPress RTL layout. */
:is(html[dir="rtl"], body.rtl) .school-site-header,
:is(html[dir="rtl"], body.rtl) .school-site-header * {
	font-family: "Almarai", Arial, sans-serif !important;
}

:is(html[dir="rtl"], body.rtl) .school-site-header {
	direction: rtl;
	text-align: right;
}

:is(html[dir="rtl"], body.rtl) .school-header__brand {
	margin-right: 0;
	margin-left: auto;
}

:is(html[dir="rtl"], body.rtl) .school-header__actions {
	margin-right: auto;
	margin-left: 0;
}

@media (max-width: 520px) {
	:is(html[dir="rtl"], body.rtl) .school-header__brand {
		margin-right: 0;
		margin-left: auto;
	}

	:is(html[dir="rtl"], body.rtl) .school-header__actions {
		margin-right: 0;
		margin-left: 0;
	}
}
