﻿.ticket-repertoire {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 30px 80px;
    background: #fff;
}

.premiere-card {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 180px;
    align-items: stretch;
    width: 100%;
    min-height: 190px;
    margin: 0 0 22px;
    background: #fff;
    border: 1px solid #e7e3dc;
    cursor: pointer;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.premiere-card:hover {
    transform: translateY(-2px);
    border-color: #cbb58a;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
}

.premiere-event-time-wrapper {
    display: contents;
}

.premiere-event-time {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    height: auto;
    min-height: 190px;
    padding: 28px 24px;
    background: #b58a3b;
    color: #fff;
    border: 0;
}

.premiere-data {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.skewed-div,
.time-border-1,
.time-border-2 {
    display: none;
}

.when {
    width: auto;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.month {
    width: auto;
    margin: 6px 0 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
    color: #fff;
}

.day {
    width: auto;
    margin: 8px 0 18px;
    padding: 0;
    border: 0;
    justify-content: flex-start;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    color: rgba(255,255,255,.8);
}

.time-wrapper {
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
}

.time-wrapper .hours,
.time-wrapper .minutes {
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
}

.time-wrapper .minutes {
    margin-left: 2px;
}

.premiere-image {
    grid-column: 1;
    grid-row: 1;
    width: 150px;
    height: 190px;
    object-fit: cover;
    display: block;
}

.image-mobile {
    display: none;
}

.premiere-name {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    max-width: none;
    align-self: center;
    padding: 30px 34px 70px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    color: #222;
}

.premiere-description {
    position: absolute;
    left: 184px;
    bottom: 26px;
    width: calc(100% - 398px);
    max-width: none;
    padding: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.premiere-description p {
    margin: 0;
}

.soldout-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.82);
    color: #8e1f17;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .ticket-repertoire {
        padding: 30px 20px 60px;
    }

    .premiere-card {
        grid-template-columns: 110px minmax(0, 1fr);
        min-height: 150px;
    }

    .premiere-event-time {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: auto;
        padding: 16px 20px;
    }

    .premiere-data {
        flex-direction: row;
        gap: 10px;
        align-items: baseline;
        justify-content: flex-start;
    }

    .premiere-image {
        width: 110px;
        height: 150px;
    }

    .premiere-name {
        padding: 24px 22px;
        font-size: 21px;
    }

    .premiere-description {
        display: none;
    }

    .when,
    .time-wrapper .hours,
    .time-wrapper .minutes {
        font-size: 20px;
    }

    .month,
    .day {
        margin: 0;
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .ticket-repertoire {
        padding-left: 14px;
        padding-right: 14px;
    }

    .premiere-card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .premiere-image {
        width: 90px;
        height: 125px;
    }

    .premiere-name {
        padding: 18px;
        font-size: 18px;
    }
}
