/* содержит стили для блоков: text_gallery13 */

/* стили для блока text_gallery13 START */
.guests {
    overflow: hidden;
    margin: 80px 0;
}

.guests__title {
    text-align: center;
}

.guests__title .title_h2 {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: fit-content;
    margin: 0 auto 40px;
}

.guests__title .title_decor {
    left: -215px;
}

.guests__slider {
    margin: 40px 0 0;
}

.guests__slider .owl-stage {
    display: flex;
}

.guests__slider .owl-item {
    height: auto;
}

.guests__slider.owl-carousel .owl-nav {
    display: none;
}

.guests__slider.owl-carousel.owl-theme .owl-dots {
    display: flex;
    margin-top: 40px;
}

.guests__item {
    height: 100%;
    display: block;
    background: #c1def8;
    text-decoration: none;
}

.guests__img {
    width: 100%;
    aspect-ratio: 467 / 316;
    display: flex;
}

.guests__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guests__content {
    color: var(--color-9);
    padding: 14px 14px 24px 16px;
}

.guests__text {
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 14px;
}

.guests__btn {
    width: fit-content;
    height: 35px;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    border-radius: 50px;
    border: 1px solid var(--color-9);
    padding: 5px 21px;
}
/* стили для блока text_gallery13 END */

@media (max-width: 768px) {
    .guests {
        margin: 60px 0;
    }

    .guests__title .title_h2 {
        margin-bottom: 24px;
    }

    .guests__title .title_decor {
        left: -100px;
    }

    .guests__slider {
        max-width: 350px;
        margin: 20px auto 0;
    }

    .guests__slider.owl-carousel .owl-nav {
        display: block;
    }

    .guests__slider.owl-carousel.owl-theme .owl-dots {
        margin-top: 20px;
    }

    .guests__content {
        color: var(--color-8);
        padding: 14px 16px;
    }

    .guests__text {
        font-size: 16px;
    }
}
