/* ═══════════════════════════════════════════════════════════════════
   Notícias — listagem (espelha o layout de Oradores)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────────── */

.noticias-hero {
    padding: 48px 0 0;
    background: transparent;
}

.noticias-hero-bar {
    height: clamp(36px, calc(2.25rem + ((1vw - 3.6px) * 59.2857)), 140px);
    background: #d7fcf5;
    position: absolute;
    top: clamp(20px, calc(3.25rem + ((1vw - 3.6px) * 59.2857)), 189px);
    width: 100vw;
    z-index: -1;
}

.noticias-page-title {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 700;
    color: #000032;
    line-height: 1;
    padding-bottom: 32px;
    padding-left: 80px;
}

@media (max-width: 1200px) {
    .noticias-page-title {
        padding-left: 0;
    }
}

/* ── Wrap ──────────────────────────────────────────────────────────── */

.noticias-wrap {
    padding-top: 56px;
    padding-bottom: 96px;
}

/* ── Notícia row ───────────────────────────────────────────────────── */

.noticia-row {
    display: grid;
    grid-template-columns: 229px 1fr 2fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 56px;
    margin-bottom: 56px;
}

.noticia-row:last-child {
    margin-bottom: 0;
}

/* ── Photo ─────────────────────────────────────────────────────────── */

.noticia-photo-wrap {
    position: relative;
    display: block;
    width: 229px;
    height: 229px;
    overflow: hidden;
}

.noticia-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-photo-wrap:hover .noticia-photo {
    transform: scale(1.04);
}

.noticia-photo-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #f8ffeb;
}

/* ── Info column ───────────────────────────────────────────────────── */

.noticia-cat-label {
    margin: 0 0 6px !important;
}

.noticia-cat-label small {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000032;
}

.noticia-titulo {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #000032 !important;
    line-height: 1.2 !important;
    margin: 0 0 10px !important;
}

.noticia-titulo a {
    color: inherit !important;
    text-decoration: none !important;
}

.noticia-titulo a:hover {
    text-decoration: underline !important;
}

.noticia-date {
    font-size: 17px !important;
    color: #0578f5 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* ── Content column ────────────────────────────────────────────────── */

.noticia-excerpt {
    font-size: 17px;
    line-height: 1.55;
    color: #000032;
}

.noticia-excerpt p {
    margin-bottom: 16px;
}

.noticia-readmore {
    display: inline-block;
    margin-top: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #0578f5 !important;
    text-decoration: none !important;
}

.noticia-readmore:hover {
    text-decoration: underline !important;
}

/* ── Single ────────────────────────────────────────────────────────── */

.noticia-photo-wrap--single {
    width: 229px;
    height: auto;
    aspect-ratio: 3 / 4;
}

.noticia-titulo--single {
    font-size: 34px !important;
    margin-bottom: 12px !important;
}

.noticia-back {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #000032 !important;
    text-decoration: none !important;
}

.noticia-back:hover {
    color: #0578f5 !important;
}

/* Corpo do artigo — sem !important para não interferir com a edição */
.noticia-body {
    font-size: 17px;
    line-height: 1.75;
    color: #000032;
}

/* ── Pagination ────────────────────────────────────────────────────── */

.noticias-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.noticias-pagination .page-numbers {
    display: flex;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.noticias-pagination .page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
}

.noticias-pagination .page-numbers li::before {
    display: none !important;
}

.noticias-pagination .page-numbers a,
.noticias-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #000032;
    border: 2px solid #000032;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.noticias-pagination .page-numbers .current {
    background: #000032;
    color: #defda1;
}

.noticias-pagination .page-numbers a:hover {
    background: #000032;
    color: #defda1 !important;
    text-decoration: none !important;
}

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .noticia-row {
        grid-template-columns: 180px 1fr 1.5fr;
        gap: 28px;
    }

    .noticia-photo-wrap {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .noticia-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "photo info"
            "content content";
        gap: 24px;
    }

    .noticia-col-photo    { grid-area: photo; }
    .noticia-col-info     { grid-area: info; }
    .noticia-col-content  { grid-area: content; }

    .noticia-photo-wrap {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
    }

    .noticia-photo,
    .noticia-photo-placeholder {
        position: absolute;
        inset: 0;
    }
}

@media (max-width: 480px) {
    .noticia-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "photo"
            "info"
            "content";
    }

    .noticias-wrap {
        padding-top: 36px;
        padding-bottom: 60px;
    }
}
