/* =========================================================
   HONFLEUR INSIDER
   COUPS DE COEUR
   ========================================================= */

.rdh-cdc-main {
  padding: 18px 18px 110px;
}


/* =========================================================
   A LA UNE
   ========================================================= */

.rdh-cdc-featured {
  display: block;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .08);
}

.rdh-cdc-featured-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.rdh-cdc-heart {
  position: absolute;
  right: 14px;
  bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  background: rgba(255, 255, 255, .94);
  border-radius: 50%;

  font-size: 22px;
}

.rdh-cdc-featured-content {
  padding: 18px;
}

.rdh-cdc-kicker {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .55;
}

.rdh-cdc-featured-content h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.rdh-cdc-featured-content p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.45;
  opacity: .72;
}

.rdh-cdc-discover {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 15px;

  font-weight: 700;
}

.rdh-cdc-discover span {
  font-size: 25px;
  line-height: 1;
}


/* =========================================================
   LISTE
   ========================================================= */

.rdh-cdc-list {
  display: grid;
  gap: 16px;
}

.rdh-cdc-card {
  display: block;
  overflow: hidden;

  background: #fff;
  border-radius: 18px;

  color: inherit;
  text-decoration: none;

  box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
}

.rdh-cdc-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.rdh-cdc-card-content {
  position: relative;
  padding: 15px 46px 16px 16px;
}

.rdh-cdc-card-content h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.rdh-cdc-card-content p {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.4;
  opacity: .68;
}

.rdh-cdc-arrow {
  position: absolute;
  top: 50%;
  right: 16px;

  transform: translateY(-50%);

  font-size: 30px;
  line-height: 1;
}

.rdh-cdc-empty {
  padding: 30px 20px;

  background: #fff;
  border-radius: 18px;

  text-align: center;
}


/* =========================================================
   COUPS DE COEUR - FICHE DETAILLEE
   ========================================================= */

.rdh-cdc-single {
  padding: 18px 18px 110px;
}

.rdh-cdc-single-image {
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  aspect-ratio: 16 / 10;
}

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

.rdh-cdc-single-article {
  padding: 20px 18px 22px;
  background: #fff;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .08);
}

.rdh-cdc-single-article h1 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.15;
}

.rdh-cdc-single-kicker {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .55;
}

.rdh-cdc-single-content {
  font-size: 16px;
  line-height: 1.6;
}

.rdh-cdc-single-content p {
  margin: 0 0 16px;
}

.rdh-cdc-video {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 16px;
}

.rdh-cdc-video iframe,
.rdh-cdc-video video,
.rdh-cdc-video .wp-video,
.rdh-cdc-video .wp-video-shortcode {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.rdh-cdc-video iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.rdh-cdc-video-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.rdh-cdc-back-list {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}


/* =========================================================
   COUPS DE COEUR - FINITIONS FICHE
   ========================================================= */

.rdh-cdc-single-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-bottom: 14px;
  padding: 10px 14px;

  background: #fff;
  border-radius: 999px;

  color: inherit;
  text-decoration: none;
  font-weight: 700;

  box-shadow: 0 5px 16px rgba(0, 0, 0, .06);
}

.rdh-cdc-single-back span {
  font-size: 24px;
  line-height: 1;
}

.rdh-cdc-video {
  margin-top: 24px;
  margin-bottom: 8px;
}

.rdh-cdc-single-article {
  margin-bottom: 8px;
}

.rdh-cdc-back-list {
  margin-top: 18px;
}

@media (max-width: 700px) {

  .rdh-cdc-single {
    padding-top: 14px;
  }

  .rdh-cdc-single-image {
    aspect-ratio: 16 / 8.7;
  }

  .rdh-cdc-single-article {
    padding: 18px 16px 22px;
  }

  .rdh-cdc-single-article h1 {
    font-size: 25px;
  }

  .rdh-cdc-single-content {
    font-size: 15px;
    line-height: 1.55;
  }

}


/* =========================================================
   COUPS DE COEUR - LISTE COMPACTE
   Permet de voir le début des autres coups de coeur
   dès le premier écran.
   ========================================================= */

.rdh-cdc-page .rdh-cdc-featured {
  margin-bottom: 16px;
}

.rdh-cdc-page .rdh-cdc-featured-image {
  aspect-ratio: 16 / 7.2;
}

.rdh-cdc-page .rdh-cdc-featured-content {
  padding: 14px 16px 15px;
}

.rdh-cdc-page .rdh-cdc-featured-content h2 {
  font-size: 22px;
}

.rdh-cdc-page .rdh-cdc-featured-content p {
  margin-top: 7px;
  line-height: 1.35;
}

.rdh-cdc-page .rdh-cdc-discover {
  margin-top: 10px;
}


/*
 * IMPORTANT :
 * la fiche individuelle conserve son grand visuel.
 */
.rdh-cdc-page .rdh-cdc-single-image {
  aspect-ratio: 16 / 8.7;
}


@media (max-width: 700px) {

  .rdh-cdc-page .rdh-cdc-main {
    padding-top: 12px;
  }

  .rdh-cdc-page .rdh-cdc-featured-image {
    aspect-ratio: 16 / 6.8;
  }

  .rdh-cdc-page .rdh-cdc-featured-content {
    padding: 12px 15px 14px;
  }

  .rdh-cdc-page .rdh-cdc-kicker {
    margin-bottom: 5px;
  }

  .rdh-cdc-page .rdh-cdc-featured-content h2 {
    font-size: 21px;
  }

  .rdh-cdc-page .rdh-cdc-featured-content p {
    font-size: 14px;
    margin-top: 6px;
  }

}


/* =========================================================
   COUPS DE COEUR - LISTE HORIZONTALE
   MODELE PROCHE DES CARTES PROMENADES
   ========================================================= */

.rdh-cdc-page .rdh-cdc-featured,
.rdh-cdc-page .rdh-cdc-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;

  overflow: hidden;

  background: #fff;
  border-radius: 22px;

  box-shadow: 0 7px 22px rgba(0, 0, 0, .07);
}


/* IMAGE */

.rdh-cdc-page .rdh-cdc-featured-image,
.rdh-cdc-page .rdh-cdc-card-image {
  width: 150px;
  height: 150px;

  aspect-ratio: auto;

  overflow: hidden;
}

.rdh-cdc-page .rdh-cdc-featured-image img,
.rdh-cdc-page .rdh-cdc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* COEUR SUR LA CARTE A LA UNE */

.rdh-cdc-page .rdh-cdc-heart {
  width: 32px;
  height: 32px;

  right: 9px;
  bottom: 9px;

  font-size: 17px;
}


/* CONTENU */

.rdh-cdc-page .rdh-cdc-featured-content,
.rdh-cdc-page .rdh-cdc-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 14px 42px 14px 18px;
}


/* TITRES */

.rdh-cdc-page .rdh-cdc-featured-content h2,
.rdh-cdc-page .rdh-cdc-card-content h3 {
  margin: 0;

  font-size: 21px;
  line-height: 1.15;
}


/* PETIT LABEL A LA UNE */

.rdh-cdc-page .rdh-cdc-kicker {
  margin: 0 0 5px;

  font-size: 11px;
}


/* RESUMES */

.rdh-cdc-page .rdh-cdc-featured-content p,
.rdh-cdc-page .rdh-cdc-card-content p {
  margin: 8px 0 0;

  font-size: 14px;
  line-height: 1.38;
}


/* LIEN DECOUVRIR */

.rdh-cdc-page .rdh-cdc-discover {
  margin-top: 9px;

  font-size: 14px;
}


/* FLECHE DES CARTES NORMALES */

.rdh-cdc-page .rdh-cdc-arrow {
  right: 15px;

  font-size: 28px;
}


/* ESPACEMENT ENTRE LES CARTES */

.rdh-cdc-page .rdh-cdc-featured {
  margin-bottom: 14px;
}

.rdh-cdc-page .rdh-cdc-list {
  gap: 14px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .rdh-cdc-page .rdh-cdc-featured,
  .rdh-cdc-page .rdh-cdc-card {
    grid-template-columns: 118px minmax(0, 1fr);

    min-height: 118px;
    border-radius: 18px;
  }

  .rdh-cdc-page .rdh-cdc-featured-image,
  .rdh-cdc-page .rdh-cdc-card-image {
    width: 118px;
    height: 118px;
  }

  .rdh-cdc-page .rdh-cdc-featured-content,
  .rdh-cdc-page .rdh-cdc-card-content {
    padding: 11px 34px 11px 13px;
  }

  .rdh-cdc-page .rdh-cdc-featured-content h2,
  .rdh-cdc-page .rdh-cdc-card-content h3 {
    font-size: 18px;
  }

  .rdh-cdc-page .rdh-cdc-featured-content p,
  .rdh-cdc-page .rdh-cdc-card-content p {
    margin-top: 5px;

    font-size: 12.5px;
    line-height: 1.3;
  }

  .rdh-cdc-page .rdh-cdc-kicker {
    font-size: 9.5px;
  }

  .rdh-cdc-page .rdh-cdc-discover {
    margin-top: 6px;

    font-size: 13px;
  }

  .rdh-cdc-page .rdh-cdc-heart {
    width: 27px;
    height: 27px;

    font-size: 14px;
  }

}


/* =========================================================
   COUPS DE COEUR - IMAGE ARRONDIE TYPE PROMENADES
   ========================================================= */

.rdh-cdc-page .rdh-cdc-featured,
.rdh-cdc-page .rdh-cdc-card {
  padding: 12px;
  column-gap: 16px;
  grid-template-columns: 136px minmax(0, 1fr);
}

.rdh-cdc-page .rdh-cdc-featured-image,
.rdh-cdc-page .rdh-cdc-card-image {
  width: 136px;
  height: 136px;

  border-radius: 20px;
  overflow: hidden;

  align-self: center;
  justify-self: start;
}

.rdh-cdc-page .rdh-cdc-featured-content,
.rdh-cdc-page .rdh-cdc-card-content {
  padding: 8px 38px 8px 0;
}

.rdh-cdc-page .rdh-cdc-heart {
  right: 10px;
  bottom: 10px;
}


@media (max-width: 700px) {

  .rdh-cdc-page .rdh-cdc-featured,
  .rdh-cdc-page .rdh-cdc-card {
    padding: 10px;
    column-gap: 12px;
    grid-template-columns: 104px minmax(0, 1fr);
    border-radius: 18px;
  }

  .rdh-cdc-page .rdh-cdc-featured-image,
  .rdh-cdc-page .rdh-cdc-card-image {
    width: 104px;
    height: 104px;
    border-radius: 16px;
  }

  .rdh-cdc-page .rdh-cdc-featured-content,
  .rdh-cdc-page .rdh-cdc-card-content {
    padding: 4px 30px 4px 0;
  }

  .rdh-cdc-page .rdh-cdc-heart {
    width: 26px;
    height: 26px;
    right: 8px;
    bottom: 8px;
  }

}


/* =========================================================
   HONFLEUR INSIDER - GALERIE OEUVRES V1
   ========================================================= */

.rdh-cdc-gallery {
    margin-top: 30px;
}

.rdh-cdc-gallery-title {
    margin: 0 0 15px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.rdh-cdc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rdh-cdc-gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
}

.rdh-cdc-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.rdh-cdc-gallery-item:active img {
    transform: scale(.98);
}


.rdh-cdc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, .92);
}

.rdh-cdc-lightbox.is-open {
    display: flex;
}

.rdh-cdc-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.rdh-cdc-lightbox-close {
    position: absolute;
    top: max(16px, env(safe-area-inset-top));
    right: 18px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    font-size: 30px;
    line-height: 40px;
    cursor: pointer;
}

@media (min-width: 650px) {

    .rdh-cdc-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}



/* =========================================================
   HONFLEUR INSIDER - FLECHE UNIFIEE V1
   ========================================================= */

/*
 * Les cartes normales et le Coup de coeur à la une
 * utilisent désormais exactement le même principe
 * de positionnement de la flèche.
 */

.rdh-cdc-page .rdh-cdc-featured,
.rdh-cdc-page .rdh-cdc-card {
    position: relative;
}


/*
 * Flèche sobre identique sur toutes les cartes.
 */

.rdh-cdc-page .rdh-cdc-featured > .rdh-cdc-featured-content > .rdh-cdc-arrow,
.rdh-cdc-page .rdh-cdc-card .rdh-cdc-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);

    display: block;

    margin: 0;
    padding: 0;

    font-size: 28px;
    line-height: 1;

    color: inherit;
    opacity: 1;

    pointer-events: none;
}



/* =========================================================
   HONFLEUR INSIDER - ALIGNEMENT CARTES V1
   ========================================================= */

/*
 * Uniformise la hauteur et le centrage des cartes
 * pour que les flèches soient parfaitement alignées.
 */

.rdh-cdc-page .rdh-cdc-featured,
.rdh-cdc-page .rdh-cdc-card {
    position: relative;
    min-height: 160px;
}


/*
 * Centrage vertical cohérent du contenu.
 */

.rdh-cdc-page .rdh-cdc-featured-content,
.rdh-cdc-page .rdh-cdc-card-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*
 * Limite les résumés pour éviter les décalages
 * de hauteur entre les cartes.
 */

.rdh-cdc-page .rdh-cdc-featured-content p,
.rdh-cdc-page .rdh-cdc-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/*
 * Même position exacte de flèche pour toutes les cartes.
 */

.rdh-cdc-page .rdh-cdc-featured > .rdh-cdc-featured-content > .rdh-cdc-arrow,
.rdh-cdc-page .rdh-cdc-card .rdh-cdc-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}


@media (max-width: 700px) {

    .rdh-cdc-page .rdh-cdc-featured,
    .rdh-cdc-page .rdh-cdc-card {
        min-height: 124px;
    }
}



/* =========================================================
   HONFLEUR INSIDER - ALIGNEMENT FLECHES FINAL V1
   ========================================================= */

/*
 * La carte entière devient l'unique repère
 * de positionnement de la flèche.
 */

.rdh-cdc-page .rdh-cdc-featured,
.rdh-cdc-page .rdh-cdc-card {
    position: relative !important;
}


/*
 * Le bloc texte ne doit surtout pas devenir
 * le repère de la flèche.
 */

.rdh-cdc-page .rdh-cdc-featured-content,
.rdh-cdc-page .rdh-cdc-card-content {
    position: static !important;
}


/*
 * Position strictement identique pour toutes les flèches.
 */

.rdh-cdc-page .rdh-cdc-featured .rdh-cdc-arrow,
.rdh-cdc-page .rdh-cdc-card .rdh-cdc-arrow {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    left: auto !important;

    transform: translateY(-50%) !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    font-size: 28px !important;
    line-height: 1 !important;

    pointer-events: none;
}

