:root {
    --main-red: #e40046;
    --main-gray: #dfdfe1;
    --hover-gray: #343640;
}

@font-face {
    font-family: Inter-Regular;
    src: url(./../fonts/Inter/Inter-Regular.ttf);
}
@font-face {
    font-family: Inter-Bold;
    src: url(./../fonts/Inter/Inter-Bold.ttf);
}
@font-face {
    font-family: Inter-Thin;
    src: url(./../fonts/Inter/Inter-Thin.ttf);
}
@font-face {
    font-family: IBM-Regular;
    src: url(./../fonts/IBM_Plex_Sans/IBMPlexSans-Regular.ttf);
}
@font-face {
    font-family: IBM-Bold;
    src: url(./../fonts/IBM_Plex_Sans/IBMPlexSans-Bold.ttf);
}
@font-face {
    font-family: IBM-Thin;
    src: url(./../fonts/IBM_Plex_Sans/IBMPlexSans-Thin.ttf);
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #fffffffc !important;
}
p {
    font-family: Inter-Regular !important;
}
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}
/* Bloque buscador */
#input-search {
    width: 235px !important;
    height: 42px !important;
    font-size: 18px;
}
#input-search::placeholder {
    color: rgb(32, 30, 30);
}
#navbarSupportedContent {
    order: 1;
}
#navbarSearch {
    order: 2;
}
.search-bar-block {
    position: absolute;
    top: -20px;
    right: 8px;
    max-width: 325px;
}
.search-bar-block .form-search .clear-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.search-bar-block .result-item {
    background-color: white !important;
    color: rgba(0, 0, 0, 0.792) !important;
    font-weight: 600;
}

.search-bar-block .result-item:hover {
    background-color: rgb(239, 238, 238) !important;
    color: black !important;
}
.search-bar-block .result-item:first-child {
    margin-top: 22px;
}

/* MQ: Bloque buscador */
@media (max-width: 991px) {
    #input-search {
        margin-top: 10px;
        width: 340px !important;
    }
    #navbarSupportedContent {
        order: 2;
    }
    #navbarSearch {
        order: 1;
    }
    .barra_de_busqueda {
        height: 60px;
    }
    .search-bar-block {
        top: 0px;
        left: 0px;
        height: 60px;
    }
}

/* Carousel */

.carousel .carousel-cell .flickity-page-dots {
    bottom: 0px;
}
.carousel .carousel-cell .flickity-page-dots .dot {
    width: 12px;
    height: 12px;
    opacity: 1;
    background: transparent;
    border: 2px solid var(--main-gray);
}
.carousel .carousel-cell .flickity-page-dots .dot.is-selected {
    background: var(--main-red);
}
.carousel .flickity-prev-next-button {
    width: 30px;
    height: 30px;
    border-radius: 50% 50%;
    background: var(--main-gray);
}
.carousel .flickity-prev-next-button:hover {
    background: var(--hover-gray);
}
/* arrow color */
.carousel .flickity-prev-next-button .arrow {
    fill: white;
}
.carousel .flickity-prev-next-button.no-svg {
    color: white;
}
/* position outside */
.carousel .flickity-prev-next-button.previous {
    left: -40px;
}
.carousel .flickity-prev-next-button.next {
    right: -40px;
}
/* Bloque Evento */
.events__page {
    margin-top: 75px;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    font-family: IBM-Regular;
}
.breadcrumbs .link {
    font-weight: 400;
}
.breadcrumbs .link:hover {
    border-bottom: 1px solid black;
    padding-bottom: 2px;
}
.breadcrumbs .link-active {
    font-family: IBM-Bold;
}
.breadcrumbs .link-active:hover {
    border: none;
}
/* header */
.events__title {
    font-family: IBM-Bold !important ;
}
.events__header .events__subtitle {
    font-size: 20px;
}
/* Filters */
.events__filter .filter {
    border-radius: 2rem;
    background-color: var(--main-gray);
    color: black;
    font-family: Inter-Bold !important ;
}
.events__filter .filter:hover {
    background-color: var(--hover-gray);
    color: white;
}
.events__filter .filter-active {
    background-color: var(--main-red);
    color: white;
}
.events__filter .filter-active:hover {
    background-color: var(--main-red);
}

/* Items */

.events__item {
    text-align: left;
    vertical-align: top;
    margin-bottom: 4rem;
}
.event-card {
    position: relative;
    padding: 0;
    border: none;
    margin: 0 auto;
    max-width: 400px;
    display: block;
    margin-bottom: 20px;
    line-height: 1.4;
}
.event-img {
    display: block;
    width: auto;
    height: auto;
    max-height: 150px;
    transition: transform 0.3s ease;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 24/9;
}
.event-card:hover .event-img {
    transform: translateY(-10px);
    box-shadow: 0px 2px 10px rgb(0 0 0 / 40%);
}
.event-info {
    min-height: 200px;
    font-family: Inter-Regular;
    padding: 8px;
    color: #333;
}

.event-name {
    font-family: IBM-Bold !important;
    font-size: 22px;
    font-family: "Poppins-Medium";
    /* Corta titulo evento a 2 líneas */
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.event-date,
.event-location,
.event-time {
    display: flex;
    margin-bottom: 4px;
    font-size: 14px;
}
.event-icon {
    /* // width:20px;
            // text-align:center;
            // margin-right:4px; */
    padding-right: 4px;
}
.event-detail {
    padding: 0 4px;
    /* Corta titulo evento a 2 líneas */
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.event-location .event-icon {
    margin-left: 1px;
}
.event-location .event-detail {
    margin-left: 4px;
}

.event-price {
    position: absolute;
    bottom: 0;

    font-family: Inter-Regular;
}
.event-price .price {
    font-family: IBM-Bold;
}
.event-price .price-free {
    font-family: IBM-Bold;
}

/*MQ: Bloque Eventos */
@media (max-width: 430px) {
    .events__subtitle {
        font-size: 14px;
    }

    .events__item {
        margin-bottom: unset;
    }
    .event-info {
        min-height: unset;
    }
    .event-price {
        position: relative;
        margin-top: 12px;
    }
}
@media (min-width: 576px) {
    .event-name {
        font-size: 18px !important;
    }
}
@media (max-width: 576px) {
    .events__subtitle {
        font-size: 14px;
    }
    .events__item {
        margin-bottom: unset;
    }
    .event-info {
        min-height: unset;
    }
    .event-name {
        font-size: 18px !important;
    }

    .event-price {
        position: relative;
        margin-top: 12px;
    }
}

@media (min-width: 576px) {
    .events__item {
        margin-bottom: unset;
    }

    .event-date,
    .event-location,
    .event-time {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .event-name {
        font-size: 22px !important;
    }

    .event-date,
    .event-location,
    .event-time {
        font-size: 16px;
    }
}
