/**
 * Cahaya Senja Kaimana
 * Header Brand Final
 *
 * Logo berasal dari Customizer.
 * Teks berasal dari Judul Situs WordPress.
 */


/* ==========================================================
   BRAND
   ========================================================== */

.csk-header-brand {

    display: inline-flex !important;

    align-items: center !important;

    gap: 10px !important;

    flex: 0 0 auto !important;

    min-width: 0 !important;

    max-width: 260px;

    text-decoration: none !important;
}


/* ==========================================================
   LOGO
   ========================================================== */

.csk-header-brand-logo {

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: visible;
}


.csk-header-logo-image {

    display: block !important;

    width: 48px !important;
    height: 48px !important;

    max-width: 48px !important;
    max-height: 48px !important;

    object-fit: contain !important;

    object-position: center !important;
}


/* ==========================================================
   FALLBACK
   ========================================================== */

.csk-header-logo-fallback {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #0F172A;

    color: #FFFFFF;

    font-family:
        "Poppins",
        sans-serif;

    font-size: 14px;

    font-weight: 700;
}


html.dark
.csk-header-logo-fallback {

    background: #F59E0B;

    color: #020617;
}


/* ==========================================================
   BRAND TEXT
   ========================================================== */

.csk-header-brand-copy {

    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    justify-content: center !important;

    flex: 1 1 auto !important;

    min-width: 0 !important;

    opacity: 1 !important;

    visibility: visible !important;
}


.csk-header-brand-title {

    display: block !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #0F172A !important;

    font-family:
        "Poppins",
        sans-serif !important;

    font-size: 13.5px !important;

    font-weight: 700 !important;

    line-height: 1.2 !important;

    letter-spacing: -.015em !important;

    white-space: nowrap !important;

    opacity: 1 !important;

    visibility: visible !important;
}


/* ==========================================================
   TAGLINE
   ========================================================== */

.csk-header-brand-tagline {

    display: block;

    margin-top: 3px;

    color: #D97706;

    font-family:
        "Inter",
        sans-serif;

    font-size: 8px;

    font-weight: 600;

    line-height: 1.2;

    letter-spacing: .08em;

    text-transform: uppercase;

    white-space: nowrap;
}


/* ==========================================================
   DARK MODE
   ========================================================== */

html.dark
.csk-header-brand-title {

    color: #F8FAFC !important;
}


html.dark
.csk-header-brand-tagline {

    color: #F59E0B !important;
}


/* ==========================================================
   HOVER
   ========================================================== */

@media (hover: hover) {

    .csk-header-brand:hover
    .csk-header-brand-title {

        color: #D97706 !important;
    }


    html.dark
    .csk-header-brand:hover
    .csk-header-brand-title {

        color: #F59E0B !important;
    }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (
    min-width: 768px
)
and (
    max-width: 1100px
) {

    .csk-header-brand {

        gap: 8px !important;

        max-width: 205px;
    }


    .csk-header-brand-logo {

        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .csk-header-logo-image {

        width: 42px !important;
        height: 42px !important;

        max-width: 42px !important;
        max-height: 42px !important;
    }


    .csk-header-brand-title {

        font-size: 11.5px !important;
    }


    .csk-header-brand-tagline {

        display: none !important;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .csk-header-brand {

        gap: 8px !important;

        max-width:
            calc(100vw - 120px) !important;
    }


    .csk-header-brand-logo {

        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .csk-header-logo-image {

        width: 38px !important;
        height: 38px !important;

        max-width: 38px !important;
        max-height: 38px !important;
    }


    .csk-header-brand-copy {

        min-width: 0 !important;
    }


    .csk-header-brand-title {

        max-width: 175px !important;

        overflow: hidden !important;

        font-size: 11.5px !important;

        text-overflow: ellipsis !important;

        white-space: nowrap !important;
    }


    .csk-header-brand-tagline {

        display: none !important;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 390px) {

    .csk-header-brand-title {

        max-width: 135px !important;

        font-size: 11px !important;
    }


    .csk-header-brand-logo {

        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }


    .csk-header-logo-image {

        width: 36px !important;
        height: 36px !important;

        max-width: 36px !important;
        max-height: 36px !important;
    }

}