

/*Растяжки
.banner__wrapper {
    position: relative;
    width: 100%;
    display: flex;
    max-height: 77px;
    gap: 20px;
    cursor: pointer;
    font-family: 'Golos Text', 'Jost', "Lato", Helvetica, Arial, sans-serif;
}

picture {
    display: flex;
}

.image-sticky-bottom {
    align-self: end;
}

.image-sticky-center {
    align-self: center;
}

.image-centered {
    margin-left: 50px;
}

.banner__content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.banner__img {
    position: relative;
    bottom: 0;
    width: auto;
    height: 67px;
}

.biology__img {
    width: auto;
    height: 87px;
}

.offset-0 {
    position: relative;
    bottom: 0;
}

.offset-1 {
    position: relative;
    bottom: 20px;
}

.banner__title {
    font-size: 28px;
    font-weight: bold;
    max-width: 550px;
    line-height: 100%;
}

.banner__date {
    font-size: 20px;
    line-height: 100%;
}

.banner__button {
    text-decoration: none;
    padding: 10px 40px;
    border-radius: 4px;
    font-size: 18px;
    margin-right: 50px;
    transition: all 0.3s ease-in-out;
}

.banner__button:hover,
.banner__button:focus {
    filter: brightness(0.8);
    color: #fff;
    text-decoration: none;
}

.blue-bg {
    background-color: #d5eefd;
}

.green-bg {
    background-color: rgb(236, 252, 213);
}

.purple-bg {
    background-color: #e4d3ff;
}

.intensive-yellow-bg {
    background-color: #ffda00;
}

.black-bg {
    background-color: #000;
    color: #fff;
}

.light-yellow-bg {
    background-color: #f8e181;
}

.blue-btn {
    background-color: #a9d6fd;
    color: #000;
}

.yellow-btn {
    background-color: #ffda00;
    color: #000;
}

.red-btn {
    background-color: #ff3130;
    color: #fff;
}

.animated {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease-in-out;
}

.fade-left {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .banner__title {
        font-size: 21px;
    }

    .banner__date {
        font-size: 18px;
    }

    .banner__button {
        font-size: 16px;
        padding: 5px 20px;
    }
}

@media (max-width: 800px) {
    .banner__title {
        font-size: 18px;
    }

    .banner__date {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .banner__img {
        height: 67px;
        width: auto;
        object-fit: contain;
    }

    .biology__img {
        height: 67px;
    }

    .offset-1 {
        bottom: 0;
    }

    .banner__title {
        font-size: 16px;
    }

    .banner__date {
        font-size: 14px;
    }

    .banner__title>br {
        display: none;
    }

    .banner__button {
        font-size: 14px;
        padding: 5px 15px;
    }
}

@media (max-width: 576px) {
    .banner__wrapper {
        padding: 0 10px 0 0;
        gap: 10px;
        max-height: 57px;
        
        padding: 0;
        gap: 10px;
        height: auto;
        max-height: initial;
        align-items: center;
    }

    .banner__content {
        justify-content: flex-end;
        gap: 10px;
        padding: 20px 10px 20px 0;
        
        justify-content: center;
        gap: 7px;
        padding: 10px;
        flex-direction: column;
    }

    .banner__img {
        height: 47px;
        position: relative;
    }

    .banner__img--left {
        margin-left: -50px;
    }

    .banner__title>br {
        display: none;
    }

    .banner__title {
        font-size: 14px;
        max-width: 300px;
        position: relative;
        z-index: 3;
    }

    .banner__date {
        font-size: 12px;
        display: none;
    }

    .banner__date>br {
        display: none;
    }

    .banner__button {
        font-size: 12px;
        padding: 4px 10px;
        margin-right: 0;
    }

    .image-centered {
        margin-left: 0;
    }
}

@media (max-width: 370px) {
    .banner__wrapper {
        gap: 0;
    }

    .banner__img--left {
        margin-left: -55px;
    }

    .banner__button {
        padding: 5px 5px;
        font-size: 10px;
    }
}

*/


/* Обновленные дизайнерские стили */
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;700;900&display=swap');

.banner__wrapper {
    position: relative;
    width: 100%;
    display: flex;
    min-height: 90px;
    gap: 20px;
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.banner__wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Фон с "живыми" частицами */
.banner__wrapper::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 1px, transparent 1px), 
                      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 1.5px, transparent 1px);
    background-size: 30px 30px, 50px 50px;
    opacity: 0.6;
    z-index: 1;
}

.banner__content {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px 15px 0;
    align-items: center;
    width: 100%;
    gap: 20px;
    z-index: 2;
}

.banner__img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.12));
    z-index: 2;
    align-self: flex-end;
    margin-left: 15px;
}

.banner__wrapper:hover .banner__img {
    transform: scale(1.1) rotate(3deg);
}

.banner__title {
    font-size: 24px;
    font-weight: 900;
    max-width: 550px;
    line-height: 1.1;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.banner__date {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(0,0,0,0.6);
}

/* Кнопки с эффектом блика */
.banner__button {
    position: relative;
    text-decoration: none !important;
    padding: 14px 30px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.banner__button::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.banner__wrapper:hover .banner__button::after {
    left: 100%;
}

/* Цветовые схемы с мягкими градиентами */
.blue-bg { background: linear-gradient(135deg, #d5eefd 0%, #f0f9ff 100%); }
.purple-bg { background: linear-gradient(135deg, #e4d3ff 0%, #f4eeff 100%); }
.intensive-yellow-bg { background: linear-gradient(135deg, #ffda00 0%, #fff4b3 100%); }

.yellow-btn { background-color: #ffda00; color: #000; }
.red-btn { background-color: #ff3130; color: #fff; }
.blue-btn { background-color: #007aff; color: #fff; }

@media (max-width: 767px) {
    .banner__wrapper { min-height: 80px; border-radius: 12px; }
    .banner__img { height: 60px; }
    .banner__title { font-size: 17px; }
    .banner__date { display: none; }
    .banner__button { padding: 10px 18px; font-size: 14px; }
}

/* Кнопка закрытия */
.banner-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    color: #000;
    font-size: 12px;
    transition: all 0.3s ease;
}

.banner-close:hover {
    background: rgba(0,0,0,0.15);
    transform: rotate(90deg);
}

/* Фикс для позиционирования контента с учетом крестика */
.banner__content {
    padding-right: 45px !important; /* Чтобы текст не заезжал под крестик */
}

@media (max-width: 768px) {
    .banner-close {
        top: 8px;
        right: 10px;
        width: 20px;
        height: 20px;
    }
}
