/**
 * File: css/noticias-index.css
 * Theme: portalv3.0
 *
 * Estilo do índice de notícias (page-noticias.php).
 * Escopado em .noticias-index pra não vazar pro restante do tema.
 */

.noticias-index {
    --cream: #faf8f3;
    --cream-2: #f5f1e8;
    --accent-red: #9A7209;
    --accent-red-l: #C49A20;
    --ink: #1a1a1a;
    --ink-soft: #2a2a2a;
    --muted: #5a5a5a;
    --line: #d8d3c5;
    --line-soft: #e8e3d5;

    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.noticias-index * { box-sizing: border-box; }
.noticias-index a { color: inherit; text-decoration: none; }
.noticias-index img { max-width: 100%; display: block; }

.noticias-index .ni-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============ HERO ============ */
.noticias-index .hero-section {
    padding: 240px 0 0;
}

.noticias-index .hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

.noticias-index .hero-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8e3d5;
}

.noticias-index .hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticias-index .hero-headline {
    font-family: 'Source Serif 4', serif;
    font-weight: 800;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-top: 26px;
    margin-bottom: 14px;
}

.noticias-index .hero-headline a:hover { color: var(--accent-red); }

.noticias-index .hero-deck {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 720px;
}

/* sidebar */
.noticias-index .hero-side { padding-top: 4px; }

.noticias-index .side-card {
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}
.noticias-index .side-card:last-child { border-bottom: none; }

.noticias-index .side-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8e3d5;
    margin-bottom: 16px;
}
.noticias-index .side-card-img img {
    width: 100%; height: 100%; object-fit: cover;
}

.noticias-index .side-card-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.noticias-index .side-card-title a:hover { color: var(--accent-red); }

.noticias-index .side-card-deck {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* ============ QUICK STRIP (3-col mini) ============ */
.noticias-index .quick-strip {
    margin-top: 60px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.noticias-index .quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.noticias-index .quick-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    align-items: center;
    padding: 0 28px;
    border-right: 1px solid var(--line);
}
.noticias-index .quick-item:last-child { border-right: none; padding-right: 0; }
.noticias-index .quick-item:first-child { padding-left: 0; }

.noticias-index .quick-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e3d5;
}
.noticias-index .quick-img img {
    width: 100%; height: 100%; object-fit: cover;
}

.noticias-index .quick-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.noticias-index .quick-title a:hover { color: var(--accent-red); }

/* ============ STORIES STRIP ============ */
.noticias-index .stories-section {
    padding: 60px 0;
}

.noticias-index .stories-section-head {
    margin-bottom: 30px;
}

.noticias-index .stories-section-head h2 {
    font-family: 'Source Serif 4', serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.noticias-index .stories-section-head p {
    color: var(--muted);
    font-size: 15px;
    margin-top: 6px;
}

.noticias-index .stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 280px;
    gap: 40px;
}

.noticias-index .story-card .story-img {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #e8e3d5;
    margin-bottom: 16px;
}
.noticias-index .story-card .story-img img {
    width: 100%; height: 100%; object-fit: cover;
}

.noticias-index .story-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}
.noticias-index .story-title a:hover { color: var(--accent-red); }

.noticias-index .story-deck {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
}

.noticias-index .story-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--accent-red);
}
.noticias-index .story-tag::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--accent-red);
    border-radius: 2px;
    flex-shrink: 0;
}

/* podcast side */
.noticias-index .podcast-side {
    border-left: 1px solid var(--line);
    padding-left: 40px;
}

.noticias-index .podcast-img {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #2a2a2a;
    margin-bottom: 16px;
}
.noticias-index .podcast-img img { width: 100%; height: 100%; object-fit: cover; }

.noticias-index .podcast-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 10px;
}

.noticias-index .podcast-deck {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 14px;
}

.noticias-index .podcast-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent-red);
    font-weight: 500;
}

.noticias-index .podcast-label svg { width: 14px; height: 14px; }

/* ============ EVENTS ============ */
.noticias-index .events-section {
    padding: 60px 0;
    border-top: 1px solid var(--line-soft);
}

.noticias-index .events-heading {
    font-family: 'Source Serif 4', serif;
    font-weight: 800;
    font-size: 44px;
    color: var(--ink);
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}

.noticias-index .events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.noticias-index .event-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}
.noticias-index .event-item:first-child { padding-top: 0; }
.noticias-index .event-item:last-child { border-bottom: none; }

.noticias-index .event-date {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--accent-red);
    margin-bottom: 10px;
}

.noticias-index .event-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 10px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
.noticias-index .event-title a:hover { color: var(--accent-red); }

.noticias-index .event-meta {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.noticias-index .event-meta .dot {
    width: 6px; height: 6px;
    background: var(--accent-red);
    display: inline-block;
}

.noticias-index .feature-event-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e3d5;
    margin-bottom: 18px;
}
.noticias-index .feature-event-img img { width: 100%; height: 100%; object-fit: cover; }

.noticias-index .feature-event-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.005em;
}
.noticias-index .feature-event-title a:hover { color: var(--accent-red); }

.noticias-index .feature-event-deck {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5;
}

/* ============ CATEGORIES ============ */
.noticias-index .categories-section {
    padding: 60px 0 90px;
    border-top: 1px solid var(--line-soft);
}

.noticias-index .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.noticias-index .cat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 18px;
}

.noticias-index .cat-hero-img {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #e8e3d5;
    margin-bottom: 18px;
}
.noticias-index .cat-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.noticias-index .cat-hero-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.15;
    color: var(--ink);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
.noticias-index .cat-hero-title a:hover { color: var(--accent-red); }

.noticias-index .cat-list-item {
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    color: var(--ink);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.noticias-index .cat-list-item a:hover { color: var(--accent-red); }

.noticias-index .cat-col-accent {
    width: 36px;
    height: 3px;
    background: var(--accent-red);
    margin-top: 22px;
}

/* ============ ALL NEWS (paginado) ============ */
.noticias-index .all-news-section {
    padding: 60px 0 90px;
    border-top: 1px solid var(--line-soft);
}

.noticias-index .all-news-heading {
    font-family: 'Source Serif 4', serif;
    font-weight: 800;
    font-size: 36px;
    color: var(--ink);
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}

.noticias-index .all-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    margin-bottom: 50px;
}

.noticias-index .news-card .news-img {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #e8e3d5;
    margin-bottom: 14px;
}
.noticias-index .news-card .news-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.noticias-index .news-card:hover .news-img img { transform: scale(1.03); }

.noticias-index .news-meta {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.noticias-index .news-title {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.18;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.005em;
}
.noticias-index .news-title a:hover { color: var(--accent-red); }

.noticias-index .news-deck {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

/* paginação */
.noticias-index .ni-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    font-family: 'Inter', sans-serif;
}

.noticias-index .ni-pagination a,
.noticias-index .ni-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border: 1px solid var(--line);
    background: transparent;
    transition: all .2s ease;
}
.noticias-index .ni-pagination a:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}
.noticias-index .ni-pagination .current {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.noticias-index .ni-pagination .dots {
    border: none;
    min-width: 24px;
}
.noticias-index .ni-pagination .prev,
.noticias-index .ni-pagination .next {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 14px;
    padding: 0 18px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .noticias-index .hero-grid { grid-template-columns: 1fr; }
    .noticias-index .stories-grid { grid-template-columns: repeat(2, 1fr); }
    .noticias-index .podcast-side { grid-column: span 2; border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 30px; }
    .noticias-index .categories-grid { grid-template-columns: 1fr; }
    .noticias-index .events-grid { grid-template-columns: 1fr; }
    .noticias-index .quick-grid { grid-template-columns: 1fr; gap: 18px; }
    .noticias-index .quick-item { border-right: none; border-bottom: 1px solid var(--line); padding: 14px 0 !important; }
    .noticias-index .quick-item:last-child { border-bottom: none; }
    .noticias-index .all-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .noticias-index .ni-container { padding: 0 20px; }
    .noticias-index .stories-grid { grid-template-columns: 1fr; }
    .noticias-index .podcast-side { grid-column: span 1; }
    .noticias-index .hero-headline { font-size: 32px; }
    .noticias-index .events-heading { font-size: 32px; }
    .noticias-index .all-news-grid { grid-template-columns: 1fr; }
    .noticias-index .all-news-heading { font-size: 28px; }
}
