/*
Theme Name: radio
Text Domain: radio
Author: Louise Obé
Version: 1.0
Description: css radio
*/
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.parallax {
  will-change: transform;
  transition: transform 0.1s linear;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
body,
html {
  width: 100vw;
  overflow-x: hidden;
}
strong {
  font-weight: 500;
}
body {
  min-height: 100vh;
  position: relative;
  font-size: 15px;
  color: #267058;
  font-weight: 500;
  font-family: "Nunito", sans-serif;
  background: url("img/bg-beige.png");
}
.mobile {
  display: none !important;
}
.desktop {
  display: block;
}
.section-container {
  max-width: 1200px;
  width: 1300px;
}
section {
  align-items: center;
}
h1,
h2,
h5,
h3 {
  font-family: 'DIN Alternate', sans-serif;
  font-weight: bold;
}
h2 {
  text-transform: uppercase;
  margin-bottom: 25px;
  font-size: 20px;
  letter-spacing: 0.05em;
}
h2.title,
h2.search {
  display: flex;
  align-items: center;
  gap: 12px;
}
h2.title::before,
h2.search::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url('img/wave-title.png') no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}
h2.search::before {
  background: url('img/search.png') no-repeat center;
  background-size: contain;
}
p {
  text-align: left;
  font-size: 15px;
  /* réglages complémentaires */
  word-spacing: normal;
  /* pas d'espace artificiellement augmenté */
  text-justify: inter-word;
}
a.button {
  padding: 6px 30px;
  border-radius: 30px;
  background-color: #AFD59B;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  border-color: #AFD59B;
}
a.button:hover {
  background-color: #AFD59B !important;
  color: #267058 !important;
}
header {
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: 99;
}
header nav {
  flex: 1;
  display: flex !important;
  justify-content: space-evenly;
  flex-direction: row;
  align-items: center;
  max-width: 90%;
}
header nav .logo {
  max-width: 100px;
}
header nav ul {
  display: flex;
  justify-content: space-around;
}
header nav ul li {
  padding: 10px 0;
}
header nav ul li a {
  color: white;
  font-size: 13px;
  transition: all 0.2s;
  position: relative;
  font-weight: 700;
  padding: 0 20px;
}
header nav ul ul.sub-menu {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  padding: 20px 0;
  transform: translateY(20px);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  background-color: white;
  gap: 10px;
  box-shadow: 2px 2px 3px #cb6a0c;
}
header nav ul ul.sub-menu li {
  padding: 0;
}
header nav ul ul.sub-menu a {
  color: #267058;
  font-size: 11px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: url('img/bg-footer.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom;
}
footer .footer-container {
  display: flex;
  flex-direction: row;
  padding: 15vw 0 6vw 0;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  position: relative;
  gap: 10vw;
}
footer .footer-container .footer-column {
  flex: 1;
  color: white;
}
footer .footer-container .footer-column .logo {
  width: 150px;
  max-width: 45vw;
}
footer .footer-container .footer-column.footer-menu {
  flex: 2;
}
footer .footer-container .footer-column.footer-menu ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
footer .footer-container .footer-column.footer-menu ul li a {
  color: white;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-decoration: none;
  font-size: 12px;
}
footer .footer-container .footer-column.socials {
  display: flex;
  gap: 20px;
}
footer .footer-container .footer-column.socials img {
  width: 30px;
}
div.red,
div.yellow {
  position: absolute;
  bottom: -15vw;
  width: 100vw;
  z-index: 0;
}
div.red img,
div.yellow img {
  width: 100%;
}
div.socials a {
  transition: all 0.3s ease-out;
}
div.socials a:hover {
  transform: scale(1.08);
}
.footer-bottom {
  background-color: #1E5140;
  color: white;
  width: 100vw;
  padding: 8px 20px 100px 20px;
  text-align: center;
  font-size: 12px;
}
.footer-bottom a {
  position: relative;
  color: white;
}
input[type="text"] {
  border: 1px solid #267058;
  border-radius: 0;
  padding: 10px 14px;
  outline: none;
  width: 100%;
  font-size: 16px;
  color: #267058;
}
input[type="text"]:focus {
  border-color: #FEBE53;
}
input[type="text"]::placeholder {
  color: #999;
}
.btn-download {
  background: url(img/dl.svg);
  width: 30px;
  height: 30px;
  transition: all 0.2s ease-out;
}
.btn-download:hover {
  transform: scale(1.1);
}
.btn-download-programme {
  color: #267058;
  text-decoration: none;
  display: block;
  margin: 0 auto;
}
.btn-play-pause {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: none;
  cursor: pointer;
  background: #CF5D2F;
  z-index: 3;
  transition: all 0.2s ease-out;
}
.btn-play-pause:hover {
  transform: scale(1.1);
}
.btn-play-pause.btn-direct {
  position: relative;
  width: auto;
  padding: 4px 30px;
  border-radius: 30px;
  background-color: #AFD59B;
  color: white;
  font-size: 13px;
  text-transform: uppercase;
  transition: all 0.3s;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  border-color: #AFD59B;
  right: initial;
  bottom: initial;
  height: initial;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-play-pause.btn-direct:hover {
  background-color: #AFD59B !important;
  color: #267058 !important;
  transform: none;
}
.btn-play-pause.btn-direct .icon {
  padding: 0 !important;
  height: 13px !important;
}
.btn-play-pause.btn-direct span {
  position: relative;
}
.btn-play-pause.btn-direct span.playing {
  background-color: #CF5D2F;
  width: 13px;
  height: 13px;
  border-radius: 100%;
  animation: playing-pulse 2s ease-in-out infinite alternate;
}
@keyframes playing-pulse {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1);
  }
}
.btn-direct .icon-loader,
.btn-direct .playing {
  display: none;
}
.btn-direct .icon-play::before {
  font-size: 13px !important;
}
.btn-direct.is-loading .icon-play {
  display: none;
}
.btn-direct.is-loading .icon-loader {
  display: inline-block;
}
.btn-direct.is-playing .icon-play {
  display: none;
}
.btn-direct.is-playing .playing {
  display: inline-block;
}
/* Base icons */
.btn-play-pause .icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
  padding-left: 3px;
}
/* Play icon */
.btn-play-pause .icon-play {
  padding: 0;
}
.btn-play-pause .icon-play::before {
  content: "";
  width: 70%;
  height: 70%;
  background: url(img/play.svg);
  background-size: contain;
}
.btn-play-pause .icon-pause {
  padding: 0;
}
/* Pause icon */
.btn-play-pause .icon-pause::before {
  content: "";
  width: 70%;
  height: 70%;
  background: url(img/pause.svg);
  background-size: contain;
}
.btn-play-pause .icon-loader,
.btn-direct .icon-loader {
  padding: 0 !important;
}
/* Loader icon */
.btn-play-pause .icon-loader::before,
.btn-direct .icon-loader::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top-color: #AFD59B;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
/* États par défaut */
.btn-play-pause .icon-pause,
.btn-play-pause .icon-loader,
.btn-direct .icon-loader {
  display: none;
}
/* État PLAYING */
.btn-play-pause.is-playing .icon-play {
  display: none;
}
.btn-play-pause.is-playing .icon-pause {
  display: flex;
}
/* État LOADING */
.btn-play-pause.is-loading .icon-play,
.btn-play-pause.is-loading .icon-pause {
  display: none;
}
.btn-play-pause.is-loading .icon-loader,
.btn-direct.is-loading .icon-loader {
  display: flex;
}
/* Animation loader */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
section.banner {
  background-image: var(--banner-top);
  background-size: cover;
  background-position: bottom center;
  border-bottom: 3px solid #FEBE53;
  height: 30vh;
  align-items: flex-end;
}
section.banner::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #2a4c2a3b;
}
section.banner .section-container {
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
}
section.banner .section-container img {
  width: 200px;
  max-width: 45vw;
}
section.banner .section-container h1 {
  font-family: "Nunito", sans-serif;
  color: white;
  text-transform: uppercase;
}
section.banner-home {
  height: 55vh;
  align-items: center;
}
section.banner-home h1 {
  font-family: "Nunito", sans-serif;
  text-transform: none;
  font-style: italic;
  color: white;
  margin-top: 30px;
  font-size: 13px;
  text-align: center;
}
section.banner-home img {
  margin-top: 10%;
}
div.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.episode-card {
  text-decoration: none;
  max-width: 100%;
  border-radius: 20px;
  background-color: white;
  display: flex;
  position: relative;
  height: fit-content;
  flex-direction: column;
  overflow: hidden;
}
.episode-card a {
  text-decoration: none;
  color: #267058;
}
.episode-card button {
  bottom: 35%;
}
.episode-card h3 {
  flex: 0.5;
  margin: 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
  text-align: center;
  line-height: 1em;
  height: calc(1em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.episode-card .episode-image {
  position: relative;
  overflow: hidden;
  flex: 2.5;
  height: auto;
  aspect-ratio: 3/2;
}
.episode-card .episode-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease-out;
}
.episode-card .episode-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
}
.episode-card .episode-image:hover img {
  transform: scale(1.1);
}
section.latest-episodes .section-container {
  max-width: 100vw;
  width: 100vw;
  padding-left: 0;
  padding: 0;
}
section.latest-episodes .title {
  margin: 60px 100px;
}
section.latest-episodes .episodes-slider {
  overflow: hidden;
  width: 100%;
  padding-right: 80px;
}
section.latest-episodes .swiper-wrapper {
  align-items: stretch;
  padding-left: 40px;
}
section.latest-episodes .swiper-slide {
  height: auto;
  width: auto;
  transition: transform 0.3s ease;
}
section.latest-episodes .swiper-slide .episode-card {
  width: inherit;
  position: relative;
}
section.latest-episodes .episode-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-right: 40px;
}
section.latest-episodes .episode-nav button {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: #AFD59B;
  cursor: pointer;
  font-size: 18px;
  transition: 0.2s;
  color: white;
}
section.daily-hub .red {
  bottom: initial;
  top: 30%;
}
section.daily-hub .section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
section.daily-hub .section-container .hub {
  border: 2px solid #AFD59B;
  border-radius: 30px;
  padding: 40px;
  overflow: hidden;
}
section.daily-hub .section-container .daily-hub__left {
  background: white;
}
section.daily-hub .section-container .daily-hub__left h2 {
  margin-bottom: 30px;
}
section.daily-hub .section-container .daily-hub__left p {
  margin-bottom: 15px;
}
section.daily-hub .section-container .daily-hub__left p span {
  padding-right: 40px;
}
section.daily-hub .section-container .daily-hub__right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
section.daily-hub .section-container .daily-hub__top {
  padding: 0;
  display: flex;
  flex-direction: column;
}
section.daily-hub .section-container .daily-hub__top .btn-play-pause {
  width: 70px;
  height: 70px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: initial;
  right: initial;
}
section.daily-hub .section-container .daily-hub__top .btn-play-pause:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
section.daily-hub .section-container .daily-hub__top div {
  position: relative;
}
section.daily-hub .section-container .daily-hub__top div img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
}
section.daily-hub .section-container .daily-hub__top div.txt {
  padding: 20px;
}
section.daily-hub .section-container .daily-hub__top div h2 {
  margin-bottom: 3px;
}
section.daily-hub .section-container .daily-hub__bottom input[type="text"] {
  margin: 0px 0 20px 0;
}
section.daily-hub .section-container .daily-hub__bottom button {
  margin-bottom: 20px;
  border: none;
  padding: 6px 30px;
  border-radius: 30px;
  background-color: #AFD59B;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  border-color: #AFD59B;
  cursor: pointer;
  font-weight: bold;
}
section.daily-hub .section-container .daily-hub__top,
section.daily-hub .section-container .daily-hub__bottom {
  background: white;
}
section.volunteer-emission div.section-container {
  display: initial;
  max-width: 1300px;
}
section.volunteer-emission div.section-container a.button {
  margin: 0 auto;
  display: block;
  width: 350px;
  margin-top: 30px;
  text-align: center;
}
section.newsletter {
  background: url(img/banner2.jpg);
  border-top: 3px solid #FEBE53;
  border-bottom: 3px solid #FEBE53;
  background-size: cover;
  background-position: bottom center;
  display: flex;
  flex-direction: row;
  height: 350px;
  padding: 10vw;
}
section.newsletter .empty {
  flex: 1.5;
}
section.newsletter .green {
  flex: 2;
  background: #267058;
  background: url("img/green-bg.png");
  border-radius: 30px;
  color: white;
  padding: 3vw 8vw;
  text-align: center;
  position: relative;
}
section.newsletter .green p {
  text-align: center;
  margin-bottom: 30px;
}
section.newsletter .green img {
  position: absolute;
  width: 300px;
  left: -200px;
  bottom: 0;
}
section.partners {
  display: block;
  margin-top: 50px;
  min-height: 300px;
}
section.partners .title {
  margin: 60px 100px;
}
section.partners .partners-slider {
  overflow: hidden;
}
section.partners .swiper-wrapper {
  transition-timing-function: linear;
  align-items: center;
}
section.partners .swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
section.partners img {
  max-width: 200px;
  height: auto;
  max-height: 100px;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}
section.partners img:hover {
  filter: grayscale(0);
  opacity: 1;
}
#radio-player {
  position: fixed;
  background-color: white;
  display: flex;
  flex-direction: row;
  width: 90vw;
  height: 70px;
  bottom: 20px;
  border-radius: 30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 5;
  border: 1px solid #AFD59B;
  overflow: hidden;
}
#radio-player .type {
  background: url('img/shape-player.svg');
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: right;
  padding: 20px;
  height: 100%;
  color: white;
  font-weight: 800;
  width: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#radio-player .radio-player-info {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 30px;
  font-size: 13px;
  overflow: hidden;
  width: 37vw;
  gap: 10px;
}
#radio-player .radio-player-info button,
#radio-player .radio-player-info strong {
  display: inline-block;
  flex: none;
}
#radio-player .radio-player-info .player-title-container {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
#radio-player .radio-player-info #player-title {
  display: inline-block;
  white-space: nowrap;
}
#radio-player .radio-player-info .btn-play-pause {
  position: relative;
  top: inherit;
  bottom: inherit;
  right: inherit;
}
#radio-player .player-progress {
  position: absolute;
  right: 40px;
  width: 40vw;
  top: 25%;
}
#radio-player .player-progress .player-time {
  text-align: right;
}
#radio-player #player-progress {
  --progress: 0%;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #267058 0%, #267058 var(--progress), #AFD59B var(--progress), #AFD59B 100%);
  border-radius: 10px;
  cursor: pointer;
}
#radio-player #player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #267058;
  border-radius: 50%;
  cursor: pointer;
}
#radio-player #player-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  background: #267058;
  border-radius: 50%;
  cursor: pointer;
}
#radio-player .player-time {
  font-size: 12px;
}
@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% / 2));
  }
}
@media (max-width: 1200px) {
  div.grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  section.daily-hub .section-container {
    grid-template-columns: 1fr;
  }
  section.daily-hub .section-container .daily-hub__right {
    grid-template-rows: auto;
  }
}
@media (max-width: 900px) {
  header {
    justify-content: flex-start;
    padding-left: 30px;
    height: 90px;
  }
  nav#mobile-menu {
    background-color: #267058;
    pointer-events: none;
    left: 0;
    max-width: 100vw;
  }
  nav#mobile-menu.active {
    pointer-events: inherit;
  }
  nav#mobile-menu ul li {
    text-align: left;
    width: 80%;
    margin-bottom: 0;
  }
  nav#mobile-menu ul.sub-menu {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 3px;
    gap: 3px;
  }
  nav#mobile-menu ul.sub-menu li {
    padding: 5px;
  }
  nav.desktop {
    display: none! important;
  }
  .mobile {
    display: block !important;
  }
  .desktop {
    display: none !important;
  }
  nav.mobile,
  .mobile-logo,
  .mobile.ham {
    display: block !important;
  }
  nav.mobile .btn-play-pause.btn-direct {
    margin-left: 65px;
    margin-top: 30px;
  }
  .mobile .logo {
    width: 80px;
  }
  section.latest-episodes .title,
  section.partners .title {
    margin: 20px;
  }
  h2 {
    font-size: 16px;
  }
  section.latest-episodes .episode-nav {
    display: none;
  }
  .section-container {
    padding: 20px;
    max-width: 100vw;
  }
  .daily-hub__left .button {
    margin-top: 20px;
  }
  section.daily-hub .section-container .hub {
    padding: 30px;
  }
  section.daily-hub .section-container .daily-hub__top div.txt {
    padding: 0;
    margin-top: 10px;
  }
  .episode-card h3 {
    margin: 10px;
  }
  .episode-card button {
    bottom: initial;
    top: 10%;
  }
  section.newsletter {
    height: auto;
    padding: 20px;
  }
  section.newsletter div.empty {
    display: none;
  }
  section.newsletter .green {
    padding: 20px;
  }
  section.newsletter .green img {
    display: none;
  }
  section.partners {
    min-height: auto;
    margin-bottom: 100px;
  }
  footer {
    background: #267058;
    padding: 20px;
  }
  footer .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .footer-container .footer-column .logo {
    width: 30vw;
  }
  footer .footer-container .footer-column.footer-menu ul {
    display: block;
  }
  footer .footer-container .footer-column.footer-menu ul li {
    margin-bottom: 20px;
  }
  #radio-player {
    width: 95vw;
    height: 60px;
    bottom: 10px;
    border-radius: 15px;
  }
  #radio-player .type {
    display: none;
  }
  #radio-player .radio-player-info {
    padding-left: 20px;
  }
  #radio-player .player-progress {
    width: 50vw;
    right: 20px;
  }
  section.banner {
    height: 20vh;
  }
  section.banner-home {
    height: 50vh;
  }
  p {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  div.grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
