:root {
  /* Couleurs principales */
  --rose-primary: #F50087;
  --bleu-primary: #282846;
  --noir: #000000;
  --violet-primary: #530CAA;

  /* Couleurs secondaires / accents */
  --rose-secondaire: #FFC8FF;
  --turquoise: #0CF6D7;
  --violet-secondaire: #9619F5;
  --aqua: #87FFF5;
  --rose-nuage: #FFE6FF;
  --jaune-citron: #CDEB00;
  --jaune-fluo: #E1FA1E;

  /* Couleurs neutres */
  --gris-perle: #EBEBF5;
  --gris-sepia: #50506E;
}

.bkg-dark{
  background-color:var(--bleu-primary);
}



#home-banner{
  img{
    max-width:150px;
  }
}

.image-bg {
  /* background-size: cover;
  background-attachment: fixed;
  background-color: #707d9e; */
  .overlay {
    padding: 60px 0;
  }
}
.theme-title-one {
  position: relative;
  text-align: center;
}
.theme-title-one h2 {
  position: relative;
  text-transform: uppercase;
  padding-bottom: 22px;
}
.theme-title-one h2:before {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 10px;
  background: #c3c3c3;
  position: absolute;
  bottom: 0;
}
.theme-title-one p {
  padding-top: 20px;
}
/*------------------- Theme Pagination ------------------*/
.theme-pagination ul {
  padding-top: 40px;
}
.theme-pagination ul li {
  display: inline-block;
}
.theme-pagination ul li a {
  display: block;
  font-size: 16px;
  color: #232323;
  width: 50px;
  line-height: 48px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #dadada;
}
.theme-pagination ul li a:hover,
.theme-pagination ul li.active a {
  color: #fff;
}
.theme-pagination ul li.active a {
  cursor: default;
}
/*--------------------------- Theme Header One  ---------------------*/
.header-one {
  position: relative;
}
.header-one .top-header {
  background: #fff;
  padding: 40px 0 32px 0;
}
.header-one .top-header .address-wrapper li {
  display: inline-block;
  vertical-align: middle;
}
.header-one .top-header .address-wrapper .quotes a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 46px;
  padding: 0 27px;
  border-width: 2px;
  border-radius: 5px;
}
.header-one .top-header .address-wrapper .quotes a:hover {
  color: #fff;
}
.header-one .top-header .address-wrapper .address {
  position: relative;
  padding: 0 38px 0 60px;
  margin-right: 15px;
}
.header-one .top-header .address-wrapper .address .icon {
  position: absolute;
  top: -6px;
  left: 0;
  font-size: 40px;
}
.header-one .top-header .address-wrapper .address:first-child:before {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 1px;
  height: 42px;
  background: #e8e8e8;
}
.header-one .top-header .address-wrapper .address:first-child {
  margin-right: 35px;
}
/*--------------------------- Theme Header Two  ---------------------*/
.header-two .top-header {
  background: var(--color-primary);
  padding: 12px 0;
}
.header-two .top-header .left-widget li {
  display: inline-block;
  color: #fff;
  font-size: 16px;
}
#polyglotLanguageSwitcher {
  margin-left: 25px;
}
#polyglotLanguageSwitcher span.trigger:before {
  content: "";
  position: absolute;
  color: #fff;
  top: 0;
  right: -32px;
}
#polyglotLanguageSwitcher a {
  display: inline-block;
  font-size: 15px;
  color: #fff;
  font-weight: normal;
}
.header-two .top-header .social-icon {
  text-align: right;
}
.header-two .top-header .social-icon li {
  display: inline-block;
  margin-left: 15px;
}
.header-two .top-header .social-icon li a {
  font-size: 15px;
  color: #ccd1dd;
}
.header-two .top-header .social-icon li a:hover {
  color: #fff;
}

.image-bg {
  background-size: cover;
  background-position: center;
  padding: 50px 0;
  position: relative;
}

.image-bg .overlay {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  padding: 50px 0;
}

.image-bg .container {
  position: relative;
  z-index: 2;
}

.image-bg .row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.image-bg .text {
  color: #fff;
  flex: 1; /* Ensure the text takes up available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

.image-bg .theme-title-one h2 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.image-bg p {
  font-size: 16px;
  line-height: 1.6;
}

.image-bg .image-container {
  flex: 1; /* Ensure the image container takes up available space */
  background-size: cover;
  background-position: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}
.btn-flexible {
  border-radius: 0 !important;
  white-space: nowrap;
  text-align: center !important;
  padding: 0.8rem 1rem;
  line-height: 1.5;
  background-color: var(--color-primary);
  color: #fff;
  width: fit-content;
  &:hover {
    background-color: var(--color-primary-default-hover);
    color: #fff !important;
  }
}
@media (max-width: 991.98px) {
  .image-bg .theme-title-one h2 {
    font-size: 24px;
  }
  .image-bg .row {
    flex-direction: column;
  }
  .image-bg .text {
    text-align: left;
    order: 2; /* Ensure text appears below the image on smaller screens */
  }
  .image-bg .image-container {
    order: 1; /* Ensure image appears above the text on smaller screens */
    height: 300px; /* Set a fixed height for the background image on smaller screens */
  }
}

#single-dossier-numerique {
  h2 {
    color: #37474f;
    margin-bottom: 1.5rem;
  }
  h4 {
    line-height: 1.2;
    margin-top: 1.5rem;
    color: var(--color-primary-default-hover);
  }
  .video-container {
    margin-top: 1rem;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 40.25%;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

#archive-dossiers-numeriques {
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    border-color: var(--color-dark);
    .image {
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      min-height: 150px;
      width: 60%;
    }
    .content {
      width: 40%;
      padding: 1rem;
      h3 {
        color: var(--color-primary);
        text-transform: uppercase;
        font-size: 1rem;
        font-weight: bold;
      }
      h5 {
        color: var(--color-dark);
        font-size: 13px;
      }
    }
  }
  @media (max-width: 991.98px) {
    .grid {
      grid-template-columns: repeat(1, 1fr);
    }
    .card {
      flex-direction: column;
      .image {
        width: 100%;
      }
      .content {
        width: 100%;
      }
    }
  }
}

.video-droite-contenu-gauche {
  display: flex;
  gap: 2rem;
  align-items: center;
  .video-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
  }
  .content {
    h2 {
      color: var(--color-primary-default-hover);
      font-size: 25px;
      font-weight: bold;
    }
  }
}
@media (max-width: 768px) {
  .video-droite-contenu-gauche {
    flex-direction: column;
    .video-container {
      order: 2;
    }
    .content {
      order: 1; /* Ensure content  appears above the video on smaller screens */
      h2 {
        font-size: 20px;
      }
    }
  }
}
.post-image {
  img {
    width: 100%;
    margin-bottom: 2rem;
  }
}
