/* events-card.css
 Estilos para o componente de event card (igual ao movie-card).
*/

/* IE9 compatível - usar inline-block ao invés de flexbox */
.event-list {
    display: block;
    margin-top: 24px;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    font-size: 0;
}

/* Esconde a barra de scroll */
/* Borda dourada ao selecionar o card */
.event-card:focus, .event-card:active {
    outline: none;
    box-shadow: 0 0 0 3px #C11C36, inset 0 0 25px rgba(128, 128, 128, 0.6);
    border-radius: 10px;
    background: rgba(128, 128, 128, 0.5);
}
.event-list::-webkit-scrollbar {
    display: none;
}

.event-list {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.event-card {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    height: 175px;
    width: 195px;
    color: #ffffff;
    font-family: Inter, Arial, sans-serif;
    position: relative;
    font-size: 16px;
}

.event-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    padding-top: 8px;
}

.event-card .poster-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 97px;
    margin-top: 10px;
}

.event-card .poster {
    display: block;
    width: 100%;
    height: auto; /* fallback para navegadores sem object-fit */
    max-width: 100%;
    max-height: 100%;
}

.event-info {
    margin-top: 10px;
    background: transparent;
}

.event-date {
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    color: #FFC10A;
    text-align: left;
    padding-left: 15px;
}
.event-title {
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    color: #ffffff;
    text-align: left;
    padding-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-sub {
    font-weight: 300;
    margin: 0 0 10px 0;
    line-height: 1;
    color: #ffffff;
    font-size: 8px;
     text-align: left;
    padding-left: 15px;
}

.event-cta {
    width: 100%;
    display: block;
    height: 40px;
    line-height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 0 12px;
    font-size: 11px;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    color: #fff;
    outline: none;
    text-decoration: none;
}

.event-placeholder {
    display: inline-block;
    padding: 40px;
    color: #9CA3AF;
    font-size: 16px;
}

.event-list--loading {
    text-align: center;
}

/* Proporções para monitor e televisão */

/* Monitor (1367px a 1920px) - proporção 1.13x */
@media (min-width: 1367px) and (max-width: 1920px) {
    .event-card {
        width: 220px;
        height: 197px;
        margin-right: 28px;
    }

    .event-card .poster-wrapper,
    .event-card .poster {
        width: 100%;
        height: 107px;
    }
}

/* Televisão (acima de 1920px) - proporção 1.54x */
@media (min-width: 1921px) {
    .event-card {
        width: 300px;
        height: 270px;
        margin-right: 40px;
    }

    .event-card .poster-wrapper,
    .event-card .poster {
        width: 100%;
        height: 147px;
    }
}
