/* משתני צבעים */
:root {
    --primary-blue: #08bbd6;
    --light-blue: #8dd4e0;
    --purple: #533b97;
    --pink: #f05b83;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.single-heritage {
    font-family: almoni-tzar, sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #c0f0f5, transparent);
}
body.single-heritage#balashey{
  background:linear-gradient(180deg, #f2d9a3 0%, #f6f6f6 40%, #e0e0e04a 40%) !important
}
body.single-heritage#balashey .right-column .left-window::before{
  content: '';
  position:absolute;
  left: -102px;
  top: -36px;
  width:100px;
  height:200px;
  background-image:url('../images/moreshet/b_1.webp');
  background-size:contain;
  background-repeat:no-repeat;


}
body.single-heritage#balashey .left-column .left-window::after{
  content: '';
  position:absolute;
  right:-90px;
  top:0;
  width:100px;
  height:200px;
  background-image:url('../images/moreshet/b_2.webp');
  background-size:contain;
  background-repeat:no-repeat;

}
.wp-block-video {
    border: 10px solid #a27c4b;
    border-radius: 13px;
    overflow: hidden;
}
.logo-strip {
    left: 0;
    z-index: 99;
    height: 80px;
    right: 0;
    display: flex;
    position:fixed;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.top-heade h2{
  color:var(--purple);
  font-size:40px;
}
.logo-strip img{
  width: 266px;
}
/* רקע גדול רציף */
.background-strip {
  position: fixed;
      top: 0;
      left: 0;
      width: 1000vw;
      height: 100vh;
      display: flex
  ;
      z-index: 10;
      background-image: url(../images/moreshet/bg29.jpg);
      background-size: calc(900vw + 200px) 1400px;
      background-position: right bottom;
      background-repeat: no-repeat;
      background-color: #a9d9e7;

}

/* קונטיינר החודשים */
.months-strip {
    position: fixed;
    top: 0;
    left:0;  /* שיניתי ל-left */
    width: 1000vw;
    height: 100vh;
    display: flex;
    z-index: 10;
}

.month-section {
    width: 80vw; /* קטן יותר - יראו קצת מהבא */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-right: 10vw; /* רווח בין חודשים */
}

.month-card {
    padding: 30px;
    border-radius: 50px;
    text-align: center;
    width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    overflow: hidden;
    transform: scale(0.7) translateY(60px);
    opacity: 0.1;
    transition: all 1s ease;
}
.month-content {
    transition: transform 0.3s ease;
    transform-origin: top right; /* עבור עברית */
}
.month-card.active {
    transform: scale(1) translateY(0);
    opacity: 1 !important;
}
.month-card.active:hover{
position:relative;
z-index: 99
}
.month-media {
    position: absolute;
    left: -20vw;
    width: 37vw;
    bottom: 80px;
    pointer-events:none;
}
.month-media img{
  height:50vh;
}
.media4 ,.media9{
  left:-20vw;
  width:40vw;
}
.media4 img,.media9 img{
  height:max-content;
}
.nav-month.active,.nav-month.current-month {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(240, 91, 131, 0.4);
}
/* תפריט ניווט עמוד פנימי*/
ul.grades {
    overflow: hidden;
    max-height: 0;
      transition:all .5s;
    position: absolute;
    bottom: 0;
    /* position: relative; */
    /* right: -50px; */
}
.choose-circle {
  position: absolute;
    right: -55px;
    transition:all .5s;
}
.choose-circle:hover  ul.grades {
  max-height: 700px;
overflow: unset;
}
.grade-circle::before{
  content:'כיתה';
  position: absolute;
  top: 5px;
  font-size: 15px;
  font-weight: 400;
}
.grade-circle > div{
    position: absolute;
    top: 5px;
    font-size: 15px;
    font-weight: 400;
}
.grade-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(240, 91, 131, 0.5);
    background: var(--purple);
}
.month-header {
  display: flex  ;
      justify-content: center;
      align-items: center;
      margin-bottom: -3px;
      padding-bottom: 15px;
}

.month-title {
  font-size: 27px;
color: var(--pink);
margin: 0 0 0 6px;
font-weight: bold;
}

.month-subtitle {
  font-size: 25px;
      color: var(--primary-blue);
      margin: 0;
      font-weight: bold;
}

.grades-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    direction: rtl;
    align-items: flex-end;
    padding-top: 20px;
}

.grade-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.topics-box {
    background: white;
    border-radius: 50px;
    padding: 15px 10px;
    margin-bottom: -5px;
    width: 100%;
  /*  max-width: 120px;*/
    min-height: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.grade-item:hover .topics-box {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.topics-list {
  font-size: 15px;
  color: var(--purple);
  line-height: .9;
  text-align: center;
  margin: 0;

}
.topics-list .topic-item:first-child {
  border-top: 0;
}
.topic-item {
  display:block;
    align-items: center;
    margin-bottom: 6px;
    padding: 0;
    transition: all 0.2s ease;
      border-top: 1px solid var(--primary-blue);
      cursor:pointer;
      max-height: 67px;
overflow: hidden;
transition:all .5s;
}
.topic-item:hover {
      max-height: 267px;
}
.topic-item:hover {
  background: #f5f5f5;
  margin: 0;
  padding-top: 10px;
  border-radius: 3px 3px 0 0;
}
.topic-icons {
  display: flex
;
  gap: 3px;
  margin: 4px 5px;
  flex-shrink: 0;
  justify-content: center;
  max-height: 0;
  overflow: hidden;
  transition:all .5s ease;
}
.topic-item:hover .topic-icons{
max-height: 50px;
}
.topic-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    position:relative;
}

/* כאשר יש אייקון יחיד - יותר גדול */
.topic-icons:has(.topic-icon:only-child) .topic-icon {
    width: 18px;
    height: 18px;
}

/* כאשר יש 3+ אייקונים - יותר קטנים */
.topic-icons:has(.topic-icon:nth-child(3)) .topic-icon {
    width: 14px;
    height: 14px;
}
.topic-icon::before{
  width: 15px;
    height: 15px;
    color: white;
      font-size: 8px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
}
.icon-video {
    position: relative;
}

.icon-video::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.8 12.02'%3E%3Cpath d='M1.43,11.12h6.75c.39,0,.71-.31.71-.7s-.32-.7-.71-.7H1.43v1.4ZM2.66,3h4.49c.25,0,.45-.2.45-.45s-.2-.45-.45-.45H2.66c-.25,0-.45.2-.45.45s.2.45.45.45M.45,9.72c-.25,0-.45-.2-.45-.45V.45c0-.25.2-.45.45-.45h7.73c.89,0,1.61.72,1.62,1.6v8.82c0,.88-.72,1.6-1.62,1.6H.45c-.25,0-.45-.2-.45-.45s.2-.45.45-.45h.07v-1.4h-.07Z' fill='%23fdb916'/%3E%3C/svg%3E");
  color: white;
    font-size: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-video::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.8 12.02'%3E%3Cpath d='M1.43,11.12h6.75c.39,0,.71-.31.71-.7s-.32-.7-.71-.7H1.43v1.4ZM2.66,3h4.49c.25,0,.45-.2.45-.45s-.2-.45-.45-.45H2.66c-.25,0-.45.2-.45.45s.2.45.45.45M.45,9.72c-.25,0-.45-.2-.45-.45V.45c0-.25.2-.45.45-.45h7.73c.89,0,1.61.72,1.62,1.6v8.82c0,.88-.72,1.6-1.62,1.6H.45c-.25,0-.45-.2-.45-.45s.2-.45.45-.45h.07v-1.4h-.07Z' fill='%23fdb916'/%3E%3C/svg%3E");
}
.icon-game::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.89 11.9'%3E%3Cpath d='M4.71,3.45c-.23.1-.22.27-.24.48-.08.89-.11,3.25,0,4.11.02.18.06.31.24.39l3.76-2.53-3.76-2.45ZM6.71,11.9h-1.49C2.48,11.44.47,9.43.02,6.69c.04-.48-.05-1.02,0-1.49C.55.21,7.1-1.84,10.43,1.98c3.11,3.57.96,9.42-3.72,9.92' fill='%23f04c78'/%3E%3C/svg%3E");
}
.icon-info::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.8 12.02'%3E%3Cpath d='M1.43,11.12h6.75c.39,0,.71-.31.71-.7s-.32-.7-.71-.7H1.43v1.4ZM2.66,3h4.49c.25,0,.45-.2.45-.45s-.2-.45-.45-.45H2.66c-.25,0-.45.2-.45.45s.2.45.45.45M.45,9.72c-.25,0-.45-.2-.45-.45V.45c0-.25.2-.45.45-.45h7.73c.89,0,1.61.72,1.62,1.6v8.82c0,.88-.72,1.6-1.62,1.6H.45c-.25,0-.45-.2-.45-.45s.2-.45.45-.45h.07v-1.4h-.07Z' fill='%23fdb916'/%3E%3C/svg%3E");
}
.icon-activity::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.8 12.02'%3E%3Cpath d='M1.43,11.12h6.75c.39,0,.71-.31.71-.7s-.32-.7-.71-.7H1.43v1.4ZM2.66,3h4.49c.25,0,.45-.2.45-.45s-.2-.45-.45-.45H2.66c-.25,0-.45.2-.45.45s.2.45.45.45M.45,9.72c-.25,0-.45-.2-.45-.45V.45c0-.25.2-.45.45-.45h7.73c.89,0,1.61.72,1.62,1.6v8.82c0,.88-.72,1.6-1.62,1.6H.45c-.25,0-.45-.2-.45-.45s.2-.45.45-.45h.07v-1.4h-.07Z' fill='%23fdb916'/%3E%3C/svg%3E");
}

.icon-game::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13.04 13.12'%3E%3Cg%3E%3Cpath d='M7.05,1.06c.15-.2.12-.61.1-.98,0-.02,0-.03,0-.05-.21-.02-.42-.03-.63-.03-.81,0-1.59.15-2.31.42.51.25,1.3.67,2.18,1.3.3-.26.53-.5.65-.67' fill='%23f36f29'/%3E%3Cpath d='M10.36,4.8c-.32.04-.59.09-.83.16,1.11,1.95,1.54,4.4,1.65,6.18,1.1-1.12,1.8-2.65,1.86-4.33-.76-.94-1.76-2.12-2.68-2.02' fill='%23f36f29'/%3E%3Cpath d='M3.77,3.12c.78-.16,1.51-.56,2.09-.97-1.22-.84-2.23-1.28-2.43-1.36-1.26.69-2.27,1.78-2.86,3.1.76-.31,1.59-.46,2.4-.61.26-.05.54-.1.8-.16' fill='%23f36f29'/%3E%3Cpath d='M8.28,3.31c.07.07.14.14.21.21.25.27.49.56.7.87.31-.12.67-.2,1.1-.25,1.02-.12,1.93.7,2.71,1.59-.17-1.36-.75-2.59-1.61-3.56-.47.06-1,.15-1.53.32-.35.1-.91.39-1.58.81' fill='%23f36f29'/%3E%3Cpath d='M7.42,6.7c.27-.91.58-1.57,1.18-1.99-.18-.26-.37-.5-.58-.73-.1-.1-.2-.2-.29-.3-2.41,1.65-5.71,4.68-6.01,7.3,1,1.1,2.37,1.86,3.92,2.07.56-1.12,1.09-3.41,1.4-4.77.15-.65.28-1.22.39-1.58' fill='%23f36f29'/%3E%3Cpath d='M4.69,5.25c.84-.78,1.73-1.48,2.54-2.04-.27-.24-.54-.46-.81-.66-.67.51-1.56,1.01-2.52,1.21-.27.06-.54.11-.81.16-1.03.19-2.01.38-2.84.84-.16.57-.25,1.17-.25,1.79,0,1.39.43,2.68,1.17,3.75.48-1.9,2.12-3.75,3.52-5.05' fill='%23f36f29'/%3E%3Cpath d='M7.79,2.84c.78-.5,1.45-.84,1.88-.97.39-.12.77-.2,1.13-.26-.84-.73-1.86-1.25-2.99-1.48.02.46.04.96-.24,1.33-.13.17-.35.41-.64.67.28.22.57.46.85.72' fill='%23f36f29'/%3E%3Cpath d='M8.04,6.88c-.1.35-.23.9-.38,1.55-.44,1.9-.86,3.6-1.35,4.68.07,0,.14,0,.21,0,1.52,0,2.92-.53,4.03-1.4-.04-1.86-.49-4.5-1.61-6.46-.43.32-.67.83-.9,1.63' fill='%23f36f29'/%3E%3C/g%3E%3C/svg%3E");
  font-size: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-document {
    position: relative;
}

.icon-document::before,.icon-video::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.8 12.02'%3E%3Cpath d='M1.43,11.12h6.75c.39,0,.71-.31.71-.7s-.32-.7-.71-.7H1.43v1.4ZM2.66,3h4.49c.25,0,.45-.2.45-.45s-.2-.45-.45-.45H2.66c-.25,0-.45.2-.45.45s.2.45.45.45M.45,9.72c-.25,0-.45-.2-.45-.45V.45c0-.25.2-.45.45-.45h7.73c.89,0,1.61.72,1.62,1.6v8.82c0,.88-.72,1.6-1.62,1.6H.45c-.25,0-.45-.2-.45-.45s.2-.45.45-.45h.07v-1.4h-.07Z' fill='%23fdb916'/%3E%3C/svg%3E");
    font-size: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 12px; /* או כל גודל שאת רוצה */
    height: 8px;
}
.icon-video::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.12 8.4'%3E%3Cpath d='M12.12,7.96c-.17.21-.35.45-.66.34l-3.09-2.03v1.46c0,.26-.41.66-.7.61-2.21-.16-4.68.2-6.85,0-.54-.05-.65-.17-.7-.71C-.04,5.93-.04,2.46.12.77.16.22.29.11.82.06c2.17-.2,4.64.16,6.85,0,.3-.04.7.36.7.61v1.46L11.46.1c.3-.11.49.13.66.34v7.52Z' fill='%23aa479a'/%3E%3C/svg%3E");

}

.icon-quiz {
    background: #FF9800;
    border-radius: 3px;
    position: relative;
}

.icon-activity::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.89 11.9'%3E%3Cpath d='M4.71,3.45c-.23.1-.22.27-.24.48-.08.89-.11,3.25,0,4.11.02.18.06.31.24.39l3.76-2.53-3.76-2.45ZM6.71,11.9h-1.49C2.48,11.44.47,9.43.02,6.69c.04-.48-.05-1.02,0-1.49C.55.21,7.1-1.84,10.43,1.98c3.11,3.57.96,9.42-3.72,9.92' fill='%23f04c78'/%3E%3C/svg%3E");
  color: white;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/*************************RAIN*******************************************/
#stage, .rain {
  width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    background-image: url(../images/moreshet/rain_transparent.gif);
    /* background-color: red; */
    position: absolute;
    right: 200vw;
    pointer-events: none;
    opacity: .7;
}
.rain {
  right: 100vw;
  top: 0;
  background: url('../images/halacha/85/rain.png');
	opacity: .5;
}
#stage1, .snow {
  width: 200vw;
  height: 200vh;
  position: absolute;
  top: 0;
  background-image: url(../images/moreshet/snow_transparent_slow.gif);
  /* background-color: red; */
  position: absolute;
  right: 200vw;
  pointer-events: none;
  opacity: .4;
}
.snow {
  right: 300vw;
  top: 0;
  background: url(../images/moreshet/rain_transparent.gif);
	opacity: .4;
}
/*******************************POST IN POP UP********************************************/
#nice-content-container h2{
	position: relative;
	margin: 15px 0 10px;
	color: var(--turquoise);
}
#nice-content-container ol li {
    list-style: auto;
    margin-right: 15px;
    margin-bottom: 9px;
}
#nice-content-container a ,.popup-text a{
	text-decoration: underline;
    background-color: #53aeae;
    padding: 0px 8px;
    color: white;
    line-break: anywhere;
}
#nice-content-container h1{
    text-align: center;
    font-weight: bold;
    font-size: 2.5em;
    color: var(--purple);
}
/*****************SHOW IN POP UP********************/
.show_ppt,.show_mp3 ,.show_pdf ,.show_png ,.show_vimeo,.show_post{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #000000d6;
    right: 0;
    top: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .5s;
}
.png_content,.post_content{
	max-height: 83vh;
    overflow-y: scroll;
    width: 80%;
    display: flex;
    justify-content: center;
    background-color: #ffffffe6;
    padding: 10px;
    margin-top: 80px;
		padding: 40px;
}
.show_png img{
	width: 70%;
	max-width: 700px;
}
.show_mp3{
    top: 10%;
    width: 25vw;
    height: 16vh;
    right: 75vw;
}
.show_ppt.active,.show_mp3.active ,.show_pdf.active ,.show_png.active ,.show_vimeo.active,.show_post.active{
  opacity: 1;
  pointer-events: auto;
}
.show_vimeo.active iframe{
	max-width: 90%;
max-height: 90vh;
margin: 0 auto;
right: 0;
left: 0;
top: 5vh !important;
}
.show_ppt_close{
	position: absolute!important;
    left: 19px!important;
    top: 72px!important;
    background-image: url(../images/halacha/close.svg);
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    width: 50px;
    height: 50px;
    transition: all .5s;
    z-index: 999;
}
.show_pdf iframe{
	max-width: 900px;
    max-height: 700px;
}
.show_mp3 .show_ppt_close{

    font-size: 37px;
}
.ppt_hover{
  background-color: #000000b8;
  position: absolute;left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all .5s;
	z-index: 99;
}
.ppt_hover svg{
  margin: 4px;
}
div.download:hover .ppt_hover{
  opacity: 1;
  pointer-events: auto;
}
.grade-item:hover .topics-list {

}

.grade-circle {
    width: 70px;
    height: 70px;
    background: var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 49px;
    cursor: pointer;
    transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgb(0 0 0 / 78%);
}
.grade-circle > div{
    position: absolute;
    top: 5px;
    font-size: 15px;
    font-weight: 400;
}
.grade-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(240, 91, 131, 0.5);
    background: var(--purple);
}

.grade-circle.active .topics-box {
    opacity: 1;
    transform: translateY(0);
}

.buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.month-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.month-btn:hover {
    background: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(83, 59, 151, 0.3);
}
/***************************************SLIDER***********************************************/
.slider-container {
    display: flex;
    align-items: center;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    direction: rtl; /* הפיכת סדר המלבנים */
}

.rectangle {
  width: 94px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex
;
  align-items: center;
  justify-content: center;
  color: #cccc32;
  font-size: 24px;
  font-weight: bold;
  background-color: white;
}

.nav-button {
  background: #bdcc32;
      color: white;
      border: none;
      width: 47px;
      height: 24px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex
  ;
      align-items: center;
      justify-content: center;
}

.nav-button:hover {
    background: #9fac22;
    transform: scale(1.1);
}

.nav-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.position-indicator {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}
/* אנימציות כניסה לנושאים */
.month-card.active .topics-box {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.month-card.active .grade-circle {
    animation: bounceIn 0.8s ease forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* מחוונים */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), var(--primary-blue), var(--purple));
    z-index: 100;
    width: 0%;
    transition: width 0.5s ease;
}

.month-indicator {
  opacity:0;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 30px;
    z-index: 100;
    font-weight: bold;
    color: #333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.navigation-hint {
    position: fixed;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 20px;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.navigation-hint.hidden {
    opacity: 0;
}

/* תפריט ניווט */
.months-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--light-blue);
    backdrop-filter: blur(10px);
    padding: 7px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-month {
    color: var(--purple);
    border-left: 2px solid white;
    padding: 8px 14px 8px 20px;
    border-radius: 0;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
    line-height: .7;
    position:relative;
}
.subjects-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0px;
  background-color: var(--blue);
  font-weight: 100;
  font-size: 22px;
  line-height: 1.4;
  padding: 0;
  color: #8dd4e0;
  max-height: 0;
  overflow: hidden;
  transition: all .5s;
  background-image: url(../images/moreshet/bg_window.png);
  background-size: 100% 100%;

}
.nav-month:hover .subjects-dropdown {
  padding: 19px 11px 5px;
  max-height: 350px;
  /* border: 1px dashed; */
  box-shadow: 0px -9px 10px #0601002b;
}
.nav-month:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.subject-item {
    border-bottom: 1px solid #8dd4e05e;
}
.nav-month.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(240, 91, 131, 0.4);
}
/* תפריט ניווט עמוד פנימי*/
ul.grades {
    overflow: hidden;
    max-height: 0;
      transition:all .5s;
    position: absolute;
    bottom: 0;
    /* position: relative; */
    /* right: -50px; */
}
.choose-circle {
  position: absolute;
    right: -55px;
    transition:all .5s;
}
.choose-circle:hover  ul.grades {
  max-height: 700px;
overflow: unset;
}
/* .months-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--light-blue);
    backdrop-filter: blur(10px);
    padding: 7px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-month {
    color: var(--purple);
    border-left: 2px solid white;
    padding: 8px 14px 8px 20px;
    border-radius: 0;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
    line-height: .7;
}

.nav-month:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-month.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(240, 91, 131, 0.4);
} */
/* קרני שמש עדינות */
.sun {
    position: fixed;
    top: 8%;
    right: 100vw;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 215, 0, 0.15) 30%, rgba(255, 165, 0, 0.1) 60%, transparent 100%);
    border-radius: 50%;
    animation: sunRays 12s ease-in-out infinite;
    z-index: 1;
}

.sun::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, transparent 40%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: sunRays 15s ease-in-out infinite reverse;
}
/********ציפורים*******/
#airfield{
  position: absolute;
  width: 1000px;
  height: 60%;
  left: 0;
  top:10%;
}
.birds {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 220px;
  z-index:100;
}
/* ציפורים */
.bird {
    position: fixed;
    width: 25px;
    height: 6px;
    z-index: 2;
    opacity: 0.7;
}

.bird svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 2px rgba(163, 163, 163, 0.3));
}

.bird1 svg {
    animation: birdFlap1 0.8s ease-in-out infinite alternate;
}

.bird2 svg {
    animation: birdFlap2 0.6s ease-in-out infinite alternate;
    animation-delay: 0.3s;
}

.bird3 svg {
    animation: birdFlap3 0.7s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

.bird4 svg {
    animation: birdFlap4 0.9s ease-in-out infinite alternate;
    animation-delay: 0.1s;
}

@keyframes birdFlap1 {
    0% { transform: scaleY(0.8); }
    100% { transform: scaleY(1.2); }
}

@keyframes birdFlap2 {
    0% { transform: scaleY(0.9); }
    100% { transform: scaleY(1.1); }
}

@keyframes birdFlap3 {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1.3); }
}

@keyframes birdFlap4 {
    0% { transform: scaleY(0.8); }
    100% { transform: scaleY(1.1); }
}

.bird1 {
    animation: fly1 25s linear infinite;
    animation-delay: 0s;
}

.bird2 {
    animation: fly2 30s linear infinite;
    animation-delay: -8s;
    animation-direction: reverse;
}

.bird3 {
    animation: fly3 35s linear infinite;
    animation-delay: -15s;
}

.bird4 {
    animation: fly4 28s linear infinite;
    animation-delay: -20s;
    animation-direction: reverse;
}

@keyframes fly1 {
    0% {
        left: -20px;
        top: 20%;
        transform: scale(0.8);
    }
    25% {
        top: 15%;
        transform: scale(1);
    }
    50% {
        top: 25%;
        transform: scale(0.9);
    }
    75% {
        top: 18%;
        transform: scale(1.1);
    }
    100% {
        left: calc(100vw + 20px);
        top: 22%;
        transform: scale(0.8);
    }
}

@keyframes fly2 {
    0% {
        right: -20px;
        top: 40%;
        transform: scale(0.7);
    }
    30% {
        top: 35%;
        transform: scale(1);
    }
    60% {
        top: 45%;
        transform: scale(0.8);
    }
    100% {
        right: calc(100vw + 20px);
        top: 38%;
        transform: scale(0.9);
    }
}

@keyframes fly3 {
    0% {
        left: -20px;
        top: 60%;
        transform: scale(0.6) rotate(5deg);
    }
    20% {
        top: 55%;
        transform: scale(0.9) rotate(-2deg);
    }
    50% {
        top: 65%;
        transform: scale(1.1) rotate(3deg);
    }
    80% {
        top: 58%;
        transform: scale(0.8) rotate(-1deg);
    }
    100% {
        left: calc(100vw + 20px);
        top: 62%;
        transform: scale(0.7) rotate(2deg);
    }
}

@keyframes fly4 {
    0% {
        right: -20px;
        top: 80%;
        transform: scale(0.9);
    }
    40% {
        top: 75%;
        transform: scale(0.7);
    }
    70% {
        top: 85%;
        transform: scale(1.2);
    }
    100% {
        right: calc(100vw + 20px);
        top: 78%;
        transform: scale(0.8);
    }
}
/****************************/
@keyframes sunRays {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1) rotate(180deg);
    }
}

/* ציפורים */
.bird {
    position: fixed;
    width: 16px;
    height: 3px;
    z-index: 2;
}

/* צורת V של ציפור */
.bird::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 1px;
    background: #34495E;
    top: 1px;
    left: 2px;
    transform: rotate(-15deg);
    border-radius: 2px;
    animation: wingBeat 0.4s ease-in-out infinite alternate;
}

.bird::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 1px;
    background: #34495E;
    top: 1px;
    right: 2px;
    transform: rotate(15deg);
    border-radius: 2px;
    animation: wingBeat 0.4s ease-in-out infinite alternate;
    animation-delay: 0.2s;
}

@keyframes wingBeat {
    0% {
        opacity: 0.8;
        transform: rotate(15deg);
    }
    100% {
        opacity: 1;
        transform: rotate(25deg);
    }
}

.bird1 {
    animation: fly1 25s linear infinite;
    animation-delay: 0s;
}

.bird2 {
    animation: fly2 30s linear infinite;
    animation-delay: -8s;
    animation-direction: reverse;
}

.bird3 {
    animation: fly3 35s linear infinite;
    animation-delay: -15s;
}

.bird4 {
    animation: fly4 28s linear infinite;
    animation-delay: -20s;
    animation-direction: reverse;
}

@keyframes fly1 {
    0% {
        left: -20px;
        top: 20%;
        transform: scale(0.8);
    }
    25% {
        top: 15%;
        transform: scale(1);
    }
    50% {
        top: 25%;
        transform: scale(0.9);
    }
    75% {
        top: 18%;
        transform: scale(1.1);
    }
    100% {
        left: calc(100vw + 20px);
        top: 22%;
        transform: scale(0.8);
    }
}

@keyframes fly2 {
    0% {
        right: -20px;
        top: 40%;
        transform: scale(0.7);
    }
    30% {
        top: 35%;
        transform: scale(1);
    }
    60% {
        top: 45%;
        transform: scale(0.8);
    }
    100% {
        right: calc(100vw + 20px);
        top: 38%;
        transform: scale(0.9);
    }
}

@keyframes fly3 {
    0% {
        left: -20px;
        top: 60%;
        transform: scale(0.6) rotate(5deg);
    }
    20% {
        top: 55%;
        transform: scale(0.9) rotate(-2deg);
    }
    50% {
        top: 65%;
        transform: scale(1.1) rotate(3deg);
    }
    80% {
        top: 58%;
        transform: scale(0.8) rotate(-1deg);
    }
    100% {
        left: calc(100vw + 20px);
        top: 62%;
        transform: scale(0.7) rotate(2deg);
    }
}

@keyframes fly4 {
    0% {
        right: -20px;
        top: 80%;
        transform: scale(0.9);
    }
    40% {
        top: 75%;
        transform: scale(0.7);
    }
    70% {
        top: 85%;
        transform: scale(1.2);
    }
    100% {
        right: calc(100vw + 20px);
        top: 78%;
        transform: scale(0.8);
    }
}

/* עננים עדינים */
.cloud {
    position: fixed;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    z-index: 1;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 30%;
    animation: cloudMove1 45s linear infinite;
    animation-delay: 0s;
}

.cloud2 {
    width: 80px;
    height: 35px;
    top: 50%;
    animation: cloudMove2 60s linear infinite;
    animation-delay: -20s;
}

@keyframes cloudMove1 {
    0% {
        left: -120px;
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        left: calc(100vw + 20px);
        opacity: 0;
    }
}

@keyframes cloudMove2 {
    0% {
        right: -100px;
        opacity: 0;
    }
    15% {
        opacity: 0.4;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        right: calc(100vw + 20px);
        opacity: 0;
    }
}
/***************************************************SINGLE HARITAGE********************************************************/

/* רקע רעפים עליון */
.tiles-background {
    background-image: url('../images/moreshet/roof.png');
    height: 80px;
    width: 100%;
        background-size: 100% 100%;
}

/* הדר עליון */
.top-header {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-link {
  background-image: url(../images/moreshet/home.png);
      width: 35px;
      height: 35px;
      background-size: contain;
      top: 5px;
position: relative;
}

.search-container {
    position: relative;
}
.ajax-search-container{
  margin: 23px 0 10px!important;
}
.search-input {
    padding: 8px 40px 8px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    width: 200px;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #007cba;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
}

.header-center {
    text-align: center;
    flex: 1;
}

.main-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

.subtitle {
    color: #666;
    font-size: 14px;
}


/* תוכן מרכזי */
.main-content {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 25% 50% 25%;
    gap: 20px;
    padding: 0 20px;
}

/* עמודה ימנית */
.right-column {
  padding: 20px;
  border-left: 1px solid var(--blue);
}



.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
  color:var(--pink);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    text-align: right;
    width: 100%;
    font-size: 20px;
font-weight: bold;
    background-color: white;
    font-family:almoni-tzar;
}

.action-btn:hover {
    background: #f7f7f7;
}
.action-btn:hover .btn-icon {
  transform:rotate(45deg);
}
.btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    transition: all 0.3s;
        margin: 0 0 0 6px
}

/* עמודה מרכזית */
.center-column {
    padding: 0 30px 30px;
}

.unit-header {
    text-align: center;
    margin-bottom: 20px;
}

.unit-label {
  font-size: 18px;
      color: var(--blue);
      margin-bottom: -17px;
}

.unit-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-arrow {
    color: var(--blue);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 30px;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-family: cursive;
}

.unit-number {
    font-size: 36px;
    font-weight: bold;
    color: #007cba;
    min-width: 60px;
}
#unitNumber {
    font-size: 65px;
    color: var(--blue);
    font-weight: bold;
}
h1.unit-title {
    font-size: 40px;
    color:var(--pink);
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.unit-content {
  color: var(--purple);
  font-size: 25px;
  text-align: center;
  overflow-y: scroll;
  max-height: 50vh;
  padding-right: 10px; /* מקום לסקרול בר */
  position: relative;
}

/* עיצוב הסקרול בר - Webkit browsers (Chrome, Safari, Edge) */
.unit-content::-webkit-scrollbar {
  width: 12px;
  background: transparent;
}

.unit-content::-webkit-scrollbar-track {
  background: rgba(128, 0, 128, 0.1); /* רקע עדין בסגול */
  border-radius: 10px;
  margin: 5px 0;
}

.unit-content::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    rgba(128, 0, 128, 0.6) 0%,
    rgba(128, 0, 128, 0.8) 50%,
    rgba(128, 0, 128, 0.6) 100%
  );
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: all 0.3s ease;
}

.unit-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    135deg,
    rgba(128, 0, 128, 0.8) 0%,
    rgba(128, 0, 128, 1) 50%,
    rgba(128, 0, 128, 0.8) 100%
  );
  transform: scale(1.1);
}

.unit-content::-webkit-scrollbar-thumb:active {
  background: linear-gradient(
    135deg,
    rgba(128, 0, 128, 0.9) 0%,
    rgba(128, 0, 128, 1) 50%,
    rgba(128, 0, 128, 0.9) 100%
  );
}

/* אפקט צל כשיש עוד תוכן למטה */
.unit-content::after {
  content: '';
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* הצגת הצל רק כאשר יש scroll */
.unit-content.has-scroll::after {
  opacity: 1;
}

/* אנימציה עדינה לטקסט */
.unit-content p,
.unit-content div {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* עיצוב מתקדם יותר - גרסה אלטרנטיבית */
.unit-content.premium-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 0, 128, 0.6) rgba(128, 0, 128, 0.1);
}

.unit-content.premium-scroll::-webkit-scrollbar {
  width: 8px;
}

.unit-content.premium-scroll::-webkit-scrollbar-track {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(128, 0, 128, 0.05) 50%,
    transparent 100%
  );
  border-radius: 20px;
}

.unit-content.premium-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    45deg,
    #8A2BE2 0%,
    #9370DB 25%,
    #8A2BE2 50%,
    #9370DB 75%,
    #8A2BE2 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(128, 0, 128, 0.2);
  position: relative;
}

.unit-content.premium-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    45deg,
    #9370DB 0%,
    #8A2BE2 25%,
    #9370DB 50%,
    #8A2BE2 75%,
    #9370DB 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 8px rgba(128, 0, 128, 0.3);
}

/* אפקט זוהר בזמן גלילה */
.unit-content.premium-scroll::-webkit-scrollbar-thumb:active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #8A2BE2, #9370DB);
  border-radius: 20px;
  z-index: -1;
  filter: blur(4px);
  opacity: 0.7;
}

/* אפקט חלק וזורם */
.unit-content {
  scroll-behavior: smooth;
}

/* אינדיקטור גלילה מותאם אישית */
.scroll-indicator {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background: rgba(128, 0, 128, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #8A2BE2, #9370DB);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}


/* עמודה שמאלית */
.left-column {
  padding: 20px;
  border-right: 1px solid var(--blue);
}

.left-window {
  width: 100%;
      height: 228px;
      background-image: url(../images/moreshet/window.png);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      align-items: center;
      justify-content: center;
      display: flex  ;
      position:relative;
}

.left-window-frame {
    width: 70%;
    height: 70%;
    background: #4B0082;
    border-radius: 5px;
    position: relative;
    opacity:.1;
}

.left-window-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: #8B4513;
}

.left-window-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: #8B4513;
}

.button-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button-row {
    display: flex;
    gap: 10px;
}

.button-row.two-buttons {
    justify-content: space-between;
}

.button-row.three-buttons {
    justify-content: space-between;
}

.grid-btn {
    flex: 1;
    padding: 12px 8px;
    background-color: white;
    color: rgb(1 187 214);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
        font-family: almoni-tzar;
}

.grid-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.grid-btn:hover  {
}
.single-btn {
    width: 100%;
    padding: 15px;
        background-color: white;
    color: var(--purple);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
        font-family: almoni-tzar;
}
.action-btn.orange{
  color:#f36f29;
}
.action-btn.purple{
  color:#aa479a;
}

.three-buttons .grid-btn {
  color:#bdcc32;
  display: block;
height: 100%;
width: 100%;
}
.three-buttons:hover .grid-btn {
  background-color: #bdcc32;
  color:white;
}
.single-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* תפריט תחתון */

/* פופ-אפ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
  background-image:url(../images/moreshet/bg_window.png);
  padding: 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  background-size: 100% 100%;
}

.close-popup {
    position: absolute;
    top: 16px;
    left: 7px;
    background: var(--green);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.popup-title {
  font-size: 29px;
      margin-bottom: 0;
      color: var(--purple);
      position: relative;
      top: -36px;
      font-family: 'almoni-tzar';
}

.popup-text {
  line-height: 1.6;
    color: #666;
    overflow-y: auto;
    max-height: 50vh;
        text-align: right;
}
svg.popup-icon{
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto;
    top: 0px;
    position: relative;
}
h3.onlymobile.jump-title {
    display: none;
}

/* עיצוב מובייל nomobile*/
@media (max-width:800px) , (max-device-width:800px) {
  body.single-heritage#balashey .right-column .left-window::before,body.single-heritage#balashey .left-column .left-window::after{
    display: none;
  }
  body.single-heritage {
  overflow: auto;
  }
  .topic-icons {
    max-height: 21px;
  }
  .show_ppt_close {
    left: 11px !important;
top: 16px !important;
width: 32px!important;
height: 32px!important;
  }
  .post_content {
    max-height: 90vh;
    overflow-y: scroll;
    width: 80%;
    display: flex
;
    justify-content: center;
    background-color: #ffffffe6;
    padding: 10px;
    margin-top: 5vh;
    padding: 15px;
}
  .months-strip {
      left:100vw;}  /* שיניתי ל-left */
  .background-strip {
    background-color: #1eb7d6;
    background-size: 100% 60vh;
    background-position: top;
    background-repeat: no-repeat;
    width: 1100vw;
}
  .choose-circle {
    right: -9px;
    top: -47px;
}
.grade-circle {
    padding-top: 12px;
}
.left-column
 {
        padding-bottom: 147px;
        max-width: 90vw;
    }
  .month-media{
    max-width:150px;
    left: -15px;
  }
  .grades-container {
    display: block;
  }
  .month-section {
      width: 100vw;
      margin-right: 0;
    }
  .month-media img {
      height: auto;
  }
  .unit-content::-webkit-scrollbar {
    width: 6px;
  }

  .unit-content.premium-scroll::-webkit-scrollbar {
    width: 4px;
  }
  .months-nav {
    display: inline-flex;
        flex-flow: wrap;
    gap: 0;
    align-items: stretch;
}
.single.months-nav {
        bottom: -106px;
        max-height: 120px;
        overflow: unset;
        transition:all .5s;
    }
    .single.months-nav:hover {
            bottom: 10px;
            max-height: 120px;
            overflow: unset;
        }
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100vw;
overflow: hidden;
    }
    .center-column {
      padding: 0;
max-width: 100vw;
margin: 0 auto;
    }
    .action-btn {
    max-width: 80vw;
}
    .top-header {
        flex-direction: column;
        gap: 15px;
    }

    .search-input {
        width: 150px;
    }

    .unit-number {
        font-size: 28px;
    }
    .month-card {
        width: 100vw;
        padding: 20px;
        max-height: 78vh;
        position: relative;
        top:-50px;
        padding-bottom: 100px;
        overflow: auto;
    }
.topic-item{
  display: flex;
}
    .month-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-bottom: 30px;
    }

    .month-title {
        font-size: 36px;
    }

    .month-subtitle {
        font-size: 14px;
        max-width: none;
    }

    .grades-container {
        flex-wrap: wrap;
        gap: 2px;
        justify-content: center;
    }

    .grade-item {
        flex: 0 1 calc(50% - 10px);
        max-width: 150px;
        max-width: 100%;
        width: 100%;
        flex-direction: column-reverse;
    }

    .topics-box {
        max-width: 100%;
        padding: 10px 8px;
                max-width: 100%;
    }

    .topics-list {
        font-size: 17px;
    }

    .topic-icon {
        width: 14px;
        height: 14px;
    }

    .grade-circle {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }

    .navigation-hint {
        bottom: 8rem;
        font-size: 16px;
        text-align: center;
        white-space: nowrap;
    }

    .months-nav {
      bottom: 10px;
        padding: 10px 15px;
        width: 96vw;
        align-items: center;
        justify-content: center;
        max-height: 42px;
        overflow: hidden;
        transition: all .5s ease;
    }
.months-nav.active{
  max-height: 300px;
}
    .nav-month {
      padding: 6px 12px;
              font-size: 15px;
              width: calc(100% / 3 - 4px);
              border: 2px solid #8dd4e0;
              background-color: #b7e2e9;
                      min-width: 73px;
    }
    h3.onlymobile.jump-title {
    width: 100%;
    text-align: center;
    color: var(--pink);
    font-size: 19px;
    padding: 0 10px 10px;
    font-weight: bold;
    display: block;
}

}

@media (max-width: 480px) {

}
