/* Estilos principais para Eventos PT-BR */



/* CARD HORIZONTAL (seu estilo) */

.card-horizontal {

    max-width: 100% !important;
    width: 80%;
    min-height: 380px;

    margin: 20px auto;

    border-radius: 15px;

    overflow: hidden;

    background-color: #f2f2f2;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    border: none;

    /* height: 350px; */

}

.card-horizontal .card-body {
    padding: 3rem 4rem !important;
}

.card-img-left {
    min-height: 380px;

    object-fit: cover;

    height: 100%;

    width: 100%;

}



.event-date-box {

    position: absolute;

    top: 0px;

    left: 15px;

    background-color: #3167b0;

    color: #fff;

    padding: 10px 15px;

    border-radius: 8px;

    text-align: center;

    font-weight: bold;

    line-height: 1.2;

    min-width: 70px;

    z-index: 2;
    /* Garante que a caixa de data fique acima da imagem */

}



.event-date-box span {

    display: block;

}



.event-date-box span:first-child {

    font-size: 1.1rem;

    margin-bottom: 2px;

}



.event-date-box span:last-child {

    font-size: 1.8rem;

    line-height: 1;

}



.event-info i {

    margin-right: 8px;

    color: #3167b0;

}



.event-info p {

    margin-bottom: 5px;

    color: #555;

}



.card-title {

    color: #3167b0;

    font-weight: bold;

    font-size: 1.5rem;

    margin-bottom: 1rem;

}



.card-text {

    color: #666;

    line-height: 1.6;

    margin-bottom: 1.5rem;

    flex-grow: 1;

}



.btn-outline-square {

    display: block;

    margin: 0 auto;

    border: 2px solid #3167b0;

    color: #3167b0;

    background: transparent;

    border-radius: 0;

    padding: 8px 20px;

    font-weight: bold;

    width: fit-content;

    transition: all 0.3s ease;

    text-decoration: none;

    text-align: center;

}



.btn-outline-square:hover {

    background-color: #3167b0;

    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 4px 8px rgba(49, 103, 176, 0.3);

}



/* CARD PARA SLIDER */

.card-horizontal-slider {

    border-radius: 15px;

    overflow: hidden;

    background-color: #f2f2f2;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    border: none;

    height: 100%;

    transition: transform 0.3s ease;

}



.card-horizontal-slider:hover {

    transform: translateY(-5px);

}



.card-horizontal-slider .card-img-top {

    height: 200px;

    object-fit: cover;

}



.card-horizontal-slider .event-date-box {

    top: 10px;

    left: 10px;

    padding: 8px 12px;

    min-width: 60px;

}



.card-horizontal-slider .event-date-box span:first-child {

    font-size: 0.9rem;

}



.card-horizontal-slider .event-date-box span:last-child {

    font-size: 1.5rem;

}



.card-horizontal-slider .card-title {

    margin-bottom: 0.75rem;

}



.card-horizontal-slider .card-text {

    font-size: 0.9rem;

    margin-bottom: 1rem;

}



.card-horizontal-slider .event-info p {

    font-size: 0.85rem;

    margin-bottom: 3px;

}



.card-horizontal-slider .btn-outline-square {

    padding: 6px 15px;

    font-size: 0.9rem;

}



/* Grid de eventos */

.eventos-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 30px;

    max-width: 100% !important;
    width: 100%;

    margin: 0 auto;

}



/* Slider Swiper */

.slider-proximos-eventos {

    /* position: relative;

    max-width: 100%;
*/
    position: relative;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 60px;

}



.eventosSwiper {

    /* padding: 20px 10px 40px;
    padding: 20px 60px 40px !important; */
    padding: 20px 0 40px;
    width: 100%;
    overflow: hidden;

}



.swiper-slide {

    height: auto;

    display: flex;

    justify-content: center;
}



.swiper-slide>* {

    width: 100%;

    /* max-width: 100%; */

}

.slider-proximos-eventos .swiper-button-prev {
    left: 5px;
}

.slider-proximos-eventos .swiper-button-next {
    right: 5px;
}

/* 5. Ajuste para telas menores: encurta o corredor de segurança para os cards não ficarem espremidos */
@media (max-width: 768px) {
    .slider-proximos-eventos {
        padding: 0 40px;
    }

    .slider-proximos-eventos .swiper-button-prev {
        left: 0;
    }

    .slider-proximos-eventos .swiper-button-next {
        right: 0;
    }
}

.swiper-button-next,

.swiper-button-prev {

    color: #3167b0;

    background: rgba(255, 255, 255, 0.9);

    width: 50px;

    height: 50px;

    border-radius: 50%;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    border: 1px solid #3167b0;


}

/* .swiper-button-next {
    left: 10px;
} */


.swiper-button-next:after,

.swiper-button-prev:after {

    font-size: 20px;

}



/* Seletor de anos */

.seletor-anos h2 {

    font-size: 3rem;

    font-weight: 900;

    letter-spacing: -1px;

    color: #3167b0;

}



.ano-selecionado {

    font-weight: 600;

    color: #3167b0;

}



.dropdown-menu {

    max-height: 300px;

    overflow-y: auto;

}



.ano-option:hover {

    background-color: #f8f9fa;

    color: #3167b0;

}



/* Menu de meses */

.btn-mes {

    transition: all 0.3s ease;

    font-weight: 600;

    letter-spacing: 0.5px;

    border-width: 2px;

    color: #666;

    border-color: #ddd;

}



.btn-mes:hover {

    background-color: #3167b0;

    color: white;

    border-color: #3167b0;

    transform: translateY(-2px);

}



.btn-mes.ativo {

    background-color: #3167b0;

    color: white;

    border-color: #3167b0;

}



/* Container responsivo */

.eventos-mes-ano-section .container {

    max-width: 100% !important;

    padding-left: 20px;

    padding-right: 20px;

}



/* Responsividade */

@media (max-width: 768px) {

    .card-horizontal {

        height: auto;
        width: 100% !important;
        max-width: 100%;
    }



    .card-horizontal .row {

        flex-direction: column !important;

    }



    .card-horizontal .col-md-6 {

        width: 100%;

    }



    .card-img-left {

        height: 250px;

    }



    .card-body {

        padding: 1.5rem !important;
    }

    .card-horizontal .card-body {
        padding: 2rem 3rem !important;
    }



    .card-title {

        font-size: 1.3rem;

    }



    .seletor-anos h2 {

        font-size: 2rem;

    }



    .btn-mes {

        padding: 8px 16px !important;

        font-size: 0.875rem;

    }



    .swiper-button-next,

    .swiper-button-prev {

        width: 40px;

        height: 40px;

    }

}



@media (max-width: 576px) {

    .eventos-grid {

        gap: 20px;

    }



    .menu-meses-nav .d-flex {

        gap: 8px !important;

    }



    .btn-mes {

        padding: 6px 12px !important;

        font-size: 0.75rem;

    }



    .seletor-anos h2 {

        font-size: 1.8rem;

    }



    .event-date-box {

        top: 10px;

        left: 10px;

        padding: 8px 12px;

        min-width: 60px;

    }



    .event-date-box span:first-child {

        font-size: 0.9rem;

    }



    .event-date-box span:last-child {

        font-size: 1.5rem;

    }

}



/* Animações */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.eventos-grid .col {

    animation: fadeInUp 0.5s ease forwards;

    opacity: 0;

}

/* === NOVOS ESTILOS PARA O MENU === */

/* === MENU DE MESES - ESTILO CORRETO === */



/* Container principal */

.menu-meses {

    background-color: #fff;

    padding: 10px 0;

    margin-bottom: 0px;

}



.menu-container {

    display: flex;

    flex-wrap: nowrap;

    align-items: center;

    gap: 40px !important;

}

.eventos-mes-ano-section .titulo-evento {
    font-size: 70px;
    margin-bottom: 0px;
}

img.img-titulo {
    margin-bottom: 10px;
}

/* Dropdown de anos */

.menu-meses .dropdown-toggle {

    color: #3167b0;

    font-weight: bold;

    padding: 8px 12px;

    background: none;

    border: none;

    display: flex;

    align-items: center;

    gap: 5px;

}



.menu-meses .dropdown-toggle:hover {

    color: #2a5899;

}



.menu-meses .dropdown-toggle i {

    font-size: 0.8rem;

}



.menu-meses .dropdown-menu {

    border: 1px solid #eee;

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

    border-radius: 8px;

    padding: 5px 0;

}



.menu-meses .dropdown-item {

    color: #3167b0;

    padding: 8px 16px;

    font-weight: 500;

    transition: all 0.2s ease;

    border: none;

    background: none;

    text-align: left;

    width: 100%;

}

.menu-meses {

    justify-content: center;

    display: flex;

}

.menu-meses .dropdown-item:hover {

    background-color: #f8f9fa;

    color: #2a5899;

}



/* Lista de meses */

.menu-meses .nav {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin: 0;

    padding: 0;

}



.menu-meses .nav-link {

    font-size: 16pt;
    font-family: 'Garamond' !important;

    color: #3167b0;

    font-weight: bold;

    padding: 2px 5px;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.2s ease;

    border: none;

    background: none;

    border-radius: 4px;

}



.menu-meses .nav-link:hover {

    background-color: #f8f9fa;

    color: #2a5899;

}



.menu-meses .nav-link.ativo {

    font-weight: bold;

    border-bottom: 2px solid #3167b0;

    background-color: transparent;

    color: #3167b0;

}



/* Responsividade */

@media (max-width: 768px) {

    .menu-container {

        justify-content: center;

    }



    .menu-meses .nav-link {

        padding: 6px 10px;

        font-size: 0.9rem;

    }

}



@media (max-width: 576px) {

    .menu-container {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }



    .menu-meses .nav {

        width: 100%;

        justify-content: center;

    }



    .menu-meses .nav-link {

        padding: 5px 8px;

        font-size: 0.8rem;

    }

}



.banner-evento-full {

    position: relative;

    width: 100%;

    overflow: hidden;

}

.banner-img {

    width: 100%;

    height: auto;

    display: block;

}

.banner-overlay {

    position: absolute;

    bottom: 20px;

    left: 30px;

    background: rgba(0, 0, 0, 0.6);

    padding: 20px;

    color: white;

}

.titulo-evento-banner {

    font-size: 2.5rem;

    margin: 0;

}

.info-evento p {

    font-size: 1.2rem;

    margin-bottom: 10px;

}

/* ============================================
   SINGLE EVENTO - LAYOUT 2 COLUNAS COM ÍCONES
   ============================================ */

.single-evento-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* GRID 2 COLUNAS - imagem menor */
.evento-grid {
    display: grid;
    grid-template-columns: 535px 1fr;
    gap: 40px;
    align-items: start;
}

/* ============================================
   COLUNA 1 - IMAGEM (795x531 reduzida)
   ============================================ */

.evento-col-imagem {
    position: relative;
}

.evento-imagem {
    width: 100%;
    max-width: 531px;
    overflow: hidden;
}

.evento-imagem img {
    width: 100%;
    height: auto;
    display: block;

    object-fit: cover;
}

/* Placeholder caso não tenha imagem */
.evento-imagem-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 795 / 531;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    border: 2px dashed #ddd;
}

/* ============================================
   COLUNA 2 - CONTEÚDO
   ============================================ */

.evento-col-conteudo {
    padding-top: 10px;
}

/* TÍTULO */
.evento-titulo {
    font-size: 32px;
    font-weight: 700;
    color: #014EA8;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* DESCRIÇÃO */
.evento-descricao {
    font-size: 16px;
    line-height: 1.4;
    color: #555555;
}

.evento-descricao p {
    margin-bottom: 16px;
}

.evento-descricao p:last-child {
    margin-bottom: 0;
}

/* DIVISOR - TRAÇO */
.evento-divisor {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 20px 0;
    width: 100%;
}

/* LINK "VER OUTROS EVENTOS" */
.evento-link {
    margin: 20px 0;
}

.evento-link a {
    color: #3167b0;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    border: 2px solid #3167b0;
    padding: 10px 15px 10px 15px;
}

.evento-link a:hover {
    color: #1a4a7a;
    text-decoration: underline;

}

/* ============================================
   DATA E HORA COM ÍCONES
   ============================================ */

.evento-meta {

    display: flex;
    flex-direction: column;
    gap: 0px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #1a1a1a;
}

.meta-item i {
    color: #3167b0;
    font-size: 24px;
    width: 24px;
    text-align: center;
}

.meta-item span {
    color: #3167b0;
    font-weight: 500;
}

p.resumo .ver-mais {
    color: #3167b0;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .evento-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .evento-imagem {
        max-width: 100%;
    }

    .evento-imagem-placeholder {
        max-width: 100%;
    }
}

/* Tablet pequeno / Mobile grande */
@media (max-width: 768px) {
    .single-evento-wrapper {
        padding: 20px 15px;
    }

    .evento-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .evento-col-conteudo {
        padding-top: 0;
    }

    .evento-imagem {
        max-width: 100%;
        aspect-ratio: 795 / 531;
    }

    .evento-imagem img {
        aspect-ratio: 795 / 531;
        height: auto;
        object-fit: cover;
    }

    .evento-imagem-placeholder {
        max-width: 100%;
        aspect-ratio: 795 / 531;
    }

    .evento-titulo {
        font-size: 26px;
    }

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

/* Mobile */
@media (max-width: 480px) {
    .single-evento-wrapper {
        padding: 15px 10px;
    }

    .evento-titulo {
        font-size: 22px;
    }

    .evento-descricao {
        font-size: 15px;
        line-height: 1.6;
    }

    .evento-divisor {
        margin: 15px 0;
    }

    .evento-link a {
        font-size: 15px;
    }

    .meta-item {
        font-size: 14px;
    }

    .meta-item i {
        font-size: 18px;
        width: 20px;
    }

    .evento-link {
        text-align: center;
    }
}