/* =========================================================
Peninei Halakha - Pilot Header
========================================================= */
:root {
	--ph-pilot-header-height: 72px;
	--ph-pilot-header-max-width: 1440px;
	--ph-pilot-red: #891202;
	--ph-pilot-text: #222;
	--ph-pilot-border: #d8d8d8;
	--ph-books-panel-width: 1140px;
	--ph-pilot-mobile-breakpoint: 960px;
}
/* =========================================================
Header shell
========================================================= */
.ph-pilot-header {
	position: sticky;
	top: 0;
	z-index: 9000;
	width: 100%;
	margin-bottom: 42px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.ph-pilot-header__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--ph-pilot-header-max-width);
	min-height: var(--ph-pilot-header-height);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 28px;
}
/* =========================================================
Top announcement
========================================================= */
.ph-pilot-announcement {
	background: #fff;
	border-bottom: 1px solid #eee;
}
.ph-pilot-announcement__inner {
	box-sizing: border-box;
	min-height: 38px;
	padding: 7px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #222;
	font-size: 16px;
	line-height: 1.4;
	overflow-x: auto;
	overflow-y: hidden;
	text-align: center;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	touch-action: pan-x;
}
.ph-pilot-announcement__inner::-webkit-scrollbar {
	display: none;
}
body.ph-pilot-header-active {
	margin-top: 0 !important;
}
/* =========================================================
Logo
========================================================= */
.ph-pilot-logo {
	flex: 0 1 auto;
	min-width: 0;
}
.ph-pilot-logo a {
	display: block;
	color: var(--ph-pilot-red);
	text-decoration: none;
	font-family: "Margaliot-aaa", "Noto Serif Hebrew", Georgia, serif;
	font-size: clamp(34px, 3.2vw, 48px);
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}
/* =========================================================
Search
========================================================= */
.ph-pilot-search {
	flex: 0 1 290px;
}
.ph-pilot-search form {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	align-items: center;
	border: 2px solid #999;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
.ph-pilot-search input[type="search"] {
	box-sizing: border-box;
	min-width: 0;
	width: 100%;
	padding: 8px 14px;
	border: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	color: #555;
	text-align: center;
}
.ph-pilot-search button {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #eee;
	color: #111;
	cursor: pointer;
}
.ph-pilot-search button svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}
/* =========================================================
Desktop menu
========================================================= */
.ph-pilot-desktop-menu {
	flex: 0 1 auto;
}
.ph-pilot-menu,
.ph-pilot-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ph-pilot-menu {
	display: flex;
	align-items: center;
	gap: 28px;
}
.ph-pilot-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}
.ph-pilot-menu > li > a {
	position: relative;
	display: block;
	padding: 10px 0;
	color: var(--ph-pilot-red);
	font-size: 18px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
.ph-pilot-menu > li.menu-item-has-children > a {
	padding-inline-end: 18px;
}
.ph-pilot-menu > li.menu-item-has-children > a::after {
	content: "";
	position: absolute;
	inset-inline-end: 2px;
	top: 50%;
	width: 0;
	height: 0;
	border-inline-start: 5px solid transparent;
	border-inline-end: 5px solid transparent;
	border-top: 6px solid currentColor;
	transform: translateY(-20%);
}
.ph-pilot-menu > li > .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 2px);
	inset-inline-start: 50%;
	width: max-content;
	min-width: 230px;
	max-width: 360px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--ph-pilot-border);
	box-shadow: 0 4px 14px rgba(0,0,0,.18);
	z-index: 10020;
}
html[dir="rtl"]
.ph-pilot-menu > li > .sub-menu {
	transform: translateX(50%);
}
html:not([dir="rtl"])
.ph-pilot-menu > li > .sub-menu {
	transform: translateX(-50%);
}
.ph-pilot-menu > li:hover > .sub-menu,
.ph-pilot-menu > li:focus-within > .sub-menu {
	display: block;
}
.ph-pilot-menu > li > .sub-menu::before {
	content: "";
	position: absolute;
	top: -8px;
	inset-inline-start: 0;
	width: 100%;
	height: 8px;
}
.ph-pilot-menu
.sub-menu li {
	width: 100%;
	margin: 0;
	padding: 0;
}
.ph-pilot-menu
.sub-menu a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 10px 16px;
	color: #333;
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 1px solid #eee;
}
.ph-pilot-menu
.sub-menu li:last-child > a {
	border-bottom: 0;
}
.ph-pilot-menu
.sub-menu a:hover,
.ph-pilot-menu
.sub-menu a:focus {
	background: #f5f5f5;
}
/* =========================================================
Languages
========================================================= */
.ph-pilot-languages {
	position: relative;
	flex: 0 0 auto;
}
.ph-pilot-languages-toggle {
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #222;
	cursor: pointer;
}
.ph-pilot-languages-toggle:focus,
.ph-pilot-languages-toggle:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}
.ph-pilot-languages-toggle svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ph-pilot-languages-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	inset-inline-end: 0;
	min-width: 135px;
	background: #fff;
	border: 1px solid var(--ph-pilot-border);
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
	z-index: 10050;
}
.ph-pilot-languages.is-open
.ph-pilot-languages-dropdown {
	display: block;
}
.ph-pilot-languages-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ph-pilot-languages-menu li {
	margin: 0;
	padding: 0;
}
.ph-pilot-languages-menu a {
	display: block;
	padding: 9px 13px;
	color: #222;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	text-align: center;
}
.ph-pilot-languages-menu a:hover,
.ph-pilot-languages-menu a:focus {
	background: #f3f3f3;
}
/* =========================================================
Optional account button
========================================================= */
.ph-pilot-account {
	flex: 0 0 auto;
}
.ph-pilot-account a {
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #222;
	border-radius: 50%;
	color: #222;
	text-decoration: none;
}
.ph-pilot-account svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
/* =========================================================
Books trigger
========================================================= */
.ph-pilot-books {
	position: absolute;
	top: calc(100% - 1px);
	inset-inline-start: max( 10px, calc((100vw - var(--ph-books-panel-width)) / 2) );
	z-index: 10010;
}
.ph-pilot-books .smm-trigger-bar {
	border-radius: 0 0 8px 8px;
}
/* =========================================================
Mobile header
Breakpoint setting: --ph-pilot-mobile-breakpoint, 960px
========================================================= */
.ph-pilot-mobile-bar,
.ph-pilot-mobile-menu,
.ph-pilot-mobile-search {
	display: none;
}
.ph-pilot-mobile-bar button,
.ph-pilot-mobile-menu button,
.ph-pilot-mobile-search button {
	font: inherit;
}
.ph-pilot-mobile-bar svg,
.ph-pilot-mobile-menu svg,
.ph-pilot-mobile-search svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
body.ph-pilot-mobile-lock {
	overflow: hidden;
}
/* =========================================================
Accessibility
========================================================= */
#pojo-a11y-toolbar {
	z-index: 200000 !important;
}
/* =========================================================
Desktop compression only
Mobile header will be built separately
========================================================= */
@media (max-width: 1000px) {
.ph-pilot-header__inner {
	gap: 15px;
}
.ph-pilot-menu {
	gap: 16px;
}
.ph-pilot-menu > li > a {
	font-size: 16px;
}
.ph-pilot-search {
	flex-basis: 230px;
}
}
@media (max-width: 960px) {
.ph-pilot-header {
	margin-bottom: 0;
}
.ph-pilot-header > .ph-pilot-header__inner,
.ph-pilot-header__inner > .ph-pilot-logo,
.ph-pilot-header__inner > .ph-pilot-search,
.ph-pilot-header__inner > .ph-pilot-desktop-menu,
.ph-pilot-header__inner > .ph-pilot-languages,
.ph-pilot-header__inner > .ph-pilot-account {
	display: none !important;
}
.ph-pilot-announcement__inner {
	justify-content: flex-start;
}
.ph-pilot-mobile-bar {
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	padding-inline: 8px 104px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	direction: rtl;
	gap: 4px;
	background: #fff;
}
.ph-pilot-mobile-search-toggle,
.ph-pilot-mobile-languages-toggle,
.ph-pilot-mobile-menu-toggle,
.ph-pilot-mobile-menu-close,
.ph-pilot-mobile-search-close {
	box-sizing: border-box;
	width: 34px;
	height: 42px;
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #222;
	cursor: pointer;
}
.ph-pilot-mobile-search-toggle:focus,
.ph-pilot-mobile-search-toggle:focus-visible,
.ph-pilot-mobile-languages-toggle:focus,
.ph-pilot-mobile-languages-toggle:focus-visible,
.ph-pilot-mobile-menu-toggle:focus,
.ph-pilot-mobile-menu-toggle:focus-visible,
.ph-pilot-mobile-menu-close:focus,
.ph-pilot-mobile-menu-close:focus-visible,
.ph-pilot-mobile-search-close:focus,
.ph-pilot-mobile-search-close:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}
.ph-pilot-mobile-search-toggle svg,
.ph-pilot-mobile-languages-toggle svg,
.ph-pilot-mobile-menu-toggle svg,
.ph-pilot-mobile-menu-close svg,
.ph-pilot-mobile-search-close svg {
	width: 27px;
	height: 27px;
}
.ph-pilot-mobile-menu-toggle {
	order: 1;
}
.ph-pilot-mobile-logo {
	order: 2;
}
.ph-pilot-mobile-languages {
	order: 3;
}
.ph-pilot-mobile-search-toggle {
	order: 4;
}
.ph-pilot-mobile-logo {
	min-width: max-content;
	font-family: "Margaliot-aaa", "Noto Serif Hebrew", Georgia, serif;
	text-align: center;
}
.ph-pilot-mobile-logo a {
	display: block;
	overflow: visible;
	color: var(--ph-pilot-red);
	text-decoration: none;
	font-family: "Margaliot-aaa", "Noto Serif Hebrew", Georgia, serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1;
	text-overflow: clip;
	white-space: nowrap;
}
.ph-pilot-mobile-languages {
	position: relative;
}
.ph-pilot-mobile-languages-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 7px);
	inset-inline-start: 50%;
	min-width: 135px;
	background: #fff;
	border: 1px solid var(--ph-pilot-border);
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
	z-index: 10050;
}
html[dir="rtl"]
.ph-pilot-mobile-languages-dropdown {
	transform: translateX(50%);
}
html:not([dir="rtl"])
.ph-pilot-mobile-languages-dropdown {
	transform: translateX(-50%);
}
.ph-pilot-mobile-languages.is-open
.ph-pilot-mobile-languages-dropdown {
	display: block;
}
.ph-pilot-mobile-languages-menu,
.ph-pilot-mobile-menu-list,
.ph-pilot-mobile-menu-list ul,
.ph-pilot-mobile-menu-languages-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ph-pilot-mobile-languages-menu li,
.ph-pilot-mobile-menu-list li,
.ph-pilot-mobile-menu-languages-list li {
	margin: 0;
	padding: 0;
}
.ph-pilot-mobile-languages-menu a {
	display: block;
	padding: 9px 13px;
	color: #222;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
.ph-pilot-mobile-languages-menu a:hover,
.ph-pilot-mobile-languages-menu a:focus {
	background: #f3f3f3;
}
.ph-pilot-mobile-menu,
.ph-pilot-mobile-search {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.32);
	z-index: 100000;
}
.ph-pilot-mobile-menu.is-open,
.ph-pilot-mobile-search.is-open {
	display: block;
}
.ph-pilot-mobile-menu__panel,
.ph-pilot-mobile-search__panel {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(86vw, 360px);
	padding: 14px;
	overflow-y: auto;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0,0,0,.22);
}
html[dir="rtl"]
.ph-pilot-mobile-menu__panel,
html[dir="rtl"]
.ph-pilot-mobile-search__panel {
	left: 0;
}
html:not([dir="rtl"])
.ph-pilot-mobile-menu__panel,
html:not([dir="rtl"])
.ph-pilot-mobile-search__panel {
	right: 0;
}
.ph-pilot-mobile-menu-close,
.ph-pilot-mobile-search-close {
	margin-bottom: 12px;
}
.ph-pilot-mobile-menu-list a {
	display: block;
	padding: 12px 4px;
	color: var(--ph-pilot-red);
	font-size: 18px;
	line-height: 1.25;
	text-decoration: none;
}
.ph-pilot-mobile-menu-list .sub-menu a {
	padding-inline-start: 18px;
	color: #333;
	font-size: 15px;
}
.ph-pilot-mobile-menu-list > li,
.ph-pilot-mobile-menu-languages {
	border-bottom: 1px solid #eee;
}
.ph-pilot-mobile-menu-languages {
	padding-top: 10px;
	padding-bottom: 4px;
}
.ph-pilot-mobile-menu-languages-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}
.ph-pilot-mobile-menu-languages-list a {
	display: block;
	padding: 8px 0;
	color: #222;
	font-size: 15px;
	text-decoration: none;
}
.ph-pilot-mobile-search__panel {
	width: 100%;
	height: auto;
	bottom: auto;
	padding: 14px 14px 20px;
}
.ph-pilot-mobile-search form {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	align-items: center;
	border: 2px solid #999;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
.ph-pilot-mobile-search input[type="search"] {
	box-sizing: border-box;
	min-width: 0;
	width: 100%;
	padding: 11px 14px;
	border: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	color: #555;
	text-align: center;
}
.ph-pilot-mobile-search form button[type="submit"] {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #eee;
	color: #111;
	cursor: pointer;
}
.ph-pilot-mobile-search form button[type="submit"] svg {
	width: 18px;
	height: 18px;
}
.ph-pilot-books {
	position: absolute;
	inset-block-start: 7px;
	inset-block-end: auto;
	inset-inline-start: auto;
	inset-inline-end: 8px;
	height: auto;
	display: flex;
	align-items: center;
}
.ph-pilot-books .smm-trigger-bar {
	box-sizing: border-box;
	max-width: 96px;
	min-height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}
.smm-main-component-container.smm-skin-peninei-dense .smm-trigger-btn {
	gap: 4px;
	padding-block: 4px;
	padding-inline-start: 2px;
	padding-inline-end: 2px;
	border-radius: 24px;
	display: flex;
	align-items: center;
	font-family: "ploni-aaa", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 21px;
	min-height: 34px;
}
.ph-pilot-books .smm-trigger-btn-icon-bg {
	width: 16px;
	height: 16px;
	flex: 0 0 25px;
}
}
@media screen and (max-width: 800px) {
.ph-pilot-books .smm-main-component-container.smm-skin-peninei-dense .smm-trigger-btn {
	gap: 4px !important;
	padding-block: 4px;
	padding-inline-start: 2px !important;
	padding-inline-end: 2px !important;
	border-radius: 24px !important;
	font-family: "ploni-aaa", Sans-serif;
	font-size: 16px;
	font-weight: 500;
}
.ph-pilot-books .smm-main-component-container.smm-dropdown-is-active .smm-trigger-btn,
.ph-pilot-books .smm-main-component-container.smm-dropdown-is-active .smm-trigger-bar {
	border-radius: 0 !important;
}
.ph-pilot-books .smm-main-component-container.smm-dropdown-is-active .smm-wrapper {
	margin-top: 0 !important;
	margin-block-start: 0 !important;
}
}
