/* ==========================================================
   IK.NEWS — HEADER V3
   Desktop / Laptop / Tablet / Mobile
   ========================================================== */


/* ==========================================================
   1. SETTINGS
   ========================================================== */

:root {

    /* Максимальная ширина шапки на больших мониторах */
    --header-max-width: 1920px;

    /* ---------- DESKTOP SIZES ---------- */

    --logo-width: 220px;

    --weather-icon-size: 42px;
    --weather-temp-size: 36px;

    --vk-size: 42px;
    --tg-size: 42px;
    --ok-size: 38px;
    --max-size: 40px;

    --phone-icon-size: 29px;
    --email-icon-size: 27px;

    --region-icon-size: 44px;

    --header-gap: 26px;
}


/* ==========================================================
   2. RESET ONLY INSIDE HEADER
   ========================================================== */

.topbar-v2,
.topbar-v2 *,
.topbar-v2 *::before,
.topbar-v2 *::after {
    box-sizing: border-box;
}

.topbar-v2 img {
    display: block;
    max-width: none;
}


/* ==========================================================
   3. MAIN HEADER
   ========================================================== */

.topbar-v2 {
    width: 100%;
    max-width: none;

    margin: 0;

    padding: 9px 32px;

    display: flex;
    align-items: center;

    gap: 26px;

    background: #fff;

    font-family: inherit;

    overflow: visible;
}

/* ==========================================================
   4. LOGO
   ========================================================== */

.topbar-left {

    flex: 0 0 auto;

    min-width: 0;
}


.site-logo {

    display: block;

    width: var(--logo-width);

    text-decoration: none;
}


.site-logo img {

    width: 100%;
    height: auto;
}


.site-description {

    margin-top: 5px;

    white-space: nowrap;

    font-size: 14px;
    line-height: 1.2;

    color: #777;
}


.site-time {

    margin-top: 4px;

    white-space: nowrap;

    font-size: 12px;
    line-height: 1.2;

    color: #888;
}


/* ==========================================================
   5. WEATHER
   ========================================================== */

.topbar-center {

    flex: 0 0 auto;

    min-width: 0;
}


.weather-info {

    display: flex;
    align-items: center;

    gap: 11px;
}


.weather-icon {

    flex: 0 0 auto;

    width: var(--weather-icon-size);
    height: var(--weather-icon-size);

    object-fit: contain;
}


.weather-data {

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.weather-temp {

    white-space: nowrap;

    font-size: var(--weather-temp-size);
    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.5px;

    color: #111;
}


.weather-city {

    margin-top: 6px;

    display: flex;
    align-items: center;

    gap: 5px;

    white-space: nowrap;

    font-size: 14px;
    line-height: 1.2;

    color: #333;
}


.location-icon {

    flex: 0 0 auto;

    width: 13px;
    height: 13px;

    object-fit: contain;
}


/* ==========================================================
   6. RIGHT AREA
   ========================================================== */

.topbar-right {

    flex: 1 1 0;

    min-width: 0;

    display: flex;
    align-items: center;

    /*
     * КЛЮЧЕВОЙ МОМЕНТ:
     * блоки распределяются по всей оставшейся ширине.
     */

    justify-content: space-between;

    gap: 18px;
}


/* ==========================================================
   7. CURRENCY
   ========================================================== */

.topbar-currency {

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 18px;
}


.currency-item {

    display: flex;
    flex-direction: column;

    white-space: nowrap;
}


.currency-item span {

    font-size: 17px;
    line-height: 1.15;

    color: #111;
}


.currency-item strong {

    margin-top: 2px;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.15;

    color: #111;
}


/* ==========================================================
   8. SOCIALS
   ========================================================== */

.topbar-socials {

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 8px;
}


.social-link {

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    line-height: 0;

    text-decoration: none;

    transition:
            transform 0.18s ease,
            opacity 0.18s ease;
}


.social-link:hover {

    transform: translateY(-2px);

    opacity: 0.88;
}


/* VK */

.social-vk img {

    width: var(--vk-size);
    height: var(--vk-size);

    object-fit: contain;
}


/* TELEGRAM */

.social-tg img {

    width: var(--tg-size);
    height: var(--tg-size);

    object-fit: contain;
}


/* OK */

.social-ok img {

    width: var(--ok-size);
    height: var(--ok-size);

    object-fit: contain;
}


/* MAX */

.social-max img {

    width: var(--max-size);
    height: var(--max-size);

    object-fit: contain;
}


/* ==========================================================
   9. PHONE
   ========================================================== */

.topbar-phone {

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 9px;
}


.phone-icon {

    flex: 0 0 auto;

    width: var(--phone-icon-size);
    height: var(--phone-icon-size);

    object-fit: contain;
}


.phone-content {

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.phone-number {

    white-space: nowrap;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.2;

    color: #111;

    text-decoration: none;
}


.phone-number:hover {
    color: #d71920;
}


.phone-caption {

    margin-top: 2px;

    white-space: nowrap;

    font-size: 11px;
    line-height: 1.2;

    color: #777;
}


/* ==========================================================
   10. EMAIL
   ========================================================== */

.topbar-email {

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 9px;
}


.email-icon {

    flex: 0 0 auto;

    width: var(--email-icon-size);
    height: var(--email-icon-size);

    object-fit: contain;
}


.email-content {

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.email-address {

    white-space: nowrap;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.2;

    color: #111;

    text-decoration: none;
}


.email-address:hover {
    color: #d71920;
}


.email-caption {

    margin-top: 2px;

    white-space: nowrap;

    font-size: 11px;
    line-height: 1.2;

    color: #777;
}


/* ==========================================================
   11. REGION
   ========================================================== */

.region-selector {

    position: relative;

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 8px;

    cursor: pointer;
}


.region-icon {

    flex: 0 0 auto;

    width: var(--region-icon-size);
    height: var(--region-icon-size);

    object-fit: contain;
}


.region-text {

    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.region-title {

    white-space: nowrap;

    font-size: 10px;
    line-height: 1.15;

    color: #888;
}


.region-current {

    margin-top: 2px;

    display: flex;
    align-items: center;

    gap: 8px;

    white-space: nowrap;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.2;

    color: #111;
}


.region-arrow {

    flex: 0 0 auto;

    width: 7px;
    height: 7px;

    margin-top: -3px;

    border-right: 1.8px solid #111;
    border-bottom: 1.8px solid #111;

    transform: rotate(45deg);

    transition: transform 0.18s ease;
}


.region-selector:hover .region-arrow {

    margin-top: 3px;

    transform: rotate(225deg);
}


/* ==========================================================
   12. REGION DROPDOWN
   ========================================================== */

.region-dropdown {

    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    z-index: 1000;

    display: none;

    width: max-content;
    min-width: 220px;

    padding: 10px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.07);

    border-radius: 10px;

    box-shadow:
            0 12px 35px rgba(0, 0, 0, 0.12);

    cursor: default;
}


.region-selector:hover .region-dropdown {

    display: flex;
    flex-direction: column;
}


.region-dropdown a {

    display: block;

    padding: 9px 12px;

    white-space: nowrap;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.2;

    color: #222;

    text-decoration: none;

    transition:
            background 0.15s ease,
            color 0.15s ease;
}


.region-dropdown a:hover {

    background: #f4f4f4;

    color: #d71920;
}


.region-dropdown::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: -14px;

    height: 14px;
}


/* ==========================================================
   13. 2K / 4K / ULTRAWIDE
   ========================================================== */

/*
 * На огромном мониторе шапка НЕ растягивается бесконечно.
 *
 * Максимум — 1920px.
 */


/* ==========================================================
   14. NORMAL DESKTOP
   1600 — 1920
   ========================================================== */

@media (max-width: 1750px) {

    :root {

        --logo-width: 205px;

        --weather-icon-size: 39px;
        --weather-temp-size: 34px;

        --vk-size: 39px;
        --tg-size: 39px;
        --ok-size: 35px;
        --max-size: 37px;

        --phone-icon-size: 27px;
        --email-icon-size: 25px;

        --region-icon-size: 41px;
    }


    .topbar-v2 {

        gap: 21px;
    }


    .topbar-right {

        gap: 14px;
    }


    .topbar-currency {

        gap: 14px;
    }


    .site-description {

        font-size: 13px;
    }


    .site-time {

        font-size: 11px;
    }


    .weather-city {

        font-size: 13px;
    }


    .currency-item strong {

        font-size: 16px;
    }


    .phone-number,
    .email-address,
    .region-current {

        font-size: 14px;
    }
}


/* ==========================================================
   15. LAPTOP / SMALL DESKTOP
   ========================================================== */

@media (max-width: 1450px) {

    :root {

        --logo-width: 180px;

        --weather-icon-size: 35px;
        --weather-temp-size: 31px;

        --vk-size: 35px;
        --tg-size: 35px;
        --ok-size: 32px;
        --max-size: 34px;

        --phone-icon-size: 24px;
        --email-icon-size: 23px;

        --region-icon-size: 36px;
    }


    .topbar-v2 {

        width: calc(100% - 24px);

        gap: 16px;

        padding-top: 15px;
        padding-bottom: 15px;
    }


    .topbar-right {

        gap: 11px;
    }


    .topbar-currency {

        gap: 11px;
    }


    .topbar-socials {

        gap: 6px;
    }


    .site-description {

        font-size: 12px;
    }


    .site-time {

        font-size: 10px;
    }


    .weather-info {

        gap: 8px;
    }


    .weather-city {

        margin-top: 5px;

        font-size: 12px;
    }


    .currency-item span {

        font-size: 9px;
    }


    .currency-item strong {

        font-size: 14px;
    }


    .phone-number,
    .email-address,
    .region-current {

        font-size: 12px;
    }


    .phone-caption,
    .email-caption {

        font-size: 9px;
    }


    .region-title {

        font-size: 8px;
    }
}


/* ==========================================================
   16. VERY SMALL LAPTOP
   ========================================================== */

@media (max-width: 1200px) {

    :root {

        --logo-width: 165px;

        --weather-icon-size: 32px;
        --weather-temp-size: 28px;

        --vk-size: 32px;
        --tg-size: 32px;
        --ok-size: 29px;
        --max-size: 31px;

        --phone-icon-size: 22px;
        --email-icon-size: 21px;

        --region-icon-size: 33px;
    }


    .topbar-v2 {

        width: calc(100% - 20px);

        gap: 12px;
    }


    .topbar-right {

        gap: 9px;
    }


    .phone-caption,
    .email-caption {

        display: none;
    }


    .topbar-currency {

        gap: 9px;
    }
}


/* ==========================================================
   17. TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .topbar-v2 {

        width: 100%;

        padding:
                14px
                18px;

        flex-wrap: wrap;

        gap: 14px;
        row-gap: 15px;
    }


    .topbar-left {

        flex: 1 1 auto;
    }


    .site-logo {

        width: 175px;
    }


    .topbar-center {

        margin-left: auto;
    }


    .topbar-right {
        flex: 1 1 auto;
        min-width: 0;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 18px;
    }

    .topbar-phone,
    .topbar-email {

        display: none;
    }


    .site-description {

        font-size: 12px;
    }


    .site-time {

        font-size: 10px;
    }


    .weather-icon {

        width: 35px;
        height: 35px;
    }


    .weather-temp {

        font-size: 29px;
    }


    .weather-city {

        font-size: 12px;
    }
}


/* ==========================================================
   18. MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .topbar-v2 {

        padding:
                12px
                14px;

        gap: 10px;
        row-gap: 13px;
    }


    .site-logo {

        width: 150px;
    }


    .site-description {

        font-size: 11px;
    }


    .site-time {

        font-size: 10px;
    }


    .weather-info {

        gap: 7px;
    }


    .weather-icon {

        width: 31px;
        height: 31px;
    }


    .weather-temp {

        font-size: 25px;
    }


    .weather-city {

        margin-top: 4px;

        font-size: 11px;
    }


    .location-icon {

        width: 11px;
        height: 11px;
    }


    .topbar-right {

        justify-content: flex-start;

        flex-wrap: wrap;

        gap: 13px;
    }


    .topbar-currency {

        gap: 12px;
    }


    .currency-item span {

        font-size: 9px;
    }


    .currency-item strong {

        font-size: 14px;
    }


    .topbar-socials {

        margin-left: auto;

        gap: 6px;
    }


    .social-vk img {

        width: 32px;
        height: 32px;
    }


    .social-tg img {

        width: 32px;
        height: 32px;
    }


    .social-ok img {

        width: 29px;
        height: 29px;
    }


    .social-max img {

        width: 30px;
        height: 30px;
    }


    .region-selector {

        flex: 0 0 100%;

        width: 100%;

        padding-top: 10px;

        border-top: 1px solid #eee;
    }


    .region-icon {

        width: 31px;
        height: 31px;
    }


    .region-title {

        font-size: 9px;
    }


    .region-current {

        font-size: 13px;
    }


    .region-dropdown {

        left: 0;
        right: auto;

        min-width: 220px;
    }
}


/* ==========================================================
   19. SMALL MOBILE
   ========================================================== */

@media (max-width: 430px) {

    .topbar-v2 {

        padding:
                11px
                12px;
    }


    .site-logo {

        width: 135px;
    }


    .site-description {

        display: none;
    }


    .topbar-center {

        margin-left: auto;
    }


    .weather-icon {

        width: 28px;
        height: 28px;
    }


    .weather-temp {

        font-size: 23px;
    }


    .topbar-currency {

        flex: 1 1 100%;

        width: 100%;

        justify-content: space-between;
    }


    .topbar-socials {

        flex: 0 0 100%;

        width: 100%;

        margin-left: 0;

        justify-content: center;
    }
}

/* ==========================================================
   IK.NEWS — TRUE FULL VIEWPORT WIDTH
   ========================================================== */

.topbar-v2 {
    width: 100vw !important;
    max-width: none !important;

    position: relative !important;

    left: 50% !important;
    right: 50% !important;

    margin-left: -50vw !important;
    margin-right: -50vw !important;

    padding-left: 32px !important;
    padding-right: 32px !important;

    box-sizing: border-box !important;
}


/* Логотип и погода сохраняют свои размеры */

.topbar-left,
.topbar-center {
    flex: 0 0 auto;
}


/* Всё справа занимает ВСЁ оставшееся пространство */

.topbar-right {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;

    justify-content: space-between !important;

    gap: 18px !important;
}

/* ==========================================================
   IK.NEWS — INDIVIDUAL ICON SIZES
   Каждый элемент регулируется отдельно
   ========================================================== */

/* ---------- СОЦСЕТИ ---------- */

.social-vk img {
    width: 46px;
    height: 46px;
}

.social-tg img {
    width: 40px;
    height: 40px;
}

.social-ok img {
    width: 46px;
    height: 46px;
}

.social-max img {
    width: 40px;
    height: 40px;
}


/* ---------- ТЕЛЕФОН ---------- */

.phone-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 30px;
}


/* ---------- ПОЧТА ---------- */

.email-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
}


/* ---------- РЕГИОН ---------- */

.region-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 42px;
}
/* ==========================================================
   IK.NEWS — РОВНЫЕ ЦЕНТРАЛЬНЫЕ СЕКЦИИ
   ========================================================== */

/*
 * Центральная и правая части должны позволять
 * дочерним элементам занимать доступную ширину.
 */
.topbar-center,
.topbar-right {
    min-width: 0;
}


/* ---------- ВАЛЮТА ---------- */

.topbar-currency {
    flex: 1 1 0 !important;
    min-width: 0;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    padding-left: 24px !important;
    padding-right: 24px !important;

    box-sizing: border-box;
}


/* ---------- СОЦСЕТИ ---------- */

.topbar-socials {
    padding-left: 35px !important;
    padding-right: 35px !important;
}

/* ---------- ТЕЛЕФОН ---------- */

.topbar-phone {
    flex: 1 1 0 !important;
    min-width: 0;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    padding-left: 24px !important;
    padding-right: 24px !important;

    box-sizing: border-box;
}


/* ---------- ПОЧТА ---------- */

.topbar-email {
    flex: 1 1 0 !important;
    min-width: 0;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    padding-left: 24px !important;
    padding-right: 24px !important;

    box-sizing: border-box;
}


/* ==========================================================
   РАЗДЕЛИТЕЛИ МЕЖДУ БЛОКАМИ
   ========================================================== */

.topbar-center,
.topbar-currency,
.topbar-socials,
.topbar-phone,
.topbar-email,
.region-selector {
    position: relative;
}

.topbar-center::before,
.topbar-currency::before,
.topbar-socials::before,
.topbar-phone::before,
.topbar-email::before,
.region-selector::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    transform: translateY(-50%);

    width: 1px;
    height: 48px;

    background: #e5e5e5;

    pointer-events: none;
}

@media (min-width: 1601px) {
    .topbar-center {
        padding-left: 30px;
        padding-right: 18px;
        position: relative;
    }
}

/* =========================================================
   IK.NEWS — LAPTOP FINAL
   1101px — 1600px
   ========================================================= */

@media (max-width: 1600px) and (min-width: 1101px) {

    /* Шапка */
    .topbar-v2 {
        padding-left: 28px !important;
        padding-right: 28px !important;
        gap: 14px !important;
    }

    /* Правая часть */
    .topbar-right {
        flex: 1 1 0 !important;
        min-width: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        gap: 0 !important;
    }


    /* =====================================================
       ЛОГО
       ===================================================== */

    .site-logo img {
        width: 205px;
        height: auto;
    }

    .site-description {
        font-size: 13px;
    }

    .site-time {
        font-size: 11px;
    }


    /* =====================================================
       ПОГОДА
       ===================================================== */

    .topbar-center {
        flex: 0 0 auto;
        padding-left: 30px;
        padding-right: 18px;
        margin-left: 30px;
        position: relative;
    }

    .weather-info {
        gap: 10px;
    }

    .weather-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .weather-temp {
        font-size: 25px;
    }

    .weather-city {
        font-size: 13px;
        margin-top: 5px;
    }


    /* =====================================================
       ОБЩИЕ БЛОКИ
       ===================================================== */

    .topbar-currency,
    .topbar-socials,
    .topbar-phone,
    .topbar-email {
        flex: 1 1 0 !important;
        min-width: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        position: relative;

        transform: none !important;
    }


    /* =====================================================
       ВАЛЮТА
       ===================================================== */

    .topbar-currency {
        gap: 15px;
    }

    .currency-item span {
        font-size: 13px;
    }

    .currency-item strong {
        font-size: 16px;
        margin-top: 3px;
    }


    /* =====================================================
       СОЦСЕТИ
       ===================================================== */

    .topbar-socials {
        gap: 7px;
    }

    .social-vk img {
        width: 36px;
        height: 36px;
    }

    .social-tg img {
        width: 34px;
        height: 34px;
    }

    .social-ok img {
        width: 36px;
        height: 36px;
    }

    .social-max img {
        width: 34px;
        height: 34px;
    }


    /* =====================================================
       ТЕЛЕФОН
       ===================================================== */

    .topbar-phone {
        gap: 8px;
    }

    .phone-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .phone-number {
        font-size: 13px;
    }

    .phone-caption {
        font-size: 10px;
    }


    /* =====================================================
       EMAIL
       ===================================================== */

    .topbar-email {
        gap: 8px;
    }

    .email-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .email-address {
        font-size: 13px;
    }

    .email-caption {
        font-size: 10px;
    }


    /* =====================================================
       РЕГИОН
       ===================================================== */

    .region-selector {
        flex: 0 0 auto;

        padding-left: 18px;
        padding-right: 4px;

        position: relative;

        transform: none !important;
    }

    .region-icon {
        width: 25px;
        height: 25px;
        flex-basis: 32px;
    }

    .region-title {
        font-size: 9px;
    }

    .region-current {
        font-size: 14px;
    }


    /* =====================================================
       ВЕРТИКАЛЬНЫЕ РАЗДЕЛИТЕЛИ

       Каждая палка принадлежит ПРОМЕЖУТКУ,
       а не содержимому блока.
       ===================================================== */

    .topbar-center::before,
    .topbar-currency::before,
    .topbar-socials::before,
    .topbar-phone::before,
    .topbar-email::before,
    .region-selector::before {
        content: "";

        position: absolute;

        left: 0;
        top: 50%;

        width: 1px;
        height: 42px;

        background: #e5e5e5;

        transform: translateY(-50%);

        pointer-events: none;
    }


    /* Немного воздуха после палки перед погодой */
    .topbar-center::before {
        left: 0;
    }


    /* Палка перед выбором региона */
    .region-selector::before {
        left: 0;
    }
}

/* ФИНАЛЬНАЯ НАСТРОЙКА СОЦСЕТЕЙ */
.topbar-socials {
    justify-content: center !important;
    align-items: center !important;
}

.social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width:1600px) and (min-width:1101px) {

    .topbar-socials {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

}

.header-banner-section {
    width: 100% !important;
    display: block !important;
    flex-basis: 100% !important;
    clear: both !important;
    margin-top: 20px;
}

.header-banner-section {
    display:block !important;
    width:100% !important;
    flex:0 0 100% !important;
    clear:both !important;
    margin-top:20px;
}

.header-banner-wrapper img {
    max-width: 100%;
    height: auto;
}



.header-banner-wrapper {
    width: 100%;
    display: block;
    clear: both;
    margin-top: 30px;
}

.ik-banner {
    width: 100%;
    display: block;
    position: relative;
}

.ik-banner-image {
    width: 100%;
    height: auto;
    display: block;
    position: static;
}

/* ==========================================================
   IK.NEWS — HEADER BANNER: НОВАЯ СТРОКА ПОСЛЕ ШАПКИ
   ========================================================== */

.header-banner-wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: center !important;
    clear: both !important;

    position: relative !important;
    z-index: 1 !important;

    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.header-banner-wrapper .ik-banner {
    width: calc(100% - 40px) !important;
    max-width: 1250px !important;
    position: relative !important;
}

.header-banner-wrapper .ik-banner-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    position: static !important;
}

/* ==========================================================
   IK.NEWS — БАННЕР ПОД ШАПКОЙ
   ========================================================== */

/* Главный контейнер сайта должен идти сверху вниз */
.site-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

/* Основная шапка */
.site-wrapper > header {
    display: block !important;
    width: 100% !important;
}

/* Баннер — отдельным блоком ПОД шапкой */
.site-wrapper > .header-banner-wrapper {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;

    position: relative !important;
    clear: both !important;

    margin-top: 20px !important;
    margin-bottom: 20px !important;

    justify-content: center !important;
    align-items: flex-start !important;
}

/* Сам баннер */
.site-wrapper > .header-banner-wrapper .ik-banner {
    width: calc(100% - 40px) !important;
    max-width: 1250px !important;
    position: relative !important;
}

/* Картинка */
.site-wrapper > .header-banner-wrapper .ik-banner-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    position: static !important;
}

/* ==========================================================
   BANNER — FINAL POSITION
   ========================================================== */

.header-banner-section {
    position: relative !important;

    width: 100% !important;
    height: auto !important;

    display: block !important;

    margin-top: -40px !important;
    margin-bottom: 20px !important;

    padding: 0 !important;

    clear: both !important;
}

.header-banner-section .ik-banner {
    margin: 0 auto !important;
}

/* ==========================================================
   IK.NEWS — MOBILE HEADER
   Полностью отдельная сетка для телефона
   ========================================================== */

@media (max-width: 700px) {

    /* Основная шапка */
    .topbar-v2 {
        width: 100% !important;
        max-width: none !important;

        position: relative !important;
        left: auto !important;
        right: auto !important;

        margin: 0 !important;

        padding: 12px 14px !important;

        display: grid !important;

        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "brand weather"
            "right right" !important;

        align-items: center !important;

        gap: 10px 12px !important;

        overflow: visible !important;
    }


    /* ======================================================
       ЛОГОТИП
       ====================================================== */

    .topbar-left {
        grid-area: brand !important;

        min-width: 0 !important;
        width: auto !important;
    }

    .site-logo {
        width: 150px !important;
        max-width: 100% !important;
    }

    .site-logo img {
        width: 100% !important;
        height: auto !important;
    }

    .site-description {
        margin-top: 4px !important;

        font-size: 10px !important;
        line-height: 1.2 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .site-time {
        margin-top: 3px !important;

        font-size: 9px !important;

        white-space: nowrap !important;
    }


    /* ======================================================
       ПОГОДА
       ====================================================== */

    .topbar-center {
        grid-area: weather !important;

        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;

        position: relative !important;
    }

    .weather-info {
        display: flex !important;
        align-items: center !important;

        gap: 6px !important;
    }

    .weather-icon {
        width: 29px !important;
        height: 29px !important;
    }

    .weather-temp {
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .weather-city {
        margin-top: 3px !important;

        font-size: 10px !important;

        white-space: nowrap !important;
    }

    .location-icon {
        width: 10px !important;
        height: 10px !important;
    }


    /* Убираем автоматическую палку перед погодой
       на маленьком экране */
    .topbar-center::before {
        display: none !important;
    }


    /* ======================================================
       ПРАВАЯ ЧАСТЬ
       ====================================================== */

    .topbar-right {
        grid-area: right !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        display: grid !important;

        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-areas:
            "currency socials"
            "region region" !important;

        align-items: center !important;

        gap: 10px !important;
    }


    /* ======================================================
       ВАЛЮТЫ
       ====================================================== */

    .topbar-currency {
        grid-area: currency !important;

        width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        gap: 8px !important;

        padding: 0 10px 0 0 !important;

        border: 0 !important;
    }

    .currency-item {
        min-width: 0 !important;
    }

    .currency-item span {
        font-size: 9px !important;
        line-height: 1.1 !important;
    }

    .currency-item strong {
        margin-top: 2px !important;

        font-size: 14px !important;
        line-height: 1.1 !important;
    }


    /* ======================================================
       СОЦСЕТИ
       ====================================================== */

    .topbar-socials {
        grid-area: socials !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: flex-end !important;

        gap: 6px !important;

        border: 0 !important;
    }

    .social-vk img {
        width: 32px !important;
        height: 32px !important;
    }

    .social-tg img {
        width: 32px !important;
        height: 32px !important;
    }

    .social-ok img {
        width: 29px !important;
        height: 29px !important;
    }

    .social-max img {
        width: 30px !important;
        height: 30px !important;
    }


    /* ======================================================
       ТЕЛЕФОН + ПОЧТА
       На телефоне прячем из основной шапки.
       Потом можем вывести их в мобильное меню.
       ====================================================== */

    .topbar-phone,
    .topbar-email {
        display: none !important;
    }


    /* ======================================================
       РЕГИОН
       ====================================================== */

    .region-selector {
        grid-area: region !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 9px 0 0 0 !important;

        display: flex !important;
        align-items: center !important;

        border-top: 1px solid #eeeeee !important;

        border-left: 0 !important;

        gap: 8px !important;
    }

    .region-selector::before {
        display: none !important;
    }

    .region-icon {
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
    }

    .region-title {
        font-size: 8px !important;
    }

    .region-current {
        margin-top: 2px !important;

        font-size: 12px !important;

        gap: 6px !important;
    }


    /* Выпадающий список */
    .region-dropdown {
        left: 0 !important;
        right: auto !important;

        top: calc(100% + 8px) !important;

        min-width: 210px !important;
    }
}


/* ==========================================================
   НЕБОЛЬШОЙ ТЕЛЕФОН
   ========================================================== */

@media (max-width: 430px) {

    .topbar-v2 {
        padding: 10px 11px !important;

        grid-template-columns: minmax(0, 1fr) auto !important;

        gap: 8px 10px !important;
    }

    .site-logo {
        width: 135px !important;
    }

    .site-description {
        display: none !important;
    }

    .site-time {
        font-size: 9px !important;
    }

    .weather-icon {
        width: 27px !important;
        height: 27px !important;
    }

    .weather-temp {
        font-size: 21px !important;
    }

    .weather-city {
        font-size: 9px !important;
    }

    .topbar-right {
        gap: 8px !important;
    }

    .currency-item span {
        font-size: 8px !important;
    }

    .currency-item strong {
        font-size: 13px !important;
    }

    .social-vk img,
    .social-tg img {
        width: 29px !important;
        height: 29px !important;
    }

    .social-ok img {
        width: 27px !important;
        height: 27px !important;
    }

    .social-max img {
        width: 28px !important;
        height: 28px !important;
    }

    .region-icon {
        width: 26px !important;
        height: 26px !important;
        flex-basis: 26px !important;
    }

    .region-current {
        font-size: 11px !important;
    }
}

/* ==========================================================
   IK.NEWS — TABLET LAYOUT
   701px — 1300px
   Две строки вместо сжатой десктопной шапки
   ========================================================== */

@media (max-width: 1300px) and (min-width: 701px) {

    .topbar-v2 {
        width: 100vw !important;
        max-width: none !important;

        margin-left: -50vw !important;
        left: 50% !important;

        padding: 12px 24px !important;

        display: grid !important;

        grid-template-columns: minmax(0, 1fr) auto !important;

        grid-template-areas:
            "brand weather"
            "right right" !important;

        align-items: center !important;

        gap: 10px 20px !important;

        flex-wrap: nowrap !important;

        overflow: visible !important;
    }


    /* ======================================================
       ЛОГОТИП
       ====================================================== */

    .topbar-left {
        grid-area: brand !important;

        min-width: 0 !important;

        flex: none !important;
    }

    .site-logo {
        width: 175px !important;
    }

    .site-description {
        margin-top: 4px !important;
        font-size: 11px !important;
    }

    .site-time {
        margin-top: 3px !important;
        font-size: 9px !important;
    }


    /* ======================================================
       ПОГОДА
       ====================================================== */

    .topbar-center {
        grid-area: weather !important;

        margin: 0 !important;
        padding: 0 0 0 18px !important;

        flex: none !important;

        display: flex !important;
        align-items: center !important;

        position: relative !important;
    }

    .topbar-center::before {
        content: "" !important;

        position: absolute !important;

        left: 0 !important;
        top: 50% !important;

        width: 1px !important;
        height: 42px !important;

        background: #e5e5e5 !important;

        transform: translateY(-50%) !important;
    }

    .weather-info {
        gap: 8px !important;
    }

    .weather-icon {
        width: 34px !important;
        height: 34px !important;
    }

    .weather-temp {
        font-size: 27px !important;
    }

    .weather-city {
        margin-top: 4px !important;
        font-size: 11px !important;
    }


    /* ======================================================
       ПРАВАЯ ЧАСТЬ — ВТОРАЯ СТРОКА
       ====================================================== */

    .topbar-right {
        grid-area: right !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 10px 0 0 0 !important;

        border-top: 1px solid #eeeeee !important;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(0, 1fr)
            auto !important;

        grid-template-areas:
            "currency socials region" !important;

        align-items: center !important;

        gap: 0 !important;

        flex: none !important;
    }


    /* ======================================================
       ВАЛЮТА
       ====================================================== */

    .topbar-currency {
        grid-area: currency !important;

        width: 100% !important;
        min-width: 0 !important;

        padding: 0 20px 0 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 18px !important;

        flex: none !important;

        position: relative !important;
    }

    .topbar-currency::before {
        content: "" !important;

        position: absolute !important;

        right: 0 !important;
        top: 50% !important;

        width: 1px !important;
        height: 38px !important;

        background: #e5e5e5 !important;

        transform: translateY(-50%) !important;
    }

    .currency-item span {
        font-size: 10px !important;
    }

    .currency-item strong {
        font-size: 15px !important;
        margin-top: 2px !important;
    }


    /* ======================================================
       СОЦСЕТИ
       ====================================================== */

    .topbar-socials {
        grid-area: socials !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 20px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 7px !important;

        border: 0 !important;

        flex: none !important;

        position: relative !important;
    }

    .topbar-socials::before {
        content: "" !important;

        position: absolute !important;

        right: 0 !important;
        top: 50% !important;

        width: 1px !important;
        height: 38px !important;

        background: #e5e5e5 !important;

        transform: translateY(-50%) !important;
    }

    .social-vk img {
        width: 34px !important;
        height: 34px !important;
    }

    .social-tg img {
        width: 34px !important;
        height: 34px !important;
    }

    .social-ok img {
        width: 34px !important;
        height: 34px !important;
    }

    .social-max img {
        width: 34px !important;
        height: 34px !important;
    }


    /* ======================================================
       ТЕЛЕФОН + ПОЧТА
       На планшете убираем из главной строки
       ====================================================== */

    .topbar-phone,
    .topbar-email {
        display: none !important;
    }


    /* ======================================================
       РЕГИОН
       ====================================================== */

    .region-selector {
        grid-area: region !important;

        width: auto !important;
        min-width: 145px !important;

        margin: 0 !important;
        padding: 0 0 0 18px !important;

        display: flex !important;
        align-items: center !important;

        border: 0 !important;

        flex: none !important;

        position: relative !important;
    }

    .region-selector::before {
        content: "" !important;

        position: absolute !important;

        left: 0 !important;
        top: 50% !important;

        width: 1px !important;
        height: 38px !important;

        background: #e5e5e5 !important;

        transform: translateY(-50%) !important;
    }

    .region-icon {
        width: 28px !important;
        height: 28px !important;

        flex: 0 0 28px !important;
    }

    .region-title {
        font-size: 8px !important;
    }

    .region-current {
        font-size: 12px !important;
    }

}


/* ==========================================================
   НЕБОЛЬШОЙ ПЛАНШЕТ
   701 — 900
   ========================================================== */

@media (max-width: 900px) and (min-width: 701px) {

    .topbar-v2 {
        padding-left: 18px !important;
        padding-right: 18px !important;

        gap: 8px 14px !important;
    }

    .site-logo {
        width: 155px !important;
    }

    .weather-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .weather-temp {
        font-size: 24px !important;
    }

    .topbar-right {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            auto !important;
    }

    .topbar-currency {
        gap: 12px !important;
        padding-right: 12px !important;
    }

    .topbar-socials {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .region-selector {
        min-width: 125px !important;
        padding-left: 12px !important;
    }

    .social-vk img,
    .social-tg img,
    .social-ok img,
    .social-max img {
        width: 30px !important;
        height: 30px !important;
    }

}

/* ==========================================================
   АВТОРИЗАЦИЯ В ВЕРХНЕЙ ШАПКЕ
   ========================================================== */

.topbar-auth {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 10px;

    white-space: nowrap;
}


/* Кнопка "Войти" */

.topbar-auth-login {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 9px 18px;

    background: #ed1c24;
    border: 1px solid #ed1c24;
    border-radius: 5px;

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    transition: 0.2s ease;
}


.topbar-auth-login:hover {
    background: #c9141c;
    border-color: #c9141c;

    color: #ffffff !important;
}


/* Авторизованный пользователь */

.topbar-auth-logged {
    display: flex;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 3px;

    line-height: 1.2;
}

.topbar-auth-name {
    color: #111111;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}

.topbar-auth-logout {
    color: #777777 !important;

    font-size: 12px;

    text-decoration: none !important;

    white-space: nowrap;
}

.topbar-auth-logout:hover {
    color: #ed1c24 !important;
}


.topbar-auth-name {
    color: #111111;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}


.topbar-auth-logout {
    color: #777777 !important;

    font-size: 13px;

    text-decoration: none !important;

    white-space: nowrap;
}


.topbar-auth-logout:hover {
    color: #ed1c24 !important;
}