/*
 * REQT header compact editorial polish.
 * Loaded after reqt-theme.css so the locked section styles stay untouched.
 */
.rq-command.mast {
    border-bottom-width: 4px;
    box-shadow: 0 10px 24px rgba(7, 17, 31, .075);
}

.rq-command-alert .rq-wrap {
    min-height: 26px;
    gap: 10px;
}

.rq-command-alert b {
    min-height: 18px;
    padding: 3px 7px;
    font-size: .54rem;
}

.rq-command-alert span {
    font-size: .58rem;
}

.rq-command-alert em {
    width: 34px;
    height: 3px;
}

.rq-command-main {
    min-height: 58px;
    padding: 7px 0 6px;
}

.rq-brand-block {
    gap: 4px;
}

.rq-edition {
    font-size: .52rem;
    line-height: 1;
    letter-spacing: .11em;
}

.rq-edition::before,
.rq-edition::after {
    width: 24px;
    height: 2px;
}

.rq-emblem {
    width: 92px;
    height: 8px;
    box-shadow: 0 3px 0 rgba(7, 17, 31, .12);
}

.rq-command .rq-brand {
    font-size: clamp(1.95rem, 3.55vw, 3.05rem);
    line-height: .84;
}

.rq-nav-bar {
    border-top-width: 2px;
}

.rq-nav-scroll {
    gap: 7px;
    justify-content: center;
    padding: 7px 0 8px;
}

.rq-nav-scroll a {
    min-height: 34px;
    max-width: 210px;
    padding: 7px 10px;
    font-size: .56rem;
    line-height: 1.08;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    letter-spacing: .09em;
}

.rq-nav-scroll a.active::before {
    width: 7px;
    height: 7px;
    margin-right: 6px;
}

.rq-nav-scroll a.priority {
    box-shadow: inset 0 -3px 0 var(--rq-gold), 3px 3px 0 rgba(7, 17, 31, .16);
}

@media (min-width: 981px) {
    .rq-command.mast .rq-wrap {
        width: min(1160px, calc(100% - 56px));
    }

    .rq-nav-scroll {
        flex-wrap: wrap;
    }

    .rq-nav-scroll a {
        flex: 0 1 auto;
    }
}

@media (max-width: 980px) {
    .rq-command-alert .rq-wrap {
        justify-content: flex-start;
    }

    .rq-command-main {
        min-height: 54px;
    }

    .rq-command .rq-brand {
        font-size: clamp(1.9rem, 6vw, 2.65rem);
    }

    .rq-nav-scroll {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 7px 0 9px;
    }

    .rq-nav-scroll a {
        max-width: none;
        white-space: nowrap;
        overflow-wrap: normal;
    }
}

@media (max-width: 620px) {
    .rq-command-alert .rq-wrap {
        min-height: 24px;
        gap: 8px;
    }

    .rq-command-alert b {
        font-size: .5rem;
    }

    .rq-command-alert span {
        font-size: .52rem;
    }

    .rq-command-main {
        padding: 8px 0 7px;
    }

    .rq-brand-block {
        gap: 5px;
    }

    .rq-edition {
        font-size: .5rem;
    }

    .rq-edition::before,
    .rq-edition::after {
        width: 16px;
    }

    .rq-emblem {
        width: 78px;
        height: 7px;
    }

    .rq-command .rq-brand {
        font-size: clamp(1.72rem, 8.4vw, 2rem);
        line-height: .88;
    }

    .rq-nav-scroll {
        gap: 6px;
        padding: 7px 0 8px;
    }

    .rq-nav-scroll a {
        min-height: 34px;
        padding: 7px 9px;
        font-size: .52rem;
        letter-spacing: .08em;
    }
}
