.tfe-eventos {
    width: 100%;
    font-family: Montserrat, Arial, sans-serif
}

.tfe-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin: 0 0 32px;
    padding: 18px;
    background: #1f1f1f;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    color: #e2e2e2
}

.tfe-filtros>div {
    flex: 1 1 180px
}

.tfe-filtros label {
    display: block;
    margin: 0 0 7px;
    color: #ffb2ba;
    font-size: 11px;
    font-weight: 700
}

.tfe-filtros select,
.tfe-filtros input {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    height: 34px;
    padding: 7px 10px;
    border: 1px solid #2c2c2c;
    border-radius: 5px;
    background: #121212;
    color: #e2e2e2;
    font: 600 12px inherit;
    transition: border-color .2s, box-shadow .2s, background-color .2s
}

.tfe-filtros select {
    padding-right: 34px;
    background-image: linear-gradient(45deg, transparent 50%, #ff7795 50%), linear-gradient(135deg, #ff7795 50%, transparent 50%);
    background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat
}

.tfe-filtros input[type="date"] {
    padding-right: 34px;
    color-scheme: dark
}

.tfe-filtros input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .85;
    filter: invert(64%) sepia(26%) saturate(2508%) hue-rotate(302deg) brightness(99%) contrast(102%)
}

.tfe-filtros select:hover,
.tfe-filtros input:hover {
    border-color: #3a3a3a
}

.tfe-filtros select:focus,
.tfe-filtros input:focus {
    outline: none;
    border-color: #ff3366;
    box-shadow: 0 0 0 3px rgba(255, 51, 102, .2);
    background-color: #161616
}

.tfe-filtros__rango {
    flex: 1.4 1 260px !important
}

.tfe-filtros__rango>div {
    display: flex;
    gap: 10px
}

.tfe-filtros__acciones {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 1 auto !important
}

.tfe-filtros button,
.tfe-filtros__acciones a {
    border: 1px solid #ff3366;
    border-radius: 6px;
    padding: 11px 18px;
    background: #ff3366;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer
}

.tfe-filtros__acciones a {
    padding: 10px 4px;
    border-color: transparent;
    background: transparent;
    color: #ff7795 !important
}

.tfe-resultados__cabecera {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 0 0 20px
}

.tfe-resultados__cabecera h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.1
}

.tfe-resultados__cabecera p {
    margin: 0 !important;
    color: #ffb2ba;
    font-size: 12px;
    font-weight: 700
}

.tfe-cuadricula {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px
}

.tfe-evento {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #1e1e1e;
    border: 1px solid #2c2c2c;
    border-radius: 7px;
    color: #e2e2e2;
    transition: border-color .25s, transform .25s
}

.tfe-evento:hover {
    border-color: #ff3366;
    transform: translateY(-3px)
}

.tfe-evento__imagen {
    display: block;
    height: 172px;
    overflow: hidden;
    background: #121212
}

.tfe-evento__imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.tfe-evento:hover .tfe-evento__imagen img {
    transform: scale(1.06)
}

.tfe-evento__imagen span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #252525, #111)
}

.tfe-evento__contenido {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 11px 11px
}

.tfe-evento__contenido h3 {
    margin: 0 0 10px;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important
}

.tfe-evento__contenido h3 a {
    color: #fff;
    text-decoration: none
}

.tfe-evento__dato {
    position: relative;
    margin: 0 0 5px !important;
    padding-left: 17px;
    color: #ffb2ba;
    font-size: 10px !important;
    font-weight: 700;
    line-height: 1.35
}

.tfe-evento__dato:before {
    position: absolute;
    left: 0;
    top: 0;
    color: #ffb2ba;
    font-weight: bold
}

.tfe-evento__fecha:before {
    content: '◷'
}

.tfe-evento__lugar:before {
    content: '⌖'
}

.tfe-evento__pie {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 16px
}

.tfe-boton {
    border: 1px solid #ff3366;
    border-radius: 5px;
    padding: 7px 12px;
    background: rgba(255, 51, 102, .1);
    color: #ff3366 !important;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    transition: background .2s, color .2s
}

.tfe-boton:hover {
    background: #ff3366;
    color: #fff !important
}

.tfe-sin-resultados {
    padding: 16px;
    border-left: 3px solid #ff3366;
    background: #1f1f1f;
    color: #e2e2e2
}

@media(max-width:900px) {
    .tfe-cuadricula {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px
    }

    .tfe-evento__imagen {
        height: 210px
    }
}

@media(max-width:600px) {
    .tfe-filtros {
        display: block
    }

    .tfe-filtros>div {
        margin-bottom: 12px
    }

    .tfe-filtros__rango>div {
        display: block
    }

    .tfe-filtros__rango input+input {
        margin-top: 8px
    }

    .tfe-filtros__acciones {
        margin-bottom: 0 !important
    }

    .tfe-cuadricula {
        grid-template-columns: 1fr
    }

    .tfe-evento__imagen {
        height: 225px
    }
}