@import url("https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600,700,800");
* {
  box-sizing: border-box;
}

.swiper-wrapper {
  overflow: hidden;
  position: relative;
}

.blog-slider {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: auto;
  transition: all 0.3s;
  overflow: hidden;
}

.blog-slider__item {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.blog-slider__img {
  width: 300px;
  flex-shrink: 0;
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  position: relative;
  margin: 0 30px;
  z-index: 2;
}

.video-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.blog-slider__content {
  padding-right: 25px;
  z-index: 2;
}

.blog-slider__title {
  font-family: "Fira Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #34344A;
}

.blog-slider__text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Fira Sans", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 40px;
  color: #999;
}

.blog-slider__button {
  display: inline-flex;
  font-family: "Fira Sans", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 8px 20px;
  background-color: #FEC841;
  border: none;
  color: #000;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  padding: 20px;
  border-radius: 10px;
}

.modal-video {
  width: 100%;
  height: auto;
}
.close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 25px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}