/* Responsive */
@media only screen and (orientation: portrait) and (min-width: 1px) and (max-width: 999px) {

    #simple--header {
        position: relative;
        height: auto;
        border-radius: var(--k24-border-radius-base);
        padding: 0 var(--k24-gap-sm) 2rem var(--k24-gap-sm);
        margin-bottom: var(--k24-gap-md);
    }

    .header-main__inner {
        display: block;
        position: relative;
        padding-bottom: 0rem;
    }

    .simple--header .header-main__logo-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 0rem;
    }

    .simple--header .header-main__social {
        justify-content: start;
        display: none;
    }

    .header-main__logo-line {
        display: grid;
        justify-content: start;
        width: 100%;
    }

    .simple--header .header-main__logo-line {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: start;
        gap: var(--k24-gap-sm);
        width: 100%;
    }

    .simple--header .header-main__advertise {
        display: none;
    }

    .header-main__air {
        display: block;
        margin: var(--k24-gap-xs) 0;
    }

    a.header-main__social-link--max svg,
    a.header-main__social-link--vk svg,
    a.header-main__social-link--rutube svg,
    a.header-main__social-link--telegram svg,
    a.header-main__social-link--ok svg,
    a.header-main__social-link--dzen svg {
        fill: var(--k24-light-reverse);
    }

    .header-main {
        position: relative;
        top: var(--k24-gap-sm);
        left: var(--k24-gap-sm);
        margin-right: 0;
    }

    .front .header-main,
    .header-main {
        left: auto;
        position: relative;
    }

    .front .header-main {
        margin-bottom: var(--k24-gap-md);
        border-radius: var(--k24-border-radius-base);
        padding: var(--k24-gap-sm);
        top: 0;
        width: 100%;
        position: relative;
        background: url(/files/k24_fon.jpg);
        background-size: cover;
        background-position: center;
    }

    .front .header-main::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        border-radius: inherit;
        z-index: -1;
        pointer-events: none;
    }

    .header-main__name {
        font-size: var(--k24-size-10);
        margin-top: 0;
        color: var(--k24-light-reverse);
    }

    .simple--header .header-main__name {
        display: none;
        font-size: 0.9rem;
        color: var(--k24-light-reverse);
    }

    .header-main__advertise {
        color: var(--k24-light-reverse);
    }

    .header-main__advertise a {
        color: var(--k24-light-reverse);
    }

    .header-main__logo--dark {
        display: none;
    }

    .simple--header .header-main__logo--dark {
        margin-bottom: 0rem;
    }

    .header-main__logo img {
        width: 100%;
        height: auto;
        display: block;
        z-index: 999;
    }

    .header-main__logo--simple {
        display: none;
    }

    .header-main__logo-wrapper {
        position: relative;
        display: block;
        margin: 0;
    }

    .simple--header .header-main {
        background-color: transparent;
        border-radius: 0;
        left: 0;
        position: relative;
        top: var(--k24-gap-sm);
        width: 100%;
    }

    .header-main__tv {
        padding: 0.35rem 0.75rem var(--k24-size-025) var(--k24-gap-xs);
    }

    .header-main__tv svg {
        width: 1.4rem;
    }

}