@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Override Old Theme */
header .container-header .header-cc {
  box-shadow: none;
}
/* --End: Override Old Theme */

/* New Theme */
.singleBlogContainer {
  width: 90%;
  border-radius: 16px;
  border-width: 1px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: Semi Bold;
  margin: 20px auto 20px auto;
  position: relative;
}
.singleBlogContainer .headerSection {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}
.singleBlogContainer .titleBloc {
  margin-top: -150px;
  min-height: 150px;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(35px);
  padding: 20px;
}
.singleBlogContainer .titleBloc h1 {
  color: white;
  font-weight: 600;
  font-size: 2.2rem;
}
.singleBlogContainer .titleBloc .dateHeurePost-tempsLecture {
  color: white;
  font-size: 0.8rem;
  display: block;
}
.singleBlogContainer .titleBloc .btnElement {
  background: rgba(8, 25, 77, 1);
  border-radius: 10px;
  padding-top: 12px;
  padding-right: 16px;
  padding-bottom: 12px;
  padding-left: 16px;
  color: white;
  font-size: 1rem;
}
.singleBlogContainer .titleBloc a.btnElement {
  text-decoration: none;
}
.singleBlogContainer .titleBloc a.btnElement:hover {
  background: rgb(21, 45, 118);
  text-decoration: none;
}
.singleBlogContainer .contentText {
  padding: 20px;
  display: flex;
  justify-content: space-between;
}
.singleBlogContainer .contentText .textsection {
  width: 80%;
}
.singleBlogContainer .contentText .sideBarSection {
  width: 20%;
}
#sommaireSection {
  width: 100%;
  border-radius: 16px;
  border-width: 1px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}
#sommaireSection .titreSideSommaire {
  font-size: 1.3rem;
  font-weight: bold;
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(27, 27, 31, 1);
}
#sommaireSection .listSommaire {
  display: block;
}
#sommaireSection .listSommaire ul {
  padding: 0;
}
#sommaireSection .listSommaire li {
  list-style-type: none;
  padding: 10px 15px;
  display: block;
  text-transform: capitalize;
}
#sommaireSection .listSommaire li.titre-visible {
  font-weight: bold;
  border-left: 3px solid rgba(3, 0, 79, 1);
  color: rgba(3, 0, 79, 1);
}

/* related post */
#relatedPosts {
  display: block;
  margin: 20px auto 40px auto;
  width: 90%;
}
#relatedPosts h4 {
  display: block;
  text-align: center;
  font-size: 2rem;
  padding: 15px 0px;
}
#relatedPosts .relPost {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
  min-height: 400px;
}

#relatedPosts .relPost .postBox {
  width: 32%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
#relatedPosts .relPost .postBox .picTure {
  width: 100%;
  height: 200px;
  overflow: hidden;
  text-align: center;
}
#relatedPosts .relPost .postBox .picTure img {
  width: 100%;
  height: auto;
}
#relatedPosts .relPost .postBox .titreRelated {
  color: rgba(0, 0, 0, 1);
  font-weight: bold;
  font-size: 1.2rem;
  margin: 10px auto;
  padding: 10px;
  text-align: left;
}
#relatedPosts .relPost .postBox .bodyContent {
  color: rgba(0, 0, 0, 1);
  font-size: 1.2rem;
  padding: 20px;
}
#relatedPosts .relPost .postBox .bodyContent .excerpt {
  color: rgba(0, 0, 0, 0.5);
}
#relatedPosts .relPost .postBox a {
  text-decoration: none;
}
#relatedPosts .relPost .postBox .bodyContent .datePostAndReadingTime {
  margin: 10px auto;
  font-size: 1rem;
}
#relatedPosts .relPost .postBox a:hover {
  text-decoration: underline;
}
.fa-solid.fa-clock {
  position: relative;
  padding-left: 40px;
}
.fa-solid.fa-clock::before {
  position: absolute;
  left: 0;
  top: -5px;
  width: 30px;
  height: 30px;
  background: url(../images/clock-icon.svg) center no-repeat;
  background-size: cover;
  content: " ";
}
.titleBloc .dateHeurePost-tempsLecture .fa-solid.fa-clock::before {
  background: url(../images/clock-icon-white.svg) center no-repeat;
}

#afterRelatedBox {
  width: 90%;
  margin: 20px auto 40px;
}
.align_center {
  text-align: center;
}
.roundedRoundeskBtn {
  background: rgba(8, 25, 77, 1);
  border-radius: 100px;
  padding: 15px;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
}
.roundedRoundeskBtn:hover {
  background: rgb(10, 36, 114);
  text-decoration: none;
}

@media screen and (max-width: 600px) {
  .singleBlogContainer .contentText .sideBarSection {
    display: none;
  }
  .singleBlogContainer .contentText .textsection {
    width: 100%;
  }
  .singleBlogContainer .titleBloc { 
    background: rgba(27, 27, 31, 0.8);
    width: 90%;
    display: block;
    margin-top: 0px;
  }
  #relatedPosts .relPost {
    flex-direction: column;
  }
  #relatedPosts .relPost .postBox {
    width: 100%;
  }
  #relatedPosts .relPost .postBox {
    margin: 20px auto;
  }
  .roundedRoundeskBtn {
    display: block;
    font-size: 1rem;
  }


  /* Menu */
    header .menu {
        background: #fff !important;
    }
}
