:root {
    --cbmc-htr-navy: #082d4c;
    --cbmc-htr-navy-hover: #0b416c;
    --cbmc-htr-gold: #f0c45b;
}

/* Hide the two legacy business-tool ribbons; page content and calculators remain untouched. */
.cbmc-business-bar,
.cbmc-tools-bar,
.cbmc-business-tools-bar,
.cbmc-business-tools-nav {
    display: none !important;
}

.cbmc-htr {
    position: relative;
    z-index: 90;
    width: 100%;
    margin: 0;
    border: 0;
    background: var(--cbmc-htr-navy);
    box-shadow: 0 2px 9px rgba(7, 37, 64, .14);
    font-family: inherit;
}

.cbmc-htr__inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: min(100%, 1240px);
    min-height: 48px;
    margin: 0 auto;
    padding: 0 20px;
}

.cbmc-htr__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 13px 32px;
    border-right: 1px solid rgba(255, 255, 255, .18);
    color: #fff !important;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}

.cbmc-htr__tab:first-child {
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.cbmc-htr__tab:hover,
.cbmc-htr__tab:focus-visible,
.cbmc-htr__tab[aria-current="page"] {
    background: var(--cbmc-htr-navy-hover);
    color: var(--cbmc-htr-gold) !important;
}

.cbmc-htr__tab:focus-visible {
    outline: 2px solid var(--cbmc-htr-gold);
    outline-offset: -4px;
}

@media (max-width: 600px) {
    .cbmc-htr__inner {
        min-height: 44px;
        padding: 0;
    }

    .cbmc-htr__tab {
        flex: 1 1 50%;
        min-width: 0;
        padding: 11px 8px;
        font-size: 13px;
    }
}
