/* ==========================================================================
   1 - GLOBAL : Reset et base pour neutraliser les styles parent
   ========================================================================== */

:root {
   --color_orange: #d74e09;
   --color_rouge: #6e0e0a;
   --color_vert: #8c8d62;
   --color_beige: #fff1e1;
   --color_blanc: #ffffff;
   --color_text: #1e293b;
   --color_gris: #545454;
}

.widget-alaffiche-app p,
.widget-alaffiche-app button,
.widget-alaffiche-app li,
.widget-alaffiche-app a{
  margin: 0px;
  padding: 0px;
  text-align: left;
}

.widget-alaffiche-app {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4;
  color: initial;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-bottom: 30px;
}

.widget-content {
  flex-grow: 1;
  background-color: var(--color_blanc);
  padding: 15px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
}


.carousel-viewport {
  overflow: hidden;
  position: relative;
  padding: 0 20px; /* espace à gauche/droite */
}

.widget-carousel-track {
  display: flex;
  gap: 15px;
  scroll-behavior: smooth;
  padding: 40px 0;
  margin: -40px 0;
}

/* ==========================================================================
   4 - AFFICHAGE DES SPECTACLES
   ========================================================================== */

.spectacles-a_laffiche-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  padding: 0px;
  margin: 0 auto;
  row-gap: 37px;
  overflow: visible;
  margin-top: 30px;
  width: 100%;
}


.divspectacle {
  width: calc((100% - 2 * 15px) / 3);
  background-color: var(--color_blanc);
  transition: transform 300ms ease;
}


.divspectacle {
    width: calc((100% - 2 * 15px) / 9);
}

.divspectacle:hover {
  transform: scale(1.2);
  z-index: 1;
}

.bloc_images {
  width: 100%;
}

.bloc_images_banniere {
  height: 320px;
  overflow: hidden;
  border-radius: 8px;
}

.bloc_images_banniere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloc_images_message,
.bloc_images_coupdecoeur {
  height: 0px;
}

.bandeau-dernieres-places {
  width: 100%;
  position: relative;
  bottom: 71px;
  left: -12px;
}

.bandeau-coup-de-coeur {
  width: 51px;
  position: relative;
  top: -4px;
  right: -188px;
}

.bloc_texte {
  width: 100%;
}

.bloc_texte p{
  margin: 0px;
  padding: 0px;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
}

.bloc_texte p:nth-child(1) {
  font-size: 14px;
  margin: 5px 0;
}

.bloc_texte p:nth-child(2) {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
}

.bloc_texte p:nth-child(3) {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--color_rouge);
  font-weight: 700;
}

   /* ==========================================================================
      10 - RESPONSIVE
      ========================================================================== */


@media (max-width: 1260px) {
  .widget-spectacles-app{
    flex-direction: column !important;
  }
}

@media (max-width: 1260px) {
    .bandeau-coup-de-coeur{
      right: -185px;
      top: -10px;
    }
}





/* ==========================================================================
   4 - CARROUSEL AFFICHES A LA UNE
   ========================================================================== */

.widget-alaffiche-app {
  position: relative;
  width: 1050px;
  overflow: visible;
  padding: 20px;
  box-sizing: border-box;
  margin: auto;
}

.widget-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 40px 30px 40px 18px;
  margin: -40px 0;
}

.widget-carousel-track::-webkit-scrollbar {
  display: none;
}

.spectacles-a_laffiche-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.divspectacle {
  flex: 0 0 calc(25% - 15px);
  box-sizing: border-box;
  transition: transform 300ms ease;
}

.divspectacle:hover {
  transform: scale(1.05);
  z-index: 1;
}


.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color_orange);
  border: none;
  color: var(--color_blanc);
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 2;
  border-radius: 8px;
}

.carousel-arrow{
  transition: 300ms;
  padding: 10px !important;
  top: 180px;
}

.carousel-arrow:hover{
  transition: 300ms;
  background-color: var(--color_rouge);
}

.carousel-arrow.left {
  left: -10px !important;
}

.carousel-arrow.right {
  right: -7px !important;
}

button:focus{
  background-color: var(--color_orange);
}


@media (max-width: 1100px) {
  .widget-alaffiche-app {
      width: 100%;
  }

  button.carousel-arrow.right {
      right: 5px !important;
  }

  button.carousel-arrow.left {
      left: 5px !important;
  }

  .widget-carousel-track {
      padding: 40px 30px 40px 40px;
  }
}


@media (max-width: 1100px) {
    .divspectacle {
        flex: 0 0 calc(29% - 15px);
    }
}


@media (max-width: 900px) {
    .divspectacle {
        flex: 0 0 calc(38% - 15px);
    }
}


@media (max-width: 666px) {
    .divspectacle {
        flex: 0 0 calc(48% - 15px);
    }
}

@media (max-width: 500px) {
    .divspectacle {
        flex: 0 0 calc(80% - 15px);
    }
}

@media (max-width: 360px) {
    .divspectacle {
        flex: 0 0 calc(100% - 15px);
    }
}






   /**/
