
/* ==========================================================
   HEGAU24 — TOP STRIP PROMO
   Резервный баннер, когда нет активной платной рекламы
========================================================== */

.hegau24-top-promo {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
    align-items: center;
    width: 100%;
    min-height: 150px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef7ff;
    box-shadow: 0 5px 20px rgba(16, 59, 105, .12);
    color: #103a70;
    box-sizing: border-box;
}

.hegau24-top-promo *,
.hegau24-top-promo *::before,
.hegau24-top-promo *::after {
    box-sizing: border-box;
}

.hegau24-top-promo__content {
    position: relative;
    z-index: 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 14px 22px;
    
background: linear-gradient(
    90deg,
    #f7fbff 0%,
    rgba(247, 251, 255, .99) 48%,
    rgba(247, 251, 255, .92) 68%,
    rgba(247, 251, 255, .65) 86%,
    rgba(247, 251, 255, 0) 100%
);

}

.hegau24-top-promo__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hegau24-top-promo__logo {
    flex: 0 0 auto;
    color: #103a70;
    font-size: clamp(19px, 1.6vw, 29px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.06em;
    white-space: nowrap;
}

.hegau24-top-promo__logo span {
    color: #e51f2b;
}

.hegau24-top-promo__divider {
    width: 2px;
    align-self: stretch;
    min-height: 32px;
    background: #7ca8d5;
}

.hegau24-top-promo__title {
    margin: 0;
    color: #103a70;
    font-size: clamp(18px, 1.7vw, 30px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.035em;
}

.hegau24-top-promo__text {
    margin: 0;
    color: #234d7c;
    font-size: clamp(11px, .85vw, 15px);
    line-height: 1.35;
}

.hegau24-top-promo__benefits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 15px;
    margin-top: 2px;
}

.hegau24-top-promo__benefit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #123b70;
    font-size: clamp(10px, .72vw, 13px);
    line-height: 1.15;
    font-weight: 700;
}

.hegau24-top-promo__benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #d9edff;
    color: #0879cf;
    font-size: 14px;
}

.hegau24-top-promo__benefit:nth-child(2) .hegau24-top-promo__benefit-icon {
    background: #d8f6e5;
    color: #07945b;
}

.hegau24-top-promo__benefit:nth-child(3) .hegau24-top-promo__benefit-icon {
    background: #ffe1e3;
    color: #df2632;
}

.hegau24-top-promo__visual {
    position: absolute;
    z-index: 0;
    inset: 0;
    
    background-image:
        linear-gradient(
            90deg,
            #f7fbff 0%,
            rgba(247, 251, 255, .99) 20%,
            rgba(247, 251, 255, .96) 29%,
            rgba(247, 251, 255, .82) 37%,
            rgba(247, 251, 255, .55) 45%,
            rgba(247, 251, 255, .24) 54%,
            rgba(247, 251, 255, .06) 64%,
            rgba(247, 251, 255, 0) 74%
        ),
        url("https://hegau24.online/wp-content/uploads/2026/10/hegau24-top-strip-background-1800x160-2.png");
    background-position: center, center 60%;
    background-size: 100% 180px;
    background-repeat: no-repeat;
}

.hegau24-top-promo__action {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 13px;
}

.hegau24-top-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 39px;
    padding: 10px 17px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 10px;
    background: #df202b;
    box-shadow: 0 5px 14px rgba(141, 17, 26, .25);
    color: #fff !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease,
                box-shadow .2s ease;
}

.hegau24-top-promo__button:hover {
    transform: translateY(-2px);
    background: #bd1722;
    box-shadow: 0 8px 18px rgba(141, 17, 26, .3);
    color: #fff !important;
}

.hegau24-top-promo__button span {
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.hegau24-top-promo__button:hover span {
    transform: translateX(3px);
}

@media (min-width: 1500px) {
    .hegau24-top-promo {
        min-height: 150px;
    }

    .hegau24-top-promo__content {
        padding-left: 28px;
    }
}

@media (max-width: 1050px) {
    .hegau24-top-promo {
        grid-template-columns: minmax(0, 1fr);
        min-height: 124px;
    }

    .hegau24-top-promo__content {
        padding-right: 210px;
    }

    .hegau24-top-promo__visual {
        left: 45%;
    }

    .hegau24-top-promo__benefits {
        gap: 7px 10px;
    }
}

@media (max-width: 650px) {
    .hegau24-top-promo {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        border-radius: 9px;
    }

    .hegau24-top-promo__content {
        gap: 9px;
        padding: 17px;
        padding-bottom: 72px;
        background: linear-gradient(
            90deg,
            rgba(247, 251, 255, .97),
            rgba(247, 251, 255, .88)
        );
    }

    .hegau24-top-promo__logo {
        font-size: 22px;
    }

    .hegau24-top-promo__title {
        font-size: 22px;
        line-height: 1.08;
    }

    .hegau24-top-promo__text {
        font-size: 13px;
    }

    .hegau24-top-promo__benefits {
        gap: 8px 12px;
    }

    .hegau24-top-promo__benefit {
        font-size: 11px;
    }

    .hegau24-top-promo__visual {
        inset: 0;
        opacity: .5;
        background-position: center, center;
    }

    .hegau24-top-promo__action {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .hegau24-top-promo__button {
        width: 100%;
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hegau24-top-promo__button,
    .hegau24-top-promo__button span {
        transition: none;
    }
}


/* HEGAU24 — единая композиция рекламного баннера */
@media (min-width: 1051px) {
    .hegau24-top-promo {
        height: 150px;
        min-height: 150px;
        max-height: 150px;
    }

    .hegau24-top-promo__content {
        display: grid;
        grid-template-columns: minmax(270px, 340px) minmax(320px, 420px) minmax(0, 1fr);
        grid-template-rows: 82px 42px;
        align-content: center;
        align-items: center;
        column-gap: 24px;
        row-gap: 2px;
        height: 100%;
        padding: 6px 22px;
        box-sizing: border-box;
    }

    .hegau24-top-promo__brand {
        display: none;
    }

    .hegau24-top-promo__header,
    .hegau24-top-promo__intro {
        display: contents;
    }

    .hegau24-top-promo__title {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        max-width: 340px;
        color: #153f75;
        font-size: clamp(25px, 2vw, 36px);
        line-height: 1.04;
        overflow-wrap: normal;
    }

    .hegau24-top-promo__title-number {
        color: #ed1c2e;
    }

    .hegau24-top-promo__text {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        width: 100%;
        max-width: 420px;
        font-size: 18px;
        line-height: 1.25;
    }

    .hegau24-top-promo__benefits {
        grid-column: 1 / 4;
        grid-row: 2;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px 12px;
        margin-top: 0;
        min-width: 0;
        align-self: center;
    }

    .hegau24-top-promo__benefit {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex: 1 1 0;
        min-width: 0;
        font-size: 15px;
        line-height: 1.15;
    }

    .hegau24-top-promo__benefit:nth-child(1) {
        flex-grow: 1.25;
    }

    .hegau24-top-promo__benefit > span:last-child {
        display: block;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        overflow-wrap: normal;
        word-break: normal;
    }


    .hegau24-top-promo__benefit-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }

    .hegau24-top-promo__benefit-icon svg {
        display: block;
        width: 19px;
        height: 19px;
    }

    .hegau24-top-promo__benefit-icon--1 {
        background: #d9edff;
        color: #0879cf;
    }

    .hegau24-top-promo__benefit-icon--2 {
        background: #d8f6e5;
        color: #07945b;
    }

    .hegau24-top-promo__benefit-icon--3 {
        background: #ffe1e3;
        color: #df2632;
    }

    .hegau24-top-promo__benefit-icon--4 {
        background: #fff0c2;
        color: #d89a00;
    }
}



