.festival-link > a {
  height: 100%;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  text-align: center;
  color: inherit;
  padding: 5px;
}

.festival-link:hover {
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px,
    inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
}

.festivals-grid > div:nth-child(odd) {
  background-color: black;
  color: var(--wp--preset--color--primary);
}

.festivals-grid > div:nth-child(even) {
  background-color: var(--wp--preset--color--primary);
  color: black;
}

.festivals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--wp--preset--spacing--40);
}

@media screen and (min-width: 1200px) {
  .festivals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@keyframes extend-width {
  0% {
    width: 100%;
  }
  10% {
    width: 10%;
  }
  100% {
    width: 100%;
  }
}

.festival-link {
  border-radius: 12%;
  height: 400px;
  width: 100%;
  transition: 0.2s linear;
  opacity: 0.8;
  /* animation: extend-width 0.8s 2.5s ease-out; */
}

@media screen and (max-width: 800px) {
  .festival-link {
    height: 230px;
  }
}

/*


_____ SINGLE _____

*/
.festival-content {
  position: relative;
  display: flex;
  flex-direction: column;
  /* gap: 10rem; */
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.festival-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #333;
}

.triptyque-item {
  text-align: center;
}

.triptyque-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.programmation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.representation-header {
  margin-bottom: 15px;
}

.representation-titre {
  margin: 0 0 10px 0;
}

.representation-date {
  font-style: italic;
}

.representation-meta p {
  margin: 5px 0;
  /* font-size: 0.9em; */
}

.representation-description {
  margin-top: 15px;
  line-height: 1.6;
}

.interviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.video-item,
.interview-item {
  text-align: center;
}

.video-item video,
.interview-item video {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
}

.festival-jury {
  margin-bottom: 40px;
}

.festival-jury img,
.festival-cloture img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section {
  margin-bottom: 50px;
}

section h2 {
  margin-bottom: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .triptyques-grid,
  .programmation-grid,
  .interviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .triptyques-grid {
    display: flex;
  }
}

.festival-title--secondary {
  position: absolute;
  bottom: 0;
  margin: unset;
}

.jury-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: unset;
}

.jury-members {
  border: solid 1px black;
}

@media (min-width: 600px) {
  .palmares {
    padding-inline: 5rem !important;
  }
  
  .palmares h2 {
  text-align: left;
  padding-left: 40px;
  }
}

.palmares h3 {
  max-width: 750px;
  margin: unset;
  text-transform: lowercase;
  color: var(--wp--preset--color--contrast);
}

.palmares-price--primary {
  align-self: center;
  display: grid;
  place-items: center;
  width: 500px;
  margin: 10px;
}

.palmares-price--secondary {
  border-left: 5px solid black;
  padding-left: 20px;
}
