/*********** EN-TÊTE ***********/
.article {
  margin-top: 0px;
  background-color: white;
}

#ancre-top {
  position: absolute;
  transform: translateY(-120px);
  height: 10px;
  display: block;
}

.article.conseil {
  margin-top: 120px;
}

.article.conseil #en-tete {
  background-color: #0a2c7a;
  padding: 120px 0px 120px 0px;
  color: white;
}

.article h2 {
  font-size: 30px;
  color: #0a5adb;
  margin-top: 37px;
  margin-bottom: 10px;
}

.article h2:first-child {
  margin-top: 0px;
}

.article h3 {
  font-size: 22px;
  color: #5493f7;
  margin-top: 30px;
  margin-bottom: 20px;
}

.article img {
  max-width: 100%;
  height: auto;
}

#en-tete {
  background-color: #0a2c7a;
  padding: 190px 0px 120px 0px;
  color: white;
  background-repeat: no-repeat;
  background-size: 58%;
  background-position-x: 115%;
  background-position-y: 50%;
}

#en-tete .container {
  display: flex;
  gap: 20px;
}

#en-tete .col-1 {
  width: 60%;
}

#en-tete .col-2 {
  width: 40%;
}

#en-tete video {
  max-width: 100%;
}

#date_maj::before {
  font-family: "ETmodules";
  content: url("/icons/Icon_Date-maj_Blanc.svg");
  padding-right: 7px;
  display: inline-block;
  position: relative;
  top: 1px;
}

.article .description {
  width: 90%;
}

.thematique {
  display: inline-block;
  margin: 0px;
  border: 1px solid white;
  padding: 6px 20px 6px 20px;
  border-radius: 99px;
}

.article.conseil .thematique {
  border: 1px solid white;
}

/****** SOMMAIRE *******/

.sommaire {
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 14px;
  margin-bottom: 40px;
}

.sommaire p:first-child {
  margin-top: 0px;
}

.container-sommaire {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#titre_sommaire {
  font-size: 23px;
  font-weight: 600;
  font-family: Apparat !important;
}

.container-sommaire a,
.container-sommaire a strong {
  font-size: 16px;
  text-decoration: none;
  font-weight: 500 !important;
  color: black;
}

.container-sommaire a:hover,
.container-sommaire a strong:hover {
  color: #0a5adb;
}

/****** BLOCKQUOTE *******/

blockquote {
  margin: 0px;
  padding: 4px 20px;
  border-radius: 6px;
  background-color: #c6dcff;
  color: #0a2c7a;
  margin-bottom: 10px;
}

/*
.recherche blockquote {
  background-color: #ffba96;
  color: #823004;
}
*/

/****** DÉCOUVERTE *******/
.article.conseil.decouverte #en-tete {
  background-image: url("/images/backgrounds/background_parcours-Decouverte.svg");
}

.article.conseil.decouverte h1 {
  color: #5493f7;
}

/****** ORIENTATION *******/
.article.conseil.orientation #en-tete {
  background-image: url("/images/backgrounds/background_parcours-Orientation.svg");
}

.article.conseil.orientation h1,
.article.conseil.orientation h2 {
  color: #52d59d;
}

.article.conseil.orientation h3 {
  color: #3bab6f;
}

.article.conseil.orientation h4 {
  color: #185e38;
}

/****** RECHERCHE *******/
.article.conseil.recherche #en-tete {
  background-image: url("/images/backgrounds/background_parcours-Recherche.svg");
}

.article.conseil.recherche h1,
.article.conseil.recherche h2 {
  color: #f77129;
}

.article.conseil.recherche h3 {
  color: #b64e17;
}

.article.conseil.recherche h4 {
  color: #823004;
}

/****** ALTERNANCE *******/
.article.conseil.alternance #en-tete {
  background-image: url("/images/backgrounds/background_parcours-Alternance.svg");
}

.article.conseil.alternance h1,
.article.conseil.alternance h2 {
  color: #f8cc46;
}

.article.conseil.alternance h3 {
  color: #d3a008;
}

.article.conseil.alternance h4 {
  color: #a17800;
}

/*********** MAIN CONTAINER ***********/
.main-container {
  display: flex;
  width: 85%;
  margin-left: 11.5%;
  gap: 100px;
  padding: 60px 0px 60px 0px;
}

#corps {
  width: 63%;
}

.widgets {
  width: 28%;
}

/*********** CORPS ***********/

#corps .container.ligne-2 {
  display: flex;
  justify-content: end;
  margin-bottom: 40px;
}

#corps #conseils-menu-principal {
  width: 100% !important;
}

.bouton-top {
  background-color: #0a5adb;
  padding: 15px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 20px;
  transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  -webkit-transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
}

.bouton-top:hover {
  transform: scale(1.2);
  transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  -webkit-transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
}

.bouton-top img {
  width: 18px;
  position: relative;
  top: 2px;
}

.article .exemple {
  background-color: #f1f1f1;
  padding: 16px;
  border-radius: 7px;
}

.article .exemple p:first-child {
  margin-top: 0px;
}

.article .exemple p:last-child {
  margin-bottom: 0px;
}

/*********** PARATGE RÉSEAUX SOCIAUX ***********/

.article .rs .ligne-1 {
  display: flex;
  gap: 20px;
}

.article .rs img {
  max-width: 50px;
  transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  -webkit-transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  transform: scale(1);
}

.article .rs img:hover {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  -webkit-transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  transform: scale(1.1);
}

.partage {
  margin-top: 60px;
}

.partage .ligne-1 {
  display: flex;
  gap: 10px;
}

.partage .ligne-1 input {
  padding: 10px;
  width: 80%;
}

.partage .ligne-1 button {
  padding: 10px;
  width: 20%;
}

.partage .ligne-2 {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .partage .ligne-1 {
    flex-direction: column;
  }
  .partage .ligne-1 input {
    width: 93%;
  }
  .partage .ligne-1 button {
    width: 100%;
  }
}

/*********** SUGGESTIONS ***********/

.suggestions {
  margin-top: 70px;
}

.suggestions .suggestion-article {
  margin-right: 14px;
  margin-left: 14px;
  margin-bottom: 13px;
  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.1) !important;
  border-radius: 20px;
}

.suggestions .image {
  background-color: #d9d9d9;
  min-height: 170px;
  border-radius: 20px 20px 0px 0px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.suggestions .contenu {
  background-color: white;
  padding: 20px;
  border-radius: 0px 0px 20px 20px;
}

.suggestions .slick-arrow {
  top: -16%;
}

.suggestions .slick-next,
.suggestions .slick-prev {
  right: 0%;
}

.suggestions .slick-prev {
  transform: translateX(-65px);
}

/*********** WIDGETS ***********/
.widgets {
  background-color: #0a5adb;
  color: white;
  border-radius: 15px;
  height: min-content;
}

.widgets .container {
  padding: 35px 50px 35px 50px;
}

.widgets h4 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white !important;
}

.widgets h5 {
  margin-bottom: 0px;
  margin-top: 20px;
}

.widgets p,
.widgets a {
  font-size: 13.5px;
}

.widgets .bouton,
.suggestions .bouton {
  padding: 4px 16px 4px 16px;
}

.widget {
  margin-bottom: 30px;
}

.widget:last-child {
  margin-bottom: 0px;
}

.widget-section {
  padding: 40px 0px 40px 0px;
  border-bottom: 1px solid white;
  margin-bottom: 30px;
}

.widget-section:last-child {
  border-bottom: 0px solid white;
}

#ressources a {
  margin-bottom: 10px;
}

#ressources a:last-child {
  color: white;
  margin-bottom: 0px;
}

#ressources img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  position: relative;
  top: -2px;
  width: 12px;
}

/*********** IMAGES ***********/
.img-article {
  display: flex;
  justify-content: center;
  background-color: #fafafa;
}

#img-article-1 {
  max-width: 55% !important;
}

/*********** RESPONSIF ***********/

@media (min-width: 1600px) {
  .main-container,
  #menu-conseils,
  #en-tete .container {
    max-width: 1300px;
    width: 100%;
  }
  .main-container {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 1000px) {
  .main-container {
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    gap: 0px;
  }
  #corps {
    width: 100%;
  }
}

@media (min-width: 801px) and (max-width: 1000px) {
  .main-container {
    width: 77%;
  }
  #en-tete .col {
    width: 76%;
  }
  #corps .contenu-principal,
  .widgets {
    width: 100%;
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  .main-container {
    width: 77%;
  }
  #en-tete .col,
  #corps .contenu-principal,
  .widgets,
  .article .description {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #en-tete .col,
  #corps .contenu-principal,
  .widgets,
  .article .description {
    width: 100% !important;
  }
  .article.conseil #en-tete {
    padding: 60px 0px 60px 0px;
  }
  #en-tete .container {
    flex-direction: column;
  }
}
