/*
 * ngc-logo-1.css - header brand lockup
 *
 * The logo is the first child of .abp5_ngc_nav (the existing flex row) and is
 * pushed left with margin-right:auto. That leaves the row's own
 * justify-content:flex-end untouched, so the menu stays right-aligned and no
 * existing rule, width, breakpoint or spacing value changes.
 *
 * Colour is inherited rather than declared, so each site's palette drives the
 * wordmark automatically and this file stays identical across the family.
 * The icon carries its own accent inside the SVG.
 */

.abp5_ngc_logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    flex: 0 1 auto;
    min-width: 0;
    max-height: 42px;
    color: inherit;
    text-decoration: none;
}

.abp5_ngc_logo_icon {
    display: block;
    flex: none;
    width: 28px;
    height: 28px;
}

.abp5_ngc_logo_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.abp5_ngc_logo_l1 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.abp5_ngc_logo_l2 {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.72;
}

/* The link is the only interactive state; the front-page element is inert. */
.abp5_ngc_logo:hover .abp5_ngc_logo_l1 {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.abp5_ngc_logo:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 6px;
}

.abp5_ngc_logo--current {
    cursor: default;
}

@media (max-width: 768px) {
    .abp5_ngc_logo {
        gap: 8px;
    }

    .abp5_ngc_logo_icon {
        width: 26px;
        height: 26px;
    }

    .abp5_ngc_logo_l1 {
        font-size: 12px;
    }

    .abp5_ngc_logo_l2 {
        font-size: 9px;
        letter-spacing: 0.05em;
    }
}
