 
/* PLANNING HOME */

/* section.planning-home {
  padding: 0 0 2.5em 0;
} */

.planning-home-container {
  max-width: 100rem;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  color: white;
  font-family: inherit;
  font-weight: normal;
  line-height: inherit;
  text-transform: unset;
  text-rendering: optimizeLegibility;
}

.planning-home .scroll {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 0 2rem 0 2rem;
  margin: 2.5rem 0;
  cursor: default;
  overflow: scroll hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0px 1.25rem;
  scrollbar-width: none;
}
.planning-home .scroll::-webkit-scrollbar {
  display: none;
}
.planning-home .scroll.active {
  cursor: grab;
  cursor: -webkit-grab;
}
.planning-home .scroll .planning-home-card {
  width: 18rem;
  height: 10rem;
  flex: 0 0 auto;
  margin: 0 0.50rem;
  padding: var(--planning-home-padding);
  border: none;
  outline: none;
  border-radius: calc(var(--planning-home-radius-interne) + var(--planning-home-padding));
  background-color: #191919;
  border: var(--xds-bordercolor);
  display: flex;
  flex-direction: row;
}
.planning-home .scroll .planning-home-card-image {
  position: relative;
  display: block;
}
.planning-home .scroll .planning-home-card-image div {
  width: 100px;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center 35%;
  border-radius: var(--planning-home-radius-interne);
}
.planning-home .scroll .planning-home-card-image div img {
  width: 100%;
  height: auto;
  margin: auto;
  position: absolute;
  top: -100%;
  right: -100%;
  bottom: -100%;
  left: -100%;
}
.planning-home .scroll .planning-home-card-inner {
  width: 100%;
  height: 8rem;
  padding: 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

@media screen and (max-width: 1130px) and (orientation: portrait) {
  .planning-home-container {
    grid-auto-flow: dense;
  }
}
@media screen and (max-width: 1130px) and (orientation: landscape) {
  .planning-home-container {
    grid-auto-flow: dense;
  }
}

.planning-home-card-inner h3 {
  /* height: 25%; */
  font-family: "CaustenRound Bold";
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  overflow: hidden;
  font-size: 1.25rem;
}
.planning-home-card-inner p {
  font-size: 1rem;
}
.planning-home-card-inner .description {
  /* height: 60%; */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-family: "CaustenRound Medium";
  padding: 0.2rem 0 0 0;
}
.planning-home-card-inner .date {
  height: 20%;
  font-family: "CaustenRound Regular";
  padding: 0.5rem 0;
}
.planning-home-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: flex-start;
  width: 100%;
  height: auto;
  padding: 1rem 0;
  margin: 0 2.5rem;
  cursor: default;
}
.planning-home-box h1 {
  font-family: "CaustenRound Black";
  font-size: 3em;
  position: relative;
  text-transform: uppercase;
}
.planning-home-box span {
  font-family: "CaustenRound Regular";
  font-size: 1.5em;
  position: relative;
}
.planning-home-btn {
  font-family: "CaustenRound Regular";
  font-size: 1em;
  padding: 5px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
  position: relative;
  text-align: center;
  border-radius: 80px;
  width: 150px;
  margin-top: 10px;
  transform-style: preserve-3d;
  transition: all .5s ease-in-out;
}

.planning-home-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: inherit;
  filter: blur(8px);
  transform: translate3d(0px,0px,-1px);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -ms-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition:  opacity .5s ease-in-out;
}
.planning-home-btn:hover:before {
  opacity: 0.8;
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -ms-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition:  opacity .5s ease-in-out;
}

.box.scroll {
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0) 2%, rgba(0, 0, 0, 1) 5% 95%, rgba(0, 0, 0, 0) 98% 5%);
  mask: linear-gradient(90deg, rgba(0, 0, 0, 0) 2%, rgba(0, 0, 0, 1) 5% 95%, rgba(0, 0, 0, 0) 98% 5%);
}

/* PLANNING PAGE */
section.planning-container {
  display: flex;
  flex-direction: row;
  color: white;
  width: 100%;
  margin: 2.5rem 0;
}
.planning-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  overflow: hidden;
  
}

.planning-image img {
  width: 100%;
  height: -webkit-fill-available;
  border-radius: calc(var(--xds-borderradius) +  var(--xds-padding));
  border: var(--xds-bordercolor);
}

.planning-text {
  width: 30%;
  padding: var(--xds-padding);
  background-color: #191919;
  border: var(--xds-bordercolor);
  border-radius: calc(var(--xds-borderradius) +  var(--xds-padding));
  margin-left: 20px;
  max-height: 29.5vw;
  overflow: hidden;
}

.planning-content {
  display: block;
  overflow: overlay;
  height: 95%;
  padding: 25px 0;
  -webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 0) 2%, rgba(0, 0, 0, 1) 5% 95%, rgba(0, 0, 0, 0) 98% 5%);
  mask: linear-gradient(0deg, rgba(0, 0, 0, 0) 2%, rgba(0, 0, 0, 1) 5% 95%, rgba(0, 0, 0, 0) 98% 5%);

}

.planning-text h1 {
  font-family: "CaustenRound Black";
  font-size: 2rem;
}
.planning-content p {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #343434;
  margin: 5px 0 0 0;
}

.planning-content p:last-child {
  border-bottom: none;
}

.planning-content p span:nth-child(1) {
  font-family: "CaustenRound Bold";
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  overflow: hidden;
  font-size: 1.1rem;
}

.planning-content p span:nth-child(2) {
  font-family: "CaustenRound Medium";
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  overflow: hidden;
  font-size: .8rem;
}

.planning-content p span:nth-child(3) {
  font-family: "CaustenRound Regular";
  margin-bottom: 5px;
  font-size: .9rem;
}

.planning-fullscreen-button {
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 1s ease;
  background-color: rgb(27, 27, 27);
  float: right;
  margin-bottom: 10px;
  font-family: "CaustenRound Regular";
}
.planning-fullscreen-button:hover {
  color: white;
  transition: all 1s ease;
  background-color: rgb(41, 41, 41);
}
.planning-fullscreen-button a {
  color: white;
  text-decoration: none;
}
.planning-fullscreen-button a:active {
  color: white;
  text-decoration: none;
}

/* PLANNING PAGE YOUTUBE PLAYLIST */

section.planning-youtube-container {
  color: white;
  padding: 0 0 2.5em 0;
}

.planning-yt-playlist-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.planning-yt-playlist-title h3 {
  font-family: "CaustenRound Bold";
  font-size: 1.5em;
}

.planning-yt-playlist-title span {
  font-family: "CaustenRound Bold";
  font-size: 2em;
  margin-left: 10px;
  top: 2px;
  position: relative;
}

.planning-yt-box {
  /* display: flex; */
  min-height: 100%;
}

.planning-yt-box #videos {
  padding: var(--xds-padding);
  margin: 0 auto;
  display: grid;
  gap: 25px;
  color: white;
  grid-template-columns: repeat(auto-fit, minmax(25vh, 1fr));
}

.planning-yt-videos img {
  border-radius: calc(var(--xds-borderradius) + var(--xds-padding) - 5px);
}

.planning-yt-videos {
  margin-bottom: 10px;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  transition: all .9s ease;
}

.planning-yt-videos:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 2;
  transition: all .9s ease;
}

.planning-yt-infos img {
  border-radius: 50% !important;
  height: 100%;
}

.planning-yt-infos p {
  font-family: "CaustenRound Bold";
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  overflow: hidden;
}
.planning-yt-infos small {
  font-size: 0.7em;
  font-family: "CaustenRound RegularOblique";
}
.planning-yt-infos {
  display: flex;
  gap: 20px;
}


/* BESTOF */





@media screen and (max-width: 1630px) and (orientation: portrait) {
  .planning-text {
    display: none;
  }
}
@media screen and (max-width: 1630px) and (orientation: landscape) {
  .planning-text {
    display: none;
  }
}

@media screen and (min-width: 894px) and (max-width: 1350px) {
  .planning-yt-box #videos {
    grid-template-columns: repeat(auto-fit, minmax(19vh, 1fr));
  }
}

@media screen and (max-width: 894px) and (orientation: portrait) {
  .planning-yt-box #videos {
    grid-template-columns: repeat(auto-fit, minmax(14vh, 1fr));
  }
}