body.home {
  --background: var(--custom2);
}

body.home header {
  height: 100vh;
  height: 100svh;
  background-color: var(--lightpink);
  padding: var(--small-margin);
  padding-left: 98px;
}

body.home header .home-header {
  position: relative;
  height: 100%;
}

body.home header .home-header figure.logo {
  position: absolute;
  margin: auto;
  width: 40%;
  left: 0;
  bottom: 0;
  background-color: var(--base100);
  padding: 2em 2em 2.75em;
  border-top-right-radius: var(--small-margin);
}

body.home header .home-header figure.logo > h2 {
  font-size: var(--font-size);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  margin-top: 0.5em;
}

body.home header .home-header figure.ban-pic {
  position: relative;
  width: 100%;
  height: 100%;
}

body.home header .home-header figure.ban-pic > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home #last-podcasts {
  position: relative;
  left: 73px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: calc(100% - 73px);
  padding: 0 var(--small-margin) var(--small-margin);
  margin-top: 63px;
}

body.home #last-podcasts > h1 {
  font-size: var(--small-font-size);
  font-weight: 500;
  padding-top: var(--padding);
  padding-bottom: 0.3em;
  border-bottom: 4px solid var(--base100);
}

body.home #last-podcasts ul {
  width: 100%;
  column-count: 4;
  column-gap: var(--small-margin);
  padding: var(--small-margin) 0;
  margin-bottom: 63px;
}

body.home #last-podcasts ul > li {
  width: 100%;
}

body.home #last-podcasts ul > li > .audio-wrapper {
  position: relative;
  flex-flow: column wrap;
  height: 100%;
  max-width: 100%;
  margin-bottom: 0;
  box-shadow: rgba(26, 26, 26, 0.08) 0px -1px 4px 0px,
    rgba(26, 26, 26, 0.12) 0px 4px 8px 0px;
}

body.home #last-podcasts ul > li > .audio-wrapper > .audio-poster {
  width: 100%;
  height: 200px;
  border-width: 0px;
}

body.home #last-podcasts ul > li > .audio-wrapper > .audio-container {
  width: 100%;
}

body.home
  #last-podcasts
  ul
  > li
  > .audio-wrapper
  > .audio-container
  > .audio-info {
  background-color: var(--base100);
  padding: 0;
  border-top: 1px solid;
}

body.home
  #last-podcasts
  ul
  > li
  > .audio-wrapper
  > .audio-container
  > .audio-play-icon {
  width: 100%;
  border-width: 0;
}

body.home
  #last-podcasts
  ul
  > li
  > .audio-wrapper
  > .audio-poster
  > .audio-play-icon
  > span {
  box-shadow: rgba(26, 26, 26, 0.08) 0px -1px 4px 0px,
    rgba(26, 26, 26, 0.12) 0px 4px 8px 0px;
}

body.home
  #last-podcasts
  ul
  > li
  > .audio-wrapper
  > .audio-container
  > .audio-info
  > .audio-title {
  width: 100%;
  font-size: var(--med-font-size);
  font-weight: 700;
  line-height: 1.3;
  padding: 0.5em var(--small-margin) 0.6em;
  margin: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

body.home
  #last-podcasts
  ul
  > li
  > .audio-wrapper
  > .audio-container
  > .audio-info
  > .audio-subtitle,
body.home
  #last-podcasts
  ul
  > li
  > .audio-wrapper
  > .audio-container
  > .audio-info
  > .audio-description {
  display: none;
}

body.home #last-podcasts .infos-sup {
  position: relative;
  display: flex;
  width: calc(50% - 12.5px);
  height: calc(220px + 4em);
  padding: calc(var(--padding) * 2);
  border-radius: var(--padding);
  overflow: hidden;
}

body.home #last-podcasts .infos-sup > h2 {
  margin: auto;
  font-size: calc(14px + 3.215vw);
}

body.home #last-podcasts .infos-sup::before,
body.home #last-podcasts .infos-sup::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  transition: all 0.3s linear;
  z-index: -1;
}

body.home #last-podcasts .infos-sup::before {
  width: 100%;
  background-color: var(--lightpink);
}

body.home #last-podcasts .infos-sup.ql-lahalte::before {
  background-color: var(--pink);
}

body.home #last-podcasts .infos-sup::after {
  width: 0;
}

body.home #last-podcasts .infos-sup:hover {
  background-color: transparent;
}

body.home #last-podcasts .infos-sup:hover::after {
  width: 100%;
  background: var(--custom2);
}

body.home #last-actus {
  display: flex;
  flex-flow: row wrap;
  gap: var(--small-margin);
  background-color: var(--base100);
  padding: 63px var(--small-margin);
  padding-left: 98px;
  margin-top: 63px;
}

body.home #last-actus > h1 {
  width: 100%;
  font-size: var(--small-font-size);
  font-weight: 500;
  margin-bottom: 1em;
}

body.home #last-actus > h1 > span {
  padding-bottom: 0.3em;
  border-bottom: 4px solid var(--custom2);
}

body.home #last-actus > a {
  height: 350px;
  flex-grow: 1;
  flex-basis: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--base100);
  padding: var(--small-margin);
  border-radius: 6px;
  box-shadow: rgba(26, 26, 26, 0.08) 0px -1px 4px 0px,
    rgba(26, 26, 26, 0.12) 0px 4px 8px 0px;
}

body.home #last-actus > a:hover {
  background-color: var(--lightpink);
}

body.home #last-actus > a > h1 {
  font-family: "Euripides";
  font-size: var(--big-font-size);
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  padding: 0.3em 0.4em 0.4em;
  margin: 0;
}

body.home footer.footer {
  margin-top: 0;
}

/*------------------Responsive------------------*/
@media screen and (min-width: 1920px) {
  body.home #last-podcasts ul > li > .audio-wrapper > .audio-poster {
    height: 280px;
  }
}

@media screen and (max-width: 1024px) {
  body.home header .home-header figure.logo {
    max-height: 35%;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-right-width: 0;
    border-radius: 0;
  }

  body.home #last-podcasts ul {
    column-count: 2;
    padding-bottom: 1em;
  }

  body.home #last-podcasts ul > li {
    margin-bottom: var(--small-margin);
  }
}

@media screen and (max-width: 768px) {
  body.home header {
    padding: var(--padding);
    padding-top: calc(50px + 1em);
  }

  body.home header .home-header > img {
    height: 75%;
  }

  body.home header .home-header figure.logo {
    width: 100%;
    max-height: 45%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    border-right-width: 0;
    border-radius: 0;
  }

  body.home header .home-header figure.logo svg {
    margin: 0 auto;
  }

  body.home header .home-header figure.logo > h2 {
    font-size: var(--med-font-size);
  }

  body.home header,
  body.home #last-podcasts,
  body.home #last-actus {
    left: 0;
    width: 100%;
    padding-left: var(--padding);
    padding-right: var(--padding);
  }

  body.home #last-podcasts ul > li > .audio-wrapper {
    box-shadow: none;
  }

  body.home
    #last-podcasts
    ul
    > li
    > .audio-wrapper
    > .audio-container
    > .audio-info
    > .audio-title {
    font-size: var(--small-font-size);
  }

  body.home #last-podcasts .infos-sup {
    width: 100%;
  }

  body.home #last-podcasts .infos-sup:first-of-type {
    margin-bottom: var(--small-margin);
  }

  body.home #last-actus {
    flex-direction: column;
    padding-left: var(--padding);
    padding-right: var(--padding);
  }

  body.home #last-actus > a {
    height: auto;
    flex-basis: auto;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: none;
  }

  body.home #last-actus > a > h1 {
    text-align: left;
  }
}

@media screen and (max-width: 580px) {
  body.home #last-podcasts ul {
    column-count: 1;
  }
}

@media screen and (max-width: 375px) {
  body.home #last-actus > a > h1 {
    font-size: calc(14px + 3.215vw);
  }
}

@media screen and (max-height: 540px) {
  body.home header .home-header figure.logo {
    max-height: 100%;
    height: 100%;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0;
    border-top-right-radius: 0;
  }
}
