/*
 * Page: Les spectacles
 *
 * Migrated from page-les-spectacles.php.
 */

.site-header {
    background: #050505;
    color: #fff;
    border-bottom: 0;
}

.site-header a {
    color: #fff;
}

.alfps-page {
    position: relative;
    overflow-x: hidden;
    padding: 42px 0 90px;
}

.alfps-page::before {
    content: "";
    position: absolute;
    left: -150px;
    top: 230px;
    width: clamp(220px, 23vw, 320px);
    height: clamp(220px, 23vw, 320px);
    background-image: url("/wp-content/uploads/2025/08/roue.svg");
    opacity: .95;
}

.alfps-page::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: 220px;
    width: clamp(180px, 18vw, 250px);
    height: clamp(180px, 18vw, 250px);
    background-image: url("/wp-content/uploads/2025/08/roue2.png");
    opacity: .95;
}

.alfps-panel {
    width: min(var(--alf-site-max), calc(100% - var(--alf-gutter-desktop)));
    max-width: none;
    margin: 0 auto 44px;
    box-sizing: border-box;
    background: #fff;
    color: #000;
    border-radius: 8px;
    padding: 14px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 44px;
    align-items: center;
}

.alfps-panel-top {
    display: contents;
}

.alfps-title {
    color: var(--alf-black);
    font-size: 31px;
    line-height: 1;
    margin: 0;
    font-weight: 900;
    letter-spacing: 0;
    max-width: none;
    /*white-space: nowrap;*/
}

.alfps-date-form {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    flex: 0 0 auto;
    color: var(--alf-black);
    font-weight: 900;
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
}

.alfps-date-wrap {
    position: relative;
}

.alfps-date-form input {
    width: 198px;
    height: 48px;
    border: 2px solid var(--alf-red);
    border-radius: 7px;
    padding: 0 44px 0 14px;
    font-size: 17px;
    font-weight: 900;
    background: #fff;
    color: var(--alf-text);
}

.alfps-date-form input::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
}

.alfps-date-wrap::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    pointer-events: none;
    background: center / contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23e72b3f" d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.66 0-3 1.34-3 3v12c0 1.66 1.34 3 3 3h14c1.66 0 3-1.34 3-3V7c0-1.66-1.34-3-3-3zm1 15c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V10h16v9zM4 8V7c0-.55.45-1 1-1h1v1h2V6h8v1h2V6h1c.55 0 1 .45 1 1v1H4z"/></svg>');
}

.alfps-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    grid-column: 1 / -1;
    margin-top: 0;
    width: 100%;
}

.alfps-filters-header {
    display: none;
}

.alfps-filters-label {
    margin: 0;
}

.alfps-filters-toggle {
    display: none;
}

.alfps-filters-controls {
    display: contents;
}

.alfps-left,
.alfps-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.alfps-left {
    justify-content: flex-start;
}

.alfps-pill {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    border: 2px solid transparent;
    background: #fff;
    color: #000;
    padding: 0 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
    transition: color .28s ease, border-color .28s ease, background-position .32s ease;
}

.alfps-pill.is-active,
.alfps-pill--dark {
    background: linear-gradient(to right, #e72b3f 0 50%, #000 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    border-color: #000;
    color: #fff;
    pointer-events: none;
    cursor: default;
    transition: none;
}

.alfps-pill--red {
    background: linear-gradient(to right, #000 0 50%, #e72b3f 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    border-color: #e72b3f;
    color: #fff;
}

.alfps-pill--gray {
    background: linear-gradient(to right, #000 0 50%, #aaa 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    border-color: #aaa;
    color: #fff;
}

.alfps-pill--soon {
    min-height: 42px;
    border: 2px solid #111;
    border-radius: 999px;
    background: linear-gradient(to right, #000 0 50%, #fff 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: #000;
    padding: 0 20px;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: none;
}

.alfps-pill--red:hover,
.alfps-pill--red:focus-visible,
.alfps-pill--gray:hover,
.alfps-pill--gray:focus-visible {
    background-position: 0 0;
    border-color: #000;
    color: #fff;
}

.alfps-pill--soon:hover,
.alfps-pill--soon:focus-visible {
    background-position: 0 0;
    border-color: #000;
    color: #fff;
}

.alfps-pill.is-active:hover,
.alfps-pill.is-active:focus-visible {
    background-position: 100% 0;
    border-color: #000;
    color: #fff;
}

.alfps-grid {
    width: min(var(--alf-site-max), calc(100% - var(--alf-gutter-desktop)));
    max-width: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 76px 52px;
    align-items: start;
}

.alfps-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto auto;
    min-width: 0;
    text-align: left;
}

.alfps-range {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(245px, calc(100% - 22px));
    min-height: 33px;
    box-sizing: border-box;
    background: #fff;
    color: #000;
    border-radius: 4px;
    padding: 9px 6px;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: .9;
    font-weight: 700;
    text-align: center;
    transform: rotate(-2deg);
    position: relative;
    z-index: 4;
}

.alfps-poster {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.2;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.alfps-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.alfps-poster::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .92));
}

.alfps-next {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: -44px 0 24px;
    padding: 0 10px;
    color: #fff;
}

.alfps-next-date {
    text-align: left;
    font-weight: 900;
    font-size: 18px;
    line-height: .92;
}

.alfps-next-label {
    display: block;
    margin-top: 6px;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.alfps-next-date span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    box-sizing: border-box;
    background: #e72b3f;
    color: #fff;
    border-radius: 4px;
    padding: 7px 7px;
    margin: 0 0 8px;
    font-size: 12px;
    line-height: .88;
    font-weight: 900;
    transform: rotate(-2deg);
}

.alfps-time {
    font-size: 20px;
    line-height: .9;
    font-weight: 700;
    white-space: nowrap;
}

body.folie-2026 a.alfps-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 225px;
    min-height: 74px;
    background: linear-gradient(to right, var(--alf-red) 0 50%, var(--alf-white) 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: var(--alf-black);
    border: 1px solid var(--alf-black);
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    padding: 15px 35px;
    transition: color .28s ease, border-color .28s ease, background-position .32s ease;
}

body.folie-2026 a.alfps-button:hover,
body.folie-2026 a.alfps-button:focus-visible {
    background-position: 0 0;
    color: var(--alf-white);
    border-color: var(--alf-red);
}

body.folie-2026 a.alfps-button,
body.folie-2026 .alf-before-footer__offers .alfbo-offer :where(a.alfbo-mini-button, button.alfbo-mini-button),
body.folie-2026 .alf-before-footer__button,
body.folie-2026 .alf-before-footer__newsletter input[type="submit"],
body.folie-2026 .alf-before-footer__newsletter button {
    color: var(--alf-black);
}

body.folie-2026 .alf-before-footer__offers .alfbo-offer :where(a.alfbo-mini-button, button.alfbo-mini-button):hover,
body.folie-2026 .alf-before-footer__offers .alfbo-offer :where(a.alfbo-mini-button, button.alfbo-mini-button):focus-visible,
body.folie-2026 .alf-before-footer__button:hover,
body.folie-2026 .alf-before-footer__button:focus-visible,
body.folie-2026 .alf-before-footer__newsletter input[type="submit"]:hover,
body.folie-2026 .alf-before-footer__newsletter input[type="submit"]:focus-visible,
body.folie-2026 .alf-before-footer__newsletter button:hover,
body.folie-2026 .alf-before-footer__newsletter button:focus-visible {
    color: var(--alf-white);
}

.alfps-empty {
    grid-column: 1 / -1;
    background: #fff;
    color: #000;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    font-size: 28px;
    font-weight: 900;
}

.alfps-card.is-hidden {
    display: none;
}

@media (max-width: 1250px) {
    .alfps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .alfps-panel {
        display: block;
    }

    .alfps-panel-top,
    .alfps-filters {
        display: block;
    }

    .alfps-filters,
    .alfps-left,
    .alfps-right {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .alfps-grid {
        gap: 58px 32px;
    }

    .alfps-range {
        font-size: 14px;
        min-height: 33px;
    }

    .alfps-next-date {
        font-size: 18px;
    }

    .alfps-next-date span {
        font-size: 12px;
        min-height: 25px;
    }

    .alfps-time {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .alfps-panel,
    .alfps-grid {
        width: min(100% - 28px, 720px);
    }
}

@media (max-width: 640px) {
    .alfps-page {
        padding: 24px 0 64px;
    }

    .alfps-panel,
    .alfps-grid {
        width: calc(100% - 20px);
    }

    .alfps-panel {
        padding: 20px 14px;
        margin-bottom: 28px;
        border-radius: 28px;
    }

    body.folie-2026 .alfps-title {
        font-size: 35px;
        line-height: 1;
    }

    body.folie-2026 .alfps-date-form {
        font-size: 16px;
        margin-top: 0;
        font-weight: 500;
    }

    .alfps-date-form input {
        height: 54px;
        font-size: 18px;
        margin-top: 10px;
        box-sizing: border-box;
    }

    .alfps-filters {
        display: block;
        margin-top: 10px;
    }

    .alfps-filters-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        width: 100%;
    }

    p.alfps-filters-label {
        color: var(--alf-black);
        font-size: 14px;
        line-height: 1.2;
        font-weight: 500;
    }

    .alfps-filters-toggle {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: var(--alf-red);
        color: var(--alf-white);
        cursor: pointer;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
        transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .24s ease;
    }

    .alfps-filters-toggle__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        transition: transform .34s cubic-bezier(.22, 1, .36, 1);
    }

    .alfps-filters-toggle__icon svg {
        display: block;
        width: 100%;
        height: 100%;
        fill: currentColor;
    }

    .alfps-filters.is-open .alfps-filters-toggle__icon {
        transform: rotate(180deg);
    }

    .alfps-filters-controls {
        display: block;
        max-height: 0;
        margin-top: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height .38s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, margin-top .32s ease;
    }

    .alfps-filters.is-open .alfps-filters-controls {
        max-height: 260px;
        margin-top: 18px;
        opacity: 1;
    }

    .alfps-left,
    .alfps-right {
        justify-content: space-between;
        gap: 10px 5px;
        margin-top: 0;
    }

    .alfps-left {
        margin-bottom: 10px;
    }

    .alfps-pill {
        min-height: 32px;
        padding: 0 9px;
        font-size: 13.5px;
    }

    .alfps-left .alfps-pill,
    .alfps-right .alfps-pill {
        width: fit-content;
    }

    .alfps-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
        overflow: visible;
        padding-bottom: 0;
    }

    .alfps-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .alfps-range {
        display: none;
    }

    .alfps-next {
        order: -1;
        align-items: start;
        gap: 9px;
        margin: 0 0 7px;
        padding: 0;
    }

    .alfps-next-date {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
        font-size: 14px;
        line-height: 1;
    }

    .alfps-next-date span {
        align-self: flex-start;
        min-height: 0;
        padding: 5px 7px;
        margin: 0;
        border-radius: 3px;
        font-size: 14px;
        line-height: 1;
        transform: rotate(-2deg);
    }

    .alfps-card.is-upcoming .alfps-next-date span {
        display: none;
    }

    .alfps-next-label {
        display: none;
    }

    .alfps-time {
        font-size: 20px;
        line-height: 1;
        font-weight: 900;
        text-align: right;
    }

    .alfps-card.is-upcoming .alfps-time {
        display: none;
    }

    .alfps-poster::after {
        display: none;
    }

    body.folie-2026 a.alfps-button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        margin-top: 10px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .alfps-pill.is-active,
    .alfps-pill--dark {
        background: linear-gradient(to right, #e72b3f 0 50%, #000 50% 100%);
        background-size: 200% 100%;
        background-position: 100% 0;
        border-color: #000;
        color: #fff;
        pointer-events: none;
        cursor: default;
        transition: none;
        font-size: 14px;
        padding: 0px 12px;
    }
    a.alfps-pill.alfps-pill--soon {
        font-size: 20px;
        padding: 10px 15px;
    }
}
}
