/* Prevent CTA buttons in the desktop navbar from wrapping text or being
   compressed by flex when the menu has many items. */
.mcsbiz-link-list {
    flex-shrink: 0;
}

.mscbiz-link {
    white-space: nowrap;
}

/* Give the WP Mega Menu wrapper all remaining flex space and let it shrink. */
.nus-main-nav .wp-megamenu-wrap {
    flex: 1 1 0;
    min-width: 0;
}

/* Prevent nav items wrapping to a second row.
   Priority+ JS moves overflow items into the "More" dropdown, so we only need
   flex-wrap:nowrap as a safety net — do NOT use overflow:hidden here because it
   clips the WP Mega Menu's position:absolute dropdown panels. */
.nus-main-nav .wpmm-nav-wrap > ul.wp-megamenu {
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nus-main-nav .wpmm-nav-wrap > ul.wp-megamenu > li {
    white-space: normal;
}

/* ── Priority+ "More" dropdown ───────────────────────────────────────────── */
.nus-more-dropdown {
    position: relative;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.nus-more-dropdown[hidden] {
    display: none;
}

.nus-more-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 15px 14px;
    color: inherit;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    line-height: 1;
}

.nus-more-btn:hover,
.nus-more-btn:focus {
    color: #ef7c00;
    outline: none;
}

.nus-more-btn svg {
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 150ms ease;
}

.nus-more-open .nus-more-btn svg {
    transform: rotate(180deg);
}

.nus-more-menu {
    position: absolute;
    top: 100%;
    right: 0;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1050;
}

.nus-more-menu[hidden] {
    display: none;
}

.nus-more-menu > li > a {
    display: block;
    padding: 9px 16px;
    font-size: 13px;
    color: #141414;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid #f5f5f5;
}

.nus-more-menu > li:last-child > a {
    border-bottom: none;
}

.nus-more-menu > li > a:hover {
    color: #ef7c00;
    background-color: #fafafa;
}
