﻿/* Local top bar fallback for environments without /shared assets */
.project-topbar {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(13, 28, 47, 0.98), rgba(30, 53, 78, 0.96));
    color: #f8f3ec;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(13, 28, 47, 0.12);
}

.project-topbar__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.project-topbar__brand {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-topbar__logo-wrap {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(209, 164, 107, 0.24), rgba(255, 255, 255, 0.12));
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.project-topbar__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-topbar__logo-fallback {
    display: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.project-topbar__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.project-topbar__title {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display, Georgia, serif);
    letter-spacing: -0.02em;
}

.project-topbar__subtitle {
    font-size: 12px;
    opacity: 0.78;
    color: rgba(248, 243, 236, 0.74);
}

.project-topbar__hub-link {
    color: #f8f3ec;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.project-topbar__hub-link:hover,
.project-topbar__brand:hover {
    color: #fff;
}

.project-topbar__hub-link:hover {
    transform: translateY(-1px);
    background: rgba(209, 164, 107, 0.18);
    border-color: rgba(209, 164, 107, 0.34);
}

@media (max-width: 576px) {
    .project-topbar__subtitle {
        display: none;
    }
}
