@charset "utf-8";

/*
Theme Name (mirrored for English, built by deploy/build-ltr.py - do not edit): פברואר יוצא מן הכלל
Template:   twentythirteen
*/

/*@import url("orig_style.css");*/

@font-face {
    font-family: 'Rubik';
    src: url('assets/fonts/rubik/Rubik-VariableFont_wght.ttf') format('truetype-variations');
    src: url('assets/fonts/rubik/Rubik-VariableFont_wght.ttf') format('truetype') tech('variations');
    font-weight: 100 1000;
    /*font-stretch: 25% 151%;*/
}

/*@font-face {
    font-family: 'Almoni';
    src: url('assets/fonts/almoni/almoni-neue-regular-aaa.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Almoni';
    src: url('assets/fonts/almoni/almoni-neue-demibold-aaa.otf') format('opentype');
    font-weight: 500;
}
@font-face {
    font-family: 'Almoni';
    src: url('assets/fonts/almoni/almoni-neue-bold-aaa.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'NewFont';
    src: url('assets/fonts/NewfontExtraBold.otf') format('opentype');
    font-weight: 800;
}*/


:root {

	--white: #ffffff;
	--black:#000;

	--green-light: #9ED278;
	--green-dark: #0F5D25;
	--blue: #2A3E82;
	--pink: #FF96AE;
	--offwhite: #EEEDE2;
	--purple-light: #918EEA;
	--blue-light: #6FB7E0;

	--gap:1rem;

	--section-color: #263d86;

	--wrapper-margin:10vw;

	--admin-bar-height: 0px;
	--site-header-height: 0px; /* 67px;*/

	--footer-height: 88px;
}

@media (min-width:1280px) {
	:root {
		--wrapper-margin: calc((100vw - 1080px) / 2);
	}
}


.color-white { color:var(--white); }
.color-black { color:var(--black); }
.green-light { color:var(--green-light); }
.green-dark { color:var(--green-dark); }
.blue { color:var(--blue); }
.pink { color:var(--pink); }
.offwhite { color:var(--offwhite); }
.purple-light { color:var(--purple-light); }
.blue-light { color:var(--blue-light); }

.bg-white { background: var(--white); display: inline-block; }
.bg-black { background: var(--black); display: inline-block; }
.bg-green-light { background: var(--green-light); display: inline-block; }
.bg-green-dark { background: var(--green-dark); display: inline-block; }
.bg-blue { background: var(--blue); display: inline-block; }
.bg-pink { background: var(--pink); display: inline-block; }
.bg-offwhite { background: var(--offwhite); display: inline-block; }
.bg-purple-light { background: var(--purple-light); display: inline-block; }
.bg-blue-light { background: var(--blue-light); display: inline-block; }

body.rtl .pojo-skip-link:focus { left: auto; right: 50px; }

/*.almoni,
.almoni * {
	font-family: "Almoni", sans-serif;
	font-optical-sizing: auto;
}*/

/*.header-logo h2,
.newfont { font-family:'NewFont'; font-weight: 800; }*/

html { font-size:22px; scroll-behavior: smooth; scroll-padding-top:calc( var(--site-header-height) + var(--admin-bar-height) ); }
body { background:white; font-family:Rubik, sans-serif; font-size:1rem; line-height: 1.3; min-height:100vh; margin:0; display: flex; flex-direction: column; margin-top:var(--site-header-height); scroll-padding-top:calc( var(--site-header-height) + var(--admin-bar-height) ); margin-bottom:0 !important; }

.site { background:none; border:none; position:relative; max-width:none; margin:0; flex-grow: 1; display: flex; flex-direction: column; }

.site-main { width:100%; flex-grow: 1; display: flex; flex-direction: column; }

.content-area { flex-grow: 1; display: flex; flex-direction: column; }

.site-content { flex-grow: 1; display: flex; flex-direction: column; }

.wrapper { width:80%; max-width:1080px; margin:0 auto; }
.wrapper-small { width:76%; max-width:1040px; margin:0 auto; }


article { width:100%; margin:0; position:relative; }
article:after { content:''; display:table; clear:both; }

.color,
.menu-toggle { }

.underline {text-decoration:underline;}
.pointer { cursor:pointer; }

h1, h2, h3, h4, h5, h6 { font-family:Rubik; color:inherit; font-weight:700; letter-spacing: 0; line-height:1.1; }
#navbar,
.footer-menu,
.slides-container,
input[type="submit"],
a.button,
.button { font-family:inherit; }

h1.center, h2.center, h3.center { text-align:center; }

h1 { font-size:2.2rem; margin:0.7em 0; }

h2 { font-size: 1.6rem; font-weight:700; margin:0.7em 0; }

h3 { font-size:1.2rem; margin:1rem 0; }

h4 { font-size: 34px; font-weight: 700; margin:0 0 1rem; }

h5 { font-size: 24px; font-weight: 700; margin:0 0 0.2em; }

h6 { font-size: 1rem; margin:0.2em 0; font-weight:600; }

.subtitle-1 { font-weight: 600; font-size:16px; }
.body-2 { font-weight: 400; font-size:14px; }

.button-large { font-weight: 600; font-size:15px; }

.button-blue { background:var(--blue); color:var(--white); border:none; border-radius:3em;
	padding:0.6em 1.5em; text-decoration: none; display:block; text-align:center; }
.button-red { background:var(--blue); color:var(--white); border:none; border-radius:3em;
	padding:0.6em 1.5em; text-decoration: none; display:block; text-align:center; width:fit-content; margin:0 auto; }
a:has(.button-blue, .button-red) { text-decoration: none; }
	
p { margin:0 0 1em; }

@media (max-width:782px) {
	h4 { font-size:29px; }
	h5 { font-size:20px; }
}

.no-margin-top,
.no-margin-top > *:first-child { margin-top:0; }
.no-margin-bottom,
.no-margin-bottom > *:last-child { margin-bottom:0; }

.clearfix, .clear-fix {clear:both;}
.clear:after {content:''; display:table; clear:both;}

.left { float:right; }
.right { float:left; }

img { max-width:100%; }

* { box-sizing: border-box; }

.content-area { overflow-x:visible !important; }


@media (max-width: 782px) {
	html { overflow-x: hidden; }
	.entry-content,
	.user-content { word-break: break-word; }
}

	
	
/* easing: */
.easing-slow {-webkit-transition: all 20s ease-out; -moz-transition: all 20s ease-out; -o-transition: all 20s ease-out; transition: all 20s ease-out;}

#section-form .wpcf7 input,
#section-form .wpcf7 select,
#section-form .wpcf7 textarea,
.tab-name,
.nav-menu a,
.nav-menu button,
a.flag-item .content,
.easing, .easing-200ms { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }

a.button,
.button,
.easing-fast {-webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -o-transition: all 0.15s ease-out; transition: all 0.15s ease-out;}

#navbar,
.easing-300ms {-webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out;}

.mobile-navigation,
.easing-500ms {-webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; transition: all 0.5s ease-out;}

.easing-1s {-webkit-transition: all 1s ease-out; -moz-transition: all 1s ease-out; -o-transition: all 1s ease-out; transition: all 1s ease-out;}

/* general things: */
button { background:none; font:inherit; border:none; cursor: pointer; }
.center { text-align:center; }
.justify { text-align:justify; }
.justify.center { text-align:justify; text-align-last:center; }
.lighter { font-weight:lighter; }
.normal { font-weight:normal; }
.bold {font-weight:bold;}
.bigger { font-size:1.3rem; }
.italic { font-style:italic; }
.uppercase { text-transform:uppercase; }
.small {font-size:12px;}
.word-wrap {white-space:normal;}
.capitalize {text-transform:capitalize;}
.red { color:var(--blue); }
.yellow { color:var(--green-light); }
.blue { color:var(--blue); }
.green { color:var(--green-light); }
.black { color:var(--black); }
.no-underline,
.no-underline:hover,
.no-underline a,
.no-underline a:hover { text-decoration:none !important; }

a { color:inherit; }
/*a:visited, a:hover, a, .widget a, .widget a:hover { color:inherit; }*/
a:hover { text-decoration:none; }

/* dashicons: */
.dashicons { width:auto; height:auto; font-size:inherit; line-height: inherit; text-decoration: inherit;}

/* forms: */
button, input, select, textarea { font-family:inherit; }

form { position:relative; }

body.rtl input:is([type="email"],[type="tel"],[type="number"],[type="url"],[type="password"]):not(:placeholder-shown) { direction:rtl; text-align: left; }

.content-area input[type="text"],
.content-area input[type="tel"],
.content-area input[type="email"],
.content-area input[type="url"],
.content-area input[type="number"],
.content-area input[type="password"],
.content-area input[type="date"],
.content-area select,
.content-area textarea { display:block; background-color:white; border:2px solid; font-size:1rem; width:100%; padding:0.3rem 0.6rem; }

.content-area input[type="submit"],
input[type="submit"],
.site-main .wpcf7 input[type="submit"],
.entry-content a.button,
.button,
a.button { cursor:pointer; }

.entry-content, .entry-summary { max-width:none; margin:0;}
#content, .entry-content {font-weight:inherit; line-height:1.3; }


input, select, textarea { font-size: inherit; padding:0.3em 0.6em 0.1em; }

.on-off-button * {display:none;}

/*input::-webkit-datetime-edit { color:#0005; }*/
::-webkit-input-placeholder { color:#0005; font-style:inherit; font-weight:inherit; }
:-moz-placeholder { color:#0005; opacity:1; font-style:inherit; font-weight:inherit; }
::-moz-placeholder { color:#0005; opacity:1; font-style:inherit; font-weight:inherit; }
:-ms-input-placeholder { color:#0005; font-style:inherit; font-weight:inherit; }

label,
.label { position:relative; cursor:default; }

/* site-header: */

.menu-header { background: var(--white); }

@media (min-width: 783px) {
	.menu-header > .wrapper { max-width:1900px; width:90%; position: relative; }
	/*.menu-header > .wrapper .header-logos-container { left: 0; top: -2rem; }*/

	.site-header .home-link-container { padding:10px 0; position: relative; }
	body.home .site-header .home-link-container { padding:0; }
	.site-header .home-link-container:after { content: ''; position: absolute; top: 0; right: 50%; width: auto; height: 100%; aspect-ratio: 2.4; background: url(assets/img/header-bg.svg) 100% 50%/auto 100% no-repeat; transform: translateX(38%); }
	
	/*body:not(.restricted) .site-header .home-link { transform: translateY(-10%);}*/

}

.site-header { background:var(--offwhite); width:100%; position:relative; }

.header-inner { display:flex; justify-content: space-between; gap:2rem; }

/*body:not(.restricted) { /*--site-header-height:100px;* / }*/
body.home .site-header-inner { display: flex; justify-content: center; align-items: center; gap:0 4%; width:77%; max-width: 1100px; margin:0 auto; }

/*body:not(.restricted) .menu-header,
body:not(.restricted) .site-header { border-bottom: 2px dashed var(--black); }*/

body:not(.home,.restricted) .site-header-inner { display: flex; justify-content: center; align-items: center; gap:0 4%; width:77%; max-width: 1100px; margin:0 auto; }

.header-logos-container { display: flex; align-items: center; gap:1rem; padding:10px 0; }
.header-logos-container img { display:block; height: auto; width: auto; max-height: 2.2rem; max-width: 7rem; }

body #moove_gdpr_cookie_info_bar {z-index:9;}

.logos-slider:not(.slick-initialized) .slick-slide { display:none; }
.logos-slider { padding-top: 90%; }
.logos-slider .slick-list { position: absolute; top: 0; right: 0; width: 100%; height: 100%; }
body.home .site-header .home-link-container { width:50%; }
body:not(.home,.restricted) .site-header .home-link-container { width:170px; flex-shrink: 0; }

.home-link { display:block; margin:0; position: relative; z-index: 1; }
.home-link img { height:auto; display: block; }
.site-title, .site-description { display:none !important; }

.header-logo { position: relative; background: var(--header-background-color); color:var(--header-text_color); }

.header-logo h1 { margin:0 0 0.2em; font-size: min(100px, 6vw); font-weight: 800; line-height: 0.9em; }
.header-logo h2 { margin:0 0 0.2em; font-size: min(82px, 4.5vw); font-weight:400; line-height: 0.9em; }
img.hero-bg { display: block; height: auto; width:100%; }
@media (min-width: 783px) {
	.header-logo-inner { position: absolute; top: 50%; right: 50%; transform: translate(50%, -50%); width: 80%; }
}
@media (max-width: 782px) {
	.header-logo h1 { font-size: 7vw; }
	.header-logo h2 { font-size: 6.5vw; }
}

body.no-home-link .header-logo a.home-link { display:none; }

.header-logo-1 {}
.header-logo a.home-link { display: block; max-width: 16vw; margin:0 auto 2.4vw; width:208px; }

.header-logo-2 { display: none !important; align-self:flex-end; width: min(410px, 50%); flex-shrink: 0; margin-inline-start: 5%; margin-top:1rem; }
.header-logo-2 h4 { background:var(--blue); color:white; padding:0.4em 0.7em; margin:0; width: fit-content; font-size:max(min(25px, 2.7vw),14px); font-weight: 400;
border-radius:15px 0 0 0; }
.header-logo-2-image { position: relative; display: flex; border-radius:0 24px 0 0; }

@media (min-width: 783px) {
	.header-logo-2 img { height:auto; display: block; max-width:none; width: 127%; margin-inline-start: -27%; border-radius:0 24px 0 0; }
	body:is(
		.page-template-page-about
	) .header-logo a.home-link { margin-left:0 !important; margin-right:0 !important; }
}
@media (max-width: 782px) {

	.header-logo a.home-link { margin:0 auto 6.5vw; }
	
	.header-inner { justify-content: center; }

	.header-logo { background-size: 160%; background-position: 100% 100%; }

	.header-logo-inner { padding:2rem 5%; }

	.header-logo-1 { padding:min(115px, 3.2vw) 0; text-align: center; display: flex; flex-direction: column; align-items: center; }

	.header-logo-2 { align-self: stretch; display: flex; width: 100%; margin:0; }
	.header-logo-2 > a { display: grid; grid-template-rows: max-content auto; width: 100%; }
	.header-logo-2-image {}

	.header-logo-2 img { width: 100%; height:auto; display: block; max-width:none; margin-top:-15.7%; }

	.header-logo-2 h4 { border-radius:0 12px 0 0; padding:0.8em 1.6em 0.6em; }

	body:not(.restricted) { --site-header-height: 80px; }

	.menu-header { padding:0; position: fixed; top: var(--admin-bar-height); right: 0; z-index: 10; width: 100%; height: 80px; display: flex; align-items: center; }
	
	body:not(.restricted) .site-header { background:url(assets/img/top-bg-mobile.svg) 50% 0%/cover no-repeat; }
	body:not(.restricted) .site-header-inner { height:auto; /*144vw;*/ max-width: none; width:90%; display: flex; flex-direction:column; justify-content:flex-end; gap: 1rem; }
	body:not(.restricted) .site-header .home-link-container { width: 70%; }
	body:not(.restricted) .site-header { background:var(--offwhite); width:100%; position:relative; }
	
	.header-logos-container { width: calc(100% - 2rem); max-width: none; justify-content: center; gap: 1rem; }
	.site-header-inner .user-content { margin:1.7rem 0 1.3rem; text-align: center; font-size:15px; }
	.site-header .logo { width:75vw; }
	
	/*body:not(.restricted) .header-logos-container { position:relative; top:auto; left:auto; margin:1rem auto; }*/
}

/* main menu: */
.navbar-container { align-self: stretch; }
#navbar { margin:0; display: flex; justify-content: space-between; height: 100%; align-items: center; }

.nav-menu-container {position:absolute; top:0; right:0; bottom:0; width:255px; background:#363d4c; z-index:10000; padding:30px 30px; text-align:center; }
.nav-menu { display:flex; margin:0; padding:0; flex-wrap:wrap; gap:0 21px; list-style: none; z-index: 5; }
.safari .nav-menu {text-align:center;}


.nav-menu > li { color: #00000099; font-size: 16px; }
.nav-menu > li > a,
.nav-menu > li > button { text-decoration:none; display: block; padding:0; display: flex; align-items: center; }
@media (min-width:783px) {
	.nav-menu > li { position:relative; display: flex; padding:4px 0; }
	.nav-menu > li > a,
	.nav-menu > li > button { height: 100%; color: inherit; }
}
.nav-menu li.current-menu-ancestor > :is(a,button),
.nav-menu li.current-menu-parent > :is(a,button),
.nav-menu li.current-menu-item > :is(a,button) { font-weight: 600; color: #000000dd; position:relative; }

.tab-name.on:after,
.nav-menu > li:is(
	.current-menu-ancestor,
	.current-menu-parent,
	.current-menu-item
):not(.hilite) > :is(a,button):before {
	content:''; position:absolute; top: 100%; left:0; border-bottom: 4px solid var(--section-color); width: 100%;
}
.nav-menu > li:not(.menu-item-has-children) > a:before { right:0; }
.nav-menu > li.menu-item-has-children > a:before { right:1em; }

/*{border-bottom: 4px solid var(--section-color);}*/

.nav-menu > li:hover > a,
.nav-menu > li:focus > a,
.nav-menu > li:focus-within > a { color:var(--green-dark); }

.nav-menu li.menu-item-has-children > a:after { content: ''; width: 1em; height: 1em; background: url(assets/img/arrow-right.svg) 56% 50%/contain no-repeat; display: inline-block; transform: rotate(-90deg); vertical-align: middle; }

.nav-menu ul { list-style:none; padding:0; margin:0; display:none; position: absolute; z-index: 1; width: max-content; }
.nav-menu ul a { text-decoration: none !important; display:block; padding:0.4em 0.7rem; }

.nav-menu > li > .sub-menu > li { }

.nav-menu .sub-menu li { background:none; }

.nav-menu-left ul { right:0; }

li.hilite > a,
li.hilite > button { background: var(--green-light); border:2px solid black; padding:0.2rem 0.7em; color: inherit !important; }
	
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus > .sub-menu,
.nav-menu li:focus-within > .sub-menu { display:block; }

@media (min-width: 783px) {

	.nav-menu .sub-menu { background:var(--offwhite); box-shadow:-2px 2px 8px #0009; }
	.nav-menu > li > .sub-menu { margin:0 -0.7rem; top: 100%; right: 0; }
	.nav-menu > li > .sub-menu:before { content:''; position:absolute; top:-10px; right:0; width:100%; height:10px; background:transparent; }
	.nav-menu > li:hover > button,
	.nav-menu > li:hover > a { color:var(--pink); }
	.nav-menu .sub-menu li:is(.current-menu-ancestor, .current-menu-parent, .current-menu-item) > a,
	.nav-menu .sub-menu li:hover > a,
	.nav-menu .sub-menu li:focus > a,
	.nav-menu .sub-menu li:focus-within > a { background:#eee; }

	li.hilite > a { margin:-0.2rem 0; }
}

@media (max-width: 782px) {
	ul.nav-menu { display:block; }

	.nav-menu .sub-menu { width:auto; }
	.nav-menu .sub-menu { position:relative; top:auto; box-shadow:none; }
	.nav-menu .sub-menu li { font-size:1rem; background:none; }
	
	.nav-menu > li > .sub-menu > li { margin:0 0 1em; margin-inline-start: 0.8em; }

	.nav-menu li.open > ul.sub-menu,
	.nav-menu > li.current-menu-ancestor > .sub-menu,
	.nav-menu > li.current-menu-parent > .sub-menu,
	.nav-menu > li.current-menu-item > .sub-menu { display:block; }

	.nav-menu > li  { padding:0 2rem; font-size:1.1rem; }
	.nav-menu > li > a { width:fit-content; }
	.nav-menu .sub-menu { display:none; gap:1rem; margin:1rem 0; }
	.nav-menu .sub-menu > li > a { padding:0; }
}



/* wpcf7: */
.wpcf7-list-item { margin:0; }
.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] { direction:inherit; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea { border: 1px solid var(--black); background:white; display: block; width: 100%; padding:0.6em 0.7em; line-height: 1.2; }

.wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 0.3em 1em; }
span.wpcf7-list-item { /*display: grid;*/ }

.wpcf7 form .wpcf7-response-output { margin:1.5rem 0 0; padding:0; border: none; color: var(--green-dark); }

/* popup: */
.popmake { right: 50% !important; top: 50% !important; transform: translate(50%,-50%); }

#sgpb-popup-dialog-main-div-wrapper > div { top: 50% !important; right: 50% !important; transform: translate(50%,-50%); width: 80%; max-width: 800px; }
#sgpb-popup-dialog-main-div { width:100% !important; box-sizing:border-box !important; padding:3rem !important; border: none !important; background:url(assets/img/site-assets/PopupBG.png) 50% 50%/120% 120% no-repeat; }
#sgpb-popup-dialog-main-div-wrapper #sgpb-close-button { top: 0 !important; right: 0 !important; bottom: auto !important; left: auto !important; padding:0.4em 0.5em !important; font-size: 1rem; line-height: 1; }
#sgpb-popup-dialog-main-div-wrapper .wp-block-image { margin:0; }

/* regiter-sent page: */
body.page-id-30 h1.page-title { text-align:center; margin-top:0; font-size:1.6rem; }
body.page-id-30 .entry-content { max-width: 490px; margin:0 auto; }

/* register page: */
section { position:relative; }
.section-bg { display: block; object-fit: cover; max-height: 70vh; width: 100%; }

.home-forms-container { display: flex; flex-wrap: wrap; justify-content:center; gap: 3rem 3rem; margin:0 0 2rem; }
.home-form { width: 40%; max-width: 400px; text-align: center; }
.home-form img { height:auto; display:block; margin:0 auto 0; width:200px; }
.home-form h2 { margin:0.5rem 0 1rem; }
.home-form .excerpt { white-space:pre-line; }

.home-form:hover img,
.home-form:focus img { transform: scale(0.9); }

@media (max-width: 782px) {
	.home-forms-container { gap:1rem; }
}

/* shagririm: */

.shagririm-page-header {
	background:url(https://fabulous-feb.org.il/wp-content/uploads/2026/02/header_shagririm.png) 35% 50%/cover no-repeat;
	margin:2px 0 0;
}

.shagririm-page-header img.hero-bg { position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; object-position: 32% 50%; }
.shagririm-page-header .header-logo-inner {
	position: relative;
	top:auto;
	right:auto;
	transform:none;
	width:auto;
	margin:2rem 50% 2rem 2rem;
	margin-inline-start: var(--wrapper-margin);
}

.shagririm-page-header a.button.button-pink { background:var(--pink); padding:0.3em 0.7em; border:none; font-weight:700; }

@media (max-width: 782px) {
	.shagririm-page-header { background: #eeede2; }
	.shagririm-page-header .header-logo-inner { margin:2rem var(--wrapper-margin); }
}

.shagririm-grid { margin:2rem 0 0; }

.shagririm-line { margin:2rem auto; }
.shagrir-thumb-simple { text-align: center; padding:32px; }
.shagrir-thumb { display: grid; grid-template-rows: min-content auto; /*grid-template-columns: repeat(2,1fr);*/ gap:0 6%; word-break: break-word; }
.shagrir-thumb .my-col-1 { padding:32px; background:color-mix(in srgb, var(--section-color) 20%, white); }
.shagrir-thumb .my-col-2 { padding:32px; }
.shagrir-thumb:not(.sapak-thumb) .shagrir-thumb-image { height:auto; border-radius:50%; margin:0 auto 1rem; object-fit: cover; aspect-ratio: 1; width: 200px; }
.shagrir-thumb .my-col-1 a { text-decoration:underline; /*color:#00648a;*/ }
.shagrir-thumb .my-col-1 > div { margin-bottom:0.2rem; }
.shagrir-thumb .user-content { word-break: break-word; }

.sapak-thumb .shagrir-thumb-image { margin:0 auto 1rem; object-fit: cover; height: 200px; }
.sapak-thumb .my-col-2 { display: flex; flex-direction: column; }
.sapak-thumb .my-col-2 .non-expanded-content { flex-grow:1; }

.grid-6 { display:grid; gap:1rem; grid-template-columns: repeat(6,1fr); }
.grid-3 { display:grid; gap:2rem; grid-template-columns: repeat(3,1fr); }
.grid-2 { display:grid; gap:2rem; grid-template-columns: repeat(2,1fr); }

@media (max-width: 1100px) {
	.grid-6 { grid-template-columns: repeat(3,1fr); }
	.grid-3 { grid-template-columns: repeat(2,1fr); }
	.grid-2 { grid-template-columns:auto; }
}
@media (max-width: 782px) {
	.grid-6 { grid-template-columns: repeat(2,1fr); }
	.grid-3,
	.shagrir-thumb { grid-template-columns:auto; }
}

/* contact: */
/*.dashed-box { border-radius: 8px; border: 2px dashed var(--black, #000); }*/
.contact-main { margin:2rem 0; display: flex; flex-wrap: wrap; gap:2rem; }
.contact-main > .my-col-1 { width: 16em; flex-grow: 1; }
.contact-main > .my-col-2 { padding:34px; }

.contact-main .wpcf7-form-control-wrap { position:relative; }
.contact-main .wpcf7-form-control-wrap:after { content:''; aspect-ratio: 1; height:2.5rem; position:absolute; top:0; left:0; }
.contact-main .wpcf7-form-control-wrap[data-name="your-name"]:after { background:url(assets/img/form-icon-person.svg) 50% 50%/70% auto no-repeat; }
.contact-main .wpcf7-form-control-wrap[data-name="your-email"]:after { background:url(assets/img/form-icon-email.svg) 50% 50%/70% auto no-repeat; }
.contact-main .wpcf7-form-control-wrap[data-name="your-tel"]:after { background:url(assets/img/form-icon-tel.svg) 50% 50%/70% auto no-repeat; }
.contact-main .wpcf7-form-control-wrap[data-name="your-message"]:after { background:url(assets/img/form-icon-comment.svg) 50% 50%/70% auto no-repeat; }
.contact-main .wpcf7 input:is([type="text"],[type="email"],[type="tel"]),
.contact-main .wpcf7 textarea { padding-left:2.4rem; }
.contact-main .wpcf7 input[type="submit"] { margin-inline-start: auto; display: block; }

.contact-main .wpcf7 .two-cols { margin:0 0 1rem; }

@media (min-width: 783px) {
	.contact-main .wpcf7 .two-cols { display: flex; flex-wrap: wrap; justify-content: space-between; }
	.contact-main .wpcf7 .two-cols > label { padding:0.6rem 0; width: 5em; }
	.contact-main .wpcf7 .two-cols > span { width: 15em; flex-grow: 1; }
	.contact-main .wpcf7 .wpcf7-response-output { margin-inline-start: 6rem; }
}
@media (max-width: 782px) {
	.contact-main .wpcf7 .two-cols > span { display: block; }
}
@media (max-width: 1050px) {
	.contact-main { grid-template-columns:auto; }
	.contact-main > .my-col-1 { padding:0 0 2rem; }
}


/* fieldsets and legends: */
legend { padding:0; }
fieldset { margin:0; padding:0; border: none; }
	
/* events: */
.map-areas-container { overflow: auto; }
.map-areas-container .wrapper { overflow: auto; min-width: fit-content; padding:0 7.25vw; width:auto; box-sizing: content-box; }
.map-areas.centered-grid { min-width: fit-content; text-align: center; --gap:2rem; gap:var(--gap); margin:2rem 0; flex-wrap: nowrap; }
.map-area-box { /*flex-grow:0.3; flex-basis: 0;*/ padding: 0.5em 1em; white-space:nowrap; }

.map-location-label { background:#fff; padding:0.2em 0.6em; border-radius:4px; color:black; transform: translateY(1.2rem); box-shadow: -1px 1px 4px #0005; font-size:0.6rem !important; }

.my-scrollbar::-webkit-scrollbar { width:10px; height:10px; }
.my-scrollbar::-webkit-scrollbar-thumb { background-color:none; }
.my-scrollbar:hover::-webkit-scrollbar-thumb,
.my-scrollbar:focus::-webkit-scrollbar-thumb { background-color:#ccc; }

body { --box-shadow-offset:12px; }

.centered-video-container iframe,
.color-box { border: 2px solid var(--section-color); box-shadow: var(--box-shadow-offset) var(--box-shadow-offset) var(--section-color); margin:0 0 var(--box-shadow-offset); }

.centered-grid { display: flex; justify-content: center; flex-wrap:wrap; gap:var(--gap); }
.centered-grid > * { width:calc( (100% - (var(--in-row) - 1) * var(--gap) ) / var(--in-row)); min-width:min-content; }
	
.colors {}
.colors > *:nth-child(4n+1) { --section-color:var(--purple-light); }
.colors > *:nth-child(4n+2) { --section-color:var(--green-light); }
.colors > *:nth-child(4n+3) { --section-color:var(--pink); }
.colors > *:nth-child(4n+4) { --section-color:var(--blue-light); }

.colors-no-orange {}
.colors-no-orange > *:nth-child(3n+1) { --section-color:var(--blue); }
.colors-no-orange > *:nth-child(3n+2) { --section-color:var(--green-light); }
.colors-no-orange > *:nth-child(3n+3) { --section-color:var(--pink); }

/* events page: */
.map-section-columns { display: flex; flex-wrap: wrap; gap: 0.7rem; /*display:grid; grid-template-columns:440px auto;*/ --map-height:110vh; }

.map-section-columns .search-column { height: var(--map-height); display: flex; flex-direction: column; width:26rem; flex-shrink: 0; flex-grow:1; }
.map-section-columns .search-row { display: flex; flex-wrap:wrap; align-items: center; /*display:grid; grid-template-columns:1fr 1fr;*/ gap:0.5rem; margin:0 0 0.5rem; }
.map-section-columns .search-row label { width:8em; flex-shrink: 0; }
.map-section-columns .search-row input,
.map-section-columns .search-row select { flex-grow:1; width: 9rem; }
.map-section-columns .search-row-types,
.search-row-types { margin:0 0 0.9rem; }

.map-section-columns #map-container { height:var(--map-height); min-width:min(29rem,100%); display:flex; flex-grow: 0; gap: 0.7rem; }
.map-section-columns #map-container #map { height:auto; max-height:none; flex-grow: 1; }

.map-section-columns .search-column > * { padding:0 1.5rem; }

@media (min-width: 1001px) {
	.map-section-columns .search-column > * { padding-inline-start:0; }
	.map-section > .wrapper { width:90%; max-width: 1900px; }
}

@media (max-width: 1000px) {
	
	.map-areas-container .wrapper { padding:0 2rem; }
	
	.map-section > .wrapper { width: 100%; }
	.map-section-columns { flex-direction: column-reverse !important; flex-wrap: nowrap; }
	.map-section-columns .search-column { width: 100%; }
}
@media (max-width: 1100px) {
	.centered-grid > * { width:calc( (100% - (var(--in-row)/2 - 1) * var(--gap) ) / (var(--in-row)/2)); }
}

.responsive-in-row { --in-row: var(--in-row-desktop); }
@media (max-width: 782px) {
	.responsive-in-row { --in-row: var(--in-row-mobile); }
}

.distance-display { display:none; background:sandybrown; width: fit-content; z-index: 100; position: relative; box-shadow: -2px 2px 5px; padding:0.2em; }

.search-column .map-list-container { direction: rtl; background:white; overflow-y: auto; overflow-x: hidden; margin-top: 1rem; padding:0; scroll-behavior: smooth; }
ul.map-list { list-style: none; margin:0; padding:0; direction: ltr; }
.map-list-item { border-bottom:1px solid black; padding:1rem 0.6rem; }
.map-list-item > .item-top { display:grid; grid-template-columns:40px auto min(12rem,40%) max(min(5.7rem, 18%),3em); gap:0.6rem; word-break: break-word; }
.map-list-item .expand-toggle { white-space: normal; word-break: break-word; }
.map-list-item > .item-top h4 { margin:0; }
.map-list-item > .item-bottom { margin-top: 2rem; }

li.map-list-item.expandable:not(.expanded) .item-bottom { display: none; }
li.map-list-item.expandable:not(.expanded) .expand-toggle-less { display: none; }
li.map-list-item.expandable.expanded .expand-toggle-more { display: none; }
.expand-toggle { display:flex; gap:0.2em; cursor: pointer; white-space: nowrap; align-items: center; }
.expand-toggle-more:after { content: '▼'; font-size: 14px; }
.expand-toggle-less:after { content: '▲'; font-size: 14px; }

/* expandable: */
.expandable.expanded .non-expanded-content,
.expandable:not(.expanded) .expanded-content { display: none; }
.expanded-content { width:100% !important; }
.expandable:not(.expanded) .expand-toggle-less { display: none; }
.expandable.expanded .expand-toggle-more { display: none; }
.expand-toggle { display:flex; gap:0.2em; cursor: pointer; white-space: nowrap; align-items: center; }
.expand-toggle-more:after { content: '▼'; font-size: 14px; }
.expand-toggle-less:after { content: '▲'; font-size: 14px; }

	
/* home: */
.home-slider { width: 100%; max-width: 800px; margin:0 auto; padding:0 3rem; }
.home-slider .slick-slide { margin:10px; box-shadow: -2px 2px 6px #0009; }
.home-slider:not(.slick-initialized) .slick-slide { display:none; }
.home-slider .slick-slide img { width: 100%; height: auto; }

body.home .site-content section.section-home-main { padding:max(50px, min(120px,6vw)) 0; }
body.home .entry-content { }
body.home .entry-content h2 { color:var(--blue); font-size: 34px; }
.centered-video-container iframe { display: block; margin:0 auto; width: 100%; aspect-ratio: 1.75; height: auto; border-radius:1.5rem; }
@media (max-width:782px) {
	.centered-video-container iframe { aspect-ratio: 1.15; }
}


.home-bullets-grid { display: grid; grid-template-columns: auto auto; gap:21px 26px; width: fit-content; margin:0 auto; }

.home-bullets-grid-1 { grid-row: span 2; }
.home-bullets-grid-1 h4 { color:var(--white); }
/*.home-bullets-grid-1 img { width: 7em; transform: translateX(-9%); }*/
.home-bullets-grid .button-large { color: var(--blue); display: flex; align-items: center; gap: 0.5em; margin-top: 1.4em; }
.home-bullets-grid .button-large:after { content:''; width:1em; height:1em; background:url(assets/img/arr-left.svg) center no-repeat; }

img.bullets-banner { display:block; }
/*a.home-bullets-grid-2,
a.home-bullets-grid-3 { position:relative; display: flex; align-items: center; gap: 1em; border: 1px solid #0000001F; border-radius: 24px; padding: 12px;
    background: var(--white); }
img.bullets-banner { width: auto; height: auto; display:block; }

a.home-bullets-grid-2:after,
a.home-bullets-grid-3:after { content:''; position:absolute; left:8px; top:8px; width:2em; height:2em;
	background:var(--green-dark) url(assets/img/arrow-left-white.svg) center no-repeat; border-radius: 50%; }*/

@media (max-width:782px) {
	a.home-bullets-grid-2,
	a.home-bullets-grid-3 { display: grid; }
	img.bullets-banner { width: 100%; height: auto; display:block; }
	.home-bullets-grid .user-content { text-align: center; }
	.home-bullets-grid .button-large { width: fit-content; margin:0 auto; margin-top: 1.4em; transform: translateX(0.2em); }
	a.home-bullets-grid-2:after,
	a.home-bullets-grid-3:after { border: 1px solid var(--white); right: 4px; top: 4px; width: 40px; height: 40px; }
}

/*a.home-bullets-grid-3 { display: flex; position: relative; align-items: center; justify-content: center; padding: 1rem; background: var(--blue);
	color: white; text-decoration: none; border-radius: 0.6rem; }
a.home-bullets-grid-3:after { content:''; position:absolute; left:0; top:50%; transform:translate(-50%,-50%); background: url(assets/img/small-star.svg) center/contain no-repeat; width:1rem; height:1rem; }*/


body.home article.page { background:white; }
body.home .site-content section,
.site-content section { padding:3rem 0; }
.site-content section:last-child { padding-bottom: 90px; }
body.home .map-section { margin:0 0; }
body.home .site-content section.map-section { padding:0; }
body.home section .button-container { display:flex; justify-content:center; margin:3rem 0 1rem; }
.button-yellow { background:var(--offwhite); border:2px solid black; font-weight: 700; }
body.home .section-shagririm { background:url(assets/img/bg.svg) 0 60vw/100% auto repeat; }
body.home .section-contact { background:url(assets/img/bg.svg) 0 60vw/100% auto repeat; }

body.home .section-about { }
.about-content { background:var(--green-light); color:var(--black); padding:2rem; border-radius:1.5rem; margin:0 auto 2rem; }
.about-content h2 { margin:0 0 1rem; }

body .shape-top { padding-top:3em; background-image:url(assets/img/star-white.svg); background-size: auto 70px; background-position: 50% -40px; background-repeat: no-repeat; }
body .shape-bottom { padding-bottom:3em; background-image:url(assets/img/star-white.svg); background-size: auto 70px; background-position: 50% calc(100% + 40px); background-repeat: no-repeat; }
body .section-offwhite .shape-top,
body .section-offwhite .shape-bottom { background-image:url(assets/img/star-cream.svg); }

section.map-categories-section { padding:1rem 0 !important; }

/* special: */
.page-header-special { background: url(assets/img/header-bg-special.svg) center / cover no-repeat; aspect-ratio: 2.5; max-height: 50vh; }
.page-header-special-inner { height: 100%; width:41%; margin:0 auto; text-align: center; position:relative; display: flex; align-items: center; justify-content: center; }
img.header-special-image { width: max(14vh,min(350px,52%)); height: auto; }

@media (max-width:782px) {
	.page-header-special { background: #3764E4 url(assets/img/header-bg-special-mobile.svg) 50% 100% / 100% auto no-repeat;
        max-height: none;
        padding-bottom: 84%;
		aspect-ratio: auto;
	}
	.page-header-special-inner { width: 100%; aspect-ratio: calc(360/296); }
}
/*.italic-is-white em { color:var(--white); font-style: inherit; }
.italic-is-green em { color:var(--green-dark); font-style: inherit; }*.
.h2-is-weight-900 h2 { font-weight: 900; }
/*body.page-template-page-special .site-content section { padding: 120px 0; }*/

body.page-template-page-special .entry-content { background-color: var(--green-light); border-radius:1.5rem; padding:2rem; }
body.page-template-page-special .entry-content:before {
    content: '';
    margin:0 auto 1rem;
    display: block;
    width: 4rem;
    height: 3rem;
	background:url(assets/img/special-stars.svg) center/contain no-repeat;
}
/*section.specials-main { background: url(assets/img/special-text-bg.svg) 0% 80%/70% auto no-repeat; }*/

.section-green { background:var(--green-light); color: var(--white); }
.section-pink { background:var(--pink); color:var(--blue); }
.section-purple { background:var(--purple-light); color:var(--white); }
.section-offwhite { background:var(--offwhite); }
.shutafim-container { display: flex; gap: 1rem 2%; justify-content: center; flex-wrap: wrap; }
.shutafim-item { background:var(--white); color:var(--black); border-radius:1rem; display: flex; align-items: center; justify-content: center; 
	flex-direction:column;
	width:min(155px, 40%);
	aspect-ratio: 1;
	/*height:8rem;
    flex-basis: 0;
    flex-grow: 1;*/
    overflow: hidden; }
.restaurant-item .image-container,
.shutafim-item .image-container { display: flex; align-items: center; justify-content: center; height: auto; flex-grow: 1; position: relative; overflow: hidden; }
a.restaurant-item img,
.shutafim-item img { max-width:90%; max-height: 90%; width: auto; height: auto; }
.shutafim-item .subtitle-1 { flex-shrink:0; padding:0.7em 0.5em; background:var(--purple-light); width: 100%; text-align: center; font-size: min(16px, 3.5vw); word-break: break-word; }

.activities-container { display: flex; gap: 1rem 2%; justify-content: space-between; flex-wrap: wrap; margin:2.5em auto 0; }
.activity-item { color: var(--black); width:calc((100% - (var(--in-row) - 1) * 2%) / var(--in-row) ); text-align: center; background: linear-gradient(to top, var(--section-color) 3px, var(--white) 3px); padding:8px 8px 16px; border-radius:16px; border: 1px solid #0000001F; }
.activity-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: white; border-radius:0.6rem; border-radius:12px; /*border:1px solid #EFBE3F1F;*/ }
.activity-item .subtitle-1 { margin:0.5em 0 0.4em; }

.home-map-header { padding:24px; position: absolute; top: 60px; left: 60px; width: 400px; max-width: 75%; background: #fffffff5; border-radius:20px;
	box-shadow: -24px 24px 24px #0001; }

@media (max-width:782px) {
	.activity-item { width:calc((100% - (var(--in-row)/2 - 1) * 2%) / var(--in-row)*2 ); }
	.home-map-header { left: 24px; top: 24px; right: 24px; width: auto; max-width: none; }
}

.white-star-top:before { content: ''; position: absolute; top: 0; right: 50%; transform: translate(50%, -50%); width:min(114px,6%); aspect-ratio: 1;
	background:url(assets/img/star-white.svg) center/contain no-repeat;
}
.restaurants-container { display: flex; gap: 1rem 2%; justify-content:center; flex-wrap: wrap; margin-top:2rem; }
a.restaurant-item { width:min(220px, 47%); text-align: center; display: flex; flex-direction: column; background: var(--white); color: var(--white); border-radius:16px; }
a.restaurant-item .content { background: var(--purple-light); padding:0.6em; border-radius:0 0 16px 16px; min-height: 5em; flex-grow: 1; }
.restaurant-item .image-container { aspect-ratio:1; flex-grow: 0; }

.section-special-form:after { content: ''; position: absolute; top: 0; left: 4%; width: min(270px, 20vw); aspect-ratio: 0.7; background: url(assets/img/special-footer-img-1.svg) center/contain no-repeat; transform: translateY(-50%); }
.section-special-form:before { content: ''; position: absolute; top: 50%; right: 1%; width: min(270px, 35vw); aspect-ratio: 0.7; background: url(assets/img/special-footer-img-2.svg) center/contain no-repeat; transform: translateY(-50%); }

.section-special-form .wrapper { position:relative; z-index:1; }
.section-special-form form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; font-size: 16px; width: 600px; margin:0 auto; max-width: 100%; }
.two-cols { grid-column: span 2; }
.section-special-form form input[type="submit"] { grid-column: span 2; border: none; color: var(--white); font-weight: 600; border-radius:8px; }

.section-special-form .wpcf7 input:is([type="text"],[type="email"],[type="tel"],[type="url"]),
.section-special-form .wpcf7 textarea { border:none; padding:0.6em 0.7em; line-height: 1.2; border-radius:8px; font-size: inherit; }

@media (max-width:782px) {
	.home-bullets-grid { grid-template-columns: 1fr; }
	a.home-bullets-grid-1 { margin:0; }
}

/* flags display: */
.flags-container { /*display: flex; gap: 1rem 2%; justify-content:center; flex-wrap: wrap;*/ margin-top:2rem; }
.flag-item .image-container { display: flex; align-items: center; justify-content: center; height: auto; flex-grow: 1; position: relative; overflow: hidden; }
a.flag-item img { /*max-width:90%; max-height: 90%; width: auto; height: auto;*/
    width: 100%;
    height: 100%;
    object-fit: cover;
}
a.flag-item { /*width:min(220px, 47%);*/ text-align: center; display: flex; flex-direction: column; background: var(--white); color: var(--white); border-radius:16px;
    position: relative;
    overflow: hidden;
}
@media (min-width:783px) {
	a.flag-item:not(:focus, :hover, :focus-within) .content { opacity:0; }
}
a.flag-item .content { /*background: var(--purple-light); padding: 0.6em; border-radius: 0 0 16px 16px; min-height: 5em; flex-grow: 1;*/
    border-radius: 0 0 16px 16px;
    flex-grow: 1;
	align-self: stretch;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.flag-item .image-container { aspect-ratio:1; flex-grow: 0; }

@media (min-width:783px) {
	a.flag-item .content { padding:0.6em; background: #0006; justify-content: center; }
}
@media (max-width:782px) {
	a.flag-item .content { justify-content: flex-end; }
	a.flag-item .content > div { padding:0.6em; background: #0006; width: 100%; }
}
	
.events-container { display: flex; gap: 1rem; justify-content:center; flex-wrap: wrap; margin-top:2rem; }
.event-item { width:min(300px, 100%); color: var(--black); padding:1rem 0; text-align: center; }
.event-item-row { display:grid; grid-template-columns:repeat(2,1fr); --box-shadow-offset: 6px; padding:0 0.3rem 0 0.5rem; gap:0.5rem; }
.event-item-row > div { text-align: center; display: flex; flex-direction: column; }
.event-item-3 { grid-column: span 2; padding:0 1rem; }

.flags-container {}

/* about: */
.about-cols { display: grid; gap:2rem 3rem; flex-wrap: wrap; }
.about-cols .my-col-1 { /*width: 25em;*/ }
.about-cols .my-col-2 { /*flex-shrink: 0; min-width: 300px;*/ padding-bottom: 1rem; flex-grow: 1; }
.about-cols .my-col-2 img { height: auto; }

@media (max-width: 782px) {
	/*.about-cols { flex-direction:column; align-items:center; }
	.about-cols .my-col-2 { width:auto; }*/
}

/* map: */
.map-section { /*margin: 3rem 0 0; / *box-shadow: 0 0 0.4rem #0005;*/ background:var(--offwhite); }
.map-header { padding:1rem 0; }
.map-header h2 { margin:0 0 0.5rem; }
.map-header .search-column { display: flex; flex-wrap:wrap; gap:0.5rem 1rem; justify-content:space-between; }
.map-header .search-column > * { display: flex; align-items: center; gap: 0.5rem; }

.map-header .search-column input, .map-header .search-column select { width: 9em; display: inline-block; border-color:black; }
.map-header .search-column input:focus, .map-header .search-column select:focus { outline:2px solid black; }

@media (min-width: 1100px) {
	.map-header > .wrapper > .my-row-1 { position: relative; padding:1rem 12rem; }
	.map-header > .wrapper > .my-row-1 .button { position: absolute; top:50%; right: 0; transform:translateY(-50%); }
}

@media (max-width: 1100px) {
	.map-header > .wrapper > .my-row-1 { display: flex; align-items: center; flex-direction: column; margin-bottom: 1rem; }
	
	.map-header .search-column { flex-direction: column; width: fit-content; margin:0 auto; }
	.map-header .search-column > *:not(.button) { justify-content: space-between; }
}

#map-container { position:relative; }
#map { height: 50vw; background: #eee; max-height: 70vh; }
#map-search { border-radius:10px; }
#map-search,
select option { color:black; }
#map-search.placeholder-value,
select:has(option[value=""]:checked),
select option[value=""] { color:#0005 !important; }
.map-footer { padding:1rem 0; }
.map-categories { display:flex; flex-wrap: wrap; gap:0.6rem 1.3rem; align-items:center; justify-content: center; }
.map-event-group { display:flex; align-items:center; gap:0.3em; cursor:pointer; }
.map-event-group img { width: 1.9rem; height: 1.5rem; object-fit: contain; }
.map-categories .map-event-group:not(.on) { /*opacity: 0.5;*/ }
.map-categories .map-event-group.on span { font-weight: bold; position:relative; }
.map-categories .map-event-group.on span:after { content:''; position:absolute; bottom:-2px; right:0; left:-5px; border-bottom:4px solid var(--green-dark); }
.map-categories .map-event-group.on img { filter: brightness(0) saturate(100%) invert(18%) sepia(70%) saturate(5867%) hue-rotate(324deg) brightness(88%) contrast(91%); }
.map-event-group input[type="checkbox"] { opacity: 0; width: 0; height: 0; overflow: hidden; position: absolute; }
label.map-event-group:focus-within { outline: 2px solid #000; padding:0.2em 0.7em 0.2em 0.4em; border-radius:3px; margin:-0.2em -0.7em -0.2em -0.4em; }
.map-marker-info { font-size: 1rem; padding:0; }
.map-marker-info .content { display: grid; gap: 0.7rem; }

body .gm-style { font:inherit; }
body .gm-style .gm-style-iw { font-weight:inherit; }
.gm-style .gm-style-iw-c { --section-color: var(--green-dark); border: 2px solid var(--section-color); width: 400px; border-radius:0; box-shadow:-9px 8px var(--section-color); padding:0; }
/*.gm-style .gm-style-iw-d { direction:ltr; }
.gm-style .gm-style-iw-d > * { direction:rtl; }*/
.gm-style .gm-style-iw-d::-webkit-scrollbar { background-color:var(--green-dark) !important; }
.gm-style .gm-style-iw-d::-webkit-scrollbar-thumb { background-color:white !important; width: 20px !important; height:20px !important; }


/* ===== Scrollbar CSS start ===== */
/* Firefox */
.gm-style .gm-style-iw-d { overflow:auto !important; /*scrollbar-width: none !important;*/ scrollbar-color: var(--green-dark) !important; }

/* Chrome, Edge, and Safari */
.gm-style .gm-style-iw-d::-webkit-scrollbar { background: var(--green-dark) !important; }

.gm-style .gm-style-iw-d::-webkit-scrollbar-track,.gm-style .gm-style-iw-d::-webkit-scrollbar-track-piece{ background: var(--green-dark) !important; }


.gm-style .gm-style-iw-d::-webkit-scrollbar-thumb { background-color:white !important; border-radius:0px !important; border: 3px solid var(--green-dark) !important; }


button.gm-ui-hover-effect { right: auto !important; left: -6px; }

/*
.gm-style .gm-style-iw-d::-webkit-scrollbar-thumb:vertical { border-top: solid 2px rgba(33,33,33,0.5); border-bottom: solid 2px rgba(33,33,33,0.5); }

/* Up * /
.gm-style .gm-style-iw-d::-webkit-scrollbar-button:vertical:decrement { border-width: 0 7px 14px 7px; border-color: transparent transparent #404040 transparent; }

.gm-style .gm-style-iw-d::-webkit-scrollbar-button:vertical:decrement:hover { border-color: transparent transparent #505050 transparent; }


/* Down * /
.gm-style .gm-style-iw-d::-webkit-scrollbar-button:vertical:increment { border-width: 14px 7px 0 7px; border-color: #404040 transparent transparent transparent; }

.gm-style .gm-style-iw-d::-webkit-scrollbar-button:vertical:increment:hover { border-color: #505050 transparent transparent transparent; }
*/

/* ===== Scrollbar CSS end ===== */



.gm-style .gm-style-iw-tc { display:none; }
/*.gm-style-iw-t * { outline: none; }*/

.item-top {  font-weight: 400;}
.item-top .my-col-1 { align-self: center; }
.item-top .my-col-4 { align-self: flex-end; display: flex; justify-content: flex-end; }
.item-top .event-name { margin:0.1em 0; }

.map-marker-info .item-top { display:grid; grid-template-columns:3rem auto 7rem; gap:0.7rem; background:#55ad4044; }
.map-marker-info .item-top .event-name { margin:0; }
.map-marker-info .item-top .my-col-1 { align-items: center; display: flex; justify-content: center; }
.map-marker-info .item-top > * { padding:0.5rem 0; }
.map-marker-info .item-top .my-col-1 .event-icon { width:70%; }
.map-marker-info .item-top .my-col-1 .event-icon img { width: 100%; height: auto; }
.map-marker-info .item-bottom { padding:0.6rem; }
.item-bottom .p { margin:0 0 0.9rem; }
.item-bottom h6 { margin:0; }
.item-bottom a.button { margin-top: 1rem; }


@media (max-width: 782px) {
	.map-header { display: flex; flex-direction: column-reverse; align-items: center; gap: 0.6rem; }
	#map-search { max-width: 10em; }
	
	.map-marker-info .item-top { grid-template-columns: auto 5rem; gap: 0 0.7rem; padding:0.8rem 0.7rem 0.5rem; }
	.map-marker-info .item-top > * { word-break: break-word; padding:0; }
	.map-marker-info .item-top .my-col-1 { grid-column: span 2; }
	.map-marker-info .item-top .my-col-1 .event-icon { width:3rem; }
}
	
@media (max-width: 782px) {
	body.page-template-default p > label { grid-template-columns: minmax(70px,20%) auto; }
	#map { height: 90vh; max-height:none; }
}

/* ezer page: */

.ezer-unauthorized-main { margin:3rem 0; } 
.light-blue-box { background: var(--blue-light); padding:2rem; border-radius:0.7rem; }
	
.my-hidden { display: block; width: 0; height: 0; opacity: 0; position: absolute; overflow: hidden; }

.ezer-form { margin:0 auto; width:400px; max-width:100%; }
.ezer-form .my-row-1 { display:flex; gap:0.5rem; align-items: center; margin-bottom: 2rem; }
.ezer-form input[name="submit"] { background:var(--green-light); color:#0C3466; }

.content-area form .wpcf7-form-control-wrap[data-type="password"] input { padding:0.6em 2.4rem 0.6em 2.4rem; line-height: 1.2; }
.content-area form .wpcf7-form-control-wrap[data-type="password"]:after { content:''; aspect-ratio: 1; height:2.5rem; position:absolute; top:0; left:0; background:url(assets/img/form-icon-lock.svg) 50% 50%/47% auto no-repeat; }
.content-area form .wpcf7-form-control-wrap .toggle-password { aspect-ratio: 1; height:2.5rem; position:absolute; top:0; right:0; background:url("assets/img/icon-eye.svg") 50% 50%/47% auto no-repeat; cursor:pointer; padding:0 !important; border: none; }
.wpcf7-form-control-wrap:not(.shown) .toggle-password { opacity:0.5; }

.small-yellow-link { font-size:0.8rem; color:var(--green-light); }
.watch-link { width: fit-content; display:flex; gap:0.4em; align-items:center; margin:0 auto; color:inherit; font-size:0.7rem; }
.watch-link:before { content:''; width:1em; height:1em; background:url("assets/img/icon-eye.svg") 50% 50%/contain no-repeat; }

.file-item,
.shagrir-thumb,
.shagrir-thumb-simple,
.offwhite-bg { background: var(--offwhite); }

.files-grid { display: grid; grid-template-columns: repeat(3,1fr); gap:2rem; }
.file-item { padding:1.1rem; display: flex; flex-direction: column; }
.file-item h6 { flex-grow: 1; }
.file-item a.button { margin:0.5rem auto; background: var(--section-color); color: white; border: 2px solid black; }
.file-image img { width: 100%; display: block; aspect-ratio:1.7; height: auto; object-fit: cover; object-position: 50% 0%; background:white; }

@media (max-width: 782px) {
	.files-grid { grid-template-columns:repeat(1,1fr); }
}

.tabs-container { margin-bottom: 3rem; }
.tab-names { display:flex; flex-wrap:wrap; gap:0.3rem 2rem; justify-content:center; margin:2rem auto 2rem; align-items: center; }
.tab-name { padding:0 0.1em; margin:0 0; border: 2px solid transparent; flex-basis:0; text-align:center; cursor:pointer; flex-grow:0; font-weight: 500; min-width: fit-content; position:relative; }
.tab-name.on { /*background: var(--green-dark); color: white; border-color:black;*/ }

#dialog-file-preview { }
.dialog-file-preview-inner { height: 90vh; width: 90vw; display: flex; flex-direction: column; }
.dialog-file-preview-inner .dialog_label { margin:.2rem 3rem; text-align: center; }
.dialog-file-preview-inner .file-preview { flex-grow:1; display: flex; }
.file-preview iframe { display: block; border: none; width: 100%; height: 100%; }
	
[role="dialog"] .button-close { position:absolute; top:0; right:0; width:1.6rem; height:1.8rem; background: url(assets/img/arrow-left.svg) 56% 50%/contain no-repeat; }
	
/* dialog modul:*/
.hidden { display: none !important; }

[role="dialog"] {
  /*box-sizing: border-box;
  min-height: 100vh;*/
  background: white;
}

/*@media screen and (min-width: 640px) {*/
  [role="dialog"] {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
	box-shadow:-2px 2px 0.8rem #0006;
  }
/*}*/


/* native <dialog> element uses the ::backdrop pseudo-element */

.dialog-backdrop {
  display: none;
  position: fixed;
  overflow-y: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 100000;
}

@media screen and (min-width: 640px) {
  .dialog-backdrop {
    background: rgb(0 0 0 / 30%);
  }
}

.dialog-backdrop.active {
  display: block;
  background: #0009;
}

.no-scroll {
  overflow-y: auto !important;
}

/* this is added to the body when a dialog is open */
.has-dialog {
  overflow: hidden;
}


/* form page: */
#section-main { text-align: center; padding:3rem 0; }
img.section-bg { display: block; }
/*.logo { width:20vw; min-width:220px; max-width: 300px; }*/

#section-form .wpcf7 section *:last-child { margin-bottom:0; }
#section-form .wpcf7 section:not(.submit-section) { padding:2rem 1.5rem; font-weight: 400; margin:0 auto 3rem; border: 2px solid var(--section-color); box-shadow: var(--box-shadow-offset) var(--box-shadow-offset) var(--section-color); }
#section-form .wpcf7 section:nth-child(4n+1) { --section-color:var(--green-dark); }
#section-form .wpcf7 section:nth-child(4n+2) { --section-color:var(--blue); }
#section-form .wpcf7 section:nth-child(4n+3) { --section-color:var(--pink); }
#section-form .wpcf7 section:nth-child(4n+4) { --section-color:var(--green-light); }

#section-form section div:not(.button) { width: calc(100% - 3rem); margin:0 auto 1rem; }

#section-form section label { display: block; }
#section-form section label.file-label { display:inline-block; margin-inline-end: 1rem; }

#section-form section div:not(.full-width-question) input[type="text"],
#section-form section div:not(.full-width-question) input[type="url"],
#section-form section div:not(.full-width-question) select { display: block; margin:0.5rem 0 0; }

#section-form section label,
#section-form section .label { margin:0 0 1rem; display: block; width: fit-content; }

span.mandatory { color:var(--green-light); }
#section-form .wpcf7 span.wpcf7-form-control.wpcf7-radio { display: grid; gap: 0.6rem; }
p.full-width-question { display: flex; gap:0.2em 1em; align-items: center; white-space: nowrap; }
p.full-width-question .wpcf7-form-control-wrap { flex-grow:1; }
span.question-text { white-space: initial; flex-shrink: 0; max-width: 50%; }
#section-form .wpcf7 input[type="text"],
#section-form .wpcf7 input[type="email"],
#section-form .wpcf7 input[type="tel"],
#section-form .wpcf7 input[type="url"],
#section-form .wpcf7 input[type="date"],
#section-form .wpcf7 select { background:none; color:inherit; border:none; border-bottom:1px solid; padding:0.1em 0.2em; }
#section-form .wpcf7 input[type="text"]:focus-visible,
#section-form .wpcf7 input[type="email"]:focus-visible,
#section-form .wpcf7 input[type="tel"]:focus-visible,
#section-form .wpcf7 input[type="url"]:focus-visible,
#section-form .wpcf7 input[type="date"]:focus-visible,
#section-form .wpcf7 select:focus-visible { padding:0.1em 0.2em; }
#section-form .wpcf7 select { border:1px solid; border-radius:0.3em; }

#section-form .wpcf7 input[type="file"] { max-width: calc(100vw - 7rem); padding:0; }

label.file-label input { display: none; }
label.file-label { width: fit-content; }

span.wpcf7-form-control-wrap[data-name="tekes-time"] input { width: 5em; }

.wpcf7-not-valid-tip { white-space: initial; color:var(--green-dark); }

.section-whatsapp { text-align: center; display: grid; gap: 1rem; border: 2px solid var(--green-dark); }
.whatsapp-bullet { display:flex; gap:0.5rem; justify-content: center; align-items: center; }
.whatsapp-bullet:before { content: ''; width: 2em; height: 2em; background:url("assets/img/assets/icon-whatsapp.svg") 50% 50%/contain no-repeat; flex-shrink: 0; }

#section-form .wpcf7 section.submit-section { background: none !important; padding:0; box-shadow: none; display: flex; justify-content: space-between; /*flex-direction: row-reverse;*/ }
#section-form .wpcf7 section.submit-section p { width:100%; }

section.submit-section p { display: flex; justify-content: space-between; flex-direction: row-reverse; }
#section-content .wp-block-image { width: 40%; margin:2rem auto; }

input[type="reset"] { background:none; padding:0; margin:0; border:none; display:inline; font-weight:700; text-decoration:none; cursor:pointer; }

input[type="submit"],
#section-form .wpcf7 input[type="submit"],
.button { border:1px solid black; display:inline-block; padding:0.6em 1.5em; text-decoration:none !important; text-align: center; justify-content:center;
	background:#eee; cursor: pointer; }
input[type="file" i]::-webkit-file-upload-button { display: none; }

#section-form .wpcf7 input[type="submit"],
input[type="submit"],
.wpcf7 input[type="submit"],
.button.button-green,
.button.button-green:hover { background: var(--green-light); font-weight: 700; border:2px solid black; }

span.wpcf7-spinner { margin:0; position: absolute; bottom: -2rem; }

.form-button-container { display: flex; justify-content: center; margin:0 0 3.5rem; }
.form-button-container.form-button-container-bottom { margin:3.5rem 0 0; }
.form-button-container .button,
#section-form .wpcf7 input[type="submit"] { padding:0.9em 2.2em; box-shadow: 0px 4px 6.8px 0px rgba(0,  0,  0,  -0.25); }

/*body.show-main-form #section-content { display:none; }*/
.lp-bullets { display: flex; gap: 1rem 3%; margin:3rem 0 0; }
.lp-bullet { padding:1.7% 1.2%; display: flex; flex-direction: column; justify-content: flex-start; width:calc((100% - (var(--in-row) - 1) * 3%) / var(--in-row)); }
.lp-bullet .image-container { position: relative; padding-top:60%; height:0; width:60%; margin:0 auto 2em; }
.lp-bullet .image-container img { display:block; position:absolute; top:0; right:0; width:100%; height:100%; object-fit:contain; }
	
/*body:not(.show-main-form) #section-form { display:none; }*/

#section-form > .user-content { text-align: center; margin:3.5rem 0; }
#section-form > .user-content .wpcf7 { text-align: start; }


@media (max-width: 782px) {
	#section-form section div { width:auto; }
	.lp-bullets { display: grid; gap:2rem; margin:4rem 0 0; }
	.lp-bullet { width: 70%; margin:0 auto; padding:1em 2%; }
}


/* page-thanks: */
body.page-thanks { /*background: var(--color-background); color: white;*/ margin: 0; }
body.page-thanks .logo { margin:1rem auto 2rem; display: block; }

@media (max-width: 782px) {
	html { font-size:16px; }
	h1 { font-size:2.2rem; }
	h2 { font-size:1.2rem; }
	
	#section-content { text-align: center; }
	#section-content .wp-block-image { width: 40%; margin:2rem auto; }
		
	#section-form section p { width:100%; }
	#section-form section p > label,
	#section-form section p > .label { margin:0; }
	
	body.page-thanks .logo { margin:4rem auto 2rem; }
}


/* slick slider: */
.slick-slider.slick-flex .slick-track { display:flex; align-items: center; }
.slick-slider.slick-flex .slick-slide { height:auto; }

button.slick-arrow,
button.slick-arrow:focus,
button.slick-arrow:hover { border: none; font-size: 0; position:absolute; left:0; top:50%; transform:translateY(-50%); width: 58px; height: 58px; background:url(assets/img/arrow-right.svg) 56% 50% no-repeat; cursor: pointer; }
button.slick-arrow:hover { }
button.slick-arrow:before,
button.slick-arrow:after { display:none; }
body.rtl button.slick-next,
body:not(.rtl) button.slick-prev { left:auto; right:0; background-image:url(assets/img/arrow-left.svg); }

body.rtl .slick-slider .slick-list,
body.rtl .slick-slider .slick-track { direction:inherit !important; }

/*body:not(.rtl) .wpsisac-slick-slider.design-1 .slick-next { left:auto !important; right:20px !important; }
body:not(.rtl) .wpsisac-slick-slider.design-1 .slick-prev { left:20px !important; right:auto !important; }*/

/* social: */
ul.social { display: flex; align-items: center; justify-content: center; list-style: none; gap: 1rem; flex-wrap: wrap; padding:0; margin:0; }
ul.social img { display:block; max-width:2rem; max-height: 2rem; width:auto; height:auto; }

.site-footer ul.social { margin:0 auto; filter: brightness(10); }

nav ul { list-style:none; margin:0; padding:0; }

/* footer: */
body .site-content :is(section:last-child, .above-footer) > *:last-child { padding-bottom: var(--footer-height); }

.site-footer { position: relative; margin-top: -90px; background: var(--blue); color: var(--white); text-align: center;
	padding:1rem 0; border-radius:50vw 50vw 0 0; }
.site-footer a { text-decoration: none; }
.footer-logos { position: absolute; top: 0; left:0; height:100%; object-fit:contain;  padding:0.5rem 1rem; display:grid; grid-template-columns:2fr 0.8fr; max-width:25%; width:360px; align-items: center; gap:5%; }
.footer-logos img { position: relative; width:auto; height:auto; min-width:0 !important; min-height: 0 !important; max-width: 100%; max-height:100%; padding:0 !important; }

.footer-menu { display:flex; gap:1rem; align-items:center; justify-content: center; }
.footer-menu li.accessibility > a { display: flex; align-items: center; gap:0.6em; }
.footer-menu li.accessibility > a:before { content:''; width: 2em;
    height: 2em;
    background: gray url(assets/img/icon-accessibility.svg) center / 60% auto no-repeat;
    border-radius:50%;
}


/* popups: */
.popup-container { position:fixed; top:0; left:0; bottom:0; right:0; display:none; background:#32323388; z-index:100; }
.popup { position:absolute; -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; transition: all 0.5s ease-out; width:90%; max-width:700px; background-color:white; color:black; padding:2em 4em; max-height:calc(100vh - 80px); right:50%; top:50%; transform:translate(50%,-50%); }

.popup-content {}

.hide-popup { position:absolute; top:-30px; left:0; }
body.rtl .hide-popup {left:auto; right:0;}
.hide-popup:after {display:block; content:''; background:url(assets/img/x-white.png) 50% 50%/contain no-repeat; font-family:dashicons; text-align:center; color:white; cursor:pointer; width:19px; height:20px;}

.footer-logos-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.footer-logos-container img { max-height: 6rem; width:auto; height:auto; }



.entry-content a,
.comment-content a,
.entry-content a:hover,
.comment-content a:hover { font-size:inherit; font-weight:inherit; color: #2400FF; text-decoration:underline;}

.entry-content ul, .entry-content ol { padding:0 20px 0 0; }
.rtl .entry-content ul, .rtl .entry-content ol { padding:0 0 0 20px; }


@media (max-width:1300px) {
	.site-footer { display: flex; flex-direction: column-reverse; align-items: center; }
	.footer-logos { position:relative; padding:0; max-width:90%; margin-top:1rem; }
}


@media (min-width: 783px) {
	.mobile-only { display:none !important; }
}
@media (max-width: 782px) {

	/*body.admin-bar .site-header {top:46px;}*/

	html { /*position:unset;*/ }
	
	.desktop-only { display:none !important; }

	.wrapper { width:90%; }
	.wrapper-small { width:90%; }

	:root {
		--wrapper-margin:5vw;
	}

	.menu-toggle { cursor:pointer; margin:0; display: flex; align-items: center; z-index: 1000; position:absolute; top: 50%; transform: translateY(-50%); left: 1rem;}
	.menu-toggle:after { content:"\f333"; font-family:dashicons; line-height:2rem; font-size:2rem; display:inline-block;}
	#navbar .menu-toggle { display:block !important; height:2rem;}
	
	body #navbar { display:block; z-index: 100; position:fixed; top:0; bottom:-60px; left:100%; width:65%; background:var(--color-dark); color:white; padding:0; flex-direction: column; justify-content: space-around; box-shadow:0 3px 6px #00000022; }

	.navbar-container { }

	body #navbar { border-inline-end: 5px solid var(--green-dark); padding-top:calc(var(--site-header-height) + 1rem); left:100%; width:75%; overflow: hidden; background: white; color: inherit; position: absolute; height: 100vh; }
	body.rtl #navbar { left:auto; right:100%; }
	body.admin-bar #navbar {}
	
	body.mobile-menu-open #navbar { transform: translateX(100%); }
	body.rtl.mobile-menu-open #navbar { right:100%; left:auto; }

	/*body.rtl.mobile-menu-open #navbar {right:auto; left:35%;}*/

	/*body.mobile-menu-open .nav-menu { opacity:1; }*/
	
	ul.nav-menu { display:grid; margin-bottom:1.2rem; gap:1.2rem;  }
	
	#navbar .wrapper { height:auto; }
	
	li.login-menu-item {margin:0 !important;}
	
	/*ul.nav-menu-mobile {list-style:none; margin:0; padding:0; display:flex; flex-direction: column; justify-content:space-between; flex:1 1 auto;}
	ul.nav-menu-mobile li {text-align:center; font-size:21px; color:white;}
	ul.nav-menu-mobile li a {text-decoration:none; padding:10px; display:block;}
	.nav-menu-mobile > li.current_page_item a,
	.nav-menu-mobile > li.current-page-ancestor a {color:#ec834b; font-weight:600;}
	
	ul.nav-menu-mobile li.login-link {background:#0097ea; font-size:18px; font-weight:normal;}
	body.logged-in ul.nav-menu-mobile li.login-link {background:#0097ea;}*/
	
	.news-items-container {padding:0 50px;}
	.site-main button.slick-prev {right:-0.5em;}
	.site-main button.slick-next {left:-0.5em;}
	
	.slick-dots {list-style: none; padding:0; margin:0; position:absolute; top:calc( (100vw - 40px) * 0.57 ); right:0; left:0; display:flex; flex-wrap:wrap; justify-content: center;}
	.slick-dots li {margin:0 7px 5px;}
	.slick-dots li button { font-size:1rem; line-height: 0; display: block; width: 20px; height: 20px; cursor: pointer; color:transparent; border:1px solid #37D68F; background:transparent; border-radius:50%; }
	.slick-dots li.slick-active button {background:#37D68F;}
	
	
	/* home: */
	.home-form { width:auto; margin:0 0 2rem; }


}

@media screen and (max-width: 600px) {
	html #wpadminbar { position:fixed; }
}


/* a11y: restore focus indicator (WCAG 2.4.7). twentythirteen/style.css sets
   `outline: none`, and several plugins ship their own :focus-visible rules,
   so this is forced to keep one consistent ring across the whole site. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #000 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 6px rgba(255,  -255,  -255,  -0.9) !important;
	border-radius:2px;
}

/* ------------------------------------------------------------------
   A11Y 2026-11-13
   .site-title / .site-description are display:none on every page, yet were
   marked up as <h1>/<h2>. Every page therefore carried a hidden H1 competing
   with its real, visible one. They are <p> now (header.php and
   page-shagririm.php), which leaves each page's visible title as its only H1.

   On the home page that visible title is an <h1> again. The line above it,
   "יוצרים קהילה שווה", used to be an <h2> sitting BEFORE the <h1> - an
   inverted hierarchy. It is display copy rather than a section heading, so it
   is now a <p class="hero-kicker">, styled to match exactly what
   .header-logo h2 gave it (see the rules at the top of this file).
   ------------------------------------------------------------------ */
.header-logo .hero-kicker {
	font-family: Rubik, Assistant, sans-serif;
	color: inherit;
	letter-spacing: 0;
	margin:0 0 0.2em;
	font-size: min(82px, 4.5vw);
	font-weight: 400;
	line-height: 0.9em;
}

@media (max-width: 782px) {
	.header-logo .hero-kicker { font-size: 6.5vw; }
}

/* Available to screen readers, invisible on screen. Used for the <h1> on the
   two registration pages, which render no heading text of their own. */
.ff-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin:-1px;
	padding:0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

/* A11Y 2026-11-13: styling for the "skip to navigation" link added in header.php.
   Self-contained rather than reusing .pojo-skip-link, so the link keeps working
   and stays hidden even if the Pojo Accessibility plugin is ever removed. */
.ff-skip-link { position: absolute; top: -1000em; }
.ff-skip-link:focus {
	top: 50px; inset-inline-start: 50px;
	display: block; width: 200px; height: auto;
	padding:15px 23px 14px;
	font-size: 14px; font-weight: 700; line-height: normal; text-align: center;
	text-decoration: none; color: #21759B; background-color: #F1F1F1;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, -0.6); z-index: 100000;
}

/* Keeps a demoted section heading at the <h1> size it had. Inside this theme
   h1 and h2 differ only in font-size (2.2rem vs 1.6rem), at both breakpoints. */
.as-h1-size { font-size: 2.2rem; }

/* HOME-CARDS-START 2026-11-13: home bullet cards as real HTML text (WCAG 1.4.5) instead of images of text.
   Active when the card's ACF "content" field is filled; with it empty the card falls back to image-only. */
.home-bullets-grid { grid-template-columns: repeat(2, minmax(0, 391px)); }
.home-card { display:flex; align-items:center; gap:16px; box-sizing:border-box; background:var(--white); border-radius:20px; padding:11px; position:relative; color:var(--blue); text-decoration:none; overflow:hidden; }
.home-card .image-container { flex:0 0 40%; }
.home-card .image-container img.bullets-banner { width:100%; height:auto; border-radius:16px; }
.home-card .user-content { flex:1 1 auto; font-size:16px; line-height:1.3; padding-right:44px; padding-top:30px; }
.home-card .user-content p { margin:0; }
.home-card .home-card-kicker { font-size:17px; line-height:1.25; font-weight:400; }
.home-card .home-card-title { font-size:17px; line-height:1.25; font-weight:700; margin:0; color:var(--blue); }
.home-card .home-card-more { margin-top:16px !important; font-size:13px; display:flex; align-items:center; gap:.4em; }
.home-card .home-card-more:after { content:""; width:.8em; height:.8em; background:url(assets/img/arr-left.svg) center/contain no-repeat; }
a.home-card:after { content:""; position:absolute; right:14px; top:14px; width:40px; height:40px; border-radius:50%; background:var(--purple-light) url(assets/img/arrow-left-white.svg) center/45% no-repeat; }
a.home-card:hover .home-card-more, a.home-card:focus-visible .home-card-more { text-decoration:underline; }
.home-bullets-grid-1.home-card { flex-direction:column-reverse; justify-content:space-between; align-items:stretch; padding:0; text-align:center; }
.home-bullets-grid-1.home-card .user-content { padding:40px 28px 0; font-size:17px; }
.home-bullets-grid-1.home-card .image-container { flex:0 0 auto; }
.home-bullets-grid-1.home-card .image-container img.bullets-banner { border-radius:0; }
.home-card .home-card-badge { display:inline-block; background:var(--pink); color:var(--white); font-weight:700; font-size:36px; line-height:1; padding:4px 12px; margin-bottom:10px; }
.home-bullets-grid-1.home-card .home-card-title { font-size:34px; font-weight:800; }
.home-card .home-card-subtitle { font-size:26px; margin:2px 0 12px; }
@media (max-width:782px) {
	.home-bullets-grid { grid-template-columns: 1fr; }
	a.home-card { display:flex; }
	.home-bullets-grid-1.home-card .user-content { text-align:center; }
	.home-card:not(.home-bullets-grid-1) .user-content { text-align:left; }
	a.home-card:after { border:none; width:36px; height:36px; right:12px; top:12px; }
	.home-bullets-grid-1.home-card .home-card-title { font-size:28px; }
	.home-card:not(.home-bullets-grid-1) .image-container { flex-basis:34%; }
	.home-card:not(.home-bullets-grid-1) .user-content { padding-right:36px; }
	.home-card .home-card-more { white-space:nowrap; }
}
/* HOME-CARDS-END */

/* TEXT-RESIZE-START 2026-11-13: the accessibility toolbar's "הגדל טקסט" button scales the root font
   (via --ff-text-scale, set in functions.js) instead of pojo's per-element percentages, which compound
   when nested (p inside body got 169% at the first step). Fixed-px sizes below are scaled by the same factor. */
html.ff-text-scaled { font-size: calc(22px * var(--ff-text-scale, 1)) !important; }
html.ff-text-scaled h4 { font-size: calc(34px * var(--ff-text-scale)); }
html.ff-text-scaled h5 { font-size: calc(24px * var(--ff-text-scale)); }
html.ff-text-scaled .subtitle-1,
html.ff-text-scaled .nav-menu > li,
html.ff-text-scaled .section-special-form form,
html.ff-text-scaled button { font-size: calc(16px * var(--ff-text-scale)); }
html.ff-text-scaled .button-large,
html.ff-text-scaled .site-header-inner .user-content { font-size: calc(15px * var(--ff-text-scale)); }
html.ff-text-scaled .body-2 { font-size: calc(14px * var(--ff-text-scale)); }
html.ff-text-scaled .small { font-size: calc(12px * var(--ff-text-scale)); }
html.ff-text-scaled body.home .entry-content h2 { font-size: calc(34px * var(--ff-text-scale)); }
html.ff-text-scaled .home-card .user-content { font-size: calc(16px * var(--ff-text-scale)); }
html.ff-text-scaled .home-card .home-card-kicker,
html.ff-text-scaled .home-card .home-card-title,
html.ff-text-scaled .home-bullets-grid-1.home-card .user-content { font-size: calc(17px * var(--ff-text-scale)); }
html.ff-text-scaled .home-card .home-card-more { font-size: calc(13px * var(--ff-text-scale)); }
html.ff-text-scaled .home-card .home-card-badge { font-size: calc(36px * var(--ff-text-scale)); }
html.ff-text-scaled .home-bullets-grid-1.home-card .home-card-title { font-size: calc(34px * var(--ff-text-scale)); }
html.ff-text-scaled .home-card .home-card-subtitle { font-size: calc(26px * var(--ff-text-scale)); }
html.ff-text-scaled .home-card .home-card-more { white-space: normal; }
@media (max-width: 782px) {
	html.ff-text-scaled { font-size: calc(16px * var(--ff-text-scale, 1)) !important; }
	html.ff-text-scaled h4 { font-size: calc(29px * var(--ff-text-scale)); }
	html.ff-text-scaled h5 { font-size: calc(20px * var(--ff-text-scale)); }
	html.ff-text-scaled .home-bullets-grid-1.home-card .home-card-title { font-size: calc(28px * var(--ff-text-scale)); }
}
/* TEXT-RESIZE-END */

/* CONTRAST-START 2026-11-13: WCAG 1.4.3 fixes in the normal (non-toolbar) design. */
/* "2026" badge on the home card: white on pink was 2.05:1 -> brand blue on pink 4.85:1 */
.home-card .home-card-badge { color: var(--blue); }
/* Flag gallery caption overlay: #0006 (40%) over a bright photo fell below 3:1 -> ~67% black */
@media (min-width:783px) { a.flag-item .content { background: #000a; } }
@media (max-width:782px) { a.flag-item .content > div { background: #000a; } }
/* Pagination numbers were #aaa on white (2.3:1) -> #666 (5.7:1) */
html a.page-numbers:not(.current) { color: #666; }
/* Activity titles were #3372F0 on white (4.3:1) -> same hue, darker (5.2:1) */
html .entry-title a,
html .type-event .entry-content a { color: #2563EB; }
/* CONTRAST-END */

/* MOBILE-MENU-A11Y-START 2026-11-13: a closed mobile menu is taken out of the Tab order (WCAG 2.4.3/2.4.7);
   the visibility change is delayed on close so the slide-out animation still plays. */
@media (max-width: 782px) {
	body:not(.mobile-menu-open) #navbar { visibility: hidden; transition: transform 0.2s ease-out, visibility 0s linear 0.2s; }
	body.mobile-menu-open #navbar { visibility: visible; transition: transform 0.2s ease-out, visibility 0s; }
}
/* MOBILE-MENU-A11Y-END */

/* EXPAND-A11Y-START 2026-11-13: "קרא.י עוד/פחות" are real buttons now; strip the browser's button look. */
button.expand-toggle { background: none; border: 0; padding:0; margin:0; font: inherit; color: inherit; text-align: inherit; }
/* EXPAND-A11Y-END */

/* BRAND-CONTRAST-START 2026-11-13: "שותפים" in --green-light on white was 1.49:1 -> brand dark green (7.6:1).
   The hero header colours are per-page ACF fields (header_text_color), changed in the DB, not here. */
.section-title .yellow { color: var(--green-dark); }
/* Events Manager accent (#3372F0, 4.3:1 on white) -> same hue, 5.2:1 */
html .em.pixelbones { --accent-color: #2563EB; }
/* BRAND-CONTRAST-END */

/* ezer password gate — full-screen, styled after yomale.matnasim.org.il/employeearea (2026-11-23) */
body.ezer-gate-page { --site-header-height: 0px !important; margin-top: 0 !important; background: #fff; }
.ezer-gate { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding:90px 16px 60px; box-sizing: border-box; color: #000; background: #fff; }
.ezer-gate-close { position: absolute; top: 44px; left: 80px; width: 26px; height: 26px; }
.ezer-gate-close:before,
.ezer-gate-close:after { content: ''; position: absolute; top: 50%; right: -3px; width: 32px; height: 1.5px; background: #000; transform: rotate(-45deg); }
.ezer-gate-close:after { transform: rotate(45deg); }
.ezer-gate-close:focus-visible { outline: 2px solid #000; outline-offset: 6px; }
.ezer-gate-inner { width: 420px; max-width: 100%; text-align: center; transform: translateY(-40px); }
.ezer-gate-title { font-family: Rubik, sans-serif; font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin:0 0 22px; color: #000; }
.ezer-gate-text, .ezer-gate-text p { font-size: 16px; font-weight: 300; line-height: 1.4; margin:0 !important; text-align: center !important; }
.ezer-gate-form { width: 200px; max-width: 100%; margin:54px auto 0; }
.ezer-gate-field { position: relative; display: block; }
.ezer-gate-form input[type="password"],
.ezer-gate-form input[name="pwd"] { width: 100%; box-sizing: border-box; height: 28px; padding:2px 28px 2px 2px; font-family: inherit; font-size: 16px; line-height: 1.5; color: #000; background: transparent; border: 0; border-bottom: 1px solid #767676; border-radius:0; box-shadow: none; outline: none; text-align: left; }
.ezer-gate-form input[name="pwd"]::placeholder { color: #6b6b6b; opacity: 1; }
.ezer-gate-form input[name="pwd"]:focus { border-bottom: 2px solid #000; }
.ezer-gate-form input[name="pwd"][aria-invalid="true"] { border-bottom-color: #b00020; }
.ezer-gate-form .toggle-password { position: absolute; top: 0; right: 0; width: 26px; height: 26px; padding:0 !important; border: none; background: url("assets/img/icon-eye.svg") 50% 50%/16px auto no-repeat; cursor: pointer; }
.ezer-gate-error { margin:8px 0 0; font-size: 14px; color: #b00020; text-align: left; }
.ezer-gate-form .ezer-gate-submit { display: block; width: 100%; height: 48px; margin:40px 0 0; padding:0; font-family: inherit; font-size: 16px; font-weight: 400; color: #000; background: #EFAD1B; border: 0; border-radius:1px; cursor: pointer; transition: background .2s; }
.ezer-gate-form .ezer-gate-submit:hover { background: #f5be45; }
.ezer-gate-form .ezer-gate-submit:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
@media (max-width: 600px) {
	.ezer-gate-close { top: 24px; left: 24px; }
	.ezer-gate-title { font-size: 38px; }
	.ezer-gate-form { width: 240px; }
}

/* /lib/ inner area — yomale-style hub (2026-11-23) */
.lib-area { --lib-pink: #2A3E82; --lib-pink-btn: #2A3E82; --lib-pink-text: #2A3E82; --lib-pink-soft: var(--offwhite); /* Dec 2: pink out, site palette in */ --lib-navy: #2A3E82;
	max-width: 1080px; margin:0 auto; padding:24px 0 64px; color: var(--lib-navy); font-size: 18px; line-height: 1.45; scroll-margin-top: calc(var(--site-header-height) + 20px); }
.lib-banner { border-radius:12px; padding:30px 24px 34px; text-align: center; background: linear-gradient(100deg, #F6508A 0%, #F9A9C4 48%, #F6508A 100%); }
.lib-banner-kicker { display: block; font-size: 24px; font-weight: 700; color: #fff; line-height: 1.1; }
.lib-banner-title { margin:6px 0 0; font-size: 46px; font-weight: 700; line-height: 1.1; color: var(--lib-navy); }
.lib-intro { max-width: 780px; margin:30px auto 0; text-align: center; }
.lib-intro p { margin:0 0 8px; text-align: center !important; }
.lib-intro:empty { display: none; }

.lib-cards { list-style: none; margin:0; padding:0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.lib-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fff; border-radius:22px; padding:26px 20px 22px; margin:0; }
.lib-card-title { margin:0; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--lib-navy); }
.lib-card-meta { font-size: 15px; color: #3d4a73; }
.lib-pill { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 200px; min-height: 42px; padding:6px 18px; box-sizing: border-box; border-radius:100px; background: var(--lib-pink-btn); color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background .2s; }
.lib-card-meta + .lib-pill { margin-top: 10px; }
.lib-pill:hover { background: #1F2E63; }
.lib-pill:focus-visible, .lib-back:focus-visible, .lib-preview:focus-visible { outline: 3px solid var(--lib-navy); outline-offset: 3px; }

/* hub: pink band behind the category cards */
.lib-hub { margin-top: 40px; padding:44px 0; background: var(--lib-pink-soft); box-shadow: 0 0 0 100vmax var(--lib-pink-soft); clip-path: inset(0 -100vmax); }
.lib-cat-icon { color: var(--lib-pink); line-height: 0; margin-bottom: 4px; }
.lib-cat-icon svg { width: 40px; height: 40px; }

/* category view */
.lib-cat { margin-top: 40px; }
.lib-cat-head { text-align: center; padding-bottom: 22px; margin:0 auto 16px; max-width: 980px; border-bottom: 1px solid #d9d9d9; }
.lib-cat-badge { display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius:50%; background: var(--offwhite); color: var(--lib-pink-text); }
.lib-cat-badge svg { width: 40px; height: 40px; }
.lib-cat-title { margin:14px 0 0; font-size: 42px; font-weight: 700; line-height: 1.15; color: var(--lib-pink); outline: none; }
.lib-back { display: inline-flex; align-items: center; gap: 12px; margin:0 0 36px 50px; font-size: 18px; color: var(--lib-pink-text) !important; text-decoration: none !important; }
.lib-back:hover { text-decoration: underline !important; }
.lib-back-arrow { width: 28px; height: 28px; border: 1.5px solid var(--lib-navy); border-radius:50%; box-sizing: border-box; position: relative; flex: none; }
.lib-back-arrow:after { content: ''; position: absolute; top: 50%; right: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--lib-navy); border-left: 1.5px solid var(--lib-navy); transform: translate(65%, -50%) rotate(-45deg); }

.lib-file-cards .lib-card { border: 1px solid #e2e2e2; border-radius:10px; padding:0 0 20px; overflow: hidden; background: #fff; }
.lib-file-cards .lib-card > :not(.lib-file-thumb) { margin-inline: 16px; }
.lib-file-thumb { width: 100%; height: 150px; margin-bottom: 8px; background: var(--lib-pink-soft); display: flex; align-items: center; justify-content: center; color: var(--lib-pink-text); }
.lib-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lib-file-icon svg { width: 46px; height: 46px; }
.lib-file-cards .lib-card-title { font-size: 17px; }
.lib-file-cards .lib-pill { width: calc(100% - 32px); }
.lib-preview { margin-top: 2px !important; font-size: 15px !important; color: var(--lib-navy) !important; background: none; border: 0; padding:4px; cursor: pointer; }

.lib-js .lib-view[hidden] { display: none !important; }
.lib-area:not(.lib-js) .lib-cat > .lib-back { display: none; }

@media (max-width: 1100px) { .lib-area { padding-inline: 16px; } }
@media (max-width: 960px) { .lib-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
	.lib-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.lib-banner-title { font-size: 36px; }
	.lib-cat-title { font-size: 32px; }
	.lib-back { margin-left: 0; }
}
@media (max-width: 420px) { .lib-cards { grid-template-columns: 1fr; } }

/* organisers' area (/organizers/) — extends the .lib-* look (2026-11-23) */
.lib-back-row { max-width: 980px; margin:26px auto 0; }
.lib-back-row .lib-back { margin:0; }
.lib-in-cat .lib-back-row-hub { display: none; }
.lib-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lib-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 740px; margin-inline: auto; }
.lib-cards-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.lib-cards-2 .lib-card, .lib-cards-3 .lib-card { padding:34px 26px 28px; }
.lib-cards-2 .lib-cat-icon svg, .lib-cards-3 .lib-cat-icon svg { width: 52px; height: 52px; }
.lib-cards-2 .lib-card-title, .lib-cards-3 .lib-card-title { font-size: 21px; }
.lib-card-text { margin:0; font-size: 16px; line-height: 1.4; color: var(--lib-navy); }
.lib-card-text + .lib-pill { margin-top: 14px; }
.lib-empty { text-align: center; margin:40px 0; font-size: 18px; }
.lib-note { max-width: 980px; margin:44px auto 0; padding:24px 28px; border: 1px solid #d6d6d6; border-radius:12px; text-align: center; background: #fff; }
.lib-note h2 { margin:0 0 10px; font-size: 22px; color: var(--lib-navy); }
.lib-note p { margin:0 0 6px; text-align: center !important; }
.lib-note .lib-pill { margin-top: 12px; width: auto; max-width: none; padding-inline: 28px; }

/* filters */
.lib-filter { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px 18px; max-width: 980px; margin:30px auto 0; }
.lib-filter-field { display: flex; flex-direction: column; gap: 4px; min-width: 170px; }
.lib-filter-q { flex: 1 1 260px; }
.lib-filter label { font-size: 15px; font-weight: 700; color: var(--lib-navy); }
.lib-filter input, .lib-filter select { height: 44px; box-sizing: border-box; padding:6px 12px; font: inherit; font-size: 16px; color: var(--lib-navy); background: #fff; border: 1px solid #767676; border-radius:8px; }
.lib-filter input:focus-visible, .lib-filter select:focus-visible { outline: 3px solid var(--lib-navy); outline-offset: 1px; }
.lib-filter .lib-filter-submit { width: auto; min-width: 120px; margin:0; border: 0; cursor: pointer; font-family: inherit; }
.lib-filter-clear { align-self: center; font-size: 15px; color: var(--lib-pink-text) !important; }
.lib-results-title { margin:0 0 22px; text-align: center; font-size: 22px; color: var(--lib-navy); }
.lib-act-card .lib-file-thumb { margin-bottom: 4px; }
.lib-pager { margin-top: 28px; display: flex; justify-content: center; gap: 8px; }
.lib-pager .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius:20px; background: #fff; color: var(--lib-navy); font-size: 16px; text-decoration: none; padding:0 12px; }
.lib-pager .current { background: var(--lib-pink-btn); color: #fff; }

/* single activity / tool */
.lib-single .lib-cat-head { margin-top: 30px; }
.lib-single-kicker { display: block; margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--lib-pink-text); }
.lib-single .lib-cat-title { margin-top: 4px; }
.lib-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin:26px auto 0; padding:0; }
.lib-facts div { background: var(--lib-pink-soft); border-radius:100px; padding:6px 18px; font-size: 16px; }
.lib-facts dt { display: inline; font-weight: 700; }
.lib-facts dt:after { content: ': '; }
.lib-facts dd { display: inline; margin:0; }
.lib-single-image { max-width: 760px; margin:30px auto 0; }
.lib-single-image img { width: 100%; height: auto; border-radius:12px; display: block; }
.lib-single-content { max-width: 760px; margin:30px auto 0; font-size: 18px; }
.lib-single .lib-hub { margin-top: 44px; }
.lib-download-box { max-width: 760px; margin:32px auto 0; display: flex; align-items: center; gap: 18px; padding:20px 24px; border-radius:16px; background: var(--lib-pink-soft); }
.lib-download-box > div { flex: 1; display: flex; flex-direction: column; }
.lib-download-box .lib-cat-icon { margin:0; }
.lib-download-box .lib-pill { width: auto; margin:0; padding-inline: 28px; }
.lib-links { max-width: 760px; margin:40px auto 0; }
.lib-links ul { margin:0; padding:0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lib-links a { color: var(--lib-pink-text) !important; font-size: 18px; }

/* supplier contact */
.lib-contact { max-width: 760px; margin:40px auto 0; padding:26px 28px; border-radius:16px; background: var(--offwhite); text-align: center; color: #2A3E82; }
.lib-contact h2 { margin:0 0 6px; font-size: 26px; color: #2A3E82; }
.lib-contact-name { margin:0 0 14px; font-size: 18px; text-align: center !important; }
.lib-contact-list { list-style: none; margin:0; padding:0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.lib-contact-list li { margin:0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lib-contact .lib-pill, .lib-back-row .lib-pill { --lib-pink-btn: #2A3E82; --lib-navy: #2A3E82; width: auto; max-width: none; padding-inline: 26px; margin:0; }
.lib-contact-mail { font-size: 14px; }
.lib-pill-outline { background: #fff !important; color: #2A3E82 !important; border: 2px solid #2A3E82; }
.lib-pill-outline:hover { background: #fff5f8 !important; }
.single-sapak .lib-back-row { --lib-pink-text: #2A3E82; --lib-navy: #2A3E82; margin-top: 30px; text-align: center; }
.single-sapak .lib-back { color: #2A3E82 !important; display: inline-flex; align-items: center; gap: 12px; font-size: 18px; text-decoration: none !important; }

/* home: link into the organisers' area */
.home-org-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin:28px auto 0; padding:22px 30px; border-radius:16px; background: #2A3E82; color: #fff !important; text-decoration: none !important; }
.home-org-cta-q { font-size: 26px; font-weight: 700; }
.home-org-cta-go { display: inline-flex; align-items: center; gap: 8px; padding:10px 26px; border-radius:100px; background: #2A3E82; font-size: 18px; font-weight: 700; }
.home-org-cta:hover .home-org-cta-go { background: #2A3E82; }
.home-org-cta:focus-visible { outline: 3px solid #2A3E82; outline-offset: 3px; }

@media (max-width: 960px) { .lib-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
	.lib-download-box { flex-direction: column; text-align: center; }
	.home-org-cta { justify-content: center; text-align: center; }
	.home-org-cta-q { font-size: 22px; }
}
@media (max-width: 560px) { .lib-cards-2, .lib-cards-3 { grid-template-columns: 1fr; } }
.lib-card .lib-pill, .lib-card-meta + .lib-pill, .lib-card-text + .lib-pill { margin-top: auto; }
.lib-card-text, .lib-card-meta { margin-bottom: 14px; }
.lib-area { margin-bottom: 70px; }
.single-sapak .lib-back-row { margin-bottom: 90px; }

/* breadcrumbs — organisers' area (2026-11-23) */
.feb-crumbs { max-width: 1080px; width: 100%; box-sizing: border-box; margin:18px auto 0; padding:0 16px; font-size: 15px; color: #2A3E82; }
.feb-crumbs ol { list-style: none; margin:0; padding:0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.feb-crumbs li { display: inline-flex; align-items: center; margin:0; }
.feb-crumbs li + li:before { content: ''; width: 6px; height: 6px; margin:0 10px; border-bottom: 1.5px solid #6b6b80; border-right: 1.5px solid #6b6b80; transform: rotate(-45deg); flex: none; }
.feb-crumbs a { color: #2A3E82 !important; text-decoration: underline; text-underline-offset: 3px; }
.feb-crumbs a:hover { text-decoration-thickness: 2px; }
.feb-crumbs a:focus-visible { outline: 2px solid #2A3E82; outline-offset: 2px; }
.feb-crumbs [aria-current] { font-weight: 700; }
.lib-page .lib-area { padding-top: 14px; }
.lib-filter-field { min-width: 150px; flex: 1 1 150px; }
.lib-filter-q { flex: 2 1 240px; }
.lib-filter-actions { display: flex; align-items: center; gap: 14px; }

/* ==========================================================================
   Homepage 2027 – "מרחיבים את נקודת המבט" (home.php, inc/home-2027.php)
   ========================================================================== */
.h27 { --h27-navy: #2A3E82; --h27-magenta: #2A3E82; }
.h27-section { padding:clamp(48px, 0 96px) 7vw,; }
.h27-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; font-weight: 700; color: var(--h27-navy); margin:0 0 .5em; }
.h27 .user-content p { font-size: 1.15rem; line-height: 1.65; }

.h27-card { background: var(--white); border-radius:24px; padding:clamp(28px, 4.5vw, 56px); max-width: 1060px; margin:0 auto; box-shadow: 0 10px 40px rgba(0,  -19,  -85,  -.08); }
.h27-card-narrow { max-width: 1060px; }
.h27-lead { font-size: 1.3rem; line-height: 1.5; margin:0 0 1.25rem; color: var(--h27-navy); }

/* expand / collapse */
.h27-toggle, .h27-less { font: inherit; cursor: pointer; border: 2px solid var(--h27-navy); background: transparent; color: var(--h27-navy); border-radius:100px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.h27-toggle { font-size: 1.15rem; padding:10px 22px; }
.h27-toggle:hover, .h27-less:hover { background: var(--h27-navy); color: var(--white); }
.h27-chevron { width: 16px; height: 16px; transition: transform .2s; }
.h27-toggle[aria-expanded="true"] .h27-chevron { transform: rotate(-180deg); }
.h27-more { margin:1.5rem 0 0; padding:1.5rem 0 0; border-top: 2px dashed var(--pink); }
.h27-more:focus { outline: none; }
.h27-less { font-size: 1rem; padding:6px 18px; margin-top: .25rem; }
.h27-after { margin-top: 2rem; padding:1.5rem 1.75rem; background: var(--offwhite); border-radius:16px; }
.h27-after p:last-child { margin-bottom: 0; }
.h27-after strong { color: var(--h27-magenta); }

/* buttons */
.h27-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 2rem; }
.h27-btn { display: inline-flex; align-items: center; gap: 10px; padding:14px 30px; border-radius:100px; font-size: 1.15rem; font-weight: 700; text-decoration: none !important; color: var(--white) !important; transition: transform .15s, box-shadow .15s; }
.h27-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,  -19,  -85,  -.2); }
.h27-btn-blue { background: var(--h27-navy); }
.h27-btn-pink { background: var(--pink); color: var(--blue) !important; }
.h27 :focus-visible { outline: 3px solid var(--h27-magenta); outline-offset: 3px; }

/* widening the point of view */
.h27-persp-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.h27-persp-q { margin:0; background: var(--purple-light); color: var(--h27-navy); border-radius:50% 50% 24px 24px / 38% 38% 24px 24px; padding:56px 36px 44px; text-align: center; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.3; }
.h27-persp-q .h27-glasses { display: block; width: 110px; margin:0 auto 18px; color: var(--h27-navy); }

/* six points of view */
.h27-views { background: var(--blue); color: var(--white); }
.h27-views .h27-title, .h27-views .user-content p { color: var(--white); }
.h27-sub { font-size: 1.4rem; font-weight: 700; color: var(--green-light); margin:-.25rem 0 1rem; }
.h27-views-text { max-width: none; }
.h27-views-grid { list-style: none; margin:2.5rem 0 0; padding:0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: h27v; }
.h27-view { counter-increment: h27v; position: relative; border-radius:20px; padding:26px 24px 24px; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; color: var(--h27-navy); }
.h27-view::before { content: counter(h27v); position: absolute; top: 18px; right: 22px; font-size: 1rem; font-weight: 700; opacity: .55; }
.h27-view .h27-glasses { width: 64px; }
.h27-view-title { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
.h27-view-1 { background: var(--green-light); }
.h27-view-2 { background: var(--pink); }
.h27-view-3 { background: var(--blue-light); }
.h27-view-4 { background: var(--offwhite); }
.h27-view-5 { background: var(--purple-light); }
.h27-view-6 { background: #FFD166; }
.h27-game { margin:2rem 0 0; font-size: 1.15rem; }
.h27-game a { color: var(--white); font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 900px) {
	.h27-persp-grid { grid-template-columns: 1fr; }
	.h27-views-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.h27-views-grid { grid-template-columns: 1fr; }
	.h27-view { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
	.h27-view .h27-glasses { width: 52px; flex: none; }
	.h27-btn { width: 100%; justify-content: center; }
	.h27-card { padding:26px 20px; border-radius:18px; }
	.h27-after { padding:1.1rem 1.2rem; }
	.h27-toggle { width: 100%; justify-content: space-between; text-align: start; }
}
@media (prefers-reduced-motion: reduce) {
	.h27-btn, .h27-chevron { transition: none; }
}

/* ==========================================================================
   Events 2027 – "כלל האירועים" (page-events.php, js/events-2027.js)
   ========================================================================== */
.ev27 { padding:40px 0 70px; }
.ev27-intro { max-width: 900px; margin:0 auto 24px; }
.ev27-search { display: grid; gap: 22px; margin-bottom: 30px; }
.ev27-block { margin:0; padding:24px 28px; border: 0; border-radius:16px; background: var(--offwhite); }
.ev27-h { float: inline-start; width: 100%; margin:0 0 6px; padding:0; font-size: 26px; font-weight: 800; color: var(--blue); }
.ev27-hint { clear: both; margin:0 0 14px; }
.ev27-region-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ev27-region { min-height: 44px; padding:8px 22px; border: 2px solid var(--blue); border-radius:100px; background: #fff; color: var(--blue); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.ev27-region:hover { background: #e8ebf6; }
.ev27-region[aria-pressed="true"] { background: var(--blue); color: #fff; }
.ev27-fields { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; padding-top: 8px; }
.ev27-field label { display: block; margin-bottom: 6px; font-weight: 700; }
.ev27-field input, .ev27-field select { width: 100%; min-height: 46px; box-sizing: border-box; padding:8px 12px; border: 1px solid #8a8fa3; border-radius:8px; background: #fff; font: inherit; font-size: 17px; }
.ev27-actions { display: flex; gap: 10px; align-items: center; }
.ev27-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding:8px 28px; border: 0; border-radius:100px; background: #2A3E82; color: #fff !important; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.ev27-btn:hover { background: #2A3E82; }
.ev27-clear { min-height: 46px; padding:8px 12px; border: 0; background: none; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }
.ev27 :is(button, a, input, select):focus-visible, .ev27-card:focus-visible { outline: 3px solid #2A3E82; outline-offset: 3px; }

.ev27-count { margin:0 0 16px; font-size: 24px; color: var(--blue); }
.ev27-count:focus { outline: none; }
.ev27-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.ev27-list { max-height: 720px; overflow-y: auto; margin:0; padding:4px; list-style: none; display: grid; gap: 14px; }
.ev27-card { position: relative; padding:18px 20px 16px; border: 1px solid #d6d6d6; border-inline-start: 6px solid var(--cat, var(--blue)); border-radius:12px; background: #fff; }
.ev27-card.is-active { box-shadow: 0 0 0 3px var(--cat,  var(--blue)); }
.ev27-tag { display: inline-block; margin-bottom: 6px; padding:2px 12px; border-radius:100px; background: var(--cat, var(--blue)); color: #fff; font-size: 14px; font-weight: 700; }
.ev27-name { margin:0 0 10px; font-size: 21px; line-height: 1.3; color: #2A3E82; }
.ev27-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin:0; }
.ev27-meta dt { font-weight: 700; color: var(--blue); }
.ev27-meta dd { margin:0; }
.ev27-desc { margin:10px 0 0; }
.ev27-card-acts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 12px; }
.ev27-more { font-weight: 700; color: #2A3E82 !important; }
.ev27-onmap { min-height: 36px; padding:4px 14px; border: 1px solid var(--blue); border-radius:100px; background: #fff; color: var(--blue); font: inherit; font-size: 15px; cursor: pointer; }
.ev27-map-wrap { position: sticky; top: 20px; }
.ev27-map { height: 640px; border-radius:16px; overflow: hidden; z-index: 0; }
.ev27-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin:10px 0 0; padding:0; list-style: none; font-size: 15px; }
.ev27-dot { display: inline-block; width: 12px; height: 12px; margin-inline-end: 6px; border-radius:50%; vertical-align: -1px; }
.ev27-pin { background: none; border: 0; }
.ev27-pin svg { width: 30px; height: 40px; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.ev27-tooltip { direction: ltr; text-align: left; white-space: normal; width: 230px; padding:8px 10px; font-family: inherit; font-size: 14px; }
.ev27-tip strong, .ev27-tip span { display: block; }
.ev27-tip strong { margin-bottom: 2px; font-size: 15px; color: #2A3E82; }
.leaflet-container { font-family: inherit; }

.ev27-archive { max-width: 760px; margin:50px auto 0; padding:28px; border-radius:16px; background: var(--offwhite); text-align: center; }
.ev27-archive h2 { margin:0 0 16px; font-size: 24px; color: var(--blue); }

@media (max-width: 900px) {
	.ev27-fields { grid-template-columns: 1fr 1fr; }
	.ev27-actions { grid-column: 1 / -1; }
	.ev27-layout { grid-template-columns: 1fr; }
	.ev27-map-wrap { position: static; order: -1; }
	.ev27-map { height: 380px; }
	.ev27-list { max-height: none; overflow: visible; }
}
@media (max-width: 560px) {
	.ev27-block { padding:20px 16px; }
	.ev27-h { font-size: 22px; }
	.ev27-fields { grid-template-columns: 1fr; }
	.ev27-region { flex: 1 1 calc(50% - 10px); padding-inline: 10px; }
}

/* Ideas 2027 – "רעיונות לפעילות" (page-organizers-ideas.php) */
.id27-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.id27-card[hidden] { display: none !important; }
.id27-group[hidden] { display: none !important; }
.id27-group + .id27-group { margin-top: 48px; }
.id27-group-title { margin:0 0 20px; padding-bottom: 10px; border-bottom: 3px solid var(--pink); font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--lib-navy, #2A3E82); }
.id27-card:target { outline: 3px solid var(--lib-pink, #2A3E82); outline-offset: 4px; }
.id27-card .lib-card-text { margin-bottom: 10px; }
.id27-meta { margin:0 0 14px; text-align: start; font-size: 15px; }
.id27-meta dt { font-weight: 700; color: var(--lib-navy, #2A3E82); }
.id27-meta dd { margin:0 0 6px; }
.id27-soon { margin-top: auto; padding:8px 14px; border-radius:100px; background: #f1f1ee; color: #555; font-size: 15px; font-weight: 700; }
.id27-clear { border: 0; background: none; font: inherit; cursor: pointer; }

/* Learning 2027 – "למידה והכשרות" (page-learning.php) */
.ln27-sec { margin-top: 44px; }
.ln27-h { margin:0 0 8px; font-size: 28px; color: var(--lib-navy, #2A3E82); text-align: center; }
.ln27-lead { max-width: 820px; margin:0 auto 20px; text-align: center !important; }
.ln27-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin:18px 0 0; padding:0; list-style: none; }
.ln27-card { display: flex; flex-direction: column; gap: 8px; padding:22px; border: 1px solid #d6d6d6; border-top: 5px solid #2A3E82; border-radius:12px; background: #fff; }
.ln27-card h3 { margin:0; font-size: 20px; line-height: 1.35; color: var(--lib-navy, #2A3E82); }
.ln27-card p { margin:0; }
.ln27-tools .ln27-card { border-top-color: var(--blue); }
.ln27-details { margin:0; padding-inline-start: 18px; font-size: 15px; }
.ln27-details li { margin-bottom: 4px; }
.ln27-details a { word-break: break-all; }
.ln27-card .lib-pill { margin-top: auto; align-self: flex-start; width: auto; max-width: none; padding-inline: 24px; }
.ln27-soon { margin-top: auto; align-self: flex-start; padding:8px 14px; border-radius:100px; background: #f1f1ee; color: #555; font-size: 15px; font-weight: 700; }
.ln27-rows { max-width: 900px; margin:0 auto; padding:0; list-style: none; border-top: 1px solid #d6d6d6; }
.ln27-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding:14px 4px; border-bottom: 1px solid #d6d6d6; }
.ln27-row h3 { margin:0; font-size: 18px; color: var(--lib-navy, #2A3E82); }
.ln27-row-links { display: flex; gap: 18px; }
.ln27-row-links a { font-weight: 700; color: #2A3E82; }
.ln27-row-links .ln27-soon { padding:4px 12px; font-size: 14px; }

/* Planning 2027 – "תכנון פברואר" (page-plan-2027.php) */
.pl27 .lib-area { max-width: 980px; margin-inline: auto; }
.pl27-intro { margin:8px auto 26px; text-align: center; }
.pl27-intro-title { margin:0 0 14px; font-size: 28px; line-height: 1.3; color: var(--lib-navy, #2A3E82); }
.pl27-intro p { text-align: center !important; }
.pl27-nav { margin:0 0 34px; padding:18px 20px; border-radius:16px; background: var(--offwhite); }
.pl27-nav ol { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 10px; margin:0; padding:0; list-style: none; counter-reset: pl; }
.pl27-nav li { counter-increment: pl; }
.pl27-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding:6px 16px; border: 2px solid var(--blue); border-radius:100px; background: #fff; color: var(--blue) !important; font-weight: 700; text-decoration: none !important; }
.pl27-nav a::before { content: counter(pl); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius:50%; background: var(--blue); color: #fff; font-size: 14px; }
.pl27-nav a:hover { background: #e8ebf6; }
/* .site-content section { padding: 3rem 0 } outranks a single class, hence the extra .site-content. */
.site-content .pl27-sec { scroll-margin-top: 20px; margin:0 0 28px; padding:34px 40px; border: 1px solid #d6d6d6; border-top: 6px solid var(--pink); border-radius:16px; background: #fff; }
.pl27-sec:nth-of-type(even) { border-top-color: var(--blue); }
/* .site-content section:last-child adds 90px for the footer overlap; .lib-area already leaves room below. */
.site-content .pl27-sec:last-child { padding-bottom: 34px; }
body .site-content section.pl27-checklist > .pl27-cl-actions:last-child { padding-bottom: 0; }
@media (max-width: 560px) { .site-content .pl27-sec:last-child { padding-bottom: 24px; } }
.pl27-h { margin:0; font-size: 28px; color: var(--lib-navy, #2A3E82); }
.pl27-sub { margin:4px 0 16px; font-size: 20px; font-weight: 700; color: #2A3E82; }
.pl27-h3 { margin:22px 0 10px; font-size: 21px; color: var(--lib-navy, #2A3E82); }
.pl27-q { margin:0 0 16px; padding:0; list-style: none; counter-reset: q; display: grid; gap: 10px; }
.pl27-q li { counter-increment: q; position: relative; padding:12px 16px 12px 52px; border-radius:10px; background: var(--offwhite); font-weight: 600; }
.pl27-q li::before { content: counter(q); position: absolute; inset-inline-start: 12px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius:50%; background: #2A3E82; color: #fff; font-weight: 800; }
.pl27-card { display: grid; gap: 10px; margin:16px 0; padding:0; }
.pl27-card > div { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding:14px 16px; border-radius:10px; background: var(--offwhite); }
.pl27-card dt { font-weight: 800; color: var(--blue); }
.pl27-card dd { margin:0; }
.pl27-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin:18px 0; }
.pl27-group { padding:18px; border-radius:12px; background: var(--offwhite); }
.pl27-group-2 { background: #eef0fb; }
.pl27-group-3 { background: #eef7e8; }
.pl27-group h3 { display: flex; flex-direction: column; gap: 6px; margin:0 0 10px; font-size: 18px; line-height: 1.35; color: var(--lib-navy, #2A3E82); }
.pl27-group .h27-glasses { width: 52px; height: 24px; color: #2A3E82; }
.pl27-group ul { margin:0; padding-inline-start: 18px; }
.pl27-group li { margin-bottom: 6px; }
.pl27-back { margin-top: 6px; padding:16px 20px; border-inline-start: 5px solid #2A3E82; background: var(--offwhite); border-radius:8px; }
.pl27-back h3 { margin:0 0 6px; font-size: 20px; color: #2A3E82; }
.pl27-back p { margin:0; }
.pl27-ticks { margin:0; padding:0; list-style: none; }
.pl27-ticks li { position: relative; margin-bottom: 8px; padding-inline-start: 30px; }
.pl27-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 18px; height: 18px; border-radius:50%; background: var(--blue); box-shadow: inset 0 0 0 5px #c9d0ee; }
.pl27-dl { margin:18px 0 0; }
.pl27-dl .lib-pill, .pl27-cl-actions .lib-pill { width: auto; max-width: none; gap: 8px; padding-inline: 22px; }
.pl27-dl svg { width: 20px; height: 20px; flex: none; }
.pl27-check-note { font-size: 15px; color: #555; }
.pl27-cl-group { margin:0 0 16px; padding:14px 18px; border: 1px solid #d6d6d6; border-radius:12px; }
.pl27-cl-group legend { padding:0 8px; font-size: 19px; font-weight: 800; color: var(--blue); }
.pl27-cl-item { display: flex; gap: 12px; align-items: flex-start; padding:6px 0; }
.pl27-cl-item input { flex: none; width: 24px; height: 24px; margin:2px 0 0; accent-color: #2A3E82; cursor: pointer; }
.pl27-cl-item label { cursor: pointer; }
.pl27-cl-item input:checked + label { color: #555; }
.pl27-cl-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pl27-cl-actions .pl27-dl { margin:0; }
.pl27-print { border: 0; font: inherit; cursor: pointer; }
.pl27-sapak { margin-top: 18px; padding:18px 20px; border-radius:12px; background: var(--offwhite); }
.pl27-sapak p { margin:0 0 12px; }
.pl27-sapak .lib-pill { width: auto; max-width: none; padding-inline: 22px; }
.pl27 :is(a, button, input):focus-visible { outline: 3px solid #2A3E82; outline-offset: 3px; }
@media (max-width: 900px) { .pl27-groups { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.site-content .pl27-sec { padding:24px 18px; }
	.pl27-nav ol { grid-template-columns: 1fr; justify-items: center; }
	.pl27-h, .pl27-intro-title { font-size: 23px; }
	.pl27-card > div { grid-template-columns: 1fr; gap: 4px; }
}
@media print {
	/* display:none, not visibility:hidden: hidden content still took up space and printed ~5 blank pages. */
	body.pl27-printing > *:not(#page), body.pl27-printing #page > *:not(#main), body.pl27-printing #main > *:not(#primary), body.pl27-printing .ff-breadcrumbs,
	body.pl27-printing .pl27 .lib-area > *:not(.pl27-checklist), body.pl27-printing .site-header, body.pl27-printing .site-footer { display: none !important; }
	body.pl27-printing, body.pl27-printing #page, body.pl27-printing #main, body.pl27-printing .site-content { margin:0 !important; padding:0 !important; min-height: 0 !important; background: #fff !important; }
	body.pl27-printing .site-content .pl27-checklist { margin:0; padding:0; border: 0; }
	body.pl27-printing .pl27-cl-actions, body.pl27-printing .pl27-check-note { display: none; }
}

/* Footer: accessibility statement link (Or, Nov 30) */
.footer-a11y { margin:12px 0 0; text-align: center; font-size: 16px; }
.footer-a11y a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Contact 2027 "שאלות ויצירת קשר" (page-contact.php) ---- */
.ct27 .lib-area { max-width: 980px; margin-inline: auto; }
.ct27 .lib-intro { text-align: center; }
.ct27 .lib-intro p { text-align: center !important; }
.ct27-sec { margin:0 0 40px; }
.ct27-h { margin:0 0 18px; color: var(--blue); }
.ct27-faq { display: grid; gap: 12px; }
.ct27-item { border: 1px solid #d6d6d6; border-radius:14px; background: #fff; overflow: hidden; }
.ct27-q { margin:0; }
.ct27 h3.ct27-q { font-size: 1rem !important; }
.ct27-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding:18px 22px; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; text-align: start; cursor: pointer; }
.ct27-toggle:hover { background: #f5f5f0; }
.ct27-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.ct27-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius:50%; background: var(--pink); }
.ct27-icon::before, .ct27-icon::after { content: ""; position: absolute; top: 50%; right: 50%; width: 14px; height: 3px; margin:-1.5px -7px 0 0; border-radius:2px; background: var(--blue); transition: transform .2s; }
.ct27-icon::after { transform: rotate(-90deg); }
.ct27-toggle[aria-expanded="true"] .ct27-icon::after { transform: rotate(-0deg); }
.ct27-a { padding:0 22px 18px; }
.ct27-a[hidden] { display: none; }
.ct27-a p { margin:0; }
.ct27-a a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ct27-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-content .ct27-box { padding:30px 32px; border: 1px solid #d6d6d6; border-top: 6px solid var(--pink); border-radius:16px; background: #fff; }
.site-content .ct27-idea { border-top-color: var(--blue); background: var(--offwhite); }
.site-content .ct27-box:last-child { padding-bottom: 30px; } /* beats section:last-child's 90px footer gap */
.ct27-box p { margin:0 0 12px; }
.ct27-person { margin-top: 16px; padding:16px 18px; border-radius:12px; background: var(--offwhite); }
.ct27-ways { margin:0; padding:0; list-style: none; }
.ct27-ways li { margin:4px 0; }
.ct27-ways a { color: var(--blue); font-weight: 700; }
.ct27-label { font-weight: 700; }
.ct27-cta { margin-top: 18px !important; }
.ct27-cta .lib-pill { width: auto; max-width: none; gap: 8px; padding-inline: 24px; }
body .site-content .ct27-cols > section:last-child > *:last-child { padding-bottom: 0; }
@media (max-width: 800px) { .ct27-cols { grid-template-columns: 1fr; } .site-content .ct27-box { padding:24px 18px; } .ct27-toggle { padding:16px; } .ct27-a { padding:0 16px 16px; } }

/* ---- One type scale for the 2027 pages (Or, Nov 30), matching the rest of the site:
        text 1rem (22px), h3 1.2rem, h2 1.6rem, page title 2.2rem. Buttons, filters and chips keep their own sizes. ---- */
:is(.lib-area, .h27, .ev27) :is(p, dd, dt, label, legend, li:not(nav li, .lib-cards > li, .h27-views-grid > li, .ev27-legend li, .ev27-list > li)) { font-size: 1rem !important; }
:is(.lib-area, .h27, .ev27) :is(.lib-card-text, .id27-meta, .ln27-card p, .pl27-check-note) { font-size: 1rem !important; }
:is(.lib-area, .h27, .ev27) h3:not(.h27-view-title) { font-size: 1.2rem !important; line-height: 1.3; }
:is(.lib-area, .h27, .ev27) h2 { font-size: 1.6rem !important; line-height: 1.2; }
.lib-banner-title { font-size: 2.2rem !important; }
.lib-area .lib-results-title, .ev27 h2.ev27-count { font-size: 1.2rem !important; }
.lib-area .pl27-sub, .h27 .h27-sub { font-size: 1.2rem !important; }
@media (max-width: 700px) {
	:is(.lib-area, .h27, .ev27) h2 { font-size: 1.35rem !important; }
	.lib-banner-title { font-size: 1.65rem !important; }
}

/* ==== Or's corrections, Dec 2 ==== */

/* Header strips (inc/ui-2027.php): same size as the events hero, one color per area, no pink banner. */
.ff-stripe { --header-text_color: #1B2557; overflow: hidden; }
.ff-stripe-purple { --header-background-color: var(--purple-light); }
.ff-stripe-blue   { --header-background-color: var(--blue); --header-text_color: #fff; }
.ff-stripe-green  { --header-background-color: var(--green-light); }
.ff-stripe-beige  { --header-background-color: var(--offwhite); }
.ff-stripe h1 { color: var(--header-text_color); }
.ff-stripe-deco { position: absolute; right: 9%; top: 50%; width: 20%; height: auto; transform: translateY(-50%); color: var(--header-text_color); }
@media (min-width: 783px) { .ff-stripe { aspect-ratio: 1602 / 421; } }
@media (max-width: 782px) { .ff-stripe-deco { display: none; } .ff-stripe .header-logo-1 { padding:6vw 0; } }

/* Rounded SVG arrow on buttons (replaces the "←" character). */
.ff-arrow { flex: none; width: 1.15em; height: 1.15em; vertical-align: -0.22em; }
.lib-pill:has(.ff-arrow), .ffa-pager a { display: inline-flex; align-items: center; gap: 8px; }

/* Events: bigger legend, "upload an event" box. */
.ev27-legend { gap: 10px 24px; margin-top: 14px; font-size: 20px; }
.ev27-dot { width: 18px; height: 18px; vertical-align: -3px; }
.ev27 .wrapper > aside:last-child { margin-bottom: 110px; } /* clear the footer's -90px overlap */
.ev27 .ev27-upload { margin-top: 40px; }
.ev27-upload p { margin:0 0 18px; }
.ev27-upload + .ev27-archive { margin-top: 24px; }

/* Section buttons (planning, learning): all the same width, as wide as the widest. */
.pl27-nav.ff-chips ol { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.ff-chips li { display: flex; }
.ff-chips a { width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
.ln27 .ff-chips { margin:30px 0 10px; }
.ln27-h { scroll-margin-top: 20px; }
@media (max-width: 760px) { .pl27-nav.ff-chips ol { grid-template-columns: 1fr; } }

/* Page width = the older pages' 1080px content width. */
.pl27 .lib-area, .ct27 .lib-area { max-width: 1080px; }
.h27-card, .h27-card-narrow { max-width: 1080px; }

/* Contrast: the site blue on the light purple is 3.4:1. Text on purple surfaces uses a deeper blue (5:1). */
.h27-persp-q { color: #1B2557; }
.h27-view { color: #1B2557; }
.h27-view::before { opacity: 1; }
.bg-purple-light { color: #1B2557 !important; }
.h27 p.h27-persp-q { font-size: 1.4rem !important; }

/* Or's corrections, Dec 3 */
/* Strip: the title keeps to the right of the glasses so a long title never runs into them. */
@media (min-width: 783px) {
	.ff-stripe .header-logo-inner { right: auto; left: 5%; width: 62%; transform: translateY(-50%); }
}
/* Map tooltip: Leaflet's own nowrap won over ours, so long addresses ran out of the box. */
.leaflet-tooltip.ev27-tooltip { white-space: normal; width: 240px; box-sizing: border-box; overflow-wrap: anywhere; }
/* Events page: "upload an event" and "archive" boxes side by side. */
.ev27-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin:50px auto 110px; align-items: stretch; }
.ev27 .ev27-boxes > .ev27-archive { margin:0 !important; max-width: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ev27-boxes .ev27-archive h2 { font-size: 1.2rem; }
@media (max-width: 800px) { .ev27-boxes { grid-template-columns: 1fr; } }
/* Event cards: short by default, details open on request. */
.ev27-name { margin-bottom: 4px; }
.ev27-when { margin:0; font-weight: 700; }
.ev27-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding:0; border: 0; background: none; color: var(--blue); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ev27-toggle .ct27-icon { width: 28px; height: 28px; }
.ev27-toggle .ct27-icon::before, .ev27-toggle .ct27-icon::after { width: 12px; margin-right: -6px; }
.ev27-toggle[aria-expanded="true"] .ct27-icon::after { transform: rotate(-0deg); }
.ev27-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.ev27-details { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e3e3e3; }
.ev27-details .ev27-more { display: inline-block; margin-top: 10px; }
.ev27-card-acts { justify-content: space-between; }
/* Suppliers page: "offer a lecture" box. */
.sk27-offer { margin:30px auto 40px; }
.sk27-offer p { margin:0 0 18px; }

/* ===== Languages (inc/i18n-2027.php): the language buttons, Arabic font, English mirror fixes ===== */
/* Desktop: at the end of the header, after the menu, with room around it. */
.ff-lang { position: relative; order: 2; flex: none; margin-inline-start: 28px; padding-inline-start: 24px; border-inline-start: 1px solid #d5d8e6; }
.ff-lang-btn { display: inline-flex; align-items: center; gap: 6px; padding:6px 12px; border: 1px solid #1B2557; border-radius:999px; background: #fff; color: #1B2557; font: inherit; font-size: 0.95rem; line-height: 1.2; cursor: pointer; font-family: Rubik, 'Noto Sans Arabic', sans-serif; }
.ff-lang-btn:hover { background: #eef0f8; }
.ff-lang-btn:focus-visible, .ff-lang-list a:focus-visible { outline: 3px solid #1B2557; outline-offset: 2px; }
.ff-lang-chev { transition: transform 0.15s; }
.ff-lang-btn[aria-expanded="true"] .ff-lang-chev { transform: rotate(-180deg); }
.ff-lang-list { list-style: none; margin:0; padding:6px; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 1001; min-width: 150px; background: #fff; border: 1px solid #d5d8e6; border-radius:12px; box-shadow: 0 6px 20px rgba(27,  -37,  -87,  -0.15); }
.ff-lang-list[hidden] { display: none; }
.ff-lang-list { text-align: left; }
.ff-lang-list li { margin:0; }
.ff-lang-list a { display: block; padding:8px 12px; border-radius:8px; color: #1B2557; text-decoration: none; font-size: 0.95rem; font-family: Rubik, 'Noto Sans Arabic', sans-serif; }
.ff-lang-list a:hover { background: #eef0f8; }
.ff-lang-list a[aria-current] { font-weight: 700; background: #eef0f8; }
.ff-lang-list a[aria-current]:after { content: ' ✓'; }
@media (max-width: 782px) {
	/* Phones: at the top of the menu drawer (the header bar has no room); the list opens below. */
	.ff-lang { margin:0 0 1.2rem; padding:0 32px; border: 0; }
	.ff-lang-list { position: static; margin-top: 6px; box-shadow: none; width: max-content; }
	.ff-lang-btn { font-size: 1rem; padding:8px 14px; }
}
html[lang="ar"] body, html[lang="ar"] body :not(.fa):not([class*="dashicons"]):not([class*="genericon"]):not(i) { font-family: 'Noto Sans Arabic', Rubik, sans-serif; }
html[dir="ltr"] .ff-arrow { transform: scaleX(-1); }
/* English on phones: keep the header bar as in Hebrew (logos on the right, menu button on the right,
   drawer from the right), clear of the accessibility button that stays on the left. */
@media (max-width: 782px) {
	body.ltr .header-inner { /*ltr:ignore*/ flex-direction: row-reverse; }
	body.ltr .menu-toggle { /*ltr:ignore*/ right: 1rem; left: auto; }
	body.ltr #navbar { /*ltr:ignore*/ right: auto; left: 100%; }
	body.ltr.mobile-menu-open #navbar { /*ltr:ignore*/ left: 100%; right: auto; transform: translateX(-100%); }
}
