/* Estilos para a página de eventos - Layout atualizado conforme referência */

.events-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-subtitle {
    color: #003366;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    color: #003366;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
}

.filtros-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Card de evento - Layout horizontal com barra lateral */
.evento-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Barra lateral com a data */
.evento-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #003366;
    color: #fff;
    padding: 20px 25px;
    min-width: 100px;
    text-align: center;
}

.evento-data .dia {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.evento-data .mes {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.evento-data .ano {
    font-size: 14px;
}

/* Conteúdo do evento */
.evento-conteudo {
    padding: 25px;
    flex-grow: 1;
}

.evento-titulo {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.evento-categoria {
    display: inline-block;
    background-color: #e9f0f8;
    color: #003366;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.evento-info-container {
    margin-bottom: 15px;
}

.evento-info {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    margin-right: 20px;
}

.evento-info i {
    color: #003366;
    margin-right: 8px;
    font-size: 16px;
}

.evento-descricao {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.evento-acoes {
    display: flex;
    gap: 10px;
}

.btn-detalhes {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid #003366;
    color: #003366;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-detalhes:hover {
    background-color: #003366;
    color: #fff;
}

.btn-inscrever {
    padding: 8px 16px;
    background-color: #003366;
    border: 1px solid #003366;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-inscrever:hover {
    background-color: #002347;
    border-color: #002347;
}

/* Estilos para a visualização de evento individual */
.event-post {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.event-meta {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.event-meta h5 {
    color: #003366;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-meta i {
    color: #003366;
}

.event-image {
    margin-bottom: 30px;
}

.event-content {
    line-height: 1.8;
}

.alerta-sem-eventos {
    background-color: #f8f9fa;
    border-left: 4px solid #003366;
    padding: 20px;
    border-radius: 4px;
    color: #666;
    text-align: center;
    font-size: 16px;
}

/* Título da página */
.eventos-titulo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.eventos-titulo h1 {
    font-weight: 600;
    color: #0a3d62;
    margin-bottom: 0.5rem;
}

.divider {
    height: 4px;
    width: 80px;
    background-color: #f39c12;
    margin: 0 auto;
}

/* Filtros */
.filtros-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filtros-container label {
    font-weight: 600;
    color: #0a3d62;
}

.filtros-container .form-select {
    border-color: #dee2e6;
    color: #495057;
}

.filtros-container .btn-filtrar {
    background-color: #0a3d62;
    border-color: #0a3d62;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

.filtros-container .btn-filtrar:hover {
    background-color: #0c4b7d;
}

/* Cards de eventos */
.evento-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    width: 100%;
    background-color: white;
    display: flex;
    height: auto;
}

.evento-card:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.evento-data {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    width: 55px;
    min-width: 55px;
    margin-right: 0;
}

.evento-conteudo {
    flex: 1;
    padding: 15px 20px;
}

.evento-data .dia {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding-top: 10px;
}

.evento-data .mes {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    margin: 0;
    padding: 2px 0;
}

.evento-data .ano {
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0;
    padding-bottom: 10px;
}

.evento-detalhes {
    padding: 0.75rem 1rem;
    width: 100%;
}

.evento-titulo {
    color: #004080;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    margin-top: 0;
}

.evento-categoria {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    background-color: #e9ecef;
    color: #495057;
    text-transform: capitalize;
}

.evento-categoria.saude {
    background-color: #cfe8fc;
    color: #0d47a1;
}

.evento-categoria.social {
    background-color: #c8e6c9;
    color: #1b5e20;
}

.evento-categoria.educacao {
    background-color: #ffe0b2;
    color: #e65100;
}

.evento-categoria.cultura {
    background-color: #e1bee7;
    color: #6a1b9a;
}

.evento-categoria.geral {
    background-color: #e0e0e0;
    color: #424242;
}

.evento-info-container {
    margin-bottom: 1rem;
}

.evento-info {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

.evento-info i {
    width: 20px;
    margin-right: 5px;
    color: #555;
}

.evento-descricao {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.evento-acoes {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
}

.btn-detalhes {
    background-color: #6c757d;
    border: none;
    color: white;
    font-weight: 400;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    text-decoration: none !important;
    display: inline-block;
    text-transform: none;
}

.btn-detalhes:hover {
    background-color: #5a6268;
    color: white;
    text-decoration: none !important;
}

.btn-inscrever {
    background-color: #004080;
    border: none;
    color: white;
    font-weight: 400;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    text-decoration: none !important;
    display: inline-block;
    text-transform: none;
}

.btn-inscrever:hover {
    background-color: #0c4b7d;
    text-decoration: none;
}

/* Mensagem de nenhum evento */
.alerta-sem-eventos {
    background-color: #e3f2fd;
    color: #0a3d62;
    border-left: 4px solid #0a3d62;
    padding: 1rem;
    border-radius: 4px;
}

/* Responsividade */
@media (max-width: 767px) {
    .evento-data {
        border-radius: 8px 8px 0 0;
        padding: 0.5rem;
    }
    
    .evento-data .dia {
        font-size: 1.5rem;
    }
    
    .evento-card .row {
        flex-direction: column;
    }
    
    .evento-detalhes {
        padding: 1rem;
    }
}
