.fdlm-programmation {
    --fdlm-ink: #171717;
    --fdlm-muted: #5f6368;
    --fdlm-line: #dedede;
    --fdlm-surface: #ffffff;
    --fdlm-soft: #f5f4f0;
    --fdlm-focus: #0b57d0;
    color: var(--fdlm-ink);
    font-family: inherit;
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.fdlm-programmation *,
.fdlm-programmation *::before,
.fdlm-programmation *::after {
    box-sizing: border-box;
}

.fdlm-programmation [hidden],
.fdlm-modal[hidden] {
    display: none !important;
}

.fdlm-programmation__filters {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 28px;
    text-align: center;
}

.fdlm-filter-group {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
    width: 100%;
}

.fdlm-filter-group__label {
    color: var(--fdlm-muted);
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin-right: 2px;
    text-transform: uppercase;
}

.fdlm-filter,
.fdlm-filter-reset {
    align-items: center;
    appearance: none;
    background: var(--fdlm-surface);
    border: 1px solid var(--fdlm-line);
    border-radius: 999px;
    color: var(--fdlm-ink);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 8px 14px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.fdlm-filter[data-fdlm-filter="stage"] {
    border-color: color-mix(in srgb, var(--fdlm-stage-bg, var(--fdlm-line)) 35%, var(--fdlm-line));
}

.fdlm-filter:hover,
.fdlm-filter-reset:hover {
    transform: translateY(-1px);
}

.fdlm-filter.is-active {
    background: var(--fdlm-stage-bg, var(--fdlm-ink));
    border-color: var(--fdlm-stage-bg, var(--fdlm-ink));
    color: var(--fdlm-stage-text, #ffffff);
}

.fdlm-filter[data-value="all"].is-active {
    background: var(--fdlm-ink);
    border-color: var(--fdlm-ink);
    color: #ffffff;
}

.fdlm-filter-status {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.fdlm-filter-reset {
    background: var(--fdlm-soft);
}

.fdlm-filter-count {
    color: var(--fdlm-muted);
    font-size: 14px;
    margin: 0;
}

.fdlm-programmation__grid {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.fdlm-card {
    --fdlm-stage-bg: #222222;
    --fdlm-stage-text: #ffffff;
    appearance: none;
    background: var(--fdlm-surface);
    border: 1px solid var(--fdlm-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: inherit;
    cursor: pointer;
    display: grid;
    font: inherit;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    place-self: start stretch;
    text-align: left;
    transform: translateY(14px);
    transition: box-shadow 180ms ease, transform 180ms ease, opacity 240ms ease;
    width: 100%;
}

.fdlm-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fdlm-card:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}

.fdlm-card:focus-visible,
.fdlm-filter:focus-visible,
.fdlm-filter-reset:focus-visible,
.fdlm-modal button:focus-visible,
.fdlm-modal a:focus-visible {
    outline: 3px solid var(--fdlm-focus);
    outline-offset: 3px;
}

.fdlm-card__media {
    aspect-ratio: 1 / 1;
    background: var(--fdlm-soft);
    display: block;
    min-height: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.fdlm-card__media::before {
    content: "";
    display: block;
    padding-top: 100%;
}

@supports (aspect-ratio: 1 / 1) {
    .fdlm-card__media::before {
        display: none;
    }
}

.fdlm-card__image {
    inset: 0;
    display: block;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    object-fit: cover !important;
    position: absolute;
    transform: scale(1);
    transition: transform 220ms ease;
    width: 100% !important;
}

.fdlm-card:hover .fdlm-card__image {
    transform: scale(1.035);
}

.fdlm-card__placeholder,
.fdlm-modal__placeholder {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(216, 63, 49, 0.16), transparent 42%),
        linear-gradient(315deg, rgba(37, 122, 79, 0.16), transparent 46%),
        var(--fdlm-soft);
    color: var(--fdlm-muted);
    display: flex;
    font-size: 22px;
    font-weight: 800;
    height: 100%;
    justify-content: center;
    letter-spacing: 0;
    min-height: 180px;
    width: 100%;
}

.fdlm-card__media .fdlm-card__placeholder {
    inset: 0;
    min-height: 0;
    position: absolute;
}

.fdlm-card__top,
.fdlm-card__bottom {
    align-items: center;
    background: var(--fdlm-stage-bg);
    color: var(--fdlm-stage-text);
    display: flex;
    gap: 8px;
    justify-content: center;
    line-height: 1.25;
    text-align: center;
    transition: background-color 180ms ease, color 180ms ease;
}

.fdlm-card__top {
    font-size: 13px;
    font-weight: 800;
    min-height: 42px;
    padding: 10px 12px;
    text-transform: uppercase;
}

.fdlm-card__bottom {
    min-height: 70px;
    padding: 12px 14px;
}

.fdlm-card__title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.fdlm-programmation__empty {
    background: var(--fdlm-soft);
    border: 1px solid var(--fdlm-line);
    border-radius: 8px;
    color: var(--fdlm-muted);
    margin: 18px 0 0;
    padding: 18px;
}

.fdlm-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 22px;
    position: fixed;
    transition: opacity 180ms ease;
    z-index: 2147483000;
}

body.fdlm-modal-open #header-outer,
html.fdlm-modal-open body #header-outer,
#header-outer.fdlm-header-lowered {
    z-index: 10 !important;
}

.fdlm-modal.is-open {
    opacity: 1;
}

.fdlm-modal__backdrop {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.54);
    inset: 0;
    position: absolute;
}

.fdlm-modal__dialog {
    background: var(--fdlm-surface);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    max-height: min(820px, calc(100vh - 44px));
    max-width: 980px;
    overflow: hidden;
    position: relative;
    transform: scale(0.97);
    transition: transform 180ms ease;
    width: min(980px, 100%);
    z-index: 1;
}

.fdlm-modal.is-open .fdlm-modal__dialog {
    transform: scale(1);
}

.fdlm-modal__header {
    background: var(--fdlm-stage-bg);
    color: var(--fdlm-stage-text);
    display: grid;
    gap: 4px;
    grid-template-columns: 1fr auto;
    padding: 20px 58px 18px 22px;
    position: relative;
}

.fdlm-modal__meta {
    font-size: 13px;
    font-weight: 800;
    grid-column: 1;
    letter-spacing: 0;
    margin: 0;
    text-transform: uppercase;
}

.fdlm-modal__header h2 {
    font-size: clamp(26px, 2.2rem, 38px);
    grid-column: 1;
    line-height: 1.05;
    margin: 0;
    overflow-wrap: anywhere;
    color: white;
}

.fdlm-modal__close {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: currentColor;
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 36px;
}

.fdlm-modal__close span,
.fdlm-modal__close span::after {
    background: currentColor;
    border-radius: 2px;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    width: 16px;
}

.fdlm-modal__close span {
    transform: rotate(45deg);
}

.fdlm-modal__close span::after {
    transform: rotate(90deg);
}

.fdlm-modal__body {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    max-height: calc(100vh - 164px);
    overflow: auto;
    padding: 22px 22px 58px;
    scroll-padding-bottom: 58px;
}

.fdlm-modal__media,
.fdlm-modal__details {
    min-width: 0;
    padding-bottom: 3rem;
}

.fdlm-gallery,
.fdlm-modal__single-image,
.fdlm-modal__placeholder {
    border-radius: 8px;
    overflow: hidden;
}

.fdlm-gallery__viewport,
.fdlm-modal__single-image,
.fdlm-modal__placeholder {
    aspect-ratio: 4 / 3;
    background: var(--fdlm-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    max-height: min(56vh, 520px);
    min-height: 220px;
    overflow: hidden;
    width: 100%;
}

.fdlm-gallery__slide {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.fdlm-gallery__image {
    display: block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.fdlm-gallery__controls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px;
}

.fdlm-gallery__nav {
    align-items: center;
    appearance: none;
    background: var(--fdlm-ink);
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.fdlm-gallery__nav span {
    border-color: currentColor;
    border-style: solid;
    border-width: 2px 2px 0 0;
    display: block;
    height: 10px;
    width: 10px;
}

.fdlm-gallery__nav[data-fdlm-gallery-prev] span {
    transform: rotate(-135deg) translate(-1px, -1px);
}

.fdlm-gallery__nav[data-fdlm-gallery-next] span {
    transform: rotate(45deg) translate(-1px, 1px);
}

.fdlm-gallery__thumbs {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
    margin-top: 10px;
}

.fdlm-gallery__thumb {
    appearance: none;
    aspect-ratio: 1;
    background: var(--fdlm-soft);
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.fdlm-gallery__thumb.is-active {
    border-color: var(--fdlm-focus);
}

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

.fdlm-modal__facts {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.fdlm-modal__facts div {
    border-bottom: 1px solid var(--fdlm-line);
    display: grid;
    gap: 8px;
    grid-template-columns: 95px 1fr;
    padding-bottom: 10px;
}

.fdlm-modal__facts dt {
    color: var(--fdlm-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.fdlm-modal__facts dd {
    font-weight: 700;
    margin: 0;
}

.fdlm-modal__description {
    color: #2c2c2c;
    font-size: 16px;
    line-height: 1.65;
}

.fdlm-modal__description p {
    margin: 0 0 1em;
}

.fdlm-modal__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 20px 0 14px;
    padding: 0;
}

.fdlm-modal__links li {
    list-style: none;
}

.fdlm-modal__links a {
    align-items: center;
    background: var(--fdlm-soft);
    border: 1px solid var(--fdlm-line);
    border-radius: 999px;
    color: var(--fdlm-ink);
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.fdlm-modal__link {
    --fdlm-link-provider-color: var(--fdlm-muted);
}

.fdlm-modal__link:hover,
.fdlm-modal__link:focus-visible {
    background-color: color-mix(in srgb, var(--fdlm-link-provider-color) 10%, var(--fdlm-surface));
    border-color: color-mix(in srgb, var(--fdlm-link-provider-color) 38%, var(--fdlm-line));
}

.fdlm-modal__link--spotify {
    --fdlm-link-provider-color: #1db954;
}

.fdlm-modal__link--youtube {
    --fdlm-link-provider-color: #ff0000;
}

.fdlm-modal__link--instagram {
    --fdlm-link-provider-color: #e4405f;
}

.fdlm-modal__link--tiktok {
    --fdlm-link-provider-color: #fe2c55;
}

.fdlm-modal__link--facebook {
    --fdlm-link-provider-color: #1877f2;
}

.fdlm-modal__link--bandcamp {
    --fdlm-link-provider-color: #629aa9;
}

.fdlm-modal__link--soundcloud {
    --fdlm-link-provider-color: #ff5500;
}

.fdlm-modal__link--website {
    --fdlm-link-provider-color: var(--fdlm-focus);
}

.fdlm-link__icon {
    color: var(--fdlm-link-provider-color, currentColor);
    display: inline-block;
    font-size: 17px;
    line-height: 1;
    text-align: center;
    width: 18px;
}

.fdlm-link__icon.fdlm-icon-tiktok {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.fdlm-link__icon.fdlm-icon-tiktok::before {
    content: "♪";
}

.fdlm-modal-open {
    overflow: hidden;
}

@media (min-width: 620px) {
    .fdlm-programmation__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 920px) {
    .fdlm-programmation__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1160px) {
    .fdlm-programmation__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fdlm-programmation__filters {
        margin-bottom: 20px;
    }

    .fdlm-filter-group {
        justify-content: flex-start;
    }

    .fdlm-modal {
        align-items: stretch;
        padding: 0;
    }

    .fdlm-modal__dialog {
        border-radius: 0;
        max-height: 100vh;
        width: 100%;
    }

    .fdlm-modal__body {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 118px);
        padding: 16px 16px 76px;
        scroll-padding-bottom: 76px;
    }

    .fdlm-gallery__viewport,
    .fdlm-modal__single-image,
    .fdlm-modal__placeholder {
        max-height: 44vh;
        min-height: 190px;
    }

    .fdlm-modal__header {
        padding: 18px 56px 16px 16px;
    }

    .fdlm-modal__header h2 {
        font-size: 27px;
    }

    .fdlm-modal__facts div {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fdlm-programmation *,
    .fdlm-programmation *::before,
    .fdlm-programmation *::after,
    .fdlm-modal,
    .fdlm-modal__dialog {
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }

    .fdlm-card,
    .fdlm-card:hover,
    .fdlm-card__image,
    .fdlm-card:hover .fdlm-card__image,
    .fdlm-modal__dialog {
        transform: none;
    }
}
