.vedettes {
  /* display: flex;
  gap: 15px; */
  .vedette-first-section {
        flex: 0 0 65%;
        min-height: 60vh;
        transition: 0.2s;
        position: relative;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-end;
  }
  .content {
    position: absolute;
    z-index: 1;
    color: #fff;
    margin: 20px;
    h4 {
      color: #fff !important;
      font-weight: bold;
      text-shadow: rgba(0, 0, 0, 0.6) 0 0 8px;
      margin-bottom: 40px;
      font-size: 37px;
    }
    .date {
      font-size: 12px;
      margin-bottom: 0;
      margin-top: 5px;
      color: #fff !important;
      margin-top: 5px;
    }
  }
  .vedette-second-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    * > {
      flex: 1;
    }
    .article-3,
    .article-2 {
      background-size: cover;
      background-position: center;
      height: 100%;
      position: relative;
      display: flex;
      align-items: end;
      h6 {
        color: #fff !important;
      }
    }
  }
}

.small .meta-item{
    font-size: 12px;
    opacity: .6;
    color: var(--gris-perle);
    z-index: 2;
    line-height: 1;
}

.read-more{
  font-size: 12px;
    opacity: .6;
    color: var(--bleu-primary);
    z-index: 2;
    line-height: 1;
    transition: all .6s ease;
}

.read-more:hover{
    opacity: 1;
    color: var(--bleu-primary);
}

/* Responsive styles vedettes*/
@media (max-width: 991px) {
  .vedettes {
    flex-direction: column;
  }
  .publication-background {
    height: 200px !important;
  }
}

.category-label{
  background-color:var(--bleu-primary);
  padding:4px 12px;
  border-radius:5px;
  font-weight:700;
  font-size:10px;
  text-transform: uppercase;
  color:var(--gris-perle);
  z-index:3;
  position:relative;
  display:inline-block;
  margin-bottom:5px;
}

.publication-background {
  transition: 0.2s;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  height:195px;
  &.overlay {
    &::after {
      position: absolute;
      content: "";
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      z-index: 1;
      bottom: 0;
      background: linear-gradient(0deg, var(--bleu-primary), transparent);
      transition: all 0.2s ease-in-out;
      opacity: 0.8;
      pointer-events: none;
      height:50%;
    }
    &::hover{
      &::after{
        opacity:1;
      }
    }
  }



  .content-category-list {
    position: absolute;
    right: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    a {
      padding: 5px;
      font-size: 0.8rem;
      margin-right: 5px;
      margin-top: 5px;
      color: #fff;
      font-size: 0.7rem;
    }
  }
}
.card-img-top {
  z-index: 2;
  /* position: absolute; */
  top: 0;
  right: 0;
  bottom: 0;
}

.publication-background{
  border-radius:5px;
}

.archive .publication-background{
  height:250px;
}

/***** REPEATER CONTENU FLEXIBLE CAROUSEL ARTICLE ****/
.card-publication {
  border-top: 5px solid transparent;
  .publication-background {
    min-height: 200px;
  }
  &:hover {
    .overlay {
      &::after {
        opacity: 1;
      }
    }
  }
  .content {
    z-index: 2;
    .card-title {
      font-size: 18px;
      font-weight: bold;
      color: var(--gris-perle);
      margin-left: 15px;
      margin-right: 15px;
      margin-bottom: 15px;
    }
  }

  .card-body {
    box-shadow: 0 1px 1px rgba(62, 66, 75, 0.05);
    background: var(--color-pale-grey);
    margin-bottom: 2rem;
    border-radius: 0.2rem;
    padding: 15px;
    height: 240px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    p {
      font-size: 15px;
    }
  }
}
.cat-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
/*  border-bottom:1px solid #28284663;*/

  h2,h3,h4,h5,h6{
    margin:0;
  }
}

.cat-title.plus-de-3{
  max-width:92%;
}

h2.title {
  color: var(--blue-primary);
  font-size: 10px;
  font-weight:700;
  color: var(--gris-perle);
  text-transform: uppercase;
  /* width:50%; */
  display: flex;
  align-items: center;
  margin:inherit;
  margin-bottom: 0;
  margin-top: 0;
}

.card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  text-decoration: none;
  color: inherit;
}

.carousel-large {
  display: block;
  position:relative;
}

.carousel-mobile {
  display: none;
  position:relative;
}

.card-video-wrapper:hover .publication-background::after,
.publication-background:hover:after  {
  opacity: 1;
}

.dark-text .meta-item,.dark-text *{
  color:var(--bleu-primary);
}


@media (max-width: 768px) {
  .carousel-large {
    display: none;
  }
  .carousel-mobile {
    display: block;
  }
}
iframe {
  width: 100%;
}
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;
}

main#main,
#carouselVedettes,
.carousel-item,
.carousel-inner{
  height:100%;
}

.button-next,
.button-prev {
  cursor: pointer !important;
  position: absolute;
  top: 0;
  right:0;
  bottom:inherit;
  z-index: 1;
  display:flex;
  height:inherit;
  width: auto;
  padding: 0;
  margin-top:inherit;
  background-color:transparent;
  color: inherit;
  text-align: center;
  border: 0;
  opacity:1 !important;
  transition: opacity 0.3s ease;
  left:inherit;
justify-content:inherit;
align-items:inherit;
pointer-events:inherit;

  .carousel-control-prev-icon {
    background-image: none;
  }
  .carousel-control-next-icon {
    background-image:none;
  }
  .carousel-control-next-icon, 
  .carousel-control-prev-icon{
    width:24px;
    height:24px;
    background-color:var(--bleu-primary);
    opacity: 1;
    color:var(--gris-perle);
    padding:5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:5px;

    i{
      font-size:14px;
    }
  }





  .carousel-control-next-icon:hover, 
  .carousel-control-prev-icon:hover{
    opacity: .8;
    transition: opacity 0.3s ease;
  }
}

.lower-case{
  text-transform: lowercase;
}

.swiper-slide {
    margin-right: 15px !important;
}

  .button-prev{
    right:26px;
  }

  .carousel-control-prev{
    padding:5px 0 5px 8px;
  }

  .carousel-control-prev {
    left: inherit !important;
    right: 28px;
  }
  .carousel-control-next {
    right: 0;
  }

/***** REPEATER CONTENU FLEXIBLE LISTE ARTICLE ****/

#articleListe {
  .article-item {
    display: flex;
    justify-content: center;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    border-bottom:1px solid #28284663;
    .article-img {
      width: 200px;
      margin-right: 30px;
      border-radius:5px;
      img {
        width: 200px;
        border-radius:5px 5px 0 0;
      }
    }
    .article-content {
      width: 100%;
      margin-block: auto;

      .article-content-title {
        font-size: 16px;
        font-weight: 600;
        a {
          font-size: 16px;
          color: var(--bleu-primary);
        }
      }
      .article-content-date {
        font-size: 12px;
        margin-bottom: 0;
        margin-top: 5px;
      }
    }
  }
}

/***** REPEATER CONTENU FLEXIBLE CAROUSEL ARTICLE VIDEO ****/
.carrousel-video {
  border-top: 5px solid transparent;
  position: relative;
  &:hover {
    .overlay {
      &::after {
        opacity: 1;
      }
    }
  }
}
.content-video {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  background: var(--color-dark);
  padding: 7px 10px 10px 10px;
  border-radius: 40px;
  width: 43px;
  height: 43px;
  text-align: center;
}

.card-video-title {
  font-size: 14px;
  color: var(--bleu-primary);
  font-weight: 600;
  margin-top:10px;
  line-height: 1.2;
}

/** PAGINATION **/
.pagination-wrapper {
  text-align: center;
  margin: 20px 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  color: #d64c99;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.pagination .page-numbers.current {
  background-color: #d64c99;
  color: #fff;
  border-color: #d64c99;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
  background-color: #b53d7d;
  color: #fff;
  border-color: #b53d7d;
}

/* Single post */

.single .post-meta .meta-item{
  color:var(--bleu-primary);
}

.single .card-publications .post-meta .meta-item{
  color:var(--gris-perle);
}


.single-category-list {
  display: flex;
  flex-direction: row;
  width: 100%;
  a {
    padding: 10px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-top: 5px;
    color: #fff;
    white-space: nowrap;
    font-weight: 300;
    line-height: 1;
  }
}

.categories-top a{
  background-color:var(--bleu-primary);
  padding:5px 12px;
  color:var(--gris-perle);
  border-radius: 5px;
  text-transform: uppercase;
  font-weight:600;
}

.categories-top a:hover{
  text-decoration: none;
}

.publication-title {
  font-size: 2rem;
  margin-block: 1rem;
  color: #37474f;
  line-height: 1.2;
}
.info-author {
  margin-block: 20px;
  background-color: var(--color-pale-grey);
  padding: 20px;
  p {
    margin-top: 5px;
  }
  a {
    color: var(--color-primary);
    &:hover {
      color: #fff;
    }
  }
}
.line {
  border-bottom: 1px solid var(--color-dark);
  margin-bottom: 20px;
}
article img {
  margin: 10px;
}

.ad-section {
  text-align: center;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
}

/** CONTENU FLEXIBLE**/
.bg-pale-grey {
  background-color: rgba(255,255,255, 1) !important;
  padding-block: 30px;
  box-shadow: 2px 2px 3px rgba(0,0,0,.2);
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after
{
  display:none;
}


.dossier-numerique {
/*  h3 {
    color: var(--color-primary);
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-bottom: 2rem;
  }
  h5 {
    font-weight: bold;
    font-size: 40px;
    text-align: center;
  }*/
  .author-name {
    color: var(--color-primary);
    font-style: italic;
    text-align: center;
  }
  a {
    font-weight: bold;
    color: var(--color-primary);
    text-align: center;
    font-size: 15px;
    &:hover {
      color: #000;
    }
  }
}

.side-news .cta-newsletter h5,
.widget-nouvelles .widget-title{
  color: var(--blue-primary);
    font-size: 20px;
    font-weight:900;
    text-transform: uppercase;
    width:100%;
    margin-bottom: 10px;
    border-bottom:1px solid #28284663;
}

.side-news .cta-newsletter{
  background-color:#fff;
  padding:15px;
  margin-bottom:20px;
  margin-top:20px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, .2);
  p{
    font-size: 15px;
    font-weight: 500;
  }

  a{
    display: inline-block;
    border-radius: 100px;
    background-color: var(--rose-primary);
    padding: 7px 12px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 11px;
    color:var(--gris-perle);
      &:before {
        font-family: "bootstrap-icons";
        content: "\F73A"; 
        font-weight: normal;
        font-style: normal;
        display: inline-block;
        margin-right: 5px;
      }
  }

}

.widget-nouvelles {

  .next-article {
    overflow: hidden;
    margin-bottom: 8px;
    border-bottom: 1px solid #28284663;
  h2.title{
    font-size:10px;
  }
    .content-article {
      h3 {
        font-size: 16px;
        font-weight: 600;
        color: #3c3d3d;
      }
      span {
        font-size: 12px;
        margin-bottom: 0;
        margin-top: 5px;
        line-height: 1.5;
      }
      a {
      }
    }
  }
}

.content{
  color:inherit;
}

.next-article {
  h3 {
    line-height:.8;
    a{
      font-size:17px;
      color:var(--blue-primary);
      font-weight: 700;
      line-height:.8;
    }
  }
  .small .meta-item{
    color:var(--blue-primary);
  }
  p{
    margin-bottom:0;
  }
}

/*** Archive votre journal**/
#archive-journal {
  .catalogue {
    margin: 2rem;
    h6 {
      font-size: 16px;
      text-align: center;
      margin-top: 1rem;
    }
  }
  .search-bar {
    margin-top: 2rem;
    display: flex;
    input {
      height: 35px;
      border-color: #e4eaec;
      overflow: hidden;
      box-shadow: none;
      width: 100%;
      outline: 0;
      &:focus {
        border-color: #cb007c !important;
      }
      &:active {
        border-color: #cb007c !important;
      }
    }
    button {
      padding: 5px 10px;
      background-color: var(--color-primary);
      color: var(--color-white);
      border: 1px solid var(--color-primary);
      min-height: 32px;
      line-height: 1.5;
    }
  }
}

.publication-background {
  position: relative;
  overflow: hidden;
}

.full-link {
  position: absolute;
  inset: 0; /* équivaut à top:0; right:0; bottom:0; left:0; */
  z-index: 3;
}
.publication-background .content {
  position: relative;
  z-index: 2;
}

/* Catégorie en haut du titre */

.btn.btn-primary, .btn.btn-secondary{
  background-color: var(--bleu-primary);
  border-color:var(--bleu-primary);
  padding:5px 12px;
  &:hover{
    background-color: var(--violet-primary);
    border-color:var(--violet-primary);
  }
}

div#comments {
    border-top: 1px solid #fff;
    padding-top: 30px;
}




/* Titre */
h1.titre-article {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top:20px;
  margin-bottom:20px;
}

/* Section auteur */
.author-section {
  border: 1px solid #ddd;
  padding: 15px 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.author-avatar img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  border-radius: 50%;
}

.author-section p {
  margin-bottom: 5px;
  font-size: 1rem;
}

.author-section a.btn {
  font-size: 0.7rem;
  padding: 5px 12px;
}

/* Image à la une */
figure img {
  border-radius: 8px;
  object-fit: cover;
  max-height: 400px;
}

figcaption {
  font-style: italic;
  color: #666;
  font-size: 0.85rem;
}

figcaption .caption {
  font-weight: 500;
}

figcaption .credit {
  font-weight: 300;
  color: #999;
}

/* Contenu article */
.post-content {
  font-size: 1.125rem;
  line-height: 1.7;
}

.figure-img, .wp-block-image>figure img, figure.wp-block-image img{
  margin-left:0;
  margin-right:0;
}



/*@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}*/
