/* ================================================
   Shotgun Events — page-agenda.php styles
   ================================================ */

.agenda-page,
.evenement-single {
    font-family: "Futura", Helvetica, Arial, Lucida, sans-serif;
    color: #000000;
    margin: 4rem auto;
    max-width: 1440px;
    padding-inline: 2rem;
}

.agenda-header {
    margin-bottom: 2rem;
}

.agenda-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Filtres */
.agenda-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.agenda-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.agenda-filter-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.85rem;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.agenda-filter-tag:hover,
.agenda-filter-tag.is-active {
    opacity: 1;
}

.evenement-cta {
    display: flex;
    justify-content: center;
}

/* Grille */
.agenda-list {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}

/* Carte */
.agenda-item-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.agenda-item-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.agenda-item-body {
    display: flex;
    column-gap: 2rem;
    padding: 1rem 0;
    flex: 1;
}

.agenda-item-date {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.4;
    color: #ffcc00;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.agenda-item-time {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid currentColor;
    font-weight: normal;
    font-size: 0.85rem;
}

.agenda-item-title {
    font-family: "Futura", Helvetica, Arial, Lucida, sans-serif;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: bold;
    padding-bottom: 0;
    margin-bottom: 0.4rem;
}

.agenda-item-lineup {
    font-size: 0.9rem;
    color: #444;
    padding-bottom: 0;
    margin-top: 0.25rem;
}

.agenda-item-types {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.4rem;
}

.agenda-item-types li {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid currentColor;
    border-radius: 999px;
}

.agenda-item-genres,
.evenement-genres {
    list-style: none !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-block: 0.4rem;
}

.agenda-item-genres li,
.evenement-genres li {
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    opacity: 0.65;
    line-height: 1;
    color: currentColor;
}

.agenda-item-price {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.agenda-empty {
    color: #666;
}

/* ================================================
   Shotgun Events — single-evenement.php styles
   ================================================ */

.sticky {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    @media (min-width: 1088px) {
        display: flex;
    }
}

.evenement-single {
    display: grid;
    align-items: start;
    gap: 4rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
}

.only-desktop {
    display: none;

    @media (min-width: 1088px) {
        display: block;
    }
}

.only-mobile {
    display: none;

    @media (max-width: 1087px) {
        display: block;
    }
}

/* Header */
.evenement-header {
    margin-bottom: 1.5rem;
}

.evenement-title {
    font-family: "Futura", Helvetica, Arial, Lucida, sans-serif;
    color: #000000;
    font-weight: bold;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.evenement-date {
    color: #666;
    font-size: 1.5rem;
}

/* Image */
.evenement-image {
    margin-block: 1.5rem;
}

.evenement-image img {
    width: 100%;
    height: auto;
}

/* Contenu */
.evenement-content {
    margin-bottom: 2rem;
}

/* Line-up */
.evenement-lineup h2,
.evenement-tarifs h2,
.evenement-video h2 {
    font-size: 2rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.75rem !important;
}

.evenement-lineup ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.evenement-lineup li {
    font-size: 1rem;
    line-height: 1.5;
}

.evenement-lineup li:not(:last-child)::after {
    content: ",";
    margin-right: 0.4rem;
}

/* Tarifs */
.evenement-tarifs {
    margin-bottom: 2rem;
}

.evenement-tarifs li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.evenement-genres,
.evenement-types {
    display: flex;
    flex-wrap: wrap;
}

.evenement-genres li,
.evenement-types li {
    display: inline-block;
    padding: 0.3rem 0.5rem;
    border: 1px solid currentColor;
    text-transform: uppercase;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.tarif-price {
    font-weight: bold;
}

/* Vidéo */
.evenement-lineup,
.evenement-video {
    margin-bottom: 2rem;
}

.evenement-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.evenement-btn-ticket {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #f7bf2f;
    color: #000000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: opacity 0.2s;
}

.evenement-btn-ticket:hover {
    opacity: 0.75;
}

.evenement-video-wrapper {
    position: relative;
    padding-bottom: 62.5%; /* 16:10 = 10/16 × 100 */
    height: 0;
    overflow: hidden;
}

.evenement-video-wrapper iframe,
.evenement-video-wrapper embed,
.evenement-video-wrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
