.opinions {
    padding: 100px 0;
    position: relative;
    margin-top: 40px;
}
.opinions__slider {
    /* height: 472px; */
    height: 600px;
}
.opinions__item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
    height: 600px;
}

.opinions__desc {
    display: flex;
    flex-direction: column;
}

.opinions__text {
    line-height: 1;
    flex: none;
    /* width: calc(50% - 10px); */
    /* font-weight: 500; */
    /* font-size: 24px; */
    font-size: 18px;
    font-weight: 300;
    /* letter-spacing: -.8px; */
    margin-bottom: 40px;
}
.opinions__name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 17px;
    letter-spacing: -.8px;
    line-height: 1;
}
.opinions__post {
    /* font-style: italic; */
    /* color: var(--inactive); */
    /* max-width: 320px; */
}
.opinions__person {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    height: 100%;
}
.opinions__photo {
    flex: none;
    /* width: 198px; */
    /* width: 270px; */
    width: 550px;
    /* height: 228px; */
    /* height: 300px; */
    /* height: 100%; */
    max-height: 600px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}
.opinions__photo:after {
    display: block;
    content: "";
    height: 15%;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0, #000);
}
.opinions__photo img {
    display: block;
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
    /* object-position: top; */
}



.opinions__navigation{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.opinions .opinions__navigation .swiper-pagination-bullet{
    margin: 0;
    height: 8px;
    width: 8px;
    background-color: var(--default);
    opacity: .3;
}
.withBg .opinions .opinions__navigation .swiper-pagination-bullet{
    background-color: var(--alter);
}
.opinions .opinions__navigation .swiper-pagination-bullet-active{
    opacity: .9;
}
.opinions .opinions__navigation .swiper-pagination-bullet:hover{
    background-color: var(--accent);
}
.opinions__info {
    display: none;
}


@media screen and (max-width: 1400px) {
    .yourOpinion__title {
        grid-column: 1 / 3;
        grid-row: 1;
    }
}


@media screen and (max-width: 1200px) {
    .opinions__slider {
        /* height: auto; */
    }
    .opinions__text {
        font-size: 18px;
    }
    .yourOpinion__text {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}


@media screen and (max-width: 992px) {
    .opinions__item {
        /* flex-direction: column-reverse; */
        gap: 10px;
    }
    .opinions__text {
        width: 100%;
    }
    .opinions__info {
        align-self: flex-end;
        /* display: block; */
    }
    .opinions__desc .opinions__name, .opinions__desc .opinions__post {
        /* display: none; */
    }
    .opinions__photo {
        width: 200px;
        height: 300px;
    }
}


@media screen and (max-width: 768px) {
    .yourOpinion__row {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .opinions__slider {
        height: auto;
    }
    .opinions__item {
        flex-direction: column-reverse;
        height: auto;
    }
    .opinions__desc .opinions__name, .opinions__desc .opinions__post {
        display: none;
    }
    .opinions__info {
        display: block;
    }
}


@media screen and (max-width: 576px) {
    .opinions__photo {
        width: 150px;
        height: 225px;
    }
    .opinions__name {
        font-size: 18px;
    }
    .opinions__post {
        font-size: 12px;
    }
    .opinions__text {
        /* line-height: 1.3; */
        font-size: 16px;
        margin-bottom: 0px;
    }
    .opinions__item {
        height: 100%;
    }
    .yourOpinion {
        padding-top: 60px;
        padding-bottom: 100px;
    }
    .opinions .sliderArrow {
        display: none;
    }
    .opinions__person {
        gap: 10px;
    }
}


@media screen and (max-width: 400px) {
    .opinions__photo {
        width: 100px;
        height: 150px;
    }
    .opinions__name {
        font-size: 16px;
    }
    .opinions__post {
        font-size: 12px;
        line-height: 1.2;
        letter-spacing: -.4px;
        font-weight: 300;
    }
}