.b-quote {
  position: relative;
  max-width: 840px;
  background-color: rgb(240 240 240 / 40%);
  margin: 47px 0 30px;
  padding: 35px 40px 40px;
}
.b-quote::after {
  content: '';
  position: absolute;
  top: -17px;
  left: 40px;
  width: 40px;
  height: 34px;
  background: url('/local/templates/webcanape/images/quote.svg') no-repeat;
}

.b-quote p.quote__text {
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 500;
  color: #303030;
}

.b-quote .quote__name {
  font-size: 15px;
  color: rgb(48 48 48 / 60%);
  font-weight: 700;
  display: block;
}

.b-quote .quote__position {
  font-size: 15px;
  color: rgb(48 48 48 / 60%);
}

.sp-block-table {
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.sp-block-table .sp-block-table-inner {
  background-color: rgb(240 240 240 / 40%);
  padding: 17px 40px;
  width: max-content;
  max-width: 840px;
  margin-bottom: 15px;
}

.sp-block-table .sp-block-table-inner table {
  width: 100%;
}

.sp-block-table tr:not(:last-child) {
  border-bottom: 1px solid rgb(69 73 78 / 15%);
}
.sp-block-table tr:first-child td {
  color: #303030;
  font-weight: 700;
}
.sp-block-table td {
  padding: 12px 40px;
  font-size: 15px;
  color: rgb(48 48 48 / 80%);
}
.sp-block-table td p {
  max-width: 200px;
}
.sp-block-table td:first-child {
  padding-left: 0;
}
.sp-block-table td:last-child {
  padding-right: 0;
}

.sp-video {
  max-width: 840px;
  margin: 30px 0;
}

.sp-video__wrapper {
  position: relative;
  overflow: hidden;
}

.sp-video__video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.sp-video__caption {
  display: block;
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.4;
  color: rgb(48 48 48 / 60%);
}

.sp-video__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgb(255 255 255 / 15%);
  cursor: pointer;
  transition: background-color 0.3s;
  transform: translate(-50%, -50%);
}

.sp-video__play-btn svg {
  width: 100%;
  height: 100%;
}

.sp-video__play-btn:hover {
  background-color: rgb(255 255 255 / 30%);
}

.sp-image {
  max-width: 840px;
  margin: 30px 0;
}

.sp-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.sp-image__caption {
  display: block;
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.4;
  color: rgb(48 48 48 / 60%);
}

.sp-gallery {
  position: relative;
  margin: 40px 0;
}

.sp-gallery.swiper {
  overflow-x: clip !important;
}

.sp-gallery .sp-gallery__item {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
}

.sp-gallery .sp-gallery__item .sp-gallery__link img {
  max-height: 520px;
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.sp-gallery .sp-gallery__caption {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: rgb(48 48 48 / 60%);
}

.sp-gallery .sp-gallery__scrollbar {
  display: none;
}

.sp-gallery .sp-gallery__btns {
  display: flex;
  gap: 10px;
}

.sp-gallery .sp-gallery__btn {
  position: static !important;
  transform: none !important;
  margin-bottom: 20px;
}

@media (min-width: 1366px) and (max-width: 1919px) {
  .b-quote {
    margin: 57px 0 40px;
    padding: 40px 20px 20px;
  }
  
  .b-quote p.quote__text {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
  }
  .sp-block-table {
    margin-bottom: 40px;
  }
  .sp-block-table .sp-block-table-inner {
    padding: 30px 40px;
  }
  
  .sp-video {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .sp-video__caption {
    margin-top: 20px;
    font-size: 13px;
  }
  
  .sp-image {
    max-width: 100%;
  }
  
  .sp-image__caption {
    margin-top: 20px;
    font-size: 13px;
  }

  .sp-gallery .sp-gallery__item .sp-gallery__link img {
    max-height: 600px;
  }

  .sp-gallery .sp-gallery__caption {
    margin-top: 15px;
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1365px) {
  .b-quote {
    max-width: none;
    margin: 20px 0 30px;
    padding: 40px 20px 20px;
  }
  
  .b-quote p.quote__text {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
  }
  
  .sp-block-table .sp-block-table-inner {
    padding: 30px 40px;
  }
  
  .sp-video {
    max-width: 100%;
  }
  
  .sp-video__caption {
    font-size: 13px;
  }
  
  .sp-image {
    max-width: 100%;
    margin: 20px 0;
  }
  
  .sp-image__caption {
    font-size: 13px;
  }

  .sp-gallery .sp-gallery__item .sp-gallery__link img {
    max-height: 400px;
  }

  .sp-gallery .sp-gallery__scrollbar {
    display: block;
  }

  .sp-gallery .sp-gallery__btns {
    display: none;
  }

  .sp-gallery .sp-gallery__caption {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .b-quote {
    max-width: none;
    margin: 37px 0 30px;
    padding: 40px 20px 20px;
  }
  
  .b-quote p.quote__text {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
  }
  
  .sp-block-table .sp-block-table-inner {
    padding: 30px 40px;
    margin-bottom: 15px;
  }
  
  .sp-video {
    max-width: none;
    margin: 20px 0 30px;
  }

  .sp-video__caption {
    font-size: 13px;
  }
  
  .sp-video__play-btn {
    width: 40px;
    height: 40px;
  }
  
  .sp-image {
    max-width: none;
    margin: 20px 0;
  }
  
  .sp-image__caption {
    font-size: 13px;
  }

  .sp-gallery .sp-gallery__item .sp-gallery__link img {
    max-height: 300px;
    max-width: 100%;
  }

  .sp-gallery .sp-gallery__scrollbar {
    display: block;
  }

  .sp-gallery .sp-gallery__btns {
    display: none;
  }

  .sp-gallery .sp-gallery__caption {
    font-size: 13px;
  }
}
