@charset "utf-8";
/* CSS Document */

/* ==========================================================
   ÚLTIMAS NOTÍCIAS — BLOCO ESTILO PORTAL CRCRJ
 ========================================================== */

/* Container da notícia */
#conteudo-dividido .media {
    padding: 15px 0;
    border-bottom: 1px solid #e6e6e6;
    transition: background 0.2s ease, transform 0.2s ease;
}

#conteudo-dividido .media:last-child {
    border-bottom: none;
}

/* Efeito hover (igual portal antigo, sutil) */
#conteudo-dividido .media:hover {
    background: #f9f9f9;
    transform: translateX(4px);
}

/* Thumbnail */
#conteudo-dividido .media img {
    width: 150px;
    height: 100px;
    border-radius: 4px;
    object-fit: cover;
    background: #ddd;
}

/* Data */
#conteudo-dividido .media small {
    font-size: 12px;
    font-weight: 600;
    color: #666 !important;
}

#conteudo-dividido .media small i {
    color: #003366;
}

/* Título da notícia */
#conteudo-dividido .media h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 4px 0;
    line-height: 1.3;
}

#conteudo-dividido .media h5 a {
    color: #222;
    text-decoration: none;
}

#conteudo-dividido .media:hover h5 a {
    color: #003366; /* Azul CRCRJ */
}

/* Resumo */
#conteudo-dividido .media p {
    font-size: 14px;
    color: #777;
    margin: 5px 0 0;
    line-height: 1.4;
    /* Corta a 2 linhas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================
   EVENTOS — ESTILO TARJA
   ========================== */

#conteudo-dividido .list-group-item {
    border: 1px solid #e6e6e6;
    border-left: 5px solid #003366; /* cor CRCRJ */
    border-radius: 0;
    margin-bottom: 10px;
    transition: background 0.2s ease;
}

#conteudo-dividido .list-group-item:hover {
    background: #f3f6fb;
}

/* Título do evento */
#conteudo-dividido .list-group-item h6 {
    font-size: 15px;
    font-weight: 700;
    color: #003366;
    margin: 0;
}

/* Data badge */
#conteudo-dividido .list-group-item .badge-primary {
    background: #003366;
    font-weight: bold;
    padding: 6px 8px;
}

/* Local / detalhes */
#conteudo-dividido .list-group-item p {
    font-size: 13px;
    margin-top: 5px;
    color: #444;
}

/* ==========================
   DIVISÓRIA ENTRE COLUNAS
   ========================== */
.border-right-custom {
    border-right: 1px solid #ddd;
}
@media(max-width: 767px) {
    .border-right-custom {
        border-right: none;
    }
}
