
/* Identité partagée : conserver les proportions du symbole dans ses emplacements. */

.site-brand .studaxa-brand-icon, .brand .studaxa-brand-icon,
.annual-brand .studaxa-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.studaxa-brand-icon img {
    display: block;
    width: 125%;
    height: 125%;
    max-width: none;
    flex: 0 0 125%;
    object-fit: contain;
}

/* Liens du logo : même géométrie que les marques avant ajout de la navigation. */

.site-brand.studaxa-home-link {
    color: inherit;
    text-decoration: none;
}

.sidebar a.brand.studaxa-home-link {
    min-height: 74px;
    padding: 18px;
    border-radius: 0;
    color: inherit;
    text-decoration: none;
}

.brand-subtitle {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 14px;
}

html.dark .brand-subtitle {
    color: #a7b4c6;
}

.studaxa-home-link:focus-visible {
    outline: 3px solid #6b50d4;
    outline-offset: -3px;
}

@media (max-width: 900px) {
    .sidebar a.brand.studaxa-home-link {
        padding: 16px 18px;
    }
}

/* Le bilan annuel utilise la même identité et la même destination que le menu. */

.annual-brand.studaxa-home-link {
    color: inherit;
    text-decoration: none;
}

.annual-brand .studaxa-brand-icon {
    width: 36px;
    height: 36px;
}
