/*
 * RuonaU logo lockup: crest + "RUONA UNIVERSITY" wordmark + "Higher
 * Institute" rule + tagline. Rendered by templates/_brand_logo.html and
 * loaded on every page (public site, portals, dashboards, site admin,
 * offer letter) so the logo is identical everywhere.
 */
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nav-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.nav-wordmark {
    font-weight: 600;
    font-size: 16px;
    color: #7509b8;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-institute-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0;
}

.nav-institute-line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    max-width: 24px;
}

.nav-institute {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #212121;
    white-space: nowrap;
}

.nav-tagline {
    font-size: 10px;
    color: #e17e00;
    font-weight: 500;
    white-space: nowrap;
}

/* Phones: one smaller size, the same on every page. */
@media (max-width: 900px) {
    .nav-logo { gap: 8px; }
    .nav-logo-img { width: 40px; height: 40px; }
    .nav-wordmark { font-size: 12px; }
    .nav-institute-row { margin: 1px 0; }
    .nav-institute-line { max-width: 12px; }
    .nav-institute, .nav-tagline { font-size: 8.5px; }
}
