/* ============================================================
   GOT HEADER
============================================================ */

.md-header {
    min-height: 72px;
    color: var(--got-text-primary);
    background: rgba(var(--got-rgb-void), 0.94);
    border-bottom: 1px solid var(--got-white-080);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.md-header__inner {
    min-height: 72px;
}

.md-header__button.md-logo {
    display: none;
}

.md-header__title {
    flex-grow: 0;
    margin-left: 0;
    margin-right: auto;
    line-height: normal;
}

.md-header__ellipsis {
    overflow: visible;
}

.got-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-width: max-content;
}

.got-header-brand__logo {
    display: block;
    width: 34px;
    height: 42px;
    object-fit: contain;
}

.got-header-brand__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: max-content;
}

.got-header-brand__title {
    color: var(--got-text-primary);
    font-family: var(--got-font-sans);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.got-header-brand__title span {
    font-weight: 300;
}

.got-header-brand__subtitle {
    margin-top: 7px;
    color: var(--got-cyan);
    font-family: var(--got-font-mono);
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.md-search {
    margin-left: auto;
}

.md-search__form {
    height: 42px;
    background: var(--got-surface);
    border: 1px solid var(--got-white-100);
    border-radius: 0;
    clip-path: polygon(var(--got-chamfer-sm) 0,
            100% 0,
            100% calc(100% - var(--got-chamfer-sm)),
            calc(100% - var(--got-chamfer-sm)) 100%,
            0 100%,
            0 var(--got-chamfer-sm));
    box-shadow: none;
}

.md-search__form:hover {
    border-color: var(--got-violet-240);
}

.md-search__input {
    color: var(--got-text-primary);
    font-family: var(--got-font-sans);
}

.md-search__input::placeholder {
    color: var(--got-text-muted);
}

.md-search__icon {
    color: var(--got-cyan);
}

.md-header__button {
    color: var(--got-text-secondary);
    border-radius: 0;
}

.md-header__button:hover {
    color: var(--got-cyan);
}

@media (max-width: 960px) {
    .got-header-brand__subtitle {
        display: none;
    }

    .got-header-brand__logo {
        width: 30px;
        height: 36px;
    }

    .got-header-brand__title {
        font-size: 16px;
    }
}

@media (max-width: 760px) {

    .md-header,
    .md-header__inner {
        min-height: 60px;
    }

    .got-header-brand {
        gap: 10px;
    }

    .got-header-brand__logo {
        width: 25px;
        height: 31px;
    }

    .got-header-brand__title {
        font-size: 15px;
    }

    .got-header-brand__title span {
        display: none;
    }
}

@media (max-width: 480px) {
    .got-header-brand__copy {
        display: none;
    }
}