aside .ten {
height: 350px;
}

.kitchen, .shkafi {
height: 350px; 
width: 48%;
margin: 0 1%; 
background-position: center center;
    background-size: cover; 
    background-repeat: no-repeat; }

.kitchen { background-image: url(../img/gl/kuhnya_m.webp); }
.shkafi { background-image: url(../img/gl/shkaf_m.webp); }
	.kitchen .ten, .shkafi .ten {
/* padding: 20px; */
justify-content: space-between;
 }

aside {font-size: 1.8rem;
   margin: 30px 0;
}
.portfolio h3, .videoblock h3, .shagi h3 {
font-weight: 500;
    line-height: 1.0em;
    letter-spacing: 0.04em; 
	}
	
.portfolio h3 {
font-weight: 600; 
	}
	
.shagi h3 {
font-size: 2.9em;
	}
.videoblock h3 {
 font-size: 1.9rem;
}
.videoblock h4 {
 font-size: 1.0rem;
}
@media screen and (max-width: 780px) {
.shagi h3 {
font-size: 6.25vw;
        line-height: 9.375vw;
	}
}
.video, .otzslide {  
width: 46%; margin: 5px 2%;
}

@media screen and (max-width: 780px) {
aside {
   flex-direction: column;
}
 .videoblock   { 
width: 96%;
}
.videoblock h3 {
   text-align: center;font-size: 1.2rem;
}
.kitchen, .shkafi {
   width: 100%;margin: 15px 0;
}
} 

.videoblock .galereya img {margin: 5px;
    width: 450px;
}

.variable2 .slick-next:before, .variable2  .slick-prev:before {color: #fff !important; }

article {
 margin-bottom: 50px;
    background-image: url(../img/gl/fon_articule.webp);
	background-size: cover;}
	
	
.otzslide .gallery {
	width: 50%; margin: 0 auto;
	}
	
.otziv1, .otziv2, .otziv3 {  
width: 400px;
height: 300px !important;
margin: 10px;
	background-size: cover;  
	display: flex !important;
  align-items: center;
  justify-content: center}
 
@media screen and (max-width: 780px) { 
  .otziv1, .otziv2, .otziv3 {  
  width: 300px;}
  }
  
.otziv1 { background-image: url(../img/portfolio/atmosfera/kuhnya_29.webp);}
.otziv2 { background-image: url(../img/portfolio/chernigovskaya/kuhnya_22.webp);}
/* .otziv3 { background-image: url(../img/portfolio/jemchujniy_kuhnya/kuhnya_21.webp);} */
.video1 { background-image: url(/img/video_zastavka/video_1.jpg);}
.video2 { background-image: url(/img/video_zastavka/video_2.jpg);}
.video3 { background-image: url(/img/video_zastavka/video_3.jpg);}
.video_oziv_vk { background-image: url(/img/video_zastavka/vk_otziv.jpg);}

.pulse-button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  padding: 10px;
  border: none;
  background: #d01966;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.2);
  position: fixed; 
  cursor: pointer;
  outline: none;
  z-index: 1000;
}
.pulse-button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  padding: 10px;
  border: none;
  background: #d01966;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.2);
  position: fixed;
  cursor: pointer;
  outline: none;
  z-index: 1000;
}
.pulse-button__icon {
  display: block;
  width: 30px;
  height: 30px;
  background: url("../img/obsh/video-icon.svg") center center/cover no-repeat;
  transition: .3s;
}


/* ïóëüñàöèÿ */

.pulse-button__rings {
  border: 2px solid #d01966;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: auto;
  width: auto;
  border-radius: 50%;
  animation-duration: 2.0s;
  animation-name: pulse_1;
  animation-iteration-count: infinite;
  z-index: -1;
}
 
.pulse-button__rings:nth-child(2) {
  animation-name: pulse_2;
}
 
.pulse-button__rings:nth-child(3) {
  animation-name: pulse_3;
}

@keyframes pulse_1 {
  from {
    opacity: 1;
    transform: scale(0.9, 0.9);
  }
 
  to {
    opacity: 0;
    transform: scale(1.3, 1.3);
  }
}
 
@keyframes pulse_2 {
  from {
    opacity: 1;
    transform: scale(0.8, 0.8);
  }
 
  to {
    opacity: 0;
    transform: scale(1.5, 1.5);
  }
}
 
@keyframes pulse_3 {
  from {
    opacity: 1;
    transform: scale(0.8, 0.8);
  }
 
  to {
    opacity: 0;
    transform: scale(1.7, 1.7);
  }
}


/* çâàòåìíßåò îêíî popover */

::backdrop {
  background: hsl(0 0 0 / 90%); 
  backdrop-filter: blur(3px); 
}


[popover] {
 /* font-size: 1.2rem;
  padding: 10px; */
  padding: 0;
  border: 0;
  animation: fade-out 0.7s ease-out;
}

[popover]:popover-open {
  animation: fade-in 0.7s ease-out;
}

[popover]:popover-open::backdrop {
  animation: backdrop-fade-in 0.7s ease-out forwards;
}


@keyframes fade-in {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
    transform: scaleX(1);
    display: block;
  }

  100% {
    opacity: 0;
    transform: scaleX(0);
    display: none;
  }
}

@keyframes backdrop-fade-in {
  0% {
    background-color: transparent;
  }

  100% {
    background-color: rgb(0 0 0 / 25%);
  } 
}
/*
video {
  width: 100%;
  height: auto;
  max-height: 100%;
}
*/

#otziv1 {
  /* width: 80%;
  height: auto;
 max-height: 80%; */
}

.thumb-wrap {
  position: relative;
/*   padding-bottom: 56.25%; çàäà¸ò âûñîòó êîíòåéíåðà äëÿ 16:9 (åñëè 4:3 — ïîñòàâüòå 75%) 
  height: 0; */
  overflow: hidden;
}
@media screen and (min-width: 780px) {
.thumb-wrap {
  height: 80%; 
}
}

.thumb-wrap img {
  margin-right: 0 !important;
}

.thumb-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-width: 0;
  outline-width: 0;
}

@media screen and (max-width: 800px) {
.konsultant, .otzivi {
flex-direction: column;}
.video, .otzslide, .otzslide .gallery {
   width: 95%;
}
}

.otzivi .otziv1 img {
    object-fit: cover;
}