@charset "UTF-8";
@import '../fonts/remixicon.css';
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700;1,800&display=swap");
@font-face {
  font-family: "made_sunflowerregular";
  src: url("../fonts/made_sunflower_personal_use-webfont.woff2") format("woff2"), url("../fonts/made_sunflower_personal_use-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "MagicRetro";
  src: url("../fonts/MagicRetro.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.list-books {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 16px;
}

.book-card {
  width: calc(33.33333% - 16px);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 0px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.4s;
}
.book-card:hover {
  transform: translateY(-10px);
}
.book-card .image {
  position: relative;
}
.book-card .image .new, .book-card .image .promo {
  position: absolute;
  left: -0.5em;
  display: inline-block;
  font-size: 1em;
  color: #fff;
  font-family: "EB Garamond", sans-serif;
  font-weight: 700;
  padding-inline: 0.5em;
  line-height: 1.8;
  border-bottom: 0.5em solid rgba(0, 0, 0, 0.3333333333);
  border-right: 0.8em solid rgba(0, 0, 0, 0);
  z-index: 2;
  clip-path: polygon(0 0, 0 calc(100% - 0.5em), 0.5em 100%, 0.5em calc(100% - 0.5em), 100% calc(100% - 0.5em), calc(100% - 0.8em) calc(50% - 0.25em), 100% 0);
}
.book-card .image .new {
  background: #d6a41b;
  top: 50px;
  color: #000;
}
.book-card .image .promo {
  background: #ba2727;
  top: 10px;
}
.book-card .image .prix {
  position: absolute;
  top: -0.5em;
  right: 1rem;
  font-family: "EB Garamond", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  background-color: #ebc150;
  color: #000;
  padding: 0.5em;
  padding-bottom: 0.8em;
  border-right: 0.5em solid rgba(0, 0, 0, 0.3333333333);
  border-bottom: 0.5em solid rgba(0, 0, 0, 0);
  clip-path: polygon(calc(100% - 0.5em) 0, 0 0, 0 100%, calc(50% - 0.25em) calc(100% - 0.8em), calc(100% - 0.5em) 100%, calc(100% - 0.5em) 0.5em, 100% 0.5em);
  z-index: 2;
}
.book-card .image .btn {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
  background-color: #ebc150;
}
.book-card .image .btn:hover {
  background-color: #d6a41b;
  font-size: 22px;
}
@media (min-width: 1080px) {
  .book-card .image .btn {
    font-size: 20px;
    bottom: 6.5rem;
  }
}
.book-card .image .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 150px;
  height: 100%;
  background: linear-gradient(120deg, rgba(235, 193, 80, 0) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(235, 193, 80, 0) 70%);
  transform: skewX(-20deg);
  animation: shine 1.5s ease-out infinite;
}
.book-card .image .accroche {
  font-style: italic;
  font-weight: 600;
  color: #fff;
  position: absolute;
  bottom: 15px;
  font-size: 16px;
  padding: 0.5rem 1rem;
  text-align: center;
  inset-inline: -0.8em;
  border-top: 0.8em solid rgba(0, 0, 0, 0.5333333333);
  line-height: 1.2;
  clip-path: polygon(0 100%, 100% 100%, 100% 0.8em, calc(100% - 0.8em) 0%, calc(100% - 0.8em) 0.8em, 0.8em 0.8em, 0.8em 0%, 0 0.8em);
  background-color: #d6a41b;
}
@media (min-width: 1080px) {
  .book-card .image .accroche {
    font-size: 18px;
    bottom: 30px;
  }
}
.book-card .image img {
  margin-bottom: 16px;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid #DEDEDE;
}
@media screen and (min-width: 801px) {
  .book-card .image img {
    height: 300px;
  }
}
@media screen and (min-width: 1024px) {
  .book-card .image img {
    height: 415px;
  }
}
@media screen and (min-width: 1024px) {
  .book-card .image img {
    height: 415px;
  }
}
@media screen and (min-width: 1161px) {
  .book-card .image img {
    height: 485px;
  }
}
.book-card .book-infos {
  height: 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.book-card .book-note {
  display: flex;
  align-items: center;
  gap: 10px;
}
.book-card .book-note__logo {
  height: 20px;
  width: auto;
}
.book-card .book-note__stars {
  display: flex;
  gap: 3px;
}
.book-card .book-note__stars .star {
  font-size: 20px;
  color: #ebc150;
}
.book-card .book-note__stars .star.full::before {
  content: "★";
}
.book-card .book-note__stars .star.half::before {
  content: "★";
  background: linear-gradient(90deg, #ebc150 50%, #F9F9F9 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.book-card .book-note__stars .star.empty::before {
  content: "★";
  color: #F9F9F9;
}
.book-card .book-titre {
  text-align: center;
  color: #d6a41b;
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 600;
}
@media (min-width: 1080px) {
  .book-card .book-titre {
    font-size: 1.5rem;
  }
}
.book-card .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.book-card .tags li {
  font-size: 0.7em;
  color: #fff;
  background: #000;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 20px;
  text-transform: uppercase;
  margin: 4px;
}
.book-card .description {
  text-align: center;
  font-size: 1rem;
}
@media (min-width: 1080px) {
  .book-card .description {
    font-size: 18px;
  }
}

@media screen and (max-width: 800px) {
  .book-card {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .book-card {
    width: 100%;
  }
}
@keyframes shine {
  0% {
    left: -100px;
  }
  60% {
    left: 100%;
  }
  to {
    left: 100%;
  }
}
.jp-editor h3, .jp-editor h4, .jp-editor h5, .jp-editor h6 {
  font-family: "Gloock", serif;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.4;
}
.jp-editor h2 {
  font-size: 22px;
  margin-bottom: 24px;
  line-height: 1.4;
  font-weight: 700;
}
@media (min-width: 1080px) {
  .jp-editor h2 {
    font-size: 26px;
  }
}
.jp-editor h3 {
  font-size: 26px;
  padding-left: 1rem;
  border-left: 3px solid #d6a41b;
  color: #d6a41b;
}
@media (min-width: 1080px) {
  .jp-editor h3 {
    font-size: 32px;
  }
}
.jp-editor h4 {
  font-size: 24px;
}
@media (min-width: 1080px) {
  .jp-editor h4 {
    font-size: 26px;
  }
}
.jp-editor h5 {
  font-size: 22px;
}
@media (min-width: 1080px) {
  .jp-editor h5 {
    font-size: 24px;
  }
}
.jp-editor h6 {
  font-size: 20px;
}
@media (min-width: 1080px) {
  .jp-editor h6 {
    font-size: 22px;
  }
}
.jp-editor p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 24px;
}
@media (min-width: 1080px) {
  .jp-editor p {
    font-size: 20px;
  }
}
.jp-editor b,
.jp-editor strong {
  font-weight: 700;
}
.jp-editor i,
.jp-editor em {
  font-style: italic;
}
.jp-editor a {
  font-weight: 700;
  color: #d6a41b;
}
.jp-editor p a {
  text-decoration: underline;
  transition: all 0.3s;
}
.jp-editor p a:hover {
  color: #000;
}
.jp-editor .wp-block-heading a {
  text-decoration: underline;
  transition: all 0.3s;
  color: #000;
}
.jp-editor .wp-block-heading a:hover {
  color: #d6a41b;
}
.jp-editor .wp-block-cover {
  margin: 32px 0;
}
.jp-editor .wp-block-image {
  max-width: 100%;
  display: block;
  margin: 32px auto;
  padding: 8px;
  text-align: center;
}
.jp-editor .wp-block-image img {
  height: auto;
  max-height: 60vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.jp-editor .wp-block-image figcaption {
  margin: 0;
}
.jp-editor .wp-block-image:has(figcaption) {
  max-width: 300px;
}
.jp-editor .wp-block-image:has(figcaption) img {
  max-height: initial;
}
.jp-editor figcaption {
  display: block;
  width: 100%;
  padding: 8px 0;
  margin-top: 4px;
  margin-bottom: 0;
  text-align: center;
  background-color: rgba(235, 193, 80, 0.2);
  padding: 0.5rem 1rem;
}
.jp-editor .wp-block-quote {
  margin: 32px 0;
}
.jp-editor .wp-block-quote p {
  color: #000;
  font-family: "Gloock", serif;
  font-size: 24px;
  margin-bottom: 0;
  text-align: center;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-quote p {
    font-size: 26px;
  }
}
.jp-editor .wp-block-pullquote {
  padding: 0;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-pullquote {
    padding: 2rem 0;
  }
}
.jp-editor .wp-block-pullquote blockquote {
  display: block;
  width: 100%;
  padding: 32px 16px;
  margin: 32px auto;
  position: relative;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-pullquote blockquote {
    margin: 48px auto;
  }
}
.jp-editor .wp-block-pullquote blockquote::before {
  content: "\ec51";
  font-family: "remixicon";
  color: #d6a41b;
  font-size: 3em;
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  left: 8px;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-pullquote blockquote::before {
    font-size: 5em;
    transform: translateY(-60%);
  }
}
.jp-editor .wp-block-pullquote blockquote::after {
  content: "\ec52";
  font-family: "remixicon";
  color: #d6a41b;
  font-size: 3em;
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  right: 8px;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-pullquote blockquote::after {
    font-size: 5em;
  }
}
.jp-editor .wp-block-pullquote blockquote p {
  color: #000;
  font-family: "Gloock", serif;
  font-size: 22px;
  margin-bottom: 0;
  text-align: center;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-pullquote blockquote p {
    font-size: 28px;
  }
}
.jp-editor .wp-block-pullquote blockquote cite {
  font-size: 22px;
  margin-top: 20px;
  font-style: italic;
}
.jp-editor .wp-block-audio {
  margin: 32px 0;
}
.jp-editor .wp-block-audio audio {
  width: 100%;
  background-color: #ebc150;
  border-radius: 50px;
}
.jp-editor .wp-block-audio audio::-webkit-media-controls-panel {
  background-color: #ebc150;
}
.jp-editor .wp-block-audio audio::-webkit-media-controls-play-button {
  background-color: white;
  border-radius: 50%;
}
.jp-editor .wp-block-audio audio::-webkit-media-controls-current-time-display, .jp-editor .wp-block-audio audio::-webkit-media-controls-time-remaining-display {
  color: #000;
}
.jp-editor ul {
  margin-bottom: 24px;
}
.jp-editor ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.2;
}
.jp-editor ul li h1,
.jp-editor ul li h2,
.jp-editor ul li h3,
.jp-editor ul li h4,
.jp-editor ul li h5,
.jp-editor ul li h6 {
  margin-bottom: 0;
}
.jp-editor ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border: 1px solid #d6a41b;
  transform: rotate(45deg) translateY(-50%);
  vertical-align: middle;
  flex-shrink: 0;
}
.jp-editor .wp-block-embed-instagram {
  margin-bottom: 24px;
}
.jp-editor .wp-block-embed-instagram iframe {
  margin: 0 auto !important;
}
.jp-editor .wp-block-embed-youtube {
  margin-bottom: 24px;
}
.jp-editor .wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.jp-editor .wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.jp-editor .wp-block-separator {
  width: 50%;
  height: 2px;
  background: #d6a41b;
  margin: 48px auto;
  border: none;
}
.jp-editor .wp-block-social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.jp-editor .wp-block-social-links li {
  color: #fff;
}
.jp-editor .wp-block-social-links li::before {
  display: none;
}
.jp-editor .wp-block-social-links li a {
  color: #fff;
}
.jp-editor .wp-block-media-text {
  gap: 16px;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-media-text {
    gap: 32px;
  }
}
.jp-editor .wp-block-media-text__content {
  position: relative;
  display: block;
  width: 100%;
  padding: 32px 16px;
  margin: 32px auto;
  position: relative;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-media-text__content {
    margin: 48px auto;
  }
}
.jp-editor .wp-block-media-text__content p {
  font-family: "Gloock", serif;
  font-size: 22px;
  margin-bottom: 0;
  text-align: center;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-media-text__content p {
    font-size: 28px;
  }
}
.jp-editor .wp-block-media-text__content::before {
  content: "\ec51";
  font-family: "remixicon";
  color: #d6a41b;
  font-size: 3em;
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  left: 8px;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-media-text__content::before {
    font-size: 5em;
    transform: translateY(-60%);
  }
}
.jp-editor .wp-block-media-text__content::after {
  content: "\ec52";
  font-family: "remixicon";
  color: #d6a41b;
  font-size: 3em;
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  right: 8px;
}
@media (min-width: 1080px) {
  .jp-editor .wp-block-media-text__content::after {
    font-size: 5em;
  }
}
.jp-editor .wp-block-button {
  margin: 32px 0;
}
.jp-editor .wp-block-button a {
  width: -moz-max-content;
  width: max-content;
  padding: 12px 20px;
  border-radius: 50px;
  background: #000;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  transition: 0.4s;
  border: 0;
  cursor: pointer;
  display: block;
}
.jp-editor .wp-block-button a:hover {
  background: #d6a41b;
}
.jp-editor .wp-block-button a mark {
  color: #fff;
}
.jp-editor .wp-block-details {
  border: 1px solid #DEDEDE;
  border-radius: 6px;
  background-color: #F9F9F9;
  padding: 10px 15px;
  margin: 15px 0;
  font-family: inherit;
}
.jp-editor .wp-block-details summary {
  cursor: pointer;
  font-weight: bold;
  color: #000;
  list-style: none;
  position: relative;
  padding-left: 25px;
}
.jp-editor .wp-block-details summary::before {
  content: "►";
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
  color: #d6a41b;
}
.jp-editor .wp-block-details[open] summary::before {
  transform: rotate(90deg);
}
.jp-editor .wp-block-details div, .jp-editor .wp-block-details p {
  margin-top: 10px;
  color: #000;
  line-height: 1.5;
}
.jp-editor .wp-block-embed-spotify {
  margin-bottom: 24px;
}
.jp-editor .wp-block-embed-spotify iframe {
  width: 100%;
  height: 80px;
}
.jp-editor .wp-block-embed-twitter .wp-block-embed__wrapper {
  display: flex;
  justify-content: center;
}

.onglets {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #DEDEDE;
}
.onglets__item {
  font-family: "Gloock", serif;
  font-size: 1.5rem;
  line-height: 1.2;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #DEDEDE;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}
@media (min-width: 1080px) {
  .onglets__item {
    font-size: 2rem;
  }
}
.onglets__item:hover {
  color: #000;
}
.onglets__item.active {
  color: #000;
  font-weight: bold;
  border-color: #d6a41b;
}

#auteur .container {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}
@media (min-width: 1080px) {
  #auteur .container {
    flex-direction: row;
    gap: 48px;
  }
}
#auteur .sidebar {
  text-align: center;
  margin-bottom: 48px;
}
@media (min-width: 1080px) {
  #auteur .sidebar {
    width: 30%;
  }
}
#auteur .sidebar img {
  width: 100%;
  max-width: 300px;
  -o-object-fit: contain;
     object-fit: contain;
}
#auteur .sidebar h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  text-align: center;
}
#auteur .sidebar .liens {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#auteur .sidebar .btn {
  width: 100%;
  text-align: center;
}
#auteur .content h1 {
  font-size: 2rem;
  font-family: "MagicRetro";
  line-height: 1.6;
  text-align: center;
  color: #d6a41b;
}
@media (min-width: 900px) {
  #auteur .content h1 {
    font-size: 2.5rem;
  }
}
@media (min-width: 1080px) {
  #auteur .content h1 {
    font-size: 3rem;
  }
}
#auteur .content h2 {
  font-family: "Gloock", serif;
  font-size: 1.25rem;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.4;
}
@media (min-width: 1080px) {
  #auteur .content h2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 1080px) {
  #auteur .content {
    width: 70%;
  }
}
#auteur .parcours {
  position: relative;
  width: 100%;
  margin: 4rem auto;
}
#auteur .parcours::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background-color: #DEDEDE;
}
#auteur .parcours .item {
  position: relative;
  width: 100%;
  padding-left: 5rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
  text-align: left;
}
#auteur .parcours .item .date {
  position: absolute;
  font-family: "Gloock", serif;
  top: 0;
  left: 0;
  transform: translateY(0);
  background-color: #ebc150;
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  font-size: 1rem;
}
#auteur .parcours .item .jp-editor p {
  font-size: 18px;
}
@media (min-width: 1080px) {
  #auteur .parcours::before {
    left: 50%;
    transform: translateX(-50%);
  }
  #auteur .parcours .item {
    width: 50%;
    padding: 0;
    min-height: 8rem;
  }
  #auteur .parcours .item:not(:first-child) {
    margin-top: -3rem;
  }
  #auteur .parcours .item .date {
    transform: translate(-50%);
    font-size: 1.25rem;
  }
  #auteur .parcours .item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 4rem;
  }
  #auteur .parcours .item:nth-child(odd) .date {
    right: 0;
    left: auto;
    transform: translate(50%);
  }
  #auteur .parcours .item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 4rem;
  }
  #auteur .parcours .item:nth-child(even) .date {
    left: 0;
  }
}

.books {
  background-color: #000;
  color: #fff;
  width: 100%;
  padding: 16px;
}
.books .slider {
  max-width: 750px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 1080px) {
  .books .slider {
    max-width: initial;
  }
}
.books .titre {
  font-family: "Gloock", serif;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 48px;
  color: #ebc150;
}
.books .book-card .tags li {
  background-color: #fff;
  color: #000;
}
.books .book-card .book-titre {
  color: #ebc150;
}
.books .book-card .image {
  position: relative;
  max-width: 250px;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 900px) {
  .books .book-card .image {
    max-width: 300px;
  }
}
.books .read-more {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 48px;
}
@media screen and (max-width: 801px) {
  .books .slider .prev-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 45px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 10;
    outline: none;
  }
  .books .slider .prev-arrow svg {
    fill: #fff;
  }
  .books .slider .next-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 45px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 10;
    outline: none;
  }
  .books .slider .next-arrow svg {
    fill: #fff;
  }
}