.topslider {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.topslider > div {
    position: relative;
    width: 100%;
}

.topslider-section {
    box-sizing: border-box;
    max-width: 2560px;
    overflow: hidden;
    padding: 0 40px;
    position: relative;
}

.topslider-section .item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.topslider-slider.owl-carousel .owl-item .item-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topslider-section .topslider-slider .owl-dots {
    bottom: 65px;
    display: flex;
    gap: 0 23px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 111;
}

.topslider-section .topslider-slider .owl-dots .owl-dot span {
    background: #fff;
    height: 10px;
    width: 10px;
    margin: 0;
    opacity: 0.4;
}

.topslider-section .topslider-slider .owl-dots .owl-dot:hover span,
.topslider-section .topslider-slider .owl-dots .owl-dot.active span {
    opacity: 1;
}

.topslider-section .topslider-slider .owl-dots .owl-dot.active span {
    border-color: #fff;
    transform: scale(1.6);
}

.topslider-section .content {
    position: absolute;
    bottom: 195px;
    gap: 30px 0;
    width: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.topslider-section .content .title {
    color: #fff;
    font-family: 'Geologica';
    font-size: 35px;
    font-weight: 600;
}

.topslider-section .content .description {
    color: #fff;
    font-family: 'Geologica';
    font-size: 21px;
    line-height: 1.4;
}

.topslider-section .content p {
    margin: 0;
}

.topslider .content .button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 100px;
    box-sizing: border-box;
    color: #121212;
    cursor: pointer;
    font-family: 'Geologica';
    font-size: 15px;
    line-height: 1.6;
    padding: 10px 38px;
    text-decoration: none;
    transition: .3s;
    width: auto;           /* под размер текста */
    max-width: 100%;       /* не выходит за блок */
}

.topslider .content .button:hover {
    background: transparent;
    color: #fff;
}

/* --- Адаптив --- */

@media (max-width: 1024px) {
    .topslider-section {
        height: 450px;
    }
    .topslider-section .item {
        height: 450px;
    }
    .topslider-section .content {
        top: 50px;
        bottom: auto;
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .topslider-section {
        height: 350px;
        padding: 0 20px;
    }
    .topslider-section .item {
        height: 350px;
    }
    .topslider-section .content {
        bottom: 20px;
        gap: 15px 0;
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }
    .topslider-section .content .title {
        font-size: 26px;
    }
    .topslider-section .content .description {
        font-size: 16px;
    }
    .topslider .content .button {
        padding: 8px 20px;
        font-size: 14px;
        border-radius: 50px;
        align-self: flex-start; /* кнопка под текстом слева */
    }
}

@media (max-width: 480px) {
    .topslider-section {
        height: 260px;
    }
    .topslider-section .item {
        height: 260px;
    }
    .topslider-section .content {
        gap: 10px 0;
        bottom: 10px;
        padding: 0 10px;
    }
    .topslider-section .content .title {
        font-size: 20px;
    }
    .topslider-section .content .description {
        font-size: 14px;
    }
    .topslider .content .button {
        padding: 6px 16px;
        font-size: 13px;
        border-radius: 40px;
    }
}
