/* ======= GERAL ======= */
:is(.NewsView) {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:is(.NewsView) .pagetitle {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

:is(.NewsView) .pagetitle h1 {
    color: #012970;
    font-weight: 700;
}

/* ======= BREADCRUMB ======= */
:is(.NewsView) .breadcrumb {
    background: none;
    padding: 0;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

:is(.NewsView) .breadcrumb-item a {
    text-decoration: none;
    color: #6c757d;
}

:is(.NewsView) .breadcrumb-item.active {
    color: #999;
}

/* ======= LISTA DE ITENS (NOTÍCIAS / PUBLICAÇÕES) ======= */
:is(.NewsView) .news-block {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

:is(.NewsView) .news-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

:is(.NewsView) .news-block-title h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

:is(.NewsView) .news-block-title-link {
    text-decoration: none;
    color: #012970;
}

:is(.NewsView) .news-block-title-link:hover {
    color: #0d6efd;
}

:is(.NewsView) .news-block-top {
    margin-bottom: 1rem;
}

:is(.NewsView) .news-block-info {
    margin-top: 1rem;
}

:is(.NewsView) .news-block-body p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

/* ======= METADADOS ======= */
:is(.NewsView) .news-block-date,
:is(.NewsView) .news-block-author {
    font-size: 0.85rem;
    color: #666;
}

/* ======= CATEGORIA BADGE ======= */
:is(.NewsView) .news-category-block a {
    background-color: #e9ecef;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.25rem;
}

:is(.NewsView) .news-category-block a:hover {
    background-color: #dbe4f0;
    color: #012970;
}

/* ======= SIDEBAR - BUSCA ======= */
.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.search-form button {
    background-color: #012970;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
}

/* ======= ITENS RECENTES ======= */
:is(.NewsView) .recentNews h5 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    font-weight: 600;
}

:is(.NewsView) .news-block-two-col {
    display: flex;
    align-items: flex-start;
}

:is(.NewsView) .news-block-two-col-image-wrap img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

:is(.NewsView) .news-block-two-col-info {
    flex: 1;
}

:is(.NewsView) .news-block-two-col-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
}

:is(.NewsView) .news-block-two-col-info a {
    text-decoration: none;
    color: #012970;
}

:is(.NewsView) .news-block-two-col-info a:hover {
    color: #0d6efd;
}

:is(.NewsView) .news-block-date {
    font-size: 0.75rem;
    color: #777;
}

/* ======= CATEGORIAS ======= */
:is(.NewsView) .category-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-top: 2rem;
}

:is(.NewsView) .category-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #012970;
}

:is(.NewsView) .category-card ul {
    padding-left: 0;
    margin: 0;
}

:is(.NewsView) .category-card li {
    list-style: none;
}

:is(.NewsView) .category-card a {
    text-decoration: none;
    color: #333;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

:is(.NewsView) .category-card a:hover {
    color: #0d6efd;
    font-weight: 500;
}

/* ======= PAGINAÇÃO ======= */
:is(.NewsView) .pagination .page-link {
    border-radius: 4px;
    padding: 6px 12px;
    margin: 0 3px;
    color: #012970;
    border: 1px solid #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

:is(.NewsView) .pagination .page-link:hover {
    background-color: #f1f1f1;
}

:is(.NewsView) .pagination .page-link.active,
:is(.NewsView) .pagination .page-link.active:hover {
    background-color: #012970;
    color: white;
    font-weight: bold;
    border-color: #012970;
}

/* ======= IMAGENS COM HOVER ======= */
:is(.NewsView) .news-block img,
:is(.NewsView) .news-block-two-col img {
    max-width: 100%;
    height: auto;
    transition: transform 0.2s ease;
    border-radius: 6px;
}

:is(.NewsView) .news-block img:hover,
:is(.NewsView) .news-block-two-col img:hover {
    transform: scale(1.01);
}