.biaris-main__link span {
  padding: 0 !important;
  background-color: unset !important;
  border-bottom: 5px dotted #fff;
}

.resource-group-section-with-titles {
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  z-index: 2;
}

.resource-group-section-with-titles .scroll-wrapper {
  display: flex;
  width: 100%;
  position: relative;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.resource-group-section-with-titles .scroll-container {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  padding-left: 20px;
}

.resource-group-section-with-titles .bitumen-container {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 16px;
  background: white;
  position: relative;
}

.resource-group-section-with-titles .bitumen-container:hover {
  opacity: 0.8;
}

.resource-group-section-with-titles .bitumen-icon-container {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.resource-group-section-with-titles .image-container {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: initial;
  height: 24px;
  border: none;
  object-fit: contain;
  object-position: center;
}

.resource-group-section-with-titles .bitumen-title-text {
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  font: 400 16px/16px Raleway, sans-serif;
  color: #081e55;
  letter-spacing: -0.64px;
}

.resource-group-section-with-titles .bitumen-title-text::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.biaris-main__subtitle {
  font-size: 27px;
  line-height: 140%;
  letter-spacing: calc(27px * -0.04);
}

.main__title a:hover span {
  border-bottom: none;
}

@media only screen and (max-width: 992px) {
  .biaris-main__link svg {
    width: 20px;
    height: 20px;
  }

  .main__title.h1 {
    font-size: 26px !important;
  }

  .main__title--mobile {
    display: inline;
  }

  .main__title--desktop {
    display: none;
  }

  .s-main {
    text-align: left;
  }

  .biaris-main__subtitle {
    margin-top: 0;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: calc(16px * -0.04);
  }

  .resource-group-section-with-titles {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .resource-group-section-with-titles .bitumen-container {
    padding: 10px 12px;
  }

  .resource-group-section-with-titles .bitumen-title-text {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    font: 400 12px/12px Raleway, sans-serif;
    color: #081e55;
    letter-spacing: calc(12px * -0.04);
  }

  .resource-group-section-with-titles .bitumen-icon-container {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
  }
}
.content-container-with-text-and-image {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-width: 614px;
  padding: 29px;
  background: white;
  margin-top: 30px;
}

.content-container-with-text-and-image .content-block-with-offer-details {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.content-container-with-text-and-image .main-heading-text {
  font: 600 24px/32px Raleway, sans-serif;
  color: #081e55;
  text-align: left;
  letter-spacing: -0.96px;
  margin-bottom: 20px;
}

.content-container-with-text-and-image .vertical {
  margin-top: 19px;
}

.content-container-with-text-and-image .image-container {
  box-sizing: border-box;
  display: block;
  width: 399px;
  max-width: initial;
  height: 60px;
  border: none;
  object-fit: cover;
}

.content-container-with-text-and-image .consulting-presentation-style {
  padding: 0;
  margin: 0;
  margin-top: 19px;
  font: 400 16px Raleway, sans-serif;
  color: #081e55;
  letter-spacing: -0.64px;
}

.content-container-with-text-and-image .image-container1 {
  display: block;
  width: 230px;
  max-width: initial;
  height: 185px;
  margin-left: 12px;
  border: none;
  object-fit: cover;
}

.biaris-bg-image {
  position: absolute;
  right: -822px;
  bottom: -81px;
  width: 989px;
  height: 585px;
  pointer-events: none;
}

.biaris-bg-image img {
  object-fit: contain;
  pointer-events: none;
}

.biaris-bg-image__text {
  position: absolute;
  left: 272px;
  bottom: 81px;
  background-color: #12285f;
  padding: 5px 8px;
  font: 400 14px Raleway, sans-serif;
  letter-spacing: calc(14px * -0.04);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.biaris-btn {
  border-bottom: 7px solid #8d0319;
}

.production-stats-container {
  display: none;
}

@media only screen and (max-width: 992px) {
  .biaris-btn {
    font-size: 10px;
  }

  .s-main {
    text-align: left;
  }

  .content-container-with-text-and-image {
    min-width: unset;
    padding: 22px 25px;
    background: white;
    margin-top: 74px;
  }

  .content-container-with-text-and-image .content-block-with-offer-details {
    flex: unset;
  }

  .content-container-with-text-and-image .main-heading-text {
    font: 600 15px/20px Raleway, sans-serif;
    color: #081e55;
    text-align: left;
    letter-spacing: -0.6px;
    margin-bottom: 20px;
  }

  .content-container-with-text-and-image .main-heading-text br {
    display: inline;
  }

  .content-container-with-text-and-image .vertical {
    margin-top: 19px;
  }

  .content-container-with-text-and-image .consulting-presentation-style {
    margin-top: 12px;
    font: 400 14px Raleway, sans-serif;
    letter-spacing: -0.56px;
  }

  .content-container-with-text-and-image .image-container1 {
    display: none;
  }

  .biaris-bg-image {
    position: absolute;
    right: -242px;
    bottom: 104px;
    width: 464px;
    height: auto;
  }

  .biaris-bg-image img {
    object-fit: contain;
  }

  .biaris-bg-image__text {
    display: none;
  }

  .biaris-btn {
    border-bottom: 7px solid #8d0319;
  }

  .production-stats-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 6.25px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 14px;
    position: relative;
    z-index: 1;
  }

  .production-stats-container .svg-container {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    width: 9.5px;
    height: 16px;
    color: #ffffff;
  }

  .production-stats-container .production-quantity-statement {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    color: white;
  }

  .production-stats-container .monthly-production-amount-text {
    font: 700 14px Raleway, sans-serif;
    letter-spacing: -0.56px;
  }

  .production-stats-container .product-description-text {
    font: 400 14px Raleway, sans-serif;
    letter-spacing: -0.56px;
  }
}
.biaris-contact-section-with-images {
  position: fixed;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 132px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: white;
  box-shadow: 0px 4px 50px rgba(25, 30, 43, 0.1);
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.1s, transform 0.3s;
}

.biaris-contact-section-with-images.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.biaris-contact-section-with-images .contact-info-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.biaris-contact-section-with-images .contact-info-section-2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  justify-content: end;
}

.biaris-contact-section-with-images .contact-message-style {
  box-sizing: border-box;
  flex: 0 0 auto;
  max-width: 282px;
  font: 600 13px/15.5px Raleway, sans-serif;
  color: black;
  text-align: left;
  letter-spacing: -0.52px;
}

.biaris-contact-section-with-images .contact-info-heading {
  flex: 0 0 auto;
  font: 600 13px/13px Raleway, sans-serif;
  color: black;
  letter-spacing: -0.52px;
}

.biaris-contact-section-with-images .contact-info-section-2 a:hover {
  opacity: 0.6;
}

.biaris-contact-section-with-images .contact-info-section-2 a svg {
  width: 49px;
  height: 49px;
}

@media (max-width: 992px) {
  .biaris-contact-section-with-images .contact-info-section {
    justify-content: center;
  }
}

/* biaris story slider 03 03 2025 */

.videos-slider {
  width: 90%;
  margin: 0 auto;
  position: static;
}

.s-videos .container {
  position: static;
}

.videos-slider .video-slide {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 24px;
}

.videos-slider .video-slide p {
  font-weight: 700;
  font-size: 16px;
  line-height: 135%;
  letter-spacing: -0.04em;
  text-align: center;
  color: #fff;
}

.videos-slider .video-slide .video-slide_image {
  width: 114px;
  height: 114px;
  position: relative;
  border-radius: 100%;
  overflow: hidden;
  border: 12px solid rgba(207, 44, 44, 0.9);
}

.videos-slider .video-slide .video-slide_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 100%;
}

.videos-slider .video-slide .video-slide_image::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 28px;
  height: 32px;
  transition: background-image 0.3s;
  background-image: linear-gradient(#d9d9d9, #d9d9d9);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 32"><path d="M0.560337 2.87067C0.560337 1.33107 2.227 0.368823 3.56034 1.13862L26.681 14.4873C28.0143 15.2571 28.0143 17.1816 26.681 17.9514L3.56034 31.3002C2.227 32.07 0.560336 31.1077 0.560336 29.5681L0.560337 2.87067Z"/></svg>')
    no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 32"><path d="M0.560337 2.87067C0.560337 1.33107 2.227 0.368823 3.56034 1.13862L26.681 14.4873C28.0143 15.2571 28.0143 17.1816 26.681 17.9514L3.56034 31.3002C2.227 32.07 0.560336 31.1077 0.560336 29.5681L0.560337 2.87067Z"/></svg>')
    no-repeat center / contain;
}

.videos-slider .video-slide:hover .video-slide_image {
  border-color: rgba(209, 76, 76, 0.9);
}

.videos-slider .video-slide:hover .video-slide_image::before {
  background-image: linear-gradient(
    rgba(209, 76, 76, 0.9),
    rgba(209, 76, 76, 0.9)
  );
}

.videos-slider .slick-prev {
  left: 15px;
  margin: unset;
  top: 41px;
}

.videos-slider .slick-next {
  right: 15px;
  margin: unset;
  top: 41px;
}

.fancybox-overlay-fixed {
  width: 100%;
  height: 100%;
}

.s-videos__title-mobile {
  display: none;
}
.s-videos__title-desktop {
  display: block;
}

@media (max-width: 767.98px) {
  .s-videos__title-mobile {
    display: block;
    color: #fff;
    font-size: 14px !important;
    line-height: 1.35;
  }
  .s-videos__title-mobile b {
    font-size: 16px;
    line-height: 1.35;
  }
  .s-videos__title-mobile br {
    display: inline;
  }
  .s-videos__title-desktop {
    display: none;
  }

  .videos-slider .video-slide .video-slide_image {
    width: 56px;
    height: 56px;
    position: relative;
    border-radius: 100%;
    border-width: 4px;
  }

  .videos-slider .video-slide .video-slide_image::before {
    width: 18px;
    height: 22px;
  }

  .videos-slider .video-slide p {
    font-weight: 600;
    font-size: 11px;
    line-height: 135%;
  }

  .videos-slider .slick-prev,
  .videos-slider .slick-next {
    width: 22px;
    height: 31px;
    margin: unset;
    top: 26px;
  }
}

.fancy-wrap-video-story.fancybox-wrap {
  max-width: 600px !important; /* Огр. ширину для вертикального видео */
  height: 90vh !important;
  height: 90dvh !important;
  position: fixed;
}

.fancy-wrap-video-story .fancybox-inner {
  width: 100% !important;
  height: 100% !important;
}

.fancy-wrap-video-story .fancybox-iframe {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 9 / 16; /* Соотношение сторон для вертикального видео */
}

.fancy-wrap-video-story .fancybox-nav span {
  width: 100px;
  height: 66px;
  padding: 0;
  margin: auto;
  visibility: visible;
  border: none;
  background-color: rgba(186, 6, 35, 0.8);
  border-radius: 0;
}
.fancy-wrap-video-story .fancybox-close,
.fancy-wrap-video-story .fancybox-close {
  background-color: #fff;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
}
.fancy-wrap-video-story .fancybox-close::before,
.fancy-wrap-video-story .fancybox-close::after {
  background-color: #000;
}
@media only screen and (max-width: 1024px) {
  .fancy-wrap-video-story {
    width: 100% !important;
    height: 100% !important;
  }
}
@media only screen and (max-width: 767px) {
  .fancy-wrap-video-story iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fancybox-wrap.fancy-wrap-video-story {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    /* left: 0 !important;
    top: 0 !important; */
    max-width: unset !important; /* Огр. ширину для вертикального видео */
  }

  .fancy-wrap-video-story .fancybox-inner {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* end biaris story slider 03 03 2025 */
