.header-institucional {
    background: var(--navbar-bg, #0d1b3e);
    border-bottom: 3px solid var(--primary-color, #c8a84b);
    font-family: inherit;
}

.hi-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 16px;
}

.hi-inner > .d-flex {
    min-width: 0;
    width: 100%;
}

.hi-system {
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    border-left: 2px solid var(--primary-color, #c8a84b);
    margin-left: 6px;
    min-width: 0;
    flex: 1;
}

.hi-system-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
}

.hi-system-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
}

.clean-logo {
    height: 40px;
    object-fit: contain;
    margin-right: 12px;
}

.clean-footer {
    background: linear-gradient(135deg, var(--footer-bg-start, #0d1b3e) 0%, var(--footer-bg-end, #0a1628) 100%);
}

.clean-author-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.07) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 4px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.04em;
    display: inline-block;
}

@media (max-width: 767.98px) {
    .hi-inner > .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .hi-inner {
        padding: 10px 14px;
        gap: 10px;
    }

    .hi-system {
        padding-left: 10px;
        margin-left: 2px;
        width: 100%;
    }

    .clean-logo {
        height: 34px;
        margin-right: 8px;
    }

    .hi-system-title {
        font-size: 14px;
    }

    .hi-system-sub {
        font-size: 11px;
    }
}

@media (max-width: 575.98px) {
    .hi-system {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--primary-color, #c8a84b);
        padding-top: 6px;
    }

    .hi-system-title,
    .hi-system-sub {
        overflow-wrap: anywhere;
    }
}
