/*
Theme Name: 8 Mont blanc
Description: 8 Mont blanc theme
Version: 1.0
*/

.elementor-background-slideshow__slide__image {
  border-radius: 30px;
}

#btn-annonce:hover {
  padding-bottom: 20px;
}


.post-12479 {
  padding: 2rem;
}

figure figcaption,
.wp-caption-text,
.widget-image-caption {
  font-style: italic;
}

.translate:hover .elementor-element h3 {
  transform: translateY(-5px);
  transition: transform 0.2s ease
}

.translate .elementor-element h3 {
  transform: translateY(0px);
  transition: transform 0.2s ease
}

.event-title {
  text-transform: none;
  color: var(--e-global-color-primary);
  font-family: inter;
  text-transform: uppercase;
}

.post-12479 h1 {
  font-size: 42px;
  font-weight: 700;
  text-transform: none;
  color: var(--e-global-color-primary);
  font-family: inter
}

.tg-pub {
  display: flex;
  width: 100%;
  aspect-ratio: 1600 / 250;
  overflow: hidden;
}

.tg-pub-item {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tg-pub-picture {
  display: block;
  width: 100%;
  height: 100%;
}


.tg-pub-item img {
  display: block;
  border-radius: 30px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
}

body {
  margin: 0;
}

.section-replays {
  margin: 0 !important;
}

.rouge {
  color: #E94949
}

.swiper-slide {
  margin: 0 !important;
  padding: 0px !important;
}

.post-grid .elementor-loop-container {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}

.post-grid .elementor-loop-container .e-loop-item:nth-child(7) {
  grid-row: span 2;
  grid-column: span 2;
}

.post-grid .elementor-loop-container .e-loop-item:nth-child(7) a {
  height: 100%;
}


.post-grid .elementor-loop-container .e-loop-item:nth-child(9) {
  grid-row: span 2;

}

.post-grid .elementor-loop-container .e-loop-item:nth-child(9) a {
  height: 100%
}

.post-grid .elementor-loop-container .e-loop-item div:first-child {

  height: 100%;
  align-content: end;
}

.container-counter {
  counter-reset: post-counter;
}

.container-counter .e-loop-item {
  position: relative;
}

.container-counter .e-loop-item:before {
  counter-increment: post-counter;
  content: counter(post-counter);
  font-size: 96px;
  font-weight: 900;
  font-family: Inter;
  color: #E9494920;
  position: absolute;
  top: -55px;
  left: -9px;
  z-index: -1;
}

.st1:hover {
  fill: #e94949
}

.btn-plus:hover #arrow {
  transform: rotate(-35deg) scale(1.2);
  transition: 0.3s ease;
  transform:

}

.btn-plus #arrow {
  transform: rotate(0deg) scale(1);
  transition: 0.3s ease;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 767px) {
  .post-grid .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-flow: dense;
    gap: 5px;

  }


  .post-grid .elementor-loop-container .e-loop-item:nth-child(7) {
    grid-row: span 1 !important;
    ;
    grid-column: span 1 !important;
    ;

  }

  .post-grid .elementor-loop-container .e-loop-item:nth-child(9) {
    grid-row: span 1 !important;
    ;

  }


}


.programme-tv-semaine {
  --ptv-gap: 24px;
  --arrow-w: 44px;
  --ptv-pad: 5rem;


  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--ptv-gap);
  row-gap: 16px;

  align-items: stretch;

  max-width: 2600px;
  margin: 192px 0 0 auto;

  padding: 0 var(--ptv-pad);

  font-family: "Inter", sans-serif;
}

.programme-tv-semaine .nav-jours {
  position: fixed;
  top: 185px;
  left: 0;
  right: 0;
  z-index: 1000;
  max-width: 2600px;
  margin: 0 auto;
  padding: 10px var(--ptv-pad);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ptv-gap);

  overflow: visible;
}



.programme-tv-semaine .nav-arrow {
  position: fixed;

  top: 201px;

  width: var(--arrow-w);
  height: var(--arrow-w);

  border: 0;
  background: #f2f2f2;
  color: #111;
  border-radius: 12px;
  cursor: pointer;

  font-size: 22px;
  line-height: 1;
  user-select: none;

  z-index: 2;
}

.programme-tv-semaine .nav-arrow.prev {
  left: calc(1 * (var(--arrow-w) - 20px));
}

.programme-tv-semaine .nav-arrow.next {
  right: calc(1 * (var(--arrow-w) - 20px));
}

.programme-tv-semaine .nav-arrow[disabled] {
  opacity: .35;
  cursor: default;
}

.programme-tv-semaine .btn-jour {
  width: 100%;
  text-align: center;

  cursor: pointer;
  user-select: none;
  white-space: nowrap;

  padding: 18px 0px;
  border-radius: 12px;
  background: var( --e-global-color-primary );
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);

  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: #f5f5f5;

  box-shadow: 0 4px 15px rgba(100, 100, 100, 0.78)
}


.programme-tv-semaine .btn-jour.is-hidden {
  display: none;
}

.programme-tv-semaine .evenements-du-jour {
  display: none;
  padding-top: 5rem;
}

.programme-tv-semaine .evenements-du-jour.is-visible {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: transparent;
}

.programme-tv-semaine .jour-titre {
  margin: 0 0 10px;
  font-size: 18px;
  color: #111;
  text-align: center;
}

.programme-tv-semaine .liste-events {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  padding-right: 10px;
  padding-left: 10px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  scroll-behavior: smooth;
}



.event-card {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

  min-height: 160px;
  flex-wrap: inherit;
  flex-direction: row-reverse;

  border-left: 6px solid var(--event-color, #3788d8);

  text-decoration: none;
  color: inherit;
}

.event-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.50);
}


.event-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 75%;
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  color: var( --e-global-color-primary );
  line-height: 1.25;
  order: 2;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: inter;
}

.event-heure {
  font-size: 18px;
  font-weight: 500;
  color: #E94949;
  order: 1;

}

.event-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.35;
  order: 3;
  width: 100%;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

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




/* header*/

.elementor-page-9026 header[data-elementor-type="header"][data-elementor-id="8978"] {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  padding-bottom: 45px;
  z-index: 1;
  background: #F5F5F5AB;

}





@media (max-width: 1367px) {

  .programme-tv-semaine .nav-jours {

    top: 163px;

  }

  .programme-tv-semaine .nav-arrow {

    top: 180px;

  }

}

@media (max-width: 1025px) {

  .programme-tv-semaine .nav-jours {

    top: 95px;

  }

  .programme-tv-semaine .nav-arrow {

    top: 111px;

  }

  .programme-tv-semaine {

    margin: 103px 0 0 auto;


  }

}

@media (max-width: 900px) {
  .programme-tv-semaine .nav-jours {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    overflow: visible;

    padding: 10px;


  }

  .programme-tv-semaine .btn-jour {
    padding: 17px 0px;
    width: 72vw;
    text-align: center;
  }

  .programme-tv-semaine .evenements-du-jour.is-visible {
    width: 69vw;

  }

  .event-card {

    min-height: 90px;

  }

  .event-desc {

    display: none;
  }

  .event-title {
    font-size: 11px;

  }

  .event-heure {
    font-size: 11px;

  }

}

@media (max-width: 767px) {


  .programme-tv-semaine {

    --ptv-pad: 3.5rem;

  }

  .tg-pub-item img {
    border-radius: 20px !important;
  }

  .tg-pub {
    display: flex;
    width: 100%;
    aspect-ratio: 1080 / 340;
    overflow: hidden;
  }

  .content_live_header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

}





.post-12479 h1 {
  font-size: 26px;
  text-align: center
}

.container-counter .e-loop-item::before {
  counter-increment: post-counter;
  content: counter(post-counter);
  font-size: 65px;
  font-weight: 900;
  font-family: Inter;
  color: #E9494920;
  position: absolute;
  top: -35px;
  left: 0px;
  z-index: -1;
}
