
/* =========================================================
   APRESENTAÇÃO - EVENTOS EEFFTO
   ========================================================= */

.eeffto-home-intro {
    margin: 5px 0 30px;
    padding: 25px 30px;
    background: #f7fafc;
    border-left: 5px solid #13a98b;
    border-radius: 6px;
}

.eeffto-home-label {
    display: block;
    margin-bottom: 5px;
    color: #0a9b8c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.eeffto-home-intro h2 {
    margin: 0 0 15px;
    color: #084b78;
    font-size: 26px;
}

.eeffto-home-intro p {
    max-width: 900px;
    margin: 7px 0;
    color: #536776;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   CATEGORIAS
   ========================================================= */

#category-list {
    margin: 30px 0 18px;
    color: #084b78;
    font-size: 24px;
    font-weight: 700;
}


/* Grade de categorias */

ul.category-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;

    margin: 0 0 35px !important;
    padding: 0 !important;

    list-style: none !important;
}


/* Card */

ul.category-list > li {
    position: relative;

    display: flex !important;
    flex-direction: column;
    justify-content: center;

    min-height: 105px;

    margin: 0 !important;
    padding: 20px 55px 18px 24px !important;

    background: #ffffff;

    border: 1px solid #dce7ed !important;
    border-left: 5px solid #13a98b !important;
    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(20, 65, 90, 0.06);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}


/* Efeito ao passar o mouse */

ul.category-list > li:hover {
    transform: translateY(-3px);

    border-color: #9edbd0 !important;
    border-left-color: #0875a5 !important;

    box-shadow: 0 7px 18px rgba(20, 65, 90, 0.13);
}


/* Nome da categoria */

ul.category-list > li > a.name {
    display: block !important;

    margin: 0 0 10px !important;

    color: #07547f !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3;

    text-decoration: none !important;
}


/* Nome ao passar o mouse */

ul.category-list > li > a.name:hover {
    color: #0a9b8c !important;
}


/* Informações inferiores */

ul.category-list > li > .category-description {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: 0 !important;

    color: #738694 !important;

    font-size: 12px !important;
}


/* Quantidade de eventos */

ul.category-list .number-events:not(:empty) {
    padding: 4px 9px;

    background: #edf6fa;

    color: #07547f;

    border-radius: 20px;

    font-weight: 600;
}


/* Categoria pública */

ul.category-list .protection {
    display: inline-flex !important;
    align-items: center;

    padding: 4px 9px !important;

    background: #f4f6f7;

    color: #657984 !important;

    border-radius: 20px;

    font-size: 11px !important;
    font-weight: 600;
}


/* Categoria protegida */

ul.category-list .protection:not(.not-protected) {
    background: #fff3e7;

    color: #9a5a18 !important;
}


/* Seta do lado direito */

ul.category-list > li::after {
    content: "›";

    position: absolute;

    top: 50%;
    right: 22px;

    transform: translateY(-50%);

    color: #13a98b;

    font-size: 32px;
    font-weight: 300;

    line-height: 1;

    transition: transform 0.18s ease;
}

ul.category-list > li:hover::after {
    transform: translate(4px, -50%);

    color: #07547f;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 850px) {

    ul.category-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .eeffto-home-intro {
        padding: 20px;
    }

    .eeffto-home-intro h2 {
        font-size: 22px;
    }

    ul.category-list > li {
        padding: 18px 45px 16px 18px !important;
    }

}
/* Oculta o título padrão "Todos os eventos" da página inicial */
.category-title {
    display: none !important;
}
