.yandex_reviews {
    /* overflow: hidden; */
}

#reviews_block {
    margin-top: 60px;
    margin-bottom: 60px;
    scroll-margin-top: 80px;
    text-align: left;
}

#reviews_block h2 {
    display: inline-block !important;
    margin-bottom: 20px;
    font-size: 40px;
}

#reviews_block .section-header {
    text-align: center;
}

#yandex_reviews{
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-inactive-color: #ddd;
    --swiper-pagination-bullet-height: 12px;
    --swiper-pagination-bullet-width: 12px;
    --swiper-pagination-right: 12px;
    --swiper-pagination-bullet-horizontal-gap: 6px;
}

.yandex_review-icon {
    display: flex;
    align-items: center;
    max-height: 140px;
}

.yandex_review-description {
    line-height: 22px;
}

.yandex_review-title {
    font-size:20px;
}

.read-text-more {
    font-size:16px;
}

.info-yandex_reviews {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.yandex_reviews-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.yandex_review {
    width: 100%;
}

.yandex_review .read-text-more__link, .yandex_review a {
    color:#999;
    text-decoration: none;
    cursor:pointer;
}

.yandex_review a:focus {
    border:none;
    outline:none;
    color: inherit;
    text-decoration: inherit;
}

.yandex_reviews .read-text-more__link-wrap {
    display:none;
}

.yandex_reviews_link, .yandex_reviews_link:hover {
    color: #F17E00;
    border-color:#F17E00;
}

.yandex_review .info {
    display: flex;
    justify-content: space-between;
}

.yandex_reviews .swiper-slide:hover {
    cursor:pointer;
}

.yandex_review .date {
    display: flex;
    justify-content: flex-end;
    padding-right: 0px;
}

.yandex_review .rating {
    display: flex;
    justify-content: flex-start;
    padding-right: 0px;
}

#yandex_reviews .swiper-button-next, #yandex_reviews .swiper-button-prev {
    display:none;
}

.reviews-block .slick-track {
  display: flex;
}

.reviews-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.reviews-block.slick-initialized {
  display: block;
  margin: 0px -15px 10px;
}

.reviews-block__review {
  background: #fff;
  padding: 15px!important;
  flex: 1 0 auto;
  display: flex!important;
  border-radius: 12px;
  background-color: #fff;
  flex-direction: column;
  flex-wrap: wrap;  
  height: auto;
  justify-content: flex-start;
  border: 1px solid var(--gray);
}

.reviews-block__review.slick-slide {margin: 0px 7px} 

.reviews-header {
  font-size: 12px;
  color: var(--dark-gray);
}

.reviews-footer {
  color: var(--black);
  font-size: 16px;
}


/* .review-header {
    margin-top: 10px;
} */

.rating-date .fa-stack {
    font-size: 9px !important;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    line-height: 1.2;
    color:#000;
}

.review-date {
    font-size: 14px;
}

#yandex_reviews-modal .close-modal {
    font-size:15px;
    margin-top: 20px;
    color:#000;
}

.yandex_review-bg {
    position:relative;
}

.slick-arrow-circle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid #D1D1D1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    z-index: 20;
}

.slick-arrow-circle:hover {
    background: #f5f5f5;
}

.myslick-prev {
    left: -35px; 
}

.myslick-next {
    right: -35px;
}

.slick-arrow-circle svg path {
    stroke: #999; /* цвет стрелки */
}

/* Скрываем мобильные стрелки на десктопе */
.mobile-arrows {
    display: none; 
}

#yandex_reviews .slick-arrow {position: absolute;top: calc(50% - 10px);cursor: pointer;stroke: var(--orange);width: 40px; height:40px; z-index: 9;fill: none;transition: 300ms;}

#yandex_reviews .slick-arrow:hover {stroke: var(--green)}

#yandex_reviews .slick-disabled {stroke: var(--gray)!important;}

#yandex_reviews .slick-dots {
    position: relative;
    bottom: 15px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

#yandex_reviews .slick-dots li button:before {
    color:#ddd;
}

#yandex_reviews .slick-dots li.slick-active button:before {
    opacity: .75;
    color: var(--orange);
}

@media (min-width: 768px) {
    .yandex_reviews .swiper-container {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {

    .desktop-arrows {
        display: none;
    }
    .mobile-arrows {
        display: block; /* Или ваше нужное отображение */
    }

    #yandex_reviews .slick-arrow {
        top: 50%;
    }

    .info-yandex_reviews {
        right: 0px;
        top: 0px;
    }

    .yandex_review-icon {
        justify-content: center;
    }

    #yandex_reviews .swiper-button-next, #yandex_reviews .swiper-button-prev  {
        display:flex;
        top: inherit;
        margin-left: 20px;
        margin-right: 20px;
    }

    .yandex_reviews .read-text-more__link-wrap {
        display:inline;
    }

    .yandex_reviews .read_more_desktop {
        display:none;
    }

    .myslick-prev {
        left: 30px; 
    }

    .myslick-next {
        right: 30px;
    }

    #reviews_block h2 {
        font-size: 22px;
    }

    .section-header:has(.landing-block__header) {
        text-align: center !important;
    }

}



.yandex_review .modal-header {
    margin-bottom: 10px !important;
}

.position-relative {
    position: relative !important;
}

.mb-2 {
    margin-bottom: 0.8rem !important;
}

.mt-2 {
    margin-top: 0.8rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.w-100 {
    width: 100%;
}

.rating-date {
    justify-content: space-between;
}

.ms-3 {
    row-gap: 5px;
    flex-direction: column;
    display:flex;
}

.br-8 {
    border-radius: 8px;
    border-color: #f17e00 !important;
}

.text-dark {
    opacity: 1;
    color: #000 !important;
}



