/*********************** TITRES GLOBAUX ***********************/

h1.titre-page {
  font-size: 16px;
  margin: 9px auto 6px;
  color: var(--blanc);
  text-transform: uppercase;
  font-weight: 500;
  max-width: 80%;
  text-align: center;
}

.intro-page {
  align-self: center;
  color: var(--blanc);
  font-weight: 500;
  font-size: 18px;
  margin: 20px 25px;
  max-width: 740px;
}

h1.titre-fond-clair {
  font-size: 27px !important;
  margin-left: 45px;
}

h1.titre-fond-clair::before {
  width: 135px;
  height: 120px;
}

.page-hirondelle h2 { font-size: 24px; margin-top: 25px; margin-bottom: 20px; }
.page-hirondelle h3 { font-size: 22px; margin-top: 15px; margin-bottom: 10px; }
.page-hirondelle h4 { font-size: 20px; margin-bottom: 15px; }
.page-hirondelle h5 { font-size: 18px; }

.page-hirondelle h2 {
  display: inline-block;
  position: relative;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.31px;
  line-height: 22px;
  padding-left: 45px;
}

.page-hirondelle h2::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 30px;
  height: 30px;
  background-color: var(--rouge-clair);
  border-radius: 7px;
}

span.titre-meme-theme {
  display: block;
  position: relative;
  line-height: 1em;
  padding-left: 110px;
}

span.titre-meme-theme::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  transform: translateY(-50%);
  width: 90px;
  height: 120px;
  background-image: url(../../icons/logo-line-titre.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 1350px) {

  span.titre-meme-theme {
    padding-left: 100px;
  }

  span.titre-meme-theme::before {
    left: -5px;
    width: 92px;
    height: 92px;
  }
}

@media (max-width: 767px) {

  span.titre-meme-theme {
    padding-left: 80px;
  }

  span.titre-meme-theme::before {
    top: 12px;
    width: 72px;
    height: 72px;
  }
}

/****** Titre de l'article ******/

.titre-article {
  height: 100px;
  margin-bottom: 25px;
  overflow-y: scroll;
}

.titre-article::-webkit-scrollbar {
  width: 8px;
}

.titre-article::-webkit-scrollbar-track {
  background: transparent;
}

.titre-article::-webkit-scrollbar-thumb {
  background: var(--rouge-clair);
  border-radius: 10px;
}

.titre-article::-webkit-scrollbar-button {
  display: none;
}

@media (max-width: 1024px) {

  .titre-article {
    height: 90px;
  }
}

@media (max-width: 767px) {

  .titre-article {
    height: auto;
    overflow-y: inherit;
  }
}

/****** Titres simples ******/

.titre-fond-clair-simple {
  position: relative;
  display: inline-block;
  padding-left: 95px;
}

.titre-fond-clair-simple::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  background-image: url(../../icons/logo-line-titre.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

@media (max-width: 1350px) {
  .titre-fond-clair-simple {
    padding-left: 85px;
  }

  .titre-fond-clair-simple::before {
    left: -18px;
    width: 92px;
    height: 92px;
  }
}

/****** Titres page d'Accueil ******/

/* Titres : "Vidéos" (.titre-fond-fonce) + "Nos programmes" (.titre-fond-clair) */

.titre-fond-fonce,
.titre-fond-clair {
  position: relative;
  display: inline-block;
}

.titre-fond-fonce::before,
.titre-fond-clair::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.titre-fond-fonce {
  padding-left: 95px;
}

.titre-fond-fonce::before {
  left: -20px;
  background-image: url("../../icons/logo-line-titre-blanc.svg");
}

.titre-fond-clair::before {
  left: -110px;
  background-image: url("../../icons/logo-line-titre.svg");
}

@media (max-width: 1350px) {
  .titre-fond-fonce {
    padding-left: 80px;
  }

  .titre-fond-clair {
    padding-left: 55px;
  }

  .titre-fond-fonce::before,
  .titre-fond-clair::before {
    width: 92px;
    height: 92px;
  }

  .titre-fond-fonce::before {
    left: -15px;
  }

  .titre-fond-clair::before {
    left: -35px;
  }
}

@media (max-width: 767px) {
  .titre-fond-fonce {
    padding-left: 65px;
  }

  .titre-fond-clair {
    padding-left: 25px;
  }

  .titre-fond-fonce::before,
  .titre-fond-clair::before {
    width: 72px;
    height: 72px;
  }

  .titre-fond-fonce::before {
    left: -10px;
  }

  .titre-fond-clair::before {
    left: -45px;
  }
}

/****** Titre de la page recherche ******/

.page-recherche-h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}