.nh__important {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: none;
    align-items: center;
    height: 46px;
    padding: 0 6px 0 16px;
    border-radius: var(--nh-radius);
    background: var(--nh-accent);
    color: #fff;
    overflow: hidden;
}

.nh__important-marquee {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.nh__important-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    animation: nh-marquee 18s linear infinite;
}

.nh__important-item {
    /* padding-right: 48px; */
    font-size: 15px;
    font-weight: 600;
}

.nh__important-item,
.nh__important-item * {
    color: #fff;
}

.nh__important-item p {
    display: inline;
    margin: 0;
}

@keyframes nh-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.nh__important-close {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
}

.nh__important-close svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .nh__important {
        display: flex;
        padding: 0;
        background: none;
    }

    .nh__important-close {
        width: 35px;
        height: 35px;
    }
}
