﻿.studio-shell-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--shell-px);
    padding-right: var(--shell-px);
}

#studio-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.studio-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px var(--shell-px);
    background: var(--blue-dk);
    color: rgba(255,255,255,.78);
    font-size: 11.5px;
}

.studio-topbar-left,
.studio-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.studio-topbar-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,.22);
}

.studio-main-nav {
    padding: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0,80,180,.06);
}

    .studio-main-nav .studio-shell-container {
        display: flex;
        align-items: center;
        min-height: 78px;
    }

.studio-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-right: 28px;
    flex-shrink: 0;
}

.studio-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--blue) 0%, #004F99 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .studio-brand-mark img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

.studio-brand-mark-offset {
    margin-top: 0.25rem;
}

.studio-brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.studio-brand-text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.studio-brand-subtext {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #000000;
}

.studio-main-nav .navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
}

.studio-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 2px;
}

    .studio-nav-links .nav-item {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

.studio-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: var(--text) !important;
    transition: color .2s ease;
}

    .studio-nav-link::after {
        content: "";
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: -1px;
        height: 2px;
        background: var(--blue);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .2s ease;
    }

    .studio-nav-link:hover,
    .studio-nav-link:focus {
        color: var(--blue) !important;
    }

        .studio-nav-link:hover::after,
        .studio-nav-link:focus::after {
            transform: scaleX(1);
        }

.studio-nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 16px;
}

.studio-user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.studio-nav-toggle {
    border: none;
    box-shadow: none !important;
    background: var(--blue-lt);
    border-radius: 10px;
    padding: 8px 10px;
}

.studio-shell-main {
    padding-top: 24px;
}

.studio-main-content {
    min-height: calc(100vh - 220px);
}

.studio-footer {
    margin-top: 40px;
    background: var(--navy);
    color: rgba(255,255,255,.74);
}

.studio-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 0;
}

.studio-footer-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

.studio-footer-meta {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.studio-footer-env,
.studio-footer-version {
    color: #7DD3FA;
    font-weight: 700;
}

.studio-footer a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

    .studio-footer a:hover {
        color: #fff;
    }

@media (max-width: 991px) {
    .studio-topbar {
        display: none;
    }

    .studio-main-nav .navbar-collapse {
        display: block;
        margin-top: 12px;
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: #FFFFFF;
        box-shadow: 0 12px 28px rgba(0,80,180,0.08);
    }

    .studio-nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .studio-nav-link {
        justify-content: flex-start;
        padding: 12px !important;
        border-radius: 10px;
    }

        .studio-nav-link::after {
            display: none;
        }

        .studio-nav-link:hover,
        .studio-nav-link:focus {
            background: var(--blue-lt);
        }

    .studio-nav-right {
        margin-left: 0;
        margin-top: 12px;
        padding-left: 0;
    }

    .studio-user-pill {
        width: 100%;
        justify-content: center;
    }

    .studio-footer-inner {
        flex-direction: column;
    }

    .studio-footer-meta {
        text-align: left;
    }
}
