/* ================================
   StudentHub Floating Header
   Light theme only
   ================================ */

.site-header {
    position: sticky;
    top: 12px;
    z-index: 900;

    width: min(1024px, calc(100% - 28px));
    height: 60px;

    margin: 12px auto 0;

    display: flex;
    align-items: center;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);

    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.site-header__inner {
    width: 100%;
    height: 100%;

    padding: 0 15px;

    display: flex;
    align-items: center;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;

    gap: 3px;

    color: inherit;
    text-decoration: none;

    -webkit-tap-highlight-color: transparent;
}

.site-header__logo {
    display: block;

    width: 42px;
    height: 42px;

    object-fit: contain;

    flex: 0 0 36px;
}

.site-header__wordmark {
    display: inline-flex;
    align-items: baseline;

    margin: 0;
    padding: 0;

    font-size: 21px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: -0.045em;
    white-space: nowrap;
}

.site-header__wordmark-main {
    color: #18181b;
}

.site-header__wordmark-accent {
    color: #2747c4;
}

@media (hover: hover) {
    .site-header__brand:hover .site-header__wordmark-accent {
        color: #1f3ba8;
    }
}

@media (max-width: 560px) {
    .site-header {
        top: 8px;

        width: calc(100% - 16px);
        height: 56px;

        margin-top: 8px;

        border-radius: 16px;
    }

    .site-header__inner {
        padding: 0 8px;
    }

    .site-header__brand {
        gap: 3px;
    }

    .site-header__logo {
        width: 42px;
        height: 42px;

        flex-basis: 32px;
    }

    .site-header__wordmark {
        font-size: 18px;
    }
}
