@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Rubik+Storm&family=Rubik:ital,wght@0,300..900;1,300..900&Lexend:wght@100..900&family=Yrsa:ital,wght@0,300..700;1,300..700&family=Winky+Sans:ital,wght@0,300..900;1,300..900&family=Assistant:wght@200..800&family=Fredoka:wght@300..700&family=M+PLUS+Rounded+1c&family=Noto+Sans+Hebrew:wdth,wght@62.5..100,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Suez+One&display=swap');

@font-face {
    font-family: 'otfont';
    src: url(/fonts/logo/OTFont.woff2);
}

/* ------------------ Skeleton Loaders ------------------ */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.06) 37%, rgba(255,255,255,0.04) 63%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s linear infinite;
  border-radius: 8px;
}

.skeleton.skeleton-line { height: 14px; width: 100%; margin: 8px 0; border-radius: 6px; }
.skeleton.skeleton-title { height: 22px; width: 70%; margin: 10px 0; border-radius: 6px; }
.skeleton.skeleton-avatar { width: 56px; height: 56px; border-radius: 50%; }
.skeleton.skeleton-card { padding: 16px; display: block; box-sizing: border-box; }
.skeleton.skeleton-font-tile { width: 260px; height: 180px; display: inline-block; margin: 12px; vertical-align: top; border-radius: 14px; }
.skeleton.skeleton-post { width: 360px; height: 380px; margin: 12px; display: inline-block; vertical-align: top; border-radius: 12px; }
.skeleton.skeleton-cart-item { width: 100%; height: 120px; margin: 10px 0; border-radius: 14px; }

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Make skeleton colors adapt to theme variables when available */
.skeleton { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02); }

/* Utility: place skeleton placeholders in containers */
.skeleton-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse; /* keep visual parity with site containers */
  gap: 20px;
  padding: 0;
  width:100%;
  max-width: 1200px;
  margin: auto;
}

/* Detailed skeleton parts */
.skeleton-card { background: transparent; }
.skeleton-post { display: flex; flex-direction: column; flex: 1 1 calc(33% - 25px); max-width: 420px; padding: 0; box-sizing: border-box; }
.skeleton-post .skeleton-image { width: 100%; height: 250px; border-radius: 20px 20px 10px 10px; }
.skeleton-post .skeleton-body { padding: 15px; display: flex; flex-direction: column; gap: 3px; }
.skeleton-post .skeleton-title { height: 20px; width: 65%; }
.skeleton-post .skeleton-line { height: 12px; width: 100%; }
.skeleton-post .skeleton-meta { height: 12px; width: 40%; }
.skeleton-post .skeleton-cta { height: 32px; width: 36%; border-radius: 8px; }

/* Large post variant (used by designs) */
.skeleton-post-large { width: 420px; }
.skeleton-post-large .skeleton-image { height: 350px; }

.skeleton-font-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* match .font-item sizing: 3 per row on wide screens */
  flex: 1 1 calc(33% - 16px);
  box-sizing: border-box;
}

@media (max-width: 1100px) {.skeleton-font-tile {flex: 1 1 calc(50% - 16px);}}

@media (max-width: 800px) {.skeleton-font-tile {flex: 1 1 100%;}}

.skeleton-font-tile .skeleton-bigname { height: 220px; width: 100%; margin-bottom: 10px; border-radius: 20px 20px 5px 5px; }
.skeleton-font-tile .skeleton-sub { height: 100px; width: 100%;border-radius: 5px 5px 20px 20px; }

.skeleton-cart-item { display: flex; gap: 16px; align-items: center; padding: 12px; }
.skeleton-cart-item .skeleton-avatar { width: 72px; height: 72px; }
.skeleton-cart-item .skeleton-details { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skeleton-cart-item .skeleton-price { width: 80px; height: 20px; border-radius: 6px; }

/* Responsive tweaks */
@media (max-width: 900px) {
  .skeleton-post { width: calc(100% - 40px); height: auto; }
}

@font-face {
  font-family: 'ot_hadassah';
  src: url('/fonts/hadassah/OT%20Hadasah-VF.ttf') format('truetype-variations');
  
  /* Specify the range of weights the font supports */
  /* Example: 100 to 900. Use 'normal' if it's not a weight-variable font */
  font-weight: 100 900; 
  
  /* If it has a slant/italic axis, define that range too */
}

@font-face {
    font-family: 'vilna';
        src: url('https://otfiles.netlify.app/file/OT Vilna-VF.ttf');
}

* {
    box-sizing: border-box;
}


:root {
    --: #de6600;
    --main-txt: #c57702;
    --main-light: #007a7a;
    --main-mid: #3685B5;
    --main-midmid: #0471A6;
    --main-middark: #102B3F;
    --main-dark: #062726;
    --body-bgcolor:#0f253a;
    /* rgb(15 23 42 / 1)#102B3F */
    --body-color: #ebd9c8;
    --container-bg: linear-gradient(147deg, rgb(0 0 0 / 20%), rgb(0 0 0 / 40%));
    --input-bg: #ffffff0f;
    --sans101-font: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

html[lang="he"]:root {
      --sans101-font: 'rubik', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

:root > body.light {
    --main-txt: #A06CD5;
    --main-light: #A06CD5;
    --main-mid: #6247AA;
    --main-middark: #102B3F;
    --main-dark: #062726;
    --body-bgcolor:#ffffff;
    --body-color: #000000;
}

 html {
        scroll-behavior: smooth;
    }



body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: var(--body-bgcolor);
    color: var(--body-color);
    opacity: 0;
    transition: opacity 0.8s ease; /* Fade in effect */
    overflow-x: hidden;
}

iframe[src="navbar.html"], iframe[src="/navbar.html"] {
      display: none;
    }


      /* ---------- Base Styles ---------- */

    a {
      text-decoration: none;
      color: inherit;
    }

    .minimal-form-group {
      position: relative;
      display: block;
      width: 100%;
    }

    .minimal-form-group input,
    .minimal-form-group textarea,
    .minimal-form-group select {
      width: 100%;
      background: transparent;
      color: var(--body-color, #fff);
      border: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 0;
      padding: 1.25rem 0.2rem 0.55rem;
      font-size: 1rem;
      line-height: 1.4;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
      appearance: none;
    }

    .minimal-form-group textarea {
      min-height: 78px;
      resize: vertical;
    }

    .minimal-form-group input::placeholder,
    .minimal-form-group textarea::placeholder,
    .minimal-form-group select::placeholder {
      color: transparent;
    }

    .minimal-form-group label {
      position: absolute;
      left: 0.2rem;
      top: 1.5rem;
      color: rgba(255, 255, 255, 0.66);
      font-size: 1.3rem;
      line-height: 1.2;
      pointer-events: none;
      transform-origin: left top;
      transition: transform 0.2s ease, top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
      font-family: 'Fredoka', 'Noto Sans Hebrew', sans-serif;
      font-weight:100;
    }

    .minimal-form-group input:focus,
    .minimal-form-group textarea:focus,
    .minimal-form-group select:focus {
      border-color: rgba(255, 255, 255, 0.58);
      box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.28);
    }

    .minimal-form-group input:focus + label,
    .minimal-form-group textarea:focus + label,
    .minimal-form-group select:focus + label,
    .minimal-form-group input:not(:placeholder-shown) + label,
    .minimal-form-group textarea:not(:placeholder-shown) + label,
    .minimal-form-group select:not(:placeholder-shown) + label {
      top: 0.2rem;
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.82);
      font-weight: 500;
    }

    html[lang="he"] .minimal-form-group label {
      left: auto;
      right: 0.2rem;
      transform-origin: right top;
    }

    html[lang="he"] .minimal-form-group input:focus + label,
    html[lang="he"] .minimal-form-group textarea:focus + label,
    html[lang="he"] .minimal-form-group select:focus + label,
    html[lang="he"] .minimal-form-group input:not(:placeholder-shown) + label,
    html[lang="he"] .minimal-form-group textarea:not(:placeholder-shown) + label,
    html[lang="he"] .minimal-form-group select:not(:placeholder-shown) + label {
      right: 0.2rem;
      left: auto;
    }

    /* ---------- Donation Banner ---------- */
    .adbnr {
      z-index: 86;
      position: relative;
      padding: 20px;
      font-size: 15px;
    }
    .adbnr a {
      color: var(--main-midmid);
    }

    /* ---------- Top Hebrew Icon ---------- */
    .beis-hei {
      font-family: 'current-font', serif;
      direction: rtl;
      position: absolute;
      top: 5px;
      right: 5px;
      color: #fff;
      font-size: 10px;
      z-index: 99;
    }

    /* ---------- Nav Fade ---------- */
    .nav-fade {
      width: 100%;
      height: 40px;
      position: fixed;
      z-index: 41;
      left: 0;
      top: 0;
      background: linear-gradient(0deg, #0000, #0f253a8a);
      pointer-events: none;
    }

    /* ---------- Navbar ---------- */
    nav {
        z-index: 85;
        position: sticky;
        top: 8px;
        color: white;
        padding: 0;
        max-height: 0;
    }

    nav .nav-wrapper {
      min-height: 50px;
      display: flex;
      flex-direction: column;
      margin-bottom: -55px;
      margin-inline: 10px;
      border-radius: 14px;
      box-shadow: 0px 0 20px 0px #000000ba;
      box-sizing: border-box;
    }

    nav .main_nav {
      width: 100%;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;

    }

    nav .logo {
      font-size: 2.5rem;
      font-family: current-font, 'vilna';
      display: inline-flex;
      height: 30px;
      transition: 0.2s;
      margin-inline:15px;
    }
    nav .logo:hover {
      filter: brightness(0.9);
    }

    nav .logo img {
      height: 50px;
      padding-block: 10px;
      transition: inherit;
    }

    nav .logo-text {
      width: max-content;
      font-family: 'current-font', 'vilna';
    }

    /* ---------- Search Bar ---------- */
    .navsearch {
      margin-block:8px;
    }

    .search-bar {
      display: flex;
      justify-content: center;
      height: 35px;
      border-radius: 10px;
      overflow: hidden;
      transition: 0.2s;
      outline: 1px solid transparent;
      
    }
    .search-bar:focus-within {
      /* outline: 1px solid #ffffffaa; */
      box-shadow: inset 0px 0px 28px #00000042;
    }

    .search-bar input[type="search"] {
      background: #0003;
      color: #fff;
      padding: 10px 10px 12px 10px;
      font-size: 18px;
      border: none;
      outline: none;
      width: 300px;
      font-family: 'Noto Sans', sans-serif;
      text-align: start;
    }

    html[lang=he] .search-bar input[type="search"] {
      direction: rtl;
    }

    .search-bar input[type="search"]::placeholder {
      color: #ffffff8a;
      text-align: start;
    }

    .search-bar button[type="submit"] {
      background: #0003;
      border: none;
      padding: 8px 0px 8px 12px;
      outline: none;
    }
    .search-bar button svg {
      fill: #ffffffaa;
      width: 18px;
      height: 18px;
    }

    /* ---------- English Logo ---------- */
    .enlogo {
      font-size: 50px;
      font-weight: normal;
      direction: rtl;
      transition: 0.2s;
      font-family: otfont, sans-serif;
      letter-spacing: 1px;
      margin: 0;
      line-height: 1em;
      padding: 0 15px;
      cursor: pointer;
      user-select: none;
      background:transparent;
      transition: 0.2s;
      height:100%;
      display: inline-flex;
      flex-direction: row-reverse;
      
    }
    .enlogo:hover {
      /* background: #00000020; */
      opacity: 0.8;
    }

    .menu-wrapper {
      transition:0.2s;
      height: 15px;
      overflow: visible;
      margin-block: -5px;
      transform: scale(1.5);
          margin-right: -10px;
          margin-inline-end: -6px;
          
    }
    .enlogo:hover .menu-wrapper {
      margin-right: 4px;
    }
    .menu-wrapper svg {
      transition:0.2s;
      margin-inline-start: -3px;
      overflow: visible;
      opacity: 0.5;
    }
    .enlogo:hover .menu-wrapper svg {
      margin-right: 0;
      transition:0.2s;
    }

    /* Hamburger menu animations */
    .line {
      fill: none;
      stroke: white;
      stroke-width: 10;
      stroke-linecap: round;
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                  stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                  opacity 0.2s;
      transform-origin: center;
      stroke-dasharray: 30;
      stroke-dashoffset: 29.9;
    }

    .enlogo.closed:hover .line {
      stroke-dashoffset: 0;
    }
    .enlogo.closed:hover .top {
      transform: translateY(12px) translateX(16px) rotate(-45deg);
    }
    .enlogo.closed:hover .mid {
      opacity: 0;
    }
    .enlogo.closed:hover .bot {
      transform: translateY(-9.5px) translateX(-6px) rotate(45deg);
    }

    .enlogo.opened:hover .line {
      stroke-dashoffset: 0;
    }
    .enlogo.opened:hover .top {
      transform: translateY(18px) translateX(-10px) rotate(45deg);
    }
    .enlogo.opened:hover .mid {
      opacity: 0;
    }
    .enlogo.opened:hover .bot {
      transform: translateY(-3px) translateX(-31px) rotate(-45deg);
    }

    .enlogo.opened .menu-wrapper {
      margin-top:1px;
      transform: scale(1.3);
    }
    .enlogo.opened:hover .menu-wrapper {
      margin-top:-3px;
    }


    /* ---------- Blur Background ---------- */
    .nav-wrapper {
    --bs-navbar-color: rgba(255, 255, 255, 0.55);
    --bs-navbar-hover-color: rgba(255, 255, 255, 0.75);
    --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
    --bs-navbar-active-color: #fff;
    --bs-navbar-brand-color: #fff;
    --bs-navbar-brand-hover-color: #fff;
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
    --bs-navbar-toggler-icon-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e);
    backdrop-filter: contrast(125%) brightness(145%) blur(1.75rem) saturate(300%);

    
}


.nav-wrapper:before {
    content: "";
    position: absolute;
    inset: -1rem 0 0 0;
    z-index: -1;
    opacity: 0.99;
    background: url(/images/noise.svg), rgb(0 0 0 / 50%);
    background-blend-mode: overlay;
    background: cross-fade(url(/images/noise.svg) 40%, #202123 100%);
    background: -webkit-cross-fade(url(/images/noise.svg) 40%, #202123 100%);
    border-radius: 14px;
    top:0;
}

    /* ---------- Gradient Blur ---------- */
    .gradient-blur {
      position: fixed;
      z-index: 75;
      inset: auto 0 0 0;
      height: 220px;
      pointer-events: none;
      rotate: 180deg;
      top: -100px;
    }
    .gradient-blur > div,
    .gradient-blur::before {
      position: absolute;
      inset: 0;
    }
    .gradient-blur::before {
      content: "";
      z-index: 1;
      backdrop-filter: blur(1px);
      mask: linear-gradient(to bottom, transparent 0%, black 12.5%, black 25%, transparent 37.5%);
    }
    .gradient-blur > div:nth-of-type(1) {
      z-index: 2;
      backdrop-filter: blur(2px);
      mask: linear-gradient(to bottom, transparent 12.5%, black 25%, black 37.5%, transparent 50%);
    }
    .gradient-blur > div:nth-of-type(2) {
      z-index: 3;
      backdrop-filter: blur(4px);
      mask: linear-gradient(to bottom, transparent 25%, black 37.5%, black 50%, transparent 62.5%);
    }
    .gradient-blur > div:nth-of-type(3) {
      z-index: 4;
      backdrop-filter: blur(8px);
      mask: linear-gradient(to bottom, transparent 37.5%, black 50%, black 62.5%, transparent 75%);
    }
    .gradient-blur > div:nth-of-type(4) {
      z-index: 5;
      backdrop-filter: blur(16px);
      mask: linear-gradient(to bottom, transparent 50%, black 62.5%, black 75%, transparent 87.5%);
    }

    


/* ---------- Subrow Navigation (Inside Nav) ---------- */
.nav-subrow {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    background: rgb(0 0 0 / 20%);
    padding: 0 15px;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    /* border-top: 4px solid #00000052; */
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    font-family: Winky Sans, 'Noto Sans', sans-serif;
}

.nav-subrow::before {
    content: '';
    position: absolute;
    left: var(--nav-underline-left, 0);
    bottom: 0;
    width: var(--nav-underline-width, 0);
    height: 3px;
    background: #fff;
    border-radius: 999px;
    transition: left 0.22s ease, width 0.22s ease, opacity 0.22s ease;
    opacity: var(--nav-underline-opacity, 0);
}

.nav-subrow a {
  color: white;
  padding: 9px 10px;
  padding-bottom: 9px;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: none;
}

html[lang="he"] .nav-subrow a {
  font-family: 'ot rieim';
}

.nav-subrow a.active,
.nav-subrow a:hover {
  color: #fff;
}


.nav-subrow.show {
  max-height: 50px;
    opacity: 1;
    padding: 0px 15px;
}

nav.hide_subrow .enlogo {
    font-size: 62px;

}

nav.hide_subrow .logo {
    font-size: 2.8rem;
}


nav.hide_subrow .logo img {
    height: 58px;
    padding-block: 10px;
    padding-top: 8px;
}

nav.show_subrow .main_nav {
    border-radius: 14px 14px 0 0;
    
}


.enlogo::before {
    content: "";
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmYiIHZpZXdCb3g9IjAgMCA2NDAgNjQwIj4KICA8cGF0aCBkPSJNMjk3LjQgNDM4LjZDMzA5LjkgNDUxLjEgMzMwLjIgNDUxLjEgMzQyLjcgNDM4LjZMNTAyLjcgMjc4LjZDNTE1LjIgMjY2LjEgNTE1LjIgMjQ1LjggNTAyLjcgMjMzLjNDNDkwLjIgMjIwLjggNDY5LjkgMjIwLjggNDU3LjQgMjMzLjNMMzIwIDM3MC43TDE4Mi42IDIzMy40QzE3MC4xIDIyMC45IDE0OS44IDIyMC45IDEzNy4zIDIzMy40QzEyNC44IDI0NS45IDEyNC44IDI2Ni4yIDEzNy4zIDI3OC43TDI5Ny4zIDQzOC43eiIvPgo8L3N2Zz4K);
    height: 30px;
    width: 30px;
    position: relative;
    z-index: 99999999999;
    background-size: contain;
    display: inline-block;
    margin-bottom: 0px;
    transition: 0.2s;
    opacity: 0;
    margin-left: 4px;
    margin-right: -24px;
    display: none;
}

.enlogo:hover::before {
    opacity: 0.6;
    margin-right: 0px;
}

nav.show_subrow .enlogo::before {
    transform: rotate(180deg);
    margin-bottom: -4px;

}

nav.hide_subrow .search-bar {
    height:40px;
    
}









#close-special-modal {
      margin-top: 0px;
    margin-right: 0px;
    padding: 1px 7px;
    font-size: 1.1em;
    border-radius: 18px;
    border: none;
    background: #ce0000;
    color: white;
    cursor: pointer;
    position: absolute;
    z-index: 999999999;
    top: 0;
    right: 0;
}

@media only screen and (max-width: 800px ) {
.search-bar input[type="search"]{
  width: 170px;
}
.logo-text {display: none;}
}

@media only screen and (max-width: 500px) {
   
    nav .logo * {display: none;}
    nav .search-bar input[type=search] {
        background: #00000033;
        color: white;
        padding: 10px 20px;
        font-size: 20px;
        appearance: none;
        border: none;
        outline: none;
        width: 90%;
    }
    .enlogo::before {
        display: none;
    }
    

  
.navsearch {
    flex-grow: 1;
    max-width: 300px;
}
nav .search-bar {
    width:100%;
}
    .enlogo { position: relative;     left: 5px;
 }


.nav-subrow.show {
    max-height: fit-content;
    opacity: 1;
    padding: 0px 15px;
}

.nav-subrow {
width: 100%;
    display: flex
;
    justify-content: center;
    gap: 5px;
    background: rgb(0 0 0 / 20%);
    padding: 0 15px;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    /* border-top: 4px solid #00000052; */
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    flex-direction: column;}

nav.hide_subrow .enlogo {
    font-size: 50px;
}


    }

    @media only screen and (max-width: 400px) {
    nav .search-bar input[type=search] {
    padding:10px;
    padding-inline-start: 0;
    }
    }
    





main {
  max-width: 1000px;
  margin: auto;
}








footer {
    background: #0000002a;
    padding: 10px;
    color:white;
    text-align: center;    
    z-index: 40;
    position: relative;
    max-width: 770px;
    margin-inline: auto;
    box-sizing: border-box;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(46px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    will-change: transform, opacity;
    backdrop-filter: blur(10px);
    font-family: 'winky sans', 'noto sans', sans-serif;
}

footer.footer-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

footer a {
    color:#ffffffc7;
}










.tooltip {
    position: absolute;
    background-color: black;
    color: white;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 4px;
    display: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
}


 /* tool tips styles */
.tool {
  position: absolute;
  background: #00000042;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: system-ui, sans-serif;
  max-width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.2s ease;
  outline: 1px solid #ffffff4f;
  backdrop-filter: blur(10px);
  
}

.tool[hidden]::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #00000042; /* Matches tooltip background */
  top: -8px; /* Positions the arrow above the tooltip */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001; /* Ensure arrow is above the tooltip body but below the text */
}

figure.tool-figure {
    margin: 0;
    margin-block:3px;
}

.tool-image {
  max-width: 100%;   /* responsive within tooltip */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.tool-caption {
  font-size: 0.85em;
  color: #b9b9b9;
  margin-top: 4px;
  font-style:italic;
}


.tool::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ffffff4f; /* Matches tooltip border */
  top: -7px; /* Positions the arrow slightly above the background arrow */
  left: 50%;
  transform: translate(-50%, -1px);
  z-index: 1002; /* Ensure border arrow is above the background arrow */
}


.tool {
  visibility: hidden;
  pointer-events: none;
}

.tool.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  padding: 8px 12px;
}




/* Class to trigger fade-out */
.fade-out {
    opacity: 0;
}


/* body[noheader] main {
    padding-top: 100px !important;
    transition: 0.9s;
} */


body[noheader]:not(:has(nav .nav-subrow.show)) main {
  padding-top: 100px !important;
      transition: 0.2s;

transition-delay: 0.1s;

}

body[noheader]:has(nav .nav-subrow.show) main {
  padding-top: 130px !important;
  transition: 0.2s;
}






#chat-container {
  opacity: 0;
  transition: opacity 0.5s ease-in-out; /* This makes the fade smooth */
}

/* This class will be added by JavaScript to start the animation */
#chat-container.faded-in {
  opacity: 1;
}

html[lang="he"] body {
    direction: rtl;
}

html[lang="he"] nav .main_nav {
  direction: ltr;
}

html[lang="he"] .locale-en {
    display: none;
}

html[lang="en"] .locale-he {
    display: none;
}

html[lang="he"] {
  font-family: 'ot vilna', 'yrsa', 'noto sans hebrew', sans-serif;
}

