/*
Theme Name: Jana Pikovski Native
Theme URI: https://jana-pikovski.co.il/
Update URI: false
Author: Jana Pikovski
Description: ערכת נושא עצמאית ומדויקת לאתר ז׳אנה פיקובסקי, ללא תלות בבונה עמודים או בתוספי עיצוב וסליידרים.
Version: 1.0.16
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: jana-pikovski-native
*/

:root {
	--jana-black: #050505;
	--jana-surface: #131313;
	--jana-blue: #4d81b3;
	--jana-blue-light: #6aa0d2;
	--jana-gold: #f6cb64;
	--jana-white: #fff;
	--jana-header-height: 86px;
	--jana-content-width: 1140px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: #fff;
	background: #fff;
	font-family: "Heebo", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
	font-family: "Heebo", Arial, sans-serif;
}

body.jana-home {
	background: #111;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
[role="button"] {
	cursor: pointer;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 3px solid #8fc5f5;
	outline-offset: 4px;
}

body.jana-menu-open {
	overflow: hidden;
}

/* The theme includes its own WhatsApp control; suppress a legacy duplicate. */
body.jana-native-theme .joinchat {
	display: none !important;
}

.site-shell {
	position: relative;
	width: 100%;
	min-height: 100vh;
	margin: 0 auto;
	overflow: clip;
	background: #000;
}

.jana-boxed .site-shell {
	width: 100%;
	background: #fff;
}

.jana-boxed .site-main > :where(.rd-business-page, .rd-podcast-page, .rd-media-page, .rd-services-slider, .jana-generic-content) {
	width: 100%;
	margin: 0;
}

.jana-boxed .rd-contact-divider {
	width: 100%;
	margin: 0;
}

.site-main {
	min-height: 60vh;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 12px;
	right: 12px;
	z-index: 1000000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	color: #000;
	background: #fff;
	border-radius: 8px;
}

/* Header */
.rd-dynamic-header,
.rd-dynamic-header * {
	box-sizing: border-box;
}

.rd-dynamic-mobile-header,
.rd-dynamic-mobile-panel {
	display: none;
}

.rd-dynamic-desktop-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 999999;
	min-height: var(--jana-header-height);
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: center;
	gap: 22px;
	padding: 14px 28px;
	direction: rtl;
	background: linear-gradient(180deg, rgba(0, 0, 0, .98), rgba(0, 0, 0, .82) 72%, transparent);
}

.admin-bar .rd-dynamic-desktop-header,
.admin-bar .rd-dynamic-mobile-header {
	top: 32px;
}

.rd-dynamic-logo {
	color: #fff !important;
	font-family: "Heebo", Arial, sans-serif;
	font-size: 30px;
	font-weight: 950;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
}

.rd-dynamic-desktop-logo {
	justify-self: end;
}

.rd-dynamic-desktop-menu,
.rd-dynamic-mobile-menu,
.rd-dynamic-desktop-menu ul,
.rd-dynamic-mobile-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rd-dynamic-desktop-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 1.45vw, 28px);
}

.rd-dynamic-desktop-menu li {
	position: relative;
}

.rd-dynamic-desktop-menu > .menu-item-has-children::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	height: 24px;
}

.rd-dynamic-desktop-menu > li > a {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	color: #fff !important;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.08;
	text-align: center;
	text-decoration: none !important;
	border: 1px solid transparent;
	border-radius: 8px;
	transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.rd-dynamic-desktop-menu > li:hover > a,
.rd-dynamic-desktop-menu > li:focus-within > a {
	border-color: rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(12px);
	transform: translateY(-1px);
}

.rd-dynamic-desktop-menu .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	right: 50%;
	width: 290px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 24px;
	background: rgba(8, 8, 8, .9);
	backdrop-filter: blur(24px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(50%, 18px) scale(.96);
	transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.rd-dynamic-desktop-menu li:hover > .sub-menu,
.rd-dynamic-desktop-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(50%, 0) scale(1);
}

.rd-dynamic-desktop-menu .sub-menu a {
	position: relative;
	isolation: isolate;
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	padding: 12px 20px;
	color: #fff !important;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.05;
	text-align: center;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	overflow: hidden;
}

.rd-dynamic-desktop-menu .sub-menu a::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 16px;
	right: 16px;
	top: 50%;
	height: 42px;
	transform: translateY(-50%);
	background: var(--jana-blue);
	-webkit-mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
	mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
}

.rd-dynamic-contact {
	color: #fff !important;
	background: var(--jana-blue);
	font-weight: 900;
	line-height: 1;
	text-decoration: none !important;
	-webkit-mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
	mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
}

.rd-dynamic-desktop-contact {
	justify-self: start;
	width: 158px;
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

/* Homepage structure */
.jana-home .site-main {
	background: #131313;
}

.home-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	overflow: hidden;
	background: #131313;
}

.home-hero-frame {
	position: relative;
	width: 100%;
	max-width: none;
	height: clamp(551px, 45.5vw, 621px);
	min-height: 551px;
	background: url("assets/images/hero-auditorium.png") left top / 100% auto no-repeat;
	overflow: hidden;
}

.home-hero-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #131111;
	opacity: .63;
	mix-blend-mode: exclusion;
	pointer-events: none;
}

.home-hero-copy-slot {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 10px;
	width: calc(50% - 20px);
	height: 100%;
}

.home-hero .rd-hero-title {
	font-size: 50px;
	font-family: "Assistant", "Heebo", sans-serif;
}

.home-running-slot {
	position: absolute;
	z-index: 3;
	right: 0;
	left: 0;
	bottom: -8px;
	overflow: hidden;
}

.rd-mobile-hero {
	display: none;
}

.home-about {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #131313;
}

.home-about-inner {
	width: min(1050px, 100%);
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0 auto;
}

.home-about .rd-about-wrap {
	margin-top: -71px;
}

.home-slider-section {
	min-height: 100svh;
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 0;
	background: #131313;
	overflow: hidden;
}

.home-slider-section > .rd-master-slider {
	width: 100%;
	max-width: none;
}

.home-slider-section--compact {
	min-height: 940px;
}

.jana-home .rd-master-slider,
.jana-home .rd-master-slider * {
	font-family: "Heebo", Arial, sans-serif;
}

.home-mission {
	min-height: 900px;
	display: flex;
	align-items: stretch;
	justify-content: center;
	background: #050505;
}

.home-mission .rd-mission-split {
	width: 100%;
	max-width: none;
}

.home-blog {
	width: 100%;
	min-height: 742px;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: 0;
	background: #000;
}

.home-blog > .rd-blog-heading,
.home-blog > .rd-posts-slider {
	width: 100%;
	max-width: none;
	margin-right: auto;
	margin-left: auto;
}

.home-blog .rd-blog-heading {
	margin: 0 auto 22px;
}

.jana-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.jana-form-message {
	margin: 0;
	text-align: center;
	font-weight: 700;
}

.jana-form-message--success {
	color: #8ee0a8;
}

.jana-form-message--error {
	color: #ff9c9c;
}

.site-footer {
	min-height: 112px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 22px 24px 18px;
	color: #c1c1c1;
	background: #111827;
	text-align: center;
}

.site-footer__nav {
	width: 100%;
}

.site-footer-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer-menu a {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.site-footer-menu a:hover,
.site-footer-menu a:focus-visible {
	color: #f6cb64;
}

.site-footer__credit {
	margin: 0;
	font-family: "Assistant", "Heebo", sans-serif;
	font-size: 13px;
	line-height: 1;
}

.site-footer a {
	color: #b6b6b6;
	text-decoration: none;
}

/* Generic WordPress content */
.jana-generic-content {
	min-height: calc(100vh - 58px);
	padding: 150px clamp(24px, 7vw, 100px) 90px;
	color: #f8f8f8;
	background: radial-gradient(circle at 70% 20%, rgba(77, 129, 179, .14), transparent 30%), #080808;
}

.jana-generic-content__inner {
	width: min(820px, 100%);
	margin: 0 auto;
}

.jana-generic-content h1 {
	margin: 0 0 34px;
	font-size: clamp(46px, 8vw, 90px);
	font-weight: 900;
	line-height: 1;
}

.jana-generic-content :where(p, li) {
	font-size: 18px;
	line-height: 1.8;
}

.jana-generic-content a {
	color: #8fc5f5;
}

.jana-thanks {
	direction: rtl;
	text-align: center;
	color: #232424;
	background: #fff;
}

.jana-thanks__header {
	width: 100%;
	height: 60px;
}

.jana-thanks__header h1 {
	width: min(var(--jana-content-width), 100%);
	height: 60px;
	margin: 8px auto 16px;
	padding: 0;
	color: #232424;
	font-family: "Assistant", Arial, sans-serif;
	font-size: 50px;
	font-weight: 700;
	line-height: 60px;
}

.jana-thanks__content {
	width: 100%;
	height: 56.48px;
	margin-top: 16px;
}

.jana-thanks__content > div {
	width: min(var(--jana-content-width), 100%);
	height: 56.48px;
	margin: 0 auto;
	padding: 10px;
}

.jana-thanks p {
	margin: 0 0 14.4px;
	font-family: "Heebo", Arial, sans-serif;
	font-size: 17px;
	line-height: 22.08px;
}

/* Floating utilities */
.jana-whatsapp {
	position: fixed;
	z-index: 99990;
	bottom: 22px;
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	text-decoration: none;
}

.jana-whatsapp {
	right: 43px;
	bottom: 28px;
	width: 60px;
	height: 60px;
	background: #25d366;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(.9);
	transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.jana-whatsapp.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.jana-whatsapp svg {
	width: 35px;
	height: 35px;
	fill: #fff;
}

.jana-whatsapp-popover {
	position: fixed;
	z-index: 99992;
	right: 43px;
	bottom: 96px;
	width: min(330px, calc(100vw - 48px));
	overflow: hidden;
	direction: rtl;
	color: #18221b;
	background: #e9f7ef;
	border-radius: 18px;
	box-shadow: 0 22px 60px rgba(0, 0, 0, .42);
}

.jana-whatsapp-popover[hidden] {
	display: none;
}

.jana-whatsapp-popover__head {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	color: #fff;
	background: #075e54;
}

.jana-whatsapp-popover__head button {
	width: 34px;
	height: 34px;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	font-size: 22px;
}

.jana-whatsapp-popover__body {
	padding: 18px;
	background: linear-gradient(rgba(255, 255, 255, .72), rgba(255, 255, 255, .72)), #d9fdd3;
}

.jana-whatsapp-popover__body p {
	width: max-content;
	max-width: 90%;
	margin: 0 0 16px auto;
	padding: 10px 14px;
	background: #fff;
	border-radius: 5px 14px 14px 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
	font-size: 17px;
}

.jana-whatsapp-popover__body a {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
	background: #25d366;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 1120px) and (min-width: 768px) {
	.site-footer p {
		font-size: 13px;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.home-hero .rd-hero-title {
		font-size: 34px;
	}
}

@media (max-width: 782px) {
	.admin-bar .rd-dynamic-mobile-header,
	.admin-bar .rd-dynamic-mobile-panel {
		top: 46px;
	}
}

@media (max-width: 767px) {
	:root {
		--jana-header-height: 76px;
	}

	body {
		font-size: 16px;
	}

	.jana-boxed .site-shell {
		width: 100%;
	}

	.rd-dynamic-desktop-header {
		display: none;
	}

	.rd-dynamic-mobile-header {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 999999;
		height: 76px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 54px;
		align-items: center;
		gap: 10px;
		padding: 12px 14px;
		direction: rtl;
		background: linear-gradient(180deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, .87) 72%, transparent);
	}

	.rd-dynamic-mobile-header .rd-dynamic-logo {
		grid-column: 1;
		justify-self: start;
		max-width: 132px;
		overflow: hidden;
		font-size: 18px;
		text-overflow: ellipsis;
	}

	.rd-dynamic-mobile-header .rd-dynamic-contact {
		grid-column: 2;
		justify-self: center;
		width: 138px;
		min-height: 48px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 22px;
	}

	.rd-dynamic-toggle {
		grid-column: 2;
		justify-self: end;
		width: 48px;
		height: 48px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		border: 1px solid rgba(255, 255, 255, .16);
		border-radius: 13px;
		background: rgba(255, 255, 255, .12);
		backdrop-filter: blur(18px);
		cursor: pointer;
	}

	.rd-dynamic-toggle span {
		width: 24px;
		height: 3px;
		display: block;
		border-radius: 999px;
		background: #fff;
		transition: transform .28s ease, opacity .28s ease;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-toggle span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-toggle span:nth-child(2) {
		opacity: 0;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-toggle span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	.rd-dynamic-mobile-panel {
		position: fixed;
		inset: 0;
		z-index: 99998;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		padding: 96px 18px 30px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-22px) scale(.98);
		direction: rtl;
		background: radial-gradient(circle at 50% 18%, rgba(77, 129, 179, .18), transparent 36%), linear-gradient(180deg, rgba(0, 0, 0, .98), rgba(8, 8, 8, .97));
		backdrop-filter: blur(24px);
		transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-mobile-panel {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.rd-dynamic-mobile-panel.is-closing {
		opacity: 0 !important;
		visibility: visible !important;
		pointer-events: none !important;
		transform: translateY(-22px) scale(.98) !important;
	}

	.rd-dynamic-mobile-inner {
		width: min(420px, 100%);
	}

	.rd-dynamic-mobile-menu {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.rd-dynamic-mobile-menu a {
		position: relative;
		isolation: isolate;
		min-height: 64px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 14px 18px;
		color: #fff !important;
		font-size: 25px;
		font-weight: 900;
		line-height: 1.08;
		text-align: center;
		text-decoration: none !important;
		border: 1px solid rgba(255, 255, 255, .14);
		border-radius: 14px;
		background: rgba(255, 255, 255, .06);
		overflow: hidden;
		opacity: 0;
		transform: translateY(18px);
		transition: opacity .32s ease, transform .32s ease;
	}

	.rd-dynamic-mobile-menu a::before {
		content: "";
		position: absolute;
		z-index: -1;
		left: 18px;
		right: 18px;
		top: 50%;
		height: 38px;
		transform: translateY(-50%);
		background: var(--jana-blue);
		-webkit-mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
		mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-mobile-panel .rd-dynamic-mobile-menu a {
		opacity: 1;
		transform: translateY(0);
	}

	.rd-dynamic-mobile-menu li:nth-child(1) a { transition-delay: .04s; }
	.rd-dynamic-mobile-menu li:nth-child(2) a { transition-delay: .08s; }
	.rd-dynamic-mobile-menu li:nth-child(3) a { transition-delay: .12s; }
	.rd-dynamic-mobile-menu li:nth-child(4) a { transition-delay: .16s; }
	.rd-dynamic-mobile-menu li:nth-child(5) a { transition-delay: .20s; }
	.rd-dynamic-mobile-menu li:nth-child(6) a { transition-delay: .24s; }

	.rd-dynamic-mobile-menu .sub-menu {
		display: none;
		margin-top: 8px;
	}

	.rd-dynamic-mobile-menu li.is-open > .sub-menu {
		display: grid;
		gap: 8px;
	}

	.rd-sub-toggle {
		width: 38px;
		height: 38px;
		margin: 8px auto 0;
		display: grid;
		place-items: center;
		border: 1px solid rgba(255, 255, 255, .16);
		border-radius: 50%;
		color: #fff;
		background: rgba(255, 255, 255, .08);
	}

	.home-hero {
		display: none;
	}

	.rd-mobile-hero {
		display: block;
	}

	.home-about,
	.home-slider-section,
	.home-mission,
	.home-blog {
		min-height: auto;
	}

	.home-about {
		padding: 0;
	}

	.home-about .rd-divider {
		margin-bottom: -22px;
	}

	.home-about .rd-about-wrap {
		margin-top: -55px;
	}

	.jana-home .rd-mobile-hero {
		min-height: 100svh !important;
		padding-top: 0 !important;
	}

	.jana-home .rd-mobile-hero-image {
		height: calc(100svh - var(--rd-marquee-height)) !important;
	}

	.home-slider-section {
		gap: 20px;
		padding: 0;
	}

	.home-blog {
		min-height: auto;
		padding: 0;
	}

	.site-footer {
		min-height: 132px;
		padding: 20px 16px 18px;
	}

	.site-footer-menu {
		gap: 8px 18px;
	}

	.site-footer-menu a {
		font-size: 14px;
	}

	.site-footer__credit {
		font-size: 12px;
	}

	.jana-whatsapp {
		bottom: 27px;
	}

	.jana-whatsapp {
		right: 14px;
		bottom: 29px;
		width: 60px;
		height: 60px;
	}

	.jana-whatsapp-popover {
		right: 14px;
		bottom: 78px;
		width: calc(100vw - 28px);
	}

}

/* Use the compact navigation before desktop links begin to collide. */
@media (min-width: 768px) and (max-width: 1024px) {
	:root {
		--jana-header-height: 76px;
	}

	.rd-dynamic-desktop-header {
		display: none;
	}

	.rd-dynamic-mobile-header {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 999999;
		height: 76px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 54px;
		align-items: center;
		gap: 10px;
		padding: 12px 20px;
		direction: rtl;
		background: linear-gradient(180deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, .87) 72%, transparent);
	}

	.rd-dynamic-mobile-header .rd-dynamic-logo {
		grid-column: 1;
		justify-self: start;
		max-width: 230px;
		overflow: hidden;
		font-size: 24px;
		text-overflow: ellipsis;
	}

	.rd-dynamic-mobile-header .rd-dynamic-contact {
		grid-column: 2;
		justify-self: center;
		width: 150px;
		min-height: 48px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 22px;
	}

	.rd-dynamic-toggle {
		grid-column: 2;
		justify-self: end;
		width: 48px;
		height: 48px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		border: 1px solid rgba(255, 255, 255, .16);
		border-radius: 13px;
		background: rgba(255, 255, 255, .12);
		backdrop-filter: blur(18px);
	}

	.rd-dynamic-toggle span {
		width: 24px;
		height: 3px;
		display: block;
		border-radius: 999px;
		background: #fff;
		transition: transform .28s ease, opacity .28s ease;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-toggle span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-toggle span:nth-child(2) {
		opacity: 0;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-toggle span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	.rd-dynamic-mobile-panel {
		position: fixed;
		inset: 0;
		z-index: 99998;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		padding: 96px 18px 30px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-22px) scale(.98);
		direction: rtl;
		background: radial-gradient(circle at 50% 18%, rgba(77, 129, 179, .18), transparent 36%), linear-gradient(180deg, rgba(0, 0, 0, .98), rgba(8, 8, 8, .97));
		backdrop-filter: blur(24px);
		transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-mobile-panel {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.rd-dynamic-mobile-panel.is-closing {
		opacity: 0 !important;
		visibility: visible !important;
		pointer-events: none !important;
		transform: translateY(-22px) scale(.98) !important;
	}

	.rd-dynamic-mobile-inner {
		width: min(480px, 100%);
	}

	.rd-dynamic-mobile-menu {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.rd-dynamic-mobile-menu a {
		position: relative;
		isolation: isolate;
		min-height: 64px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 14px 18px;
		color: #fff !important;
		font-size: 25px;
		font-weight: 900;
		line-height: 1.08;
		text-align: center;
		text-decoration: none !important;
		border: 1px solid rgba(255, 255, 255, .14);
		border-radius: 14px;
		background: rgba(255, 255, 255, .06);
		overflow: hidden;
		opacity: 0;
		transform: translateY(18px);
		transition: opacity .32s ease, transform .32s ease;
	}

	.rd-dynamic-mobile-menu a::before {
		content: "";
		position: absolute;
		z-index: -1;
		left: 18px;
		right: 18px;
		top: 50%;
		height: 38px;
		transform: translateY(-50%);
		background: var(--jana-blue);
		-webkit-mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
		mask: url("assets/images/brush.svg") center / 100% 100% no-repeat;
	}

	.rd-dynamic-header.is-menu-open .rd-dynamic-mobile-panel .rd-dynamic-mobile-menu a {
		opacity: 1;
		transform: translateY(0);
	}

	.rd-dynamic-mobile-menu .sub-menu {
		display: none;
		margin-top: 8px;
	}

	.rd-dynamic-mobile-menu li.is-open > .sub-menu {
		display: grid;
		gap: 8px;
	}

	.rd-sub-toggle {
		width: 38px;
		height: 38px;
		margin: 8px auto 0;
		display: grid;
		place-items: center;
		border: 1px solid rgba(255, 255, 255, .16);
		border-radius: 50%;
		color: #fff;
		background: rgba(255, 255, 255, .08);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* Keep the six-item mobile menu usable on short and landscape viewports. */
.rd-dynamic-mobile-panel {
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
