:root {
    --announcement-height: 44px;
    --menu-height: 45px;
}

/* announcement фиксирован везде */
.uc-announcement {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10001;
}

/* desktop */
@media screen and (min-width: 981px) {
    .uc-mainmenu {
        position: fixed !important;
        top: var(--announcement-height);
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10000;
    }

    .uc-hero {
        padding-top: calc(
            var(--announcement-height) +
            var(--menu-height)
        ) !important;
    }
}

/* mobile */
@media screen and (max-width: 980px) {
    .uc-mainmenu {
        position: static !important;
        top: auto !important;
    }

    .uc-hero {
        padding-top: var(--announcement-height) !important;
    }
}