.rating-value{
    margin-bottom: 10px;
}.block12-4-wrapper {
    overflow: hidden;
}
.block12-4-slider {
    position: relative;
    margin-left: -16px;
    margin-right: -16px;
}
.block12-4-slides {
    width: 100%;
    margin: 0;
}
.block12-4-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f3f3f3;
    padding: 35px 40px;
    border-radius: 27px;
    outline: none;
    height: 360px;
    width: 540px;
    overflow: hidden;
}
/* .block12-4-slide::after {
    position: absolute;
    content: '';
    bottom: 30px;
    left: 0;
    background: linear-gradient(0deg, #f3f3f3, transparent);
    width: 100%;
    height: 60px;
    pointer-events: none;
} */
.block12-4-slide-wrap {
    padding: 0 16px;
}

.slick-slider {
    padding-left: 8vw;
}

.block-reviews-block .slick-list {
    overflow: visible;
}

.block12-4-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 30px;
    position: relative;
}
.block12-4-top.block12-4--nouser {
    padding-bottom: 10px;
}
.block12-4-user {
    min-width: 180px;
    display: flex;
}

.block12-4-stars {
    height: 19px;
    display: flex;
    align-content: flex-end;
    position: absolute;
    bottom: -9px;
    left: 0;
    padding-right: 15px;
}
.block12-4-star {
    margin-right: 1px;
    width: 19px;
    min-width: 19px;
    height: 19px;
    position: relative;
}
.block12-4-stars .block12-4-star:last-child {
    margin-right: 0;
}
.block12-4-star--on { color: #f2d228; }
.block12-4-star--off { color: #dfdfdf; }
.block12-4-star svg {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 0;
    left: 0;
}
.block12-4-text {
    font-size: 16px;
    line-height: 24px;
    color: #7d7d7d;
    overflow: hidden;
    max-height: 168px;
    overflow: hidden;
    position: relative;
}
.block12-4-avatar {
    width: 60px;
    min-width: 60px;
    height: 60px;
    background-size: cover;
    border-radius: 50%;
    margin-right: 20px;
}
.block12-4-post {
    font-size: 16px;
    line-height: 120%;
    color: #1dcd24;
}
.block12-4-name {
    font-weight: bold;
    font-size: 16px;
    line-height: 25px;
    color: #040e26;
}
.block12-4-info {
    display: flex;
    flex-direction: column;
    align-content: center;
    gap: 5px;
}
.block12-4-info > div {
    width: 100%;
}

.block-reviews-block .slick-dots {
    list-style: none;
    margin-top: 30px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    padding: 0;
}
.block-reviews-block .slick-dots li {
    width: 20px;
    height: 4px;
    margin: 0 5px;
    border-radius: 3px;
    cursor: pointer;
}
.block-reviews-block .slick-dots li:not(.slick-active) {
    background-color: #cccccc;
}
.block-reviews-block .slick-dots li > button {
    display: none;
}

.block-reviews-block .slick-arrow {
    position: absolute;
    top: calc(50% - 47px);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #040e26;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1;
}
.block-reviews-block .slick-arrow svg {
    position: absolute;
    top: calc(50% - 6px);
    left: calc(50% - 4px);
}
.block-reviews-block .slick-arrow.arrow-prev {
    left: -4px;
}
.block-reviews-block .slick-arrow.arrow-next {
    right: -4px;
}

.block12-4-oneslide .slick-dots {
    display: none !important;
}
.block12-4-text--collapsed {
    -webkit-line-clamp: 8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.block12-4-text--collapsed::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, #f3f3f3, transparent);
    width: 100%;
    height: 60px;
    pointer-events: none;
}

.block12-4-dots {
    text-align: center;
    opacity: 0.5;
    color: #040e26;
    font-size: 18px;
    font-weight: 400;
    margin-top: 8px;
    letter-spacing: 1px;
    line-height: 1;
	z-index: 1;
  	position: relative;
}

/* Карточки без троеточия - не кликабельные */
.block12-4-slide--not-clickable {
    cursor: default;
    pointer-events: none;
}

/* Карточки с троеточием - кликабельные */
.block12-4-slide--clickable {
    cursor: pointer;
}

@media (max-width: 767px) {
    .block12-4-slide {
        padding: 30px;
    }
    .block12-4-top {
        flex-wrap: wrap;
    }
    .block12-4-top > div {
        width: 100%;
    }
    .block12-4-user {
        display: flex;
        width: 100%;
        margin-left: 0;
    }
    .block12-4-avatar {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .block-reviews-block .slick-arrow {
        display: none !important;
    }

    .block-reviews-block .slick-list {
        padding-right: 38px;
    }
    .block12-4-slide-wrap {
        padding-left: 16px;
        padding-right: 0;
    }
    .block12-4-slider {
        margin-left: -20px;
        margin-right: -20px;
    }

    .block12-4-oneslide .slick-list {
        padding-right: 0 !important;
    }
    .block12-4-oneslide .block12-4-slide-wrap {
        padding: 0 16px !important;
    }
}

/* modal styles */
.modal12-4-top {
    display: flex;
    margin-bottom: 23px;
    justify-content: space-between;
    align-items: center;
}
.modal12-4-user {
    display: flex;
}
.modal12-4-avatar {
    width: 74px;
    min-width: 74px;
    height: 74px;
    margin-right: 25px;
    border-radius: 50%;
    background-size: cover;
}
.modal12-4-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-content: center;
}
.modal12-4-info > div {
    width: 100%;
}
.modal12-4-post {
    font-size: 14px;
    line-height: 120%;
    color: #1dcd24;
}
.modal12-4-name {
    font-weight: bold;
    font-size: 20px;
    line-height: 30px;
    color: #040e26;
}
.modal12-4-stars {
    height: 19px;
    display: flex;
}
.modal12-4-star {
    margin-right: 3px;
    width: 19px;
    height: 19px;
    position: relative;
}
.modal12-4-stars .modal12-4-star:last-child {
    margin-right: 0;
}
.modal12-4-star--on { color: #f2d228; }
.modal12-4-star--off { color: #dfdfdf; }
.modal12-4-star svg {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 0;
    left: 0;
}
.modal12-4-review {
    font-size: 15px;
    line-height: 24px;
    color: #666666;
}
@media (max-width: 767px) {
    .modal12-4-top {
        flex-wrap: wrap;
    }
    .modal12-4-top > div {
        width: 100%;
    }
    .modal12-4-stars {
        margin-top: 25px;
    }
}
.rating-card{
  max-width: 360px;
  max-height: 90px;
  width: 100%;
  height: 100%;
  background-color: #f3f3f3;
  border-radius: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 30px;
}
.rating-stars {
    display: flex;
}
.ratings-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 40px;
}
.rating-value{
    margin-bottom: 10px;
	font-weight: 600;
}
.rating-link a{
  color: #040e26;
  font-size: 14px;
  font-family: 'Montserrat',Arial,sans-serif;
  line-height: 1.2;
  font-weight: 500;
  border-width: 1px;
  border-radius: 9px 9px 9px 9px;
  background-position: center center;
  border-color: #dcdcdc;
  border-style: solid;
  transition: background-color 0.2s ease-in-out,color 0.2s ease-in-out,border-color 0.2s ease-in-out;
	padding-top: 4px;
	padding-left: 8px;
	padding-bottom: 4px;
	padding-right: 8px;
}
.rating-link a:hover{
	border-color: #7d7d7d;
	color: black;
}
.rating-bottom{
	display: flex;
	justify-content: space-between;
}
.rating-number{
    max-width: 145px;
    width: 100%;
}
.rating-value{
	display: flex;
}
@media (max-width: 810px) {
.ratings-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 40px;
    flex-direction: column;
        align-items: center;
}
.rating-card{
  /* max-width: 192px; */
  max-height: 150px;
  width: 100%;
  height: 100%;
  background-color: #f3f3f3;
  border-radius: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}
.rating-bottom {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.rating-value {
    display: flex;
    align-content: center;
    max-width: 172px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}
}
@media (max-width: 420px) {
    .ratings-container {
        display: flex;
        margin-top: 60px;
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }
	    .rating-card {
        max-width: 300px;
        max-height: 150px;
        width: 100%;
        height: 100%;
        background-color: #f3f3f3;
        border-radius: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
        display: grid;
        justify-content: center;
    }
    .rating-value {
        display: flex;
        max-width: 172px;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        flex-direction: column-reverse;
    }
}