#programmation
{
    scroll-margin-top: 49px;
}

.programmation-header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    gap:20px;
    font-weight: 700;
    font-size: 20px;
    padding: 20px 0px;
    border-bottom: solid black 1px;
    margin-bottom: 40px;
    position: sticky;
  top: 49px;
  z-index: 2;
  background: #ffffff;
}

.programmation-header h2
{
    display: flex;
    align-items: center;
    gap:10px;
    font-size: 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 120px;
}
.spectacle-card {
    width: calc((100% - 80px) / 3);
}
.spectacle-card a {
    display: block;
    height: 300px;
    overflow: hidden;
}
.spectacle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
}
.spectacle-card h3 {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
    margin-top: 8px;
    margin-bottom: 5px;
    font-size: 20px
}
.spectacle-card p {
    margin: 0;
    margin-bottom: 2px;
}

.intro {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-bottom: 1px solid black;
    max-width: 1280px;
    margin: auto;
    padding: 40px;
}

.intro h1 {
    margin: 0;
    font-size: 9vw;
    font-weight: 800;
    margin: auto;
}

.home-sous-titres
{
    margin: 0;
    font-size: 3vw;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.stempf-home
{
    align-self: flex-end;
    width: 60%;
    text-align: right;
}
.stempf-home a
{
    padding-right: 6%;
}

.horaires
{
    display: flex;
    gap: 10px;
}

.horaires p
{
    color: white;
    padding: 5px 8px;
    border-radius: 20px;
    margin-top: 5px;
    margin-bottom: 30px;
}


/* 🖥️ Extra Large - desktops */
@media (max-width: 1200px) {
.spectacle-card {
    width: calc((100% - 40px) / 2);
}
.card-container {
    gap: 0px;
}

}


/* 🖥️ Extra Large - desktops */
@media (min-width: 1280px) {
.intro h1 {
    font-size: 125px;
}
.home-sous-titres
{
        font-size: 30px;
}

}



/* 🧾 Medium - tablettes */
@media (max-width: 768px) {
  /* Styles pour ≥768px et <992px */
     .spectacle-card {
    width: calc((100% - 10px) / 1);
    margin: auto;
}
.programmation-header
{
    flex-direction: column-reverse;

}
.programmation-header
{
  top: 5px;
}
#programmation
{
    scroll-margin-top: 5px;
}
.home-sous-titres
{
        font-size: 20px;
}
.intro {
    padding: 3vw;
}
.stempf-home
{
    width: 100%;
}
}