#news .balloon::after {
    top: unset;
    bottom: -41%;
    right: -18%;
}

.hidden-slide {
    display: none !important;
}

.find-forum {
    display: flex;
    flex-direction: column;
    background: #FFECE9;
    gap: 0;
    padding: 18px 17px 25px;
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(23px);
    box-shadow: 0 4px 4px 0 #00000040;
    margin-bottom: 22%;
}

.find-forum .custom_h2 {
    margin: 0;
}

.find-forum--tag-list.swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    bottom: 0;
    margin-bottom: 10px;
}

.find-forum--tag-list.swiper-pagination.swiper-pagination-bullets .find-forum--tag {
    width: auto;
    line-height: 1;
    height: 22px;
    padding: 0 10px;
    display: inline-flex;
    color: #000000;
    background: #FFFFFF;
    font-size: 11px;
    font-weight: 400;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-rose);
    border-radius: 40px;
    gap: 10px;
    opacity: 1;
    margin: 0;
}

.find-forum--tag-list.swiper-pagination.swiper-pagination-bullets .find-forum--tag.swiper-pagination-bullet-active {
    background-color: var(--color-rose);
    border-color: var(--color-rose);
    color: #fff;
    font-size: 12px;
}

.find-forum--slider {
    height: 400px;
    max-width: 100%;
    overflow: hidden;
    margin-top: -25px;
    margin-bottom: -20px;
}

.swiper-slide {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.swiper-slide[style*="display: none"] {
    opacity: 0;
}

.find-forum-item {
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
}

.find-forum-item img {
    aspect-ratio: 250 / 250;
    width: auto;
    max-height: 220px;
    height: 100%;
}

.swiper-container {
    height: 100%;
}

#forum-finds .swiper-wrapper {
    align-items: center;
}

/* Настройки для слайдов */
#forum-finds .swiper-slide {
    display: flex;
    /*min-width: 450px;*/
    height: 305px;
    /*height: auto;*/
    justify-content: center;
    align-items: center;
    z-index: 1; /* Устанавливаем начальный z-index */
    transform: scale(0.9); /* Увеличиваем соседние слайды немного */
    transition: transform 0.3s ease;
    box-shadow: 6px 5px 17px 0 rgba(49, 31, 71, 0.08), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background: #FFFFFF;
}

#forum-finds .swiper-slide a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

#forum-finds .swiper-slide-prev,
#forum-finds .swiper-slide-next {
    box-shadow: 63px 54px 49px 0 rgba(49, 31, 71, 0.04), 28px 24px 37px 0 rgba(49, 31, 71, 0.07), 7px 6px 20px 0 rgba(49, 31, 71, 0.08);
}

#forum-finds .swiper-slide-active {
    z-index: 5;
    opacity: 1; /* Делаем центральный слайд более ярким */
    transition: transform 0.3s ease;
    box-shadow: 63px 54px 49px 0 rgba(49, 31, 71, 0.04), 28px 24px 37px 0 rgba(49, 31, 71, 0.07), 7px 6px 20px 0 rgba(49, 31, 71, 0.08);
    background: #F5F5F5;
}


#forum-finds .swiper-slide-prev,
#forum-finds .swiper-slide-next {
    z-index: 3;
    transition: transform 0.3s ease;
}

.find-forum-item--text {
    /*position: absolute;*/
    position: relative;
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 0.02em;
    line-height: 1.6;
    padding: 10px 16px 18px;
    left: 0;
    bottom: 0;
    width: 100%;
    color: var(--color-black);
}

.find-forum .slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.find-forum .slider-controls button {
    display: inline-flex;
    padding: 0;
    background: none;
    border: none;
    outline: none;
}

.btn.all-news {
    padding: 5px 0;
    line-height: 20px;
    margin-bottom: 15px;
}

.find-forum .slider-btn img {
    width: 24px;
}

#news {
    position: relative;
}

#news .rt-tooltip {
    position: absolute;
    top: 39.5%;
    left: 0;
    z-index: 1;
}

#news .rt-tooltip img {
    width: 130px;
}

#news .custom-tooltip {
    left: 15px;
    width: 228px;
    bottom: 98%;
    font-size: 18px;
    padding: 39px 0 35px;
}

@media screen and (max-width: 1199px) {
    #forum-finds .swiper-slide {
        height: 255px;
    }

    #forum-finds .swiper-slide a {
        padding-top: 10px;
        height: 100%;
    }

    .find-forum-item img {
        max-height: 180px;
    }

    .find-forum-item--text {
        margin-top: auto;
    }

    #news .rt-tooltip img {
        width: 50px;
    }

    #news .custom-tooltip {
        padding: 12px 10px 5px;
        left: -20px;
        bottom: 100%;
        font-size: 9px;
    }

    .find-forum--tag-list.swiper-pagination.swiper-pagination-bullets .find-forum--tag {
        line-height: 1.4;
        font-size: 12px;
        height: auto;
        min-height: 22px;
    }
}

@media screen and (max-width: 767px) {
    .find-forum .custom_h2 {
        font-size: 32px !important;
        line-height: 37px !important;
    }

    .find-forum--slider {
        min-height: 320px;
        overflow: initial;
    }

    .find-forum-item {
        border-radius: 16px;
    }

    .find-forum-item--text {
        font-size: 10px;
    }


}

@media screen and (max-width: 550px) {
    .find-forum--slider {
        min-height: 285px;
        overflow: initial;
    }

    .find-forum .custom_h2 {
        font-size: 20px !important;
        line-height: 24px !important;
    }


}

@media screen and (max-width: 450px) {
    .find-forum--slider {
        margin-top: 0;
        margin-bottom: 0;
        height: 275px;
    }
}