
/* sticky full-bleed container */
.anim-grid__container {
  width: 100vw;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.anim-grid__item,
.anim-grid__image,
.re-image.cover.abs,
.anim-grid__wrap {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* lines */
.anim-grid__line {
  display: flex;
  justify-content: center;
  align-items: stretch;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  width: 100%;
}
.anim-grid__line.has-padding {
  justify-content: center;
  align-items: flex-start;
  padding-top: 24px;
}

/* item sizes like reference */
.anim-grid__item {
  z-index: 1;
  border-radius: 20px;
  flex: none;
  width: 180px;
  position: relative;
  overflow: hidden;
}
.anim-grid__item.large { width: 486px; }

.anim-grid__image { width: 100%; padding-top: 180%; position: relative; }
.anim-grid__image.large { padding-top: 66%; }

.re-image.cover.abs {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  will-change: transform;        
  transform-origin: 50% 50%;
}

.anim-grid__main {
  z-index: 2;
  perspective: 600px;
  text-align: center;
  flex: none;
  width: 0;               
  height: 372px;
  margin: -24px -12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;     
  overflow: hidden;
}
.anim-grid__wrap {
  flex: none;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 800px;
  height: 324px;
  position: absolute;
  inset: 0 auto;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  transform: translate(0); 
}

.has-gradient {
  background-image: linear-gradient(90deg, var(--_rebrand---red, #ff4a4a), var(--_rebrand---orange, #ffa64a));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.anim-grid-title {
  margin: 0;
    font-family: "Open Sans Hebrew", Sans-serif;
    font-size: clamp(48px, 4.8vw, 71px);
    font-weight: 600;
    line-height: 1.2em;
    color: #78C68D;
}
.anim-grid-subtitle {
   font-family: "Open Sans Hebrew", Sans-serif;
    font-size: clamp(48px, 4.8vw, 71px);
    font-weight: 600;
    line-height: 1.2em;
    color: #fff;
}
.anim-grid__btn {
  margin-top: 20px;
  padding: 4px 50px;
    font-family: "Open Sans Hebrew", Sans-serif;
    font-size: clamp(26px, 2.43vw, 36px);
    font-weight: 700;
   color: #1E1E1E;
    background: linear-gradient(90deg, #4FABBF 0%, #78C68D 100%);
    border-radius: 20px;
    background-position: 0 0;
    background-size: 100% 100%;
    transition: all .3s;
}

.anim-grid__btn:hover {
  background-size: 100% 300%;
  color: #1E1E1E;
    animation-name: animation-pulse;
    animation-duration: 1s;
    animation-timing-function: 
linear;
    animation-iteration-count: infinite;
}

@keyframes animation-pulse {
    25% {
        transform: scale(1.1)
    }

    75% {
        transform: scale(.9)
    }
}
.anim-grid__overlay {
  z-index: 2;
  background-image: linear-gradient(180deg, transparent 17%, var(--_rebrand---black, #0b0b0b));
  pointer-events: none;
  will-change: opacity;
  width: 100%;
  height: 35px;
  position: absolute;
  inset: auto 0% -2px;
}

/* HERO */
.pod-hero .pod-hero__img,
.pod-hero .pod-hero__cta { opacity:0; will-change: transform, opacity, filter; }

.elementor-editor-active .pod-hero .pod-hero__img,
.elementor-editor-active .pod-hero .pod-hero__cta { opacity:1;}
.pod-hero .pod-hero__title,
.pod-hero .pod-hero__subtitle{
  will-change: transform, opacity, clip-path;
}
@media (prefers-reduced-motion: reduce){
  .pod-hero .pod-hero__img,
  .pod-hero .pod-hero__title,
  .pod-hero .pod-hero__subtitle,
  .pod-hero .pod-hero__cta { opacity:1 !important; transform:none !important; filter:none !important; }
}

@media (max-width: 991px) {
  .anim-grid__container {
    position: sticky;  
    top: 0;
    overflow: hidden;
  }

  .anim-grid__line {
    gap: 15px;
    align-items: stretch;
  }
  .anim-grid__line.has-padding {
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}


  .anim-grid__item { width: 45vw;  }
  .anim-grid__item.large { width: calc(70% - 15px); }

  .anim-grid__image        { padding-top: 62vw; }
  .anim-grid__image.large  { padding-top: 62vw; }

  .anim-grid__main {
    width: 75vw !important;
    height: auto;
    margin: 8px auto 0;
    padding: 20px 15px;
    perspective: none;
    overflow: hidden;
  }
  .anim-grid__wrap {
    padding: 15px;
    position: static;
    width: auto; height: auto;
    transform: none !important;
    gap: 10px;
  }

  .anim-grid-title   { font-size: clamp(26px, 6vw, 28px); line-height: 1.2; }
  .anim-grid-subtitle{ font-size: clamp(24px, 4.8vw, 22px); line-height: 1.35; }
  .anim-grid__btn    { font-size: 20px; padding: 15px 45px; }

}

div#ivy-bw {
  margin-bottom: 100px;
}

.pec-widget {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 24px;
    border-radius: 16px;
    background: radial-gradient(circle at top right,#3a444f,#161522 60%);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    direction: rtl; /* убери, если не нужно RTL */
}

.pec-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}

.pec-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pec-main-video-inner {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.pec-main-video-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Thumbnails */
.pec-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pec-nav {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    width: 32px;
    height: 32px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.pec-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.pec-thumb {
    min-width: 220px;
    max-width: 240px;
    cursor: pointer;
    background: rgba(0,0,0,0.35);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.pec-thumb-img {
    position: relative;
    padding-top: 56.25%;
    border-radius: 10px 10px 0 0;
    background-size: cover;
    background-position: center;
}

.pec-thumb-play-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ff0000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.pec-thumb-text {
    padding: 10px 12px 12px;
    font-size: 14px;
}

.pec-thumb-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.pec-thumb-subtitle {
    font-size: 13px;
    opacity: 0.8;
}

.pec-thumb.is-active,
.pec-thumb:hover {
    border-color: #ff5ac6;
    box-shadow: 0 0 0 1px rgba(255,90,198,0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pec-widget {
        padding: 16px;
    }
    .pec-title {
        font-size: 28px;
    }
}
