.top-banner {
    width: 100%;
    padding: 4px 16px 12px;
    background-color: #f2f4f3;
    box-shadow: inset 0 -1px #e1e5e3;
}

.top-banner--editorial {
    padding-top: 12px;
}

.top-banner__content {
    width: 970px;
    max-width: 100%;
    margin: 0 auto;
}

.top-banner__content--mobile-only {
    width: 320px;
}

.top-banner__label {
    height: 12px;
    margin-bottom: 2px;
    color: #727876;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
}

.top-banner__media,
.top-banner__media picture {
    display: block;
    width: 100%;
}

.top-banner__media:focus {
    outline: 2px solid #0089b3;
    outline-offset: 2px;
}

.top-banner__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.08), 0 5px 18px rgba(20, 20, 20, 0.08);
}

/* Баннер прокручивается, а следующая за ним шапка остается сверху. */
.top-banner + .header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/* При sticky-шапке больше не нужны отступы, компенсирующие position: fixed. */
.top-banner + .header + .page_wrapper .page_content,
.top-banner + .header + .page_wrapper .page_content__row.mt100 {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .top-banner {
        padding: 2px 10px 8px;
    }

    .top-banner--editorial {
        padding-top: 8px;
    }

    .top-banner__content {
        width: 320px;
    }

    .top-banner__label {
        height: 10px;
        margin-bottom: 2px;
        font-size: 9px;
        line-height: 10px;
    }

    .top-banner__image {
        border-radius: 8px;
        box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.08), 0 3px 12px rgba(20, 20, 20, 0.08);
    }
}
