/* ===========================
   NOTICIAS V2 — Pixel-perfect com Pencil
   Prefixo: nn-
   Header/Footer vem do home-v2.css (classes hv2-*)
   =========================== */

/* ---------- Reset / Base ---------- */
.nn-page {
    font-family: 'Montserrat', sans-serif;
    color: #1A1A1A;
    background: #F7F8FA;
    -webkit-font-smoothing: antialiased;
}
.nn-page *, .nn-page *::before, .nn-page *::after {
    box-sizing: border-box;
}
.nn-page a { text-decoration: none; }
.nn-page img { max-width: 100%; display: block; }

/* ---------- Hero ---------- */
.nn-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    background: #00402B;
}
.nn-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0,64,43,0.96) 0%,
        rgba(0,87,61,0.87) 50%,
        rgba(45,122,79,0.73) 100%);
    z-index: 1;
}
.nn-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    width: 100%;
}
.nn-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 100px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}
.nn-hero__breadcrumb a {
    color: rgba(255,255,255,0.67);
    transition: color 0.15s;
}
.nn-hero__breadcrumb a:hover { color: #fff; }
.nn-hero__breadcrumb .nn-hero__sep {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
}
.nn-hero__breadcrumb .nn-hero__current {
    color: rgba(255,255,255,0.8);
}
.nn-hero__title-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
}
.nn-hero__accent {
    width: 4px;
    height: 52px;
    background: #91C14D;
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 4px;
}
.nn-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}
.nn-hero__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.73);
    margin: 16px 0 0 20px;
    max-width: 700px;
    line-height: 1.5;
}
.nn-hero__icon {
    position: absolute;
    z-index: 2;
    color: #fff;
    pointer-events: none;
}
.nn-hero__icon--news {
    right: 60px;
    top: -30px;
    font-size: 340px;
    opacity: 0.11;
}
.nn-hero__icon--radio {
    right: 0;
    bottom: -20px;
    font-size: 120px;
    opacity: 0.07;
    transform: rotate(-15deg);
}

/* ---------- Filter Bar ---------- */
.nn-filters {
    background: #fff;
    border-bottom: 1px solid #E8E8E8;
    padding: 20px 80px;
    position: sticky;
    top: 80px;
    z-index: 100;
}
.nn-filters__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.nn-filters__left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nn-filters__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    white-space: nowrap;
}
.nn-filters__label i {
    font-size: 14px;
}
.nn-filters__pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nn-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    background: #fff;
    transition: all 0.15s;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.nn-pill:hover {
    border-color: #00573D;
    color: #00573D;
}
.nn-pill--active,
.nn-pill--active:link,
.nn-pill--active:visited {
    background: #00573D !important;
    color: #FFFFFF !important;
    border-color: #00573D !important;
    font-weight: 600;
}
.nn-pill--active:hover {
    background: #004430;
    color: #fff;
    border-color: #004430;
}
.nn-filters__sep {
    width: 1px;
    height: 20px;
    background: #ddd;
    flex-shrink: 0;
}
.nn-pill--dropdown {
    border: 1px solid #ddd;
    background: #fff;
    gap: 8px;
}
.nn-pill--dropdown i {
    font-size: 10px;
    color: #aaa;
}
.nn-periodo-wrap {
    position: relative;
}
.nn-periodo-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 120px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 200;
}
.nn-periodo-menu.open { display: block; }
.nn-periodo-menu a {
    display: block;
    padding: 6px 16px;
    font-size: 13px;
    color: #333;
    transition: background 0.15s;
}
.nn-periodo-menu a:hover,
.nn-periodo-menu a.active {
    background: #f0fdf4;
    color: #00573D;
    font-weight: 600;
}
.nn-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    overflow: hidden;
    background: #F3F4F6;
    padding: 0 16px;
    gap: 8px;
}
.nn-search-form i {
    color: #aaa;
    font-size: 14px;
    flex-shrink: 0;
}
.nn-search-input {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 12px;
    width: 160px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}
.nn-search-input::placeholder { color: #aaa; }

/* Filtros ativos */
.nn-filters__active {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.nn-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #00573D;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 16px;
}
.nn-tag a {
    color: #00573D;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
.nn-clear-filters {
    font-size: 12px;
    color: #888;
    text-decoration: underline;
}

/* ---------- Page Body ---------- */
.nn-body {
    display: flex;
    gap: 40px;
    padding: 40px 80px;
    background: #F7F8FA;
    align-items: flex-start;
}

/* ---------- Main Column ---------- */
.nn-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ---------- News Grid ---------- */
.nn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ---------- Card ---------- */
.nn-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #EBEBEB;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.nn-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.nn-card__img-link {
    display: block;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
}
.nn-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.nn-card:hover .nn-card__img {
    transform: scale(1.04);
}
.nn-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.nn-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* .nn-card__cat / .nn-card__dot removidos — categorias fora do frontend (jun/2026) */
.nn-card__date {
    font-size: 10px;
    color: #aaa;
}
.nn-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #1A1A1A;
}
.nn-card__title a { color: inherit; }
.nn-card__title a:hover { color: #00573D; }
.nn-card__excerpt {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    flex: 1;
}
.nn-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #00573D;
    margin-top: auto;
    padding-top: 10px;
    transition: gap 0.2s;
}
.nn-card__link:hover {
    color: #00573D;
    gap: 10px;
}
.nn-card__link i { font-size: 12px; }

/* ---------- Empty State ---------- */
.nn-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.nn-empty i { color: #ccc; margin-bottom: 16px; display: block; }
.nn-empty h3 { font-size: 20px; color: #333; margin-bottom: 8px; }
.nn-empty p { font-size: 14px; margin-bottom: 20px; }
.nn-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #00573D;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}
.nn-btn:hover { background: #004430; color: #fff; }

/* ---------- Pagination ---------- */
.nn-pagination {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}
.nn-pg {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
.nn-pg__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: #fff;
    transition: all 0.15s;
    text-decoration: none;
}
.nn-pg__num:hover {
    border-color: #00573D;
    color: #00573D;
    background: #f0fdf4;
    text-decoration: none;
}
.nn-pg__item--active .nn-pg__num {
    background: #00573D !important;
    color: #FFFFFF !important;
    border-color: #00573D !important;
    font-weight: 700;
}
.nn-pg__item--dots .nn-pg__num {
    border: none;
    background: none;
    color: #aaa;
    width: auto;
    padding: 0 4px;
}
.nn-pg__btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #AAAAAA;
    background: #fff;
    transition: all 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.nn-pg__btn i { font-size: 11px; }
.nn-pg__prev:hover {
    border-color: #00573D;
    color: #00573D;
    text-decoration: none;
}
.nn-pg__next,
.nn-pg__next:link,
.nn-pg__next:visited {
    background: #00573D !important;
    color: #FFFFFF !important;
    border-color: #00573D !important;
    font-weight: 600;
}
.nn-pg__next:hover {
    background: #004430 !important;
    color: #FFFFFF !important;
    border-color: #004430 !important;
    text-decoration: none;
}
.nn-pg__item--disabled .nn-pg__btn {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}
.nn-pg__item--disabled .nn-pg__next {
    background: #ccc;
    border-color: #ccc;
    color: #fff;
}

/* ---------- Sidebar ---------- */
.nn-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 140px;
}
.nn-sidebar__card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    overflow: hidden;
}
.nn-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #F0F0F0;
}
.nn-sidebar__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nn-sidebar__dot {
    width: 4px;
    height: 18px;
    background: #00573D;
    border-radius: 2px;
    flex-shrink: 0;
}
.nn-sidebar__title {
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
.nn-sidebar__list {
    max-height: 480px;
    overflow-y: auto;
}
.nn-regional {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #F3F3F3;
    transition: background 0.15s;
}
.nn-regional:last-child { border-bottom: none; }
.nn-regional:hover { background: #FAFAFA; }
.nn-regional__img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f0f0f0;
}
.nn-regional__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nn-regional__city {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #00573D;
}
.nn-regional__title {
    font-size: 12px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nn-regional__date {
    font-size: 10px;
    color: #aaa;
}
.nn-sidebar__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-top: 1px solid #F0F0F0;
    background: #F9F9F9;
}
.nn-sidebar__viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #00573D;
}
.nn-sidebar__viewall:hover { color: #004430; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .nn-hero__content { padding: 0 30px; }
    .nn-filters { padding: 16px 30px; }
    .nn-body { padding: 30px; gap: 30px; }
    .nn-sidebar { width: 280px; }
}
@media (max-width: 991px) {
    .nn-hero { height: auto; min-height: 240px; }
    .nn-hero__breadcrumb { margin-top: 60px; }
    .nn-hero__title { font-size: 32px; }
    .nn-hero__icon--news { display: none; }
    .nn-hero__icon--radio { display: none; }
    .nn-body { flex-direction: column; }
    .nn-sidebar { width: 100%; position: static; }
    .nn-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .nn-filters { top: 64px; padding: 12px 16px; }
    .nn-hero__content { padding: 0 20px; }
    .nn-hero__breadcrumb { margin-top: 40px; }
    .nn-hero__title { font-size: 28px; }
    .nn-hero__accent { height: 36px; }
    .nn-hero__subtitle { font-size: 13px; margin-left: 0; }
    .nn-body { padding: 20px 16px; }
    .nn-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .nn-filters__bar { flex-direction: column; align-items: flex-start; }
    .nn-search-form { width: 100%; }
    .nn-search-input { width: 100%; }
}
@media (max-width: 480px) {
    .nn-grid { grid-template-columns: 1fr; }
    .nn-hero__title { font-size: 24px; }
    .nn-card__title { font-size: 15px; }
}
