.epicod-teasers-block .teasers-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--50);
}
.epicod-teasers-block .teasers-row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr var(--wp--preset--spacing--50) 1fr;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 5.5rem;
  gap: var(--wp--preset--spacing--50);
  width: 100%;
  grid-auto-flow: row dense;
  -ms-flex-line-pack: start;
      align-content: start;
}
.epicod-teasers-block .teaser-item {
  -ms-grid-column-span: 3;
  grid-column: span 3;
  min-width: 0;
  -ms-grid-row-align: start;
      align-self: start;
}
.epicod-teasers-block .teaser-item:nth-child(1) .teaser-item-inner {
  padding-right: 15%;
}
.epicod-teasers-block .teaser-item:nth-child(5) .teaser-item-inner {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}
.epicod-teasers-block .teaser-item:nth-child(6) {
  -ms-grid-column: 10;
      grid-column-start: 10;
  -ms-grid-row: 2;
      grid-row-start: 2;
  -ms-grid-column-span: -3;
  grid-column-end: 7;
}
.epicod-teasers-block .teaser-item:nth-child(6) .teaser-item-inner {
  padding-top: 20%;
}
.epicod-teasers-block .teaser-item:nth-child(7) {
  -ms-grid-column: 11;
      grid-column-start: 11;
  -ms-grid-row: 3;
      grid-row-start: 3;
  -ms-grid-column-span: 2;
  grid-column-end: 13;
}
.epicod-teasers-block .teaser-item:nth-child(7) .teaser-title {
  max-width: none;
}
.epicod-teasers-block .teaser-item:nth-child(8) {
  -ms-grid-column: 2;
      grid-column-start: 2;
  -ms-grid-row: 4;
      grid-row-start: 4;
  -ms-grid-column-span: 3;
  grid-column-end: 5;
}
.epicod-teasers-block .teaser-item:nth-child(9) {
  -ms-grid-column: 5;
      grid-column-start: 5;
  -ms-grid-row: 4;
      grid-row-start: 4;
  -ms-grid-column-span: 0;
  grid-column-end: 5;
}
.epicod-teasers-block .teaser-item:nth-child(9) .teaser-item-inner {
  padding-top: 65%;
}
.epicod-teasers-block .teaser-item:nth-child(10) {
  -ms-grid-column: 12;
      grid-column-start: 12;
  -ms-grid-row: 4;
      grid-row-start: 4;
  -ms-grid-column-span: -2;
  grid-column-end: 10;
}
.epicod-teasers-block .teaser-item p {
  margin: 0;
  line-height: 1.3;
}
.epicod-teasers-block .teaser-item-inner {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.epicod-teasers-block .teaser-with_image .teaser-item-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
}
.epicod-teasers-block .teaser-with_image:hover .teaser-hover-content {
  opacity: 1;
}
.epicod-teasers-block .teaser-number {
  font-family: 'TelAviv';
  font-size: 3.5rem;
  line-height: 0.6;
  font-weight: 100;
}
.epicod-teasers-block .teaser-number.number_top {
  line-height: 0.6;
}
.epicod-teasers-block .teaser-title {
  font-family: 'TelAviv';
  font-size: 1rem;
  line-height: 1.2;
  max-width: 78%;
  letter-spacing: 0.09rem;
}
.epicod-teasers-block .teaser-small-title {
  font-family: 'Almoni', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0.6px;
}
.epicod-teasers-block .teaser-content-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 0.5rem;
}
.epicod-teasers-block .teaser-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}
.epicod-teasers-block .teaser-image-wrapper img {
  display: block;
}
.epicod-teasers-block .teaser-image-wrapper .teaser-number {
  font-size: 4.5rem;
}
.epicod-teasers-block .teaser-image-wrapper .teaser-content-wrapper .teaser-small-title {
  padding: 0 0.5rem;
}
.epicod-teasers-block .teaser-image-wrapper .teaser-hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 5% 25%;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.epicod-teasers-block .teaser-image-wrapper .teaser-hover-content.number_right {
  padding: 5% 15%;
}
.epicod-teasers-block .teaser-image-wrapper .teaser-hover-content.number_right .teaser-small-title {
  padding: 0;
}
.epicod-teasers-block .teaser-image-wrapper .teaser-hover-content.number_right .teaser-number {
  line-height: 0.6;
}
.epicod-teasers-block .teaser-image-wrapper .teaser-hover-content.number_top .teaser-content-wrapper {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 0.2rem;
}
@media (max-width: 1300px) {
  .epicod-teasers-block .teaser-title {
    max-width: none;
  }
}
@media (max-width: 768px) {
  .epicod-teasers-block .teasers-row {
    -ms-grid-columns: 1fr var(--wp--preset--spacing--40) 1fr var(--wp--preset--spacing--40) 1fr var(--wp--preset--spacing--40) 1fr var(--wp--preset--spacing--40) 1fr var(--wp--preset--spacing--40) 1fr;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--wp--preset--spacing--40);
  }
}
@media (max-width: 480px) {
  .epicod-teasers-block .teasers-row {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--40);
  }
  .epicod-teasers-block .teasers-row .teaser-item {
    -ms-grid-column: 1 !important;
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
.teasers-swiper {
  padding: 0 15%;
  position: relative;
}
.teasers-swiper .swiper-button-prev::after,
.teasers-swiper .swiper-button-next::after {
  color: var(--wp--preset--color--primary);
  font-size: 2rem !important;
}
.teasers-swiper .swiper-button-next {
  right: 5%;
}
.teasers-swiper .swiper-button-prev {
  left: 5%;
}
.teasers-swiper .teaser-item-image {
  width: 100%;
  padding: 26% 0;
  background-color: #eee;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.teasers-swiper .teaser-item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.teasers-swiper .small-title {
  font-size: 1.2rem;
}
.teasers-swiper .small-title br {
  display: none;
}
.teasers-swiper .big-title {
  font-size: 1.5rem;
  line-height: 1.2;
  font-family: 'TelAviv';
  margin-top: 0.3rem;
}
.teasers-swiper .swiper .swiper-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.teasers-swiper .small-title-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
.teasers-swiper .small-title-wrapper img {
  width: 1.3rem;
  height: auto;
}
.teasers-swiper .swiper-slide {
  background-color: var(--wp--preset--color--primary);
  border: 5px solid var(--wp--preset--color--primary);
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}
.teasers-swiper .teaser-item {
  background-color: var(--wp--preset--color--secondary);
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 13%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.teasers-swiper .teaser-item-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.teasers-swiper .teaser-item-text .right-part {
  font-size: 8rem;
  line-height: 0.66;
}
