.nh[hidden] { display: none; }
.nh {
    --nh-g: max(clamp(16px, 4vw, 48px), calc((100% - 1360px) / 2));
    padding: clamp(40px, 5vw, 72px) var(--nh-g);
    background: var(--color-bg-primary, #f5f5f7);
    color: #1d1d1f;
}
.nh__topo {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
}
.nh__selo {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6e6e73;
}
.nh__titulo {
    margin: 0;
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.nh__todas {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.nh__todas:hover { opacity: .7; }
.nh__lista {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: clamp(24px, 3vw, 40px) 0 0;
    padding: 0;
    list-style: none;
}
.nh__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    box-sizing: border-box;
    padding: 22px 24px 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}
.nh__card:hover { border-color: rgba(0, 0, 0, 0.22); transform: translateY(-2px); }
.nh__card:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 3px; }
.nh__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #6e6e73; }
.nh__tag, .nv-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #1d1d1f;
    color: #fff;
}
.nh__tag--melhoria, .nv-tag--melhoria { background: #e8e8ed; color: #1d1d1f; }
.nh__tag--correcao, .nv-tag--correcao { background: transparent; color: #1d1d1f; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.nh__card h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.nh__card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #515154;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nh__lista--1 { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.nh__lista--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) {
    .nh__lista, .nh__lista--2 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-left: calc(var(--nh-g) * -1);
        margin-right: calc(var(--nh-g) * -1);
        padding: 0 var(--nh-g) 4px;
        scroll-padding: 0 var(--nh-g);
        scrollbar-width: none;
    }
    .nh__lista::-webkit-scrollbar { display: none; }
    .nh__lista > li { flex: 0 0 82%; scroll-snap-align: start; }
    .nh__lista--1 > li { flex-basis: 100%; }
}
