/* =========================================================
   KOLARAS HULCHAL
   FINAL HEADER OVERRIDE
   Uses ONLY classes present in actual DOM
   ========================================================= */


/* =========================================================
   1. HEADER ROOT
   ========================================================= */

.site-header.kh-site-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   2. TOP UTILITY BAR
   ========================================================= */

.site-header .kh-top-bar {
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 0 !important;

    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;

    overflow: hidden !important;
}

.site-header .kh-top-bar-inner {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;

    align-items: center !important;
    gap: 24px !important;
}


/* LEFT */

.site-header .kh-top-bar-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    min-width: max-content !important;
}

.site-header .kh-top-date {
    display: inline-block !important;

    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

.site-header .kh-top-clock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;

    color: #1c2541 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.site-header .kh-clock-icon {
    display: inline-flex !important;
    align-items: center !important;
}

.site-header .kh-clock-icon svg {
    width: 16px !important;
    height: 16px !important;
}


/* CENTER */

.site-header .kh-top-bar-center {
    min-width: 0 !important;
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 12px !important;
    overflow: hidden !important;
}

.site-header .kh-top-badge {
    flex: 0 0 auto !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 6px 11px !important;

    background: #d90429 !important;
    color: #ffffff !important;

    border-radius: 5px !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    white-space: nowrap !important;
}

.site-header .kh-top-headline-wrapper {
    flex: 1 1 auto !important;

    min-width: 0 !important;
    max-width: 520px !important;

    overflow: hidden !important;
    white-space: nowrap !important;
}

.site-header .kh-top-ticker-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    width: max-content !important;
    gap: 40px !important;

    white-space: nowrap !important;
}

.site-header .kh-top-headline-link {
    flex: 0 0 auto !important;

    display: inline-block !important;

    color: #0f172a !important;
    text-decoration: none !important;

    font-size: 13px !important;
    line-height: 1.5 !important;

    white-space: nowrap !important;
}

.site-header .kh-top-headline-link:hover {
    color: #d90429 !important;
}


/* RIGHT */

.site-header .kh-top-bar-right {
    min-width: max-content !important;

    display: flex !important;
    align-items: center !important;
}

.site-header .kh-social-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-header .kh-social-item {
    margin: 0 !important;
    padding: 0 !important;
}

.site-header .kh-social-link {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #f1f5f9 !important;
    color: #1c2541 !important;

    text-decoration: none !important;
}


/* =========================================================
   3. BRANDING ROW
   ========================================================= */

.site-header .kh-header-branding-row {
    box-sizing: border-box !important;

    width: 100% !important;

    min-height: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 40px !important;

    padding: 24px 0 !important;

    background: #ffffff !important;
}


/* LEFT BRAND */

.site-header .kh-brand-logo-area {
    flex: 1 1 auto !important;

    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
}

.site-header .site-title-wrap {
    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-header .site-title {
    margin: 0 !important;
    padding: 0 !important;

    font-family: Georgia, "Times New Roman", serif !important;

    font-size: 36px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
}

.site-header .site-title a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #0b132b !important;
    text-decoration: none !important;
}

.site-header .site-description {
    margin: 12px 0 0 !important;
    padding: 0 !important;

    color: #1e293b !important;

    font-family: inherit !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   4. RIGHT HEADER WIDGETS
   ========================================================= */

.site-header .kh-header-widget-area {
    flex: 0 0 auto !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* E-PAPER */

.site-header .kh-epaper-btn {
    display: inline-flex !important;
    align-items: center !important;

    gap: 7px !important;

    margin: 0 !important;
    padding: 8px 0 !important;

    color: #0f172a !important;
    text-decoration: none !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    white-space: nowrap !important;
}

.site-header .kh-epaper-icon {
    display: inline-flex !important;
    align-items: center !important;
}

.site-header .kh-epaper-icon svg {
    width: 18px !important;
    height: 18px !important;
}


/* WEATHER */

.site-header .kh-header-weather-box {
    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-header .kh-weather-info {
    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1.2 !important;
}

.site-header .kh-weather-temp {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #0f172a !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

.site-header .kh-weather-city {
    display: block !important;

    margin-top: 3px !important;

    color: #64748b !important;

    font-size: 11px !important;
}

.site-header .kh-weather-icon-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.site-header .kh-weather-icon {
    display: inline-flex !important;
}

.site-header .kh-weather-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.site-header .kh-weather-desc {
    color: #64748b !important;
    font-size: 11px !important;
}


/* =========================================================
   5. NAVBAR
   Actual DOM:
   .kh-navbar-wrapper
   .kh-navbar-inner
   ========================================================= */

.site-header .kh-navbar-wrapper {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #1c2541 !important;

    border-top: 3px solid #d90429 !important;
}

.site-header .kh-navbar-inner {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-header .kh-desktop-navigation {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}


/* =========================================================
   6. MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .site-header .kh-top-bar-inner {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        gap: 8px !important;
    }

    .site-header .kh-top-bar-left {
        justify-content: center !important;
    }

    .site-header .kh-top-bar-center {
        width: 100% !important;
    }

    .site-header .kh-top-bar-right {
        display: none !important;
    }

    .site-header .kh-header-branding-row {
        min-height: auto !important;

        flex-direction: column !important;
        justify-content: center !important;

        text-align: center !important;

        gap: 20px !important;

        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .site-header .kh-brand-logo-area {
        justify-content: center !important;
        width: 100% !important;
    }

    .site-header .kh-header-widget-area {
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }
}


@media (max-width: 600px) {

    .site-header .kh-top-date {
        display: none !important;
    }

    .site-header .kh-top-bar-left {
        display: none !important;
    }

    .site-header .kh-header-widget-area {
        flex-direction: column !important;
    }

    .site-header .site-title {
        font-size: 28px !important;
    }

    .site-header .site-description {
        font-size: 15px !important;
    }
}