/* ==========================================================
   PÁGINA DE EVENTOS
========================================================== */

.pagina-eventos {
    padding: 70px 0 90px;
    background: #f8f9fa;
    min-height: 70vh;
}


/* ==========================================================
   CARD
========================================================== */

.evento-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}


.evento-card-imagem {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f3f5;
}


.evento-card-imagem img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}


.evento-card:hover .evento-card-imagem img {
    transform: scale(1.05);
}


/* ==========================================================
   DATA
========================================================== */

.evento-data-box {
    position: absolute;
    left: 15px;
    bottom: 15px;

    width: 58px;
    height: 64px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #fff;

    box-shadow: 0 4px 12px rgba(0,0,0,.15);

    text-align: center;
}


.evento-data-box strong {
    font-size: 23px;
    line-height: 1;
}


.evento-data-box small {
    margin-top: 4px;
    color: #0d6efd;
    font-size: 11px;
    font-weight: 700;
}


/* ==========================================================
   CONTEÚDO
========================================================== */

.evento-card-conteudo {
    padding: 22px;
}


.evento-tipo {
    display: inline-block;
    margin-bottom: 10px;
    color: #0d6efd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}


.evento-card h2 {
    margin: 0 0 15px;
    font-size: 21px;
    line-height: 1.3;
}


.evento-card h2 a {
    color: #212529;
    text-decoration: none;
}


.evento-card h2 a:hover {
    color: #0d6efd;
}


.evento-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 13px;
}


.evento-meta div {
    display: flex;
    align-items: center;
    gap: 7px;
}


.evento-card p {
    margin-bottom: 18px;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}


.evento-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


/* ==========================================================
   SEM IMAGEM
========================================================== */

.evento-sem-imagem {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #adb5bd;
    font-size: 55px;
}


/* ==========================================================
   EVENTO INDIVIDUAL
========================================================== */

.evento-publico {
    padding: 60px 0 90px;
    background: #fff;
}


.evento-voltar {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 30px;
    color: #6c757d;
    font-size: 14px;
    text-decoration: none;
}


.evento-voltar:hover {
    color: #0d6efd;
}


.evento-publico-header {
    max-width: 950px;
    margin: 0 auto 35px;
}


.evento-publico-header h1 {
    margin: 0 0 20px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 800;
}


.evento-publico-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #6c757d;
    font-size: 14px;
}


.evento-publico-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}


/* ==========================================================
   IMAGEM
========================================================== */

.evento-publico-imagem {
    max-width: 1200px;
    margin: 0 auto 45px;
}


.evento-publico-imagem img {
    width: 100%;
    max-height: 650px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}


/* ==========================================================
   LAYOUT
========================================================== */

.evento-publico-layout {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
}


.evento-publico-conteudo {
    min-width: 0;
}


.evento-resumo {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #0d6efd;
    color: #495057;
    font-size: 18px;
    line-height: 1.7;
}


.evento-texto {
    color: #343a40;
    font-size: 17px;
    line-height: 1.85;
}


.evento-texto img {
    max-width: 100%;
    height: auto;
}


.evento-texto p {
    margin-bottom: 1.4em;
}


/* ==========================================================
   INFORMAÇÕES
========================================================== */

.evento-informacoes {
    align-self: start;

    padding: 25px;

    border: 1px solid #e9ecef;
    border-radius: 12px;

    background: #f8f9fa;
}


.evento-informacoes h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
}


.evento-info-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}


.evento-info-item:last-of-type {
    border-bottom: 0;
}


.evento-info-item > i {
    color: #0d6efd;
    font-size: 20px;
}


.evento-info-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.evento-info-item small {
    color: #6c757d;
    font-size: 11px;
}


.evento-info-item strong {
    font-size: 14px;
}


/* ==========================================================
   VAZIO
========================================================== */

.eventos-vazio {
    padding: 80px 20px;
    text-align: center;
    color: #6c757d;
}


.eventos-vazio i {
    display: block;
    margin-bottom: 20px;
    color: #adb5bd;
    font-size: 60px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 991.98px) {

    .evento-publico-layout {
        grid-template-columns: 1fr;
    }

    .evento-informacoes {
        max-width: 600px;
    }

}


@media (max-width: 767.98px) {

    .pagina-eventos {
        padding: 45px 0 60px;
    }

    .evento-publico {
        padding: 40px 0 60px;
    }

    .evento-publico-header h1 {
        font-size: 34px;
    }

    .evento-publico-meta {
        flex-direction: column;
        gap: 8px;
    }

    .evento-texto {
        font-size: 16px;
    }

}