
.bannerSection > article {
    border-radius: 10px;
    width: 100%;
    height: 570px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative; /* Добавлено для контекста позиционирования */
}

.banner-button {
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    background: linear-gradient(340deg, rgba(200, 0, 0, 1) 0%, rgba(0, 27, 200, 1) 100%);
    border-radius: 10px;
    font-size: 24px;
    box-shadow: 0px 0px 24px #3b3a4b;
}

@media (max-width: 992px) {
    .bannerSection > article {
        height: 470px;
    }

    .banner-button {
        font-size: 21px;
    }
}

@media (max-width: 768px) {
    .bannerSection > article {
        height: 370px;
    }

    .banner-button {
        font-size: 18px;
    }
}

@media (max-width: 512px) {
    .bannerSection > article {
        height: 270px;
    }

    .banner-button {
        font-size: 15px;
    }
}


.dataContent {
    position: absolute;
    top: 0; /* Занимает всю высоту */
    left: 0; /* Занимает всю ширину */
    right: 0; /* Занимает всю ширину */
    bottom: 0; /* Занимает всю высоту */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white; /* Цвет текста */
}

.foreground-content {
    width: 100%;
    display: flex;
    justify-content: end;
    padding-right: 10%;
}

.prefixBanner {
    background-color: #f30707;
    border-radius: 0 0 8px 8px;
    width: 15%;
    text-align: center;
    margin-left: 5%;
}

.banner-button-block {
    background: #11111be0;
}

.image-banner-home {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.bannet-text-block {
    background: #11111be0;
}

.text-area-banner-header {
    resize: none;
    cursor: default;
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    border: none;
    scroll-behavior: smooth;
    position: relative; /* Добавлено для позиционирования курсора */
}

/* Убираем прокрутку полос */
.text-area-banner-header::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.text-area-banner-header:focus-visible {
    outline: unset;
}


.text-banner-description {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ограничение текста до двух строк */
    -webkit-box-orient: vertical; /* Вертикальная ориентация текста */
    overflow: hidden; /* Скрыть текст, который не помещается в блок */
    text-overflow: ellipsis; /* Добавить многоточие, если текст не помещается */
}
