/* ========================================
   CARDS DE NOTÍCIAS REGULARES
   ======================================== */

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.news-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #2d2d2d;
}

.news-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.news-card-link {
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    margin-top: auto;
}

.news-card-link:hover {
    color: #2d2d2d;
}

/* ========================================
   NOTÍCIAS EM DESTAQUE (CARDS GRANDES)
   ======================================== */

.noticias-destaque {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-highlight-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #080808;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(22, 28, 37, 0.479);
}

.news-highlight-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.news-highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    padding: 30px;
    color: #fff;
    border-radius: 18px;
}

.news-highlight-overlay {
    padding: 25px;
}

.news-highlight-title {
    margin: 0 0 12px 0;
    font-size: 35px;
    line-height: 1.3;
    font-weight: 700;
}

.news-highlight-title {
    margin-bottom: 10px;
}

.news-highlight-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-highlight-title a:hover {
    color: #b6b6b6b9;
}

.news-highlight-excerpt {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.news-highlight-excerpt {
    font-size: 14px;
    line-height: 1.5;
}

.noticia-principal {
    height: 600px;
    width: 60%;
    padding: 2px;
    border-radius: 18px;
    padding-right: 10px;
}

.noticias-secundarias {
    height: 100%;
    width: 50%;
    padding-left: 5px;
}

.noticia-2 {
    height: 305px;
    padding: 10px;
}

.noticia-1 {
    height: 305px;
    padding: 10px;

}

.news-highlight-image-img {
    opacity: 0.5;
    background-color: #080808;
    transition: all 500ms ease-in;
}

.news-highlight-image-img:hover {
    opacity: 1;
    background-color: #080808;
}

@media (max-width: 768px) {
    .noticias-destaque {
        display: block;
        width: 100%;
    }

    .noticias-secundarias {
        width: 100%;
    }

    .noticia-principal {
        width: 100%;
        height: 450px;
    }

    .noticia-1 {
        height: 100%;
        padding-left: 0;
    }

    .noticia-2 {
        height: 100%;
        padding-left: 0;
        padding-top: 0;
    }
}

/* ========================================
   PAGINAÇÃO
   ======================================== */

.news-pagination {
    margin: 50px 0 30px 0;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: #fff;
    color: #2c3e50;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-pagination .page-numbers:hover {
    background: #2d2d2d;
    color: #fff;
    border-color: #2d2d2d;
}

.news-pagination .page-numbers.current {
    background: #2d2d2d;
    color: #fff;
    border-color: #2d2d2d;
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
    background: #f8f9fa;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (min-width: 769px) and (max-width: 1024px) {
    .news-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .news-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-highlights-grid {
        grid-template-columns: 60% 40%;
    }
}

/* ========================================
   LOADING E ESTADOS VAZIOS
   ======================================== */

.news-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.news-empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #666;
}

.news-empty-state p {
    font-size: 16px;
}

/* ========================================
   AJUSTES PARA SINGLE POST
   ======================================== */

.single-noticia .entry-header {
    margin-bottom: 30px;
}

.single-noticia .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.single-noticia .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}


.card-principal {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 32px;
    margin-top: 10px;
    margin-bottom: 30px;
    min-height: 320px;
    overflow: hidden;
}

.card-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    flex-shrink: 0;
    width: 320px;
    height: 100%;
    min-height: 320px;
}

.card-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-img img {
    width: 100%;
    height: 100%;
    min-width: 320px;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: transform 0.4s ease;
    display: block;
}

.card-img:hover img {
    transform: scale(1.08);
}

.card-titulo {
    flex: 1;
    padding: 24px 28px 24px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-titulo a {
    text-decoration: none;
    color: inherit;
}

.card-titulo-aga2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 16px;
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
}

.card-titulo a:hover .card-titulo-aga2 {
    color: #5c5e5d;
}

.card-titulo-pe {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin: 0;
}


@media (max-width: 768px) {
    .card-principal {
        flex-direction: column;
        padding: 0;
        gap: 0;
        margin-bottom: 24px;
        width: 100%;
        min-height: auto;
    }

    .card-img {
        width: 100%;
        height: 280px;
        min-height: 280px;
        border-radius: 20px 20px 0 0;
        border-bottom-left-radius: 0;
    }

    .card-img img {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 280px;
        border-radius: 20px 20px 0 0;
        border-bottom-left-radius: 0;
    }

    .card-titulo {
        padding: 24px 20px;
    }

    .card-titulo-aga2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .card-titulo-pe {
        font-size: 15px;
    }
}


/* ========================================
   SINGLE NOTÍCIA - TEMPLATE
   ======================================== */

.noticia-single-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.noticia-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.noticia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.noticia-container-narrow {
    max-width: 800px;
}

.noticia-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.noticia-logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.noticia-logo .site-name {
    display: inline-block;
}

.noticia-nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.noticia-nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.noticia-nav-links a:hover,
.noticia-nav-links a.active {
    color: #3498db;
}

.noticia-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.noticia-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

/* Main Content */
.noticia-single-main {
    flex: 1;
    background: #f8f9fa;
}

.noticia-single-article {
    background: #fff;
}

/* Header da Notícia */
.noticia-single-header {
    padding: 60px 20px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.noticia-badge-destaque {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-single-title {
    font-size: 42px;
    line-height: 1.3;
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-weight: 800;
}

.noticia-single-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #666;
    font-size: 15px;
}

.noticia-single-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.noticia-single-meta svg {
    opacity: 0.7;
}

/* Imagem Destacada */
.noticia-single-featured-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.noticia-single-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Conteúdo */
.noticia-single-content {
    padding: 60px 20px;
}

.noticia-single-excerpt {
    font-size: 20px;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.noticia-single-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
}

.noticia-single-text p {
    margin-bottom: 20px;
}

.noticia-single-text h2,
.noticia-single-text h3,
.noticia-single-text h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

.noticia-single-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.noticia-single-text ul,
.noticia-single-text ol {
    margin: 20px 0 20px 30px;
}

.noticia-single-text li {
    margin-bottom: 10px;
}

/* Compartilhamento */
.noticia-single-share {
    margin: 50px 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.noticia-single-share h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #2c3e50;
}

.noticia-share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.noticia-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #fff;
}

.noticia-share-facebook {
    background: #1877f2;
}

.noticia-share-facebook:hover {
    background: #0d65d9;
}

.noticia-share-twitter {
    background: #1da1f2;
}

.noticia-share-twitter:hover {
    background: #0c8bd9;
}

.noticia-share-whatsapp {
    background: #25d366;
}

.noticia-share-whatsapp:hover {
    background: #1da851;
}

.noticia-share-email {
    background: #666;
}

.noticia-share-email:hover {
    background: #444;
}

/* Navegação Anterior/Próxima */
.noticia-single-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e0e0e0;
}

.noticia-nav-link {
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.noticia-nav-link:hover {
    background: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.noticia-nav-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.noticia-nav-title {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

.noticia-nav-next {
    text-align: right;
}

/* Footer */
.noticia-footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 0;
    margin-top: auto;
}

.noticia-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.noticia-footer-column h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #fff;
}

.noticia-footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.noticia-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.noticia-footer-column ul li {
    margin-bottom: 12px;
}

.noticia-footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.noticia-footer-column ul li a:hover {
    color: #fff;
}

.noticia-social-links {
    display: flex;
    gap: 15px;
}

.noticia-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.noticia-social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.noticia-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.noticia-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    .noticia-mobile-toggle {
        display: flex;
    }
    
    .noticia-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 15px;
    }
    
    .noticia-nav-links.active {
        display: flex;
    }
    
    .noticia-single-title {
        font-size: 28px;
    }
    
    .noticia-single-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .noticia-single-excerpt {
        font-size: 17px;
        padding: 20px;
    }
    
    .noticia-single-text {
        font-size: 16px;
    }
    
    .noticia-share-buttons {
        flex-direction: column;
    }
    
    .noticia-share-btn {
        justify-content: center;
    }
    
    .noticia-single-navigation {
        grid-template-columns: 1fr;
    }
    
    .noticia-nav-next {
        text-align: left;
    }
    
    .noticia-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}