[dir="rtl"] .slider-line.--white-bg .slider-line__inner::after,
.slider-line.--white-bg .slider-line__inner::before {
    background: linear-gradient(90deg, #FFFEF5 0%, rgba(255, 254, 245, 0.00) 100%) !important;
}
[dir="ltr"] .slider-line.--white-bg .slider-line__inner::before {
    background: linear-gradient(270deg, #FFFEF5 0%, rgba(255, 254, 245, 0.00) 100%) !important;
}
[dir="ltr"] .slider-line.--white-bg .slider-line__inner::after {
    background: linear-gradient(270deg, #FFFEF5 0%, rgba(255, 254, 245, 0.00) 100%) !important;
}

.content-media--bg-blue .content-media__main h2 {
    display: flex;
    gap: 0.5rem;
}

@media only screen and (max-width: 1024px) {
    html {
        zoom: var(--zoom-compensation, 1);
    }
    .content-media__header.aos-init.aos-animate {
        font-size: clamp(2.125rem, 2.7083333333vw, 3.25rem);
        font-weight: bold;
    }
    @supports not (zoom: 1) {
        html {
            transform: scale(var(--zoom-compensation, 1));
            transform-origin: top right;
            width: calc(100% / var(--zoom-compensation, 1));
            min-height: calc(100vh / var(--zoom-compensation, 1));
        }
    }
    html.zoom-150 .stats-images__image {
        position: relative;
        height: clamp(30.375rem, 42.15625vw, 32.1875rem);
    }
}

fieldset.hidden-fields-container {
    display: none;
}

.site-form__item.is-focused label,
.site-form__item.has-value label {
    opacity: 1;
    transform: translateY(-2.1875rem);
    font-size: .875rem;
    font-weight: 600;
}

.site-form__item input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

.site-form__item label {
    position: absolute;
    top: 1rem;
    left: 0;
    transition: all 0.3s ease;
    opacity: 0.7;
    pointer-events: none;
}

.site-form__item {
    position: relative;
}

.site-form .wpcf7-not-valid-tip {
    font-size: 1rem;
    direction: ltr;
    text-align: right;
}

.wpcf7-form.sent .wpcf7-response-output {
    color: white !important;
    border: none !important;
    direction: ltr;
    text-align: center;
}

.footer {
    background-color: var(--white-secondary);
}

a.btn.btn-expand.nnnn {
    display: none;
}

.slider-line__slide {
    width: unset !important;
}

@media (min-width: 63.99875em) {
    .hero-t2__main p {
        width: 100%;
        max-width: unset !important;
        font-size: clamp(1.125rem, 1.25vw, 1.5rem);
    }
    .content-media__main p {
        width: 80%;
    }
    .content-media.content-media--wide .content-media__main {
        width: 50% !important;
        flex: 0 0 50%;
    }
    .cats-hero__cards.flex-3.aos-init.aos-animate .post-card {
        flex: 0 0 32.3% !important;
    }
    .slider-line__slide img {
        min-height: 2.125rem;
        max-height: 2.7245rem !important;
        height: 2.7245rem !important;
        width: auto;
    }
}

.stats-images__image img {
    height: auto;
}

/* ==============================
   ARROW SVG FOR ALL DROPDOWNS
   ============================== */
.site-header__menus .menu-item-has-children > a::after {
    content: "";
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.94193 9.29741C7.69785 9.54149 7.30213 9.54149 7.05805 9.29741L2.94194 5.18129C2.69786 4.93722 2.30214 4.93722 2.05806 5.18129C1.81398 5.42537 1.81398 5.8211 2.05806 6.06518L6.17416 10.1813C6.9064 10.9135 8.09358 10.9135 8.82581 10.1813L12.9419 6.06518C13.186 5.8211 13.186 5.42537 12.9419 5.18129C12.6979 4.93722 12.3021 4.93722 12.0581 5.18129L7.94193 9.29741Z' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 0;
    transition: transform 0.3s ease;
}

/* ==============================
   DESKTOP
   ============================== */
@media (min-width: 63.99875em) {

    /* Arrow: top-level only on hover */
    .site-header__menus > nav > ul > .menu-item-has-children:hover > a::after,
    .site-header__menus > nav > ul > .menu-item-has-children:focus-within > a::after {
        transform: rotate(180deg);
    }


    /* Red arrow when nested is open */
    .menu-item-has-children.nested-open > a::after {
        transform: rotate(180deg) !important;
        background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.94193 9.29741C7.69785 9.54149 7.30213 9.54149 7.05805 9.29741L2.94194 5.18129C2.69786 4.93722 2.30214 4.93722 2.05806 5.18129C1.81398 5.42537 1.81398 5.8211 2.05806 6.06518L6.17416 10.1813C6.9064 10.9135 8.09358 10.9135 8.82581 10.1813L12.9419 6.06518C13.186 5.8211 13.186 5.42537 12.9419 5.18129C12.6979 4.93722 12.3021 4.93722 12.0581 5.18129L7.94193 9.29741Z' fill='%23E21313'/%3E%3C/svg%3E") !important;
    }

    /* Explicitly reset nested arrow to black/down when NOT open */
    .menu-item-has-children:not(.nested-open) > a::after {
        background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.94193 9.29741C7.69785 9.54149 7.30213 9.54149 7.05805 9.29741L2.94194 5.18129C2.69786 4.93722 2.30214 4.93722 2.05806 5.18129C1.81398 5.42537 1.81398 5.8211 2.05806 6.06518L6.17416 10.1813C6.9064 10.9135 8.09358 10.9135 8.82581 10.1813L12.9419 6.06518C13.186 5.8211 13.186 5.42537 12.9419 5.18129C12.6979 4.93722 12.3021 4.93722 12.0581 5.18129L7.94193 9.29741Z' fill='black'/%3E%3C/svg%3E");
    }
    /* Top-level sub-menu dropdown */
    .site-header__menus .sub-menu:not(.sub-menu--nested) {
        position: absolute;
        top: 100%;
        inset-inline-start: -2rem;
        min-width: 17.25rem;
        padding-block: .75rem;
        padding-inline: 1rem;
        background: #FFFEF5;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
        border-radius: 20px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-.9375rem);
        transition: all .3s ease;
    }

    /* Show top-level sub-menu on hover */
    .site-header__menus .menu-item-has-children:hover > .sub-menu:not(.sub-menu--nested),
    .site-header__menus .menu-item-has-children:focus-within > .sub-menu:not(.sub-menu--nested) {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        transform: translateY(0) !important;
    }

    .site-header__menus .menu-item-has-children > a {
        justify-content: space-between;
    }

    .site-header__menus .menu-item-has-children .sub-menu li {
        padding-bottom: unset;
    }

    /* Nested sub-menu: always block, animated via max-height + opacity */
    .sub-menu--nested {
        display: block !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease;
    }

    /* Show nested sub-menu on click (nested-open class) */
    .menu-item-has-children.nested-open > .sub-menu--nested {
        max-height: 300px;
        opacity: 1;
    }

    ul.sub-menu.sub-menu--nested {
        background: unset;
        width: unset;
        padding-block: unset;
        padding-inline: unset;
        box-sizing: unset;
        position: relative;
        color: #1b213dd6;
        margin-top: 0.5rem;
    }

    .sub-menu.sub-menu--nested li:last-child {
        margin-bottom: unset !important;
    }
}

/* ==============================
   MOBILE
   ============================== */
@media (max-width: 63.99875em) {
  .site-header__menus.menuIsActive {

    background: #FFFEF5;
}
.site-header::before {
    background: #FFFEF5;
}
  .menu-item .sub-menu .menu-item a{
border-bottom:unset !important;
        padding-block: 0.55rem;
  }
    [lang="he-IL"] .site-header__lang-switcher {
        position: absolute;
        top: 1rem;
        left: 9rem;
    }

    .submenu-open >  a::after{
      transform: rotate(180deg) !important;
    }
.submenu-open > a{
  border-bottom:unset !important;
}

/* Red arrow when nested is open */
.menu-item-has-children.nested-open > a::after {
    transform: rotate(180deg) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.94193 9.29741C7.69785 9.54149 7.30213 9.54149 7.05805 9.29741L2.94194 5.18129C2.69786 4.93722 2.30214 4.93722 2.05806 5.18129C1.81398 5.42537 1.81398 5.8211 2.05806 6.06518L6.17416 10.1813C6.9064 10.9135 8.09358 10.9135 8.82581 10.1813L12.9419 6.06518C13.186 5.8211 13.186 5.42537 12.9419 5.18129C12.6979 4.93722 12.3021 4.93722 12.0581 5.18129L7.94193 9.29741Z' fill='%23E21313'/%3E%3C/svg%3E") !important;
}

/* Explicitly reset nested arrow to black/down when NOT open */
.menu-item-has-children:not(.nested-open) > a::after {
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.94193 9.29741C7.69785 9.54149 7.30213 9.54149 7.05805 9.29741L2.94194 5.18129C2.69786 4.93722 2.30214 4.93722 2.05806 5.18129C1.81398 5.42537 1.81398 5.8211 2.05806 6.06518L6.17416 10.1813C6.9064 10.9135 8.09358 10.9135 8.82581 10.1813L12.9419 6.06518C13.186 5.8211 13.186 5.42537 12.9419 5.18129C12.6979 4.93722 12.3021 4.93722 12.0581 5.18129L7.94193 9.29741Z' fill='black'/%3E%3C/svg%3E");
}
.sub-menu--nested a{
        padding-block: 0.35rem important;
}
.sub-menu--nested li{
          margin-bottom: unset !important;
}
    /* .site-header__actions {
        display: none;
    } */

    /* Hide sub-menu by default with max-height */
    .site-header__menus .sub-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        padding-block: 0;
    }

    /* Show sub-menu when parent has .submenu-open */
    .menu-item-has-children.submenu-open > .sub-menu {
        max-height: 600px;
    }

    /* Arrow: default is down */
    .site-header__menus .menu-item-has-children > a::after {
        transform: rotate(0deg);
    }

    /* Arrow: up when open */
    .menu-item-has-children.submenu-open > a::after {
        transform: rotate(180deg);
    }

    /* Prevent hover from rotating arrow on mobile */
    .menu-item-has-children:hover > a::after {
        transform: rotate(0deg);
    }

    /* Override: if submenu-open + hover, keep it rotated */
    .menu-item-has-children.submenu-open:hover > a::after {
        transform: rotate(180deg);
    }
}
.nested-open > a {
    color: #E21313 !important;
}
.sub-menu--nested li a{
      font-size: 1rem;
}
.site-header__menus .menu-item-has-children:focus-within>a::after{
	transform:unset;
}
