.np-noticias {
    padding: 0 16px;
    margin: 40px auto;
    font-family: 'Nunito', sans-serif;
}

.np-noticias__shell {
    max-width: 1240px;
    margin: 0 auto;
}

.np-noticias__shell--detail {
    max-width: 980px;
}

.np-noticias__heading {
    margin-bottom: 24px;
}

.np-noticias__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14, 42, 71, 0.08);
    color: #0e2a47;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.np-noticias__heading h2 {
    margin: 0;
    color: #0e2a47;
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}

.np-noticias__empty {
    padding: 26px;
    border-radius: 18px;
    background: #f6f8fa;
    color: #5a6a79;
    text-align: center;
    border: 1px dashed rgba(14, 42, 71, 0.14);
}

.np-noticias__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.np-noticias__filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(2, minmax(180px, 1fr)) auto;
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f6f8fa 0%, #ffffff 100%);
    border: 1px solid rgba(14, 42, 71, 0.08);
}

.np-noticias__filter-field input,
.np-noticias__filter-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(14, 42, 71, 0.12);
    border-radius: 12px;
    background: #fff;
    color: #0e2a47;
}

.np-noticias__filter-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.np-noticias__filter-submit,
.np-noticias__filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
}

.np-noticias__filter-submit {
    border: 0;
    background: #0e2a47;
    color: #fff;
}

.np-noticias__filter-reset {
    background: rgba(14, 42, 71, 0.08);
    color: #0e2a47;
}

.np-noticia-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(14, 42, 71, 0.08);
    box-shadow: 0 16px 36px rgba(6, 23, 41, 0.08);
    display: flex;
    flex-direction: column;
}

.np-noticia-card__media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dbe6ef 0%, #f7fafc 100%);
}

.np-noticia-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.np-noticia-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.np-noticia-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.np-noticia-card__meta-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.np-noticia-card__date {
    color: #6b7b89;
    font-size: 13px;
    font-weight: 700;
}

.np-noticia-card__category {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14, 42, 71, 0.08);
    color: #0e2a47;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.np-noticia-card__badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(143, 195, 58, 0.16);
    color: #446e12;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.np-noticia-card h3 {
    margin: 0;
    color: #0e2a47;
    font-family: "Raleway", sans-serif;
    font-size: 1.3rem;
    line-height: 1.2;
}

.np-noticia-card p {
    margin: 0;
    color: #536475;
    line-height: 1.65;
}

.np-noticia-card__actions {
    margin-top: auto;
    padding-top: 4px;
}

.np-noticia-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #0e2a47;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.np-noticia-card__link:hover {
    background: #173d64;
    color: #fff;
}

.np-noticia-detail__back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: #0e2a47;
    font-weight: 800;
    text-decoration: none;
}

.np-noticia-detail {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(14, 42, 71, 0.08);
    box-shadow: 0 16px 36px rgba(6, 23, 41, 0.08);
}

.np-noticia-detail__media {
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, #dbe6ef 0%, #f7fafc 100%);
}

.np-noticia-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.np-noticia-detail__body {
    padding: 28px;
}

.np-noticia-detail__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.np-noticia-detail__body h1 {
    margin: 0 0 14px;
    color: #0e2a47;
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.np-noticia-detail__excerpt {
    margin: 0 0 18px;
    color: #536475;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 700;
}

.np-noticia-detail__content {
    color: #33485d;
    line-height: 1.8;
}

.np-noticia-detail__content p:first-child {
    margin-top: 0;
}

.np-noticia-detail__gallery,
.np-noticia-detail__files {
    margin-top: 28px;
}

.np-noticia-detail__gallery h3,
.np-noticia-detail__files h3 {
    margin: 0 0 14px;
    color: #0e2a47;
    font-family: "Raleway", sans-serif;
    font-size: 1.25rem;
}

.np-noticia-detail__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.np-noticia-detail__gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #f4f7fa;
    border: 1px solid rgba(14, 42, 71, 0.08);
}

.np-noticia-detail__gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.np-noticia-detail__files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.np-noticia-detail__file-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(14, 42, 71, 0.08);
    color: #0e2a47;
    text-decoration: none;
    font-weight: 800;
}

.np-noticias__pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.np-noticias__pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(14, 42, 71, 0.08);
    color: #0e2a47;
    text-decoration: none;
    font-weight: 800;
}

.np-noticias__pagination-link.is-active {
    background: #0e2a47;
    color: #fff;
}

@media (max-width: 767px) {
    .np-noticias {
        padding: 0 10px;
        margin: 28px auto;
    }

    .np-noticias__filters {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .np-noticias__filter-actions {
        flex-wrap: wrap;
    }

    .np-noticia-card__body {
        padding: 18px;
    }

    .np-noticia-detail__body {
        padding: 18px;
    }
}
