/*
 * miabadmin
 * Header
 */


/* ==========================================================================
   01 — Site header
   ========================================================================== */

.site-header {
    background: var(--surface);

    border-bottom: 1px solid var(--border);
}


/* ==========================================================================
   02 — Header layout
   ========================================================================== */

.site-header__inner {
    width: 100%;
    max-width: calc(
        var(--content-width)
        + (var(--page-padding) * 2)
    );

    min-height: 72px;
    margin: 0 auto;
    padding: 0 var(--page-padding);

    display: flex;
    align-items: center;
}


/* ==========================================================================
   03 — Brand
   ========================================================================== */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--text);

    text-decoration: none;
}


/* ==========================================================================
   04 — Brand logo
   ========================================================================== */

.brand__logo {
    width: 44px;
    height: 44px;

    display: block;

    flex: 0 0 44px;
}


/* ==========================================================================
   05 — Brand text
   ========================================================================== */

.brand__text {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand__wordmark {
    width: auto;
    height: 31px;
    max-width: 100%;

    display: block;
}

.brand__description {
    margin-top: 2px;

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}


/* ==========================================================================
   06 — Responsive
   ========================================================================== */

@media (max-width: 700px) {

    .site-header__inner {
        min-height: 64px;
    }

    .brand {
        gap: 10px;
    }

    .brand__logo {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .brand__wordmark {
        height: 27px;
    }

    .brand__description {
        display: none;
    }

}