.wp-admin * {
  box-sizing: border-box;
}

.les-dossier {
  padding: 60px 0 40px;
}

.les-dossier>.container {
  height: auto;
  padding: 0 150px;
  margin: 0;
}

.les-dossier ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.les-dossier li {
  width: 50%;
  padding: 0 20px;
  margin: 0 0 40px;
}

.les-dossier li a {
  display: flex;
  position: relative;
  overflow: hidden;
}

.les-dossier li .details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(0 0 0 / 50%);
  padding: 20px;
  /* transform: translateY(100%); */
  transition: all 0.3s ease-in-out;
}

.les-dossier li .details .hover-text {
  opacity: 1;
  width: auto;
  right: 0;
  left: auto;
  background: transparent;
  bottom: 8px;
  top: unset;
  height: auto;
  display: block !important;
  position: absolute !important;
}

.les-dossier li .details .image-hover {
  overflow: visible;
}

.les-dossier li a:hover .details {
  transform: translateY(0);
}

.les-dossier li .title {
  font-size: 35px;
  line-height: 1.2;
  font-weight: 600;
  color: #FFFFFF;
}

.les-dossier .thumb {
  display: flex;
}

.les-dossier .thumb img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 480/273;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}

.les-dossier .thumb:hover img {
  transform: scale(1.1);
}

.hero-les-dossier .hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 347px;
}

/* Single Dossier */
.ds-s1 {
  position: relative;
  overflow: hidden;
  height: 80vh;
}

.ds-s1>div {
  height: 100%;
}

.ds-s1-img {
  display: flex;
  height: 100%;
}

.ds-s1-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-s1-main {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(5 5 5 / 40%);
  padding: 18px 150px 47px;
}

.ds-s1 h1 {
  font-size: 60px;
  line-height: 1.3;
  color: #F26921;
  font-family: 'Classico URW';
  font-weight: bold;
  margin: 0 0 10px;
}

.ds-s1 .desc {
  font-size: 30px;
  line-height: 31px;
  font-family: 'Classico URW';
  font-weight: bold;
  color: #FFFFFF;
}

.ds-container {
  padding: 0 150px;
}

.ds-s2 {
  padding: 58px 0 90px;
}

.ds-s2 h2 {
  font-size: 70px;
  line-height: 94px;
  font-family: 'Classico URW', sans-serif;
  color: #28466B;
  font-weight: bold;
  margin: 0 0 80px;
}

.ds-s2-inners .image {
  width: 52%;
  padding: 0 32px;
}

.ds-s2-inners .image img {
  width: 100%;
  height: auto;
}

.ds-s2-inners .content {
  width: 48%;
  padding: 0 32px;
}

.ds-s2-inners .inner>div {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -32px;
}

.ds-s2-inners .content h3 {
  font-size: 40px;
  line-height: 50px;
  font-weight: bold;
  color: #28466B;
  font-family: 'Classico URW', sans-serif;
  margin: -5px 0 22px;
}

.ds-s2-inners .desc p {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  margin: 0 0 25px;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.ds-s2-inners .desc {
  margin: 0 0 22px;
}

.ds-s2-inners .desc p:last-child {
  margin: 0;
}

.ds-s2-inners .button a {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  background-color: #F26921;
  border-radius: 20px;
  padding: 30px 66px 29px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.ds-s4 .button a {
  transition: all 0.3s ease-in-out;
}

.ds-s2-inners .button a:hover,
.ds-s4 .button a:hover {
  transform: scale(1.05);
}

.ds-s2-inners .inner .desc {
  max-width: 693px;
}

.ds-s2 .inner:nth-child(2)>div {
  flex-direction: row-reverse;
}

.ds-s2-inners .inner:nth-child(2) .image {
  width: 49%;
}

.ds-s2-inners .inner:nth-child(2) .content {
  width: 51%;
}

.ds-s2-inners .inner:nth-child(2) .content h3 {
  margin-top: 5px;
}

.ds-s2-inners .inner:nth-child(2) .desc {
  max-width: 630px;
}

.ds-s2 .inner:not(:last-child) {
  margin: 0 0 133px;
}

.ds-s3 {
  padding: 90px 0 64px;
}

.ds-s3>.ds-container {
  padding: 0 150px;
}

.ds-s3 h2 {
  font-size: 40px;
  line-height: 50px;
  font-weight: bold;
  font-family: 'Classico URW';
  margin: 0 0 39px;
  color: #28466B;
}

.ds-s3 ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  padding: 0;
}

.ds-s3 li {
  width: calc(100% / 3);
  padding: 0 15px;
}

.posts li a {
  display: inline-flex;
  position: relative;
  /* aspect-ratio: 480/270; */
  height: auto;
  width: 100%;
}

.posts li a img {
  width: 100%;
  object-fit: cover;
}

.posts .city {
  font-family: 'Classico URW';
  font-size: 25px;
  font-weight: bold;
  line-height: 1;
  margin: 0 0 1px;
}

.posts .hover-text .top .street {
  font-family: 'Classico URW';
  font-size: 25px;
  font-weight: bold;
  line-height: 1;
}

.posts .hover-text .bottom {
  font-size: 14px;
  line-height: 1.5;
  padding-top: 10px;
}

.hover-text .like {
  font-size: 14px;
}

.posts .hover-text {
  padding-left: 20px;
  padding-right: 20px;
}

.posts .hover-text .bottom {
  width: auto;
  left: 0;
  right: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.posts .hover-text .like {
  gap: 3px;
}

.posts .image-hover {
  aspect-ratio: unset;
}

.ds-s4 {
  padding: 105px 50px 102px;
  background-color: #28466B;
}

.ds-s4 .image img {
  width: 100%;
  height: auto;
}

.ds-s4 .details {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  padding: 43px 60px;
  background-color: rgb(5 5 5 / 40%);
}

.ds-s4 main {
  position: relative;
}

.ds-s4 .title {
  font-family: 'Classico URW';
  font-size: 30px;
  line-height: 1;
  color: #F26921;
  font-weight: bold;
}

.ds-s4 .subtitle {
  font-family: 'Classico URW';
  color: #FFFFFF;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
}

.ds-s4 .button a {
  font-size: 20px;
  line-height: 24px;
  background-color: #F26921;
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 20px;
  display: inline-block;
  padding: 30px 80px 29px;
}

.ds-s4 .title-subtitle {
  padding: 5px 0 0;
}

.ds-s4 .image {
  display: flex;
}

.ds-s4-white {
  padding-top: 82px;
  padding-bottom: 60px;
  background-color: #FFFFFF;
}

.ds-s4-white .details {
  bottom: 0;
}

.ds-s5 {
  padding: 0 0 8px;
}

.ds-s5>.top {
  background-color: #28466B;
  padding: 90px 0 148px;
}

.ds-s5 h2 {
  color: #FFFFFF;
  font-size: 70px;
  line-height: 1.2;
  font-weight: bold;
  min-height: 148px;
  font-family: 'Classico URW';
}

.ds-s5 ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.ds-s5 li {
  width: calc(100% / 3);
  padding: 0 20px;
  margin: 0 0 32px;
}

.ds-s5>.bottom {
  margin-top: -137px;
}

.ds-s5 .ds-container {
  padding: 0 200px;
}

.ds-s1-main {
  padding-right: 308px;
}

.ds-s1-main .author {
  position: absolute;
  right: 0;
  bottom: 35px;
  min-width: 308px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
}

.ds-s1-main .author .text {
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  color: #FFF;
  text-align: center;
  min-height: 73px;
}

.ds-s1-main .img {
  text-align: center;
  margin: 0 0 7px;
}

.ds-s1-main>div {
  max-width: 1085px;
}

.ds-s1-main .img img {
  border-radius: 100%;
}

@media (max-width: 1600px) {
  .les-dossier li .title {
    font-size: 25px;
  }
}

@media (max-width: 1279px) {
  .les-dossier>.container {
    padding: 0 20px;
  }

  .ds-s1-main,
  .ds-container,
  .ds-s3>.ds-container,
  .ds-s5 .ds-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ds-s2-inners {
    padding: 0;
  }

  .ds-s2,
  .ds-s3 {
    padding: 30px 0;
  }

  .ds-s4 {
    padding: 60px 0;
  }

  .ds-s1 h1,
  .ds-s2 h2,
  .ds-s5 h2 {
    font-size: 45px;
  }

  .ds-s1 .desc {
    font-size: 20px;
  }

  .ds-s2 h2 {
    margin: 0 0 30px;
  }

  .ds-s2-inners .desc p {
    font-size: 18px;
  }

  .ds-s5 h2 {
    min-height: unset;
    margin: 0 0 30px;
  }

  .ds-s5>.bottom {
    margin-top: -80px;
  }

  .ds-s2 h2 {
    line-height: 1.2;
  }

  .ds-s1-main {
    padding-right: 250px;
  }

  .ds-s1-main .author .text {
    font-size: 20px;
    min-height: auto;
    margin: 0 0 10px;
  }

  .ds-s1-main .img img {
    width: 80px;
    height: 80px;
  }

  .ds-s1-main .author {
    min-width: auto;
    padding: 0 20px;
    bottom: 25px;
  }
}

@media (max-width: 1200px) {
  .les-dossier li .title {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .posts .image-hover {
    width: 50%;
  }

  .ds-s3 li {
    margin: 0 0 32px;
  }
}

@media (max-width: 767px) {
  .ds-s1-img {
    min-height: 60vh;
  }

  .ds-s1-img img {
    object-fit: cover;
  }

  .ds-s1-main {
    padding: 20px;
  }

  .les-dossier {
    padding: 40px 0 20px;
  }

  .les-dossier li {
    width: 100%;
    padding: 0 15px;
    margin: 0 0 20px;
  }

  .les-dossier li .details {
    transform: translateY(0);
  }

  .les-dossier li .title {
    font-size: 18px;
  }

  .posts .image-hover {
    width: 100%;
    max-width: 100%;
  }

  .ds-s4 .details {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    row-gap: 20px;
    bottom: 0;
    padding: 20px;
  }

  .ds-s2-inners .inner>div {
    row-gap: 20px;
  }

  .ds-s4 .button a {
    padding: 15px 30px;
    border-radius: 5px;
  }

  .ds-s2-inners .content,
  .ds-s2-inners .image,
  .ds-s2-inners .inner:nth-child(2n+2) .image,
  .ds-s2-inners .inner:nth-child(2n+2) .content {
    width: 100%;
  }

  .hover-text .bottom {
    display: flex;
    position: static;
    transform: none;
    border: none;
  }

  .ds-s2 .inner:not(:last-child) {
    margin: 0 0 70px;
  }

  .main-navbar {
    padding: 10px 20px;
  }

  .ds-s1-main .author {
    position: static;
    align-items: flex-start;
    padding: 0;
  }

  .ds-s1-main .author .text {
    min-height: auto;
    margin: 0 0 10px;
    text-align: left;
    line-height: 1.3;
    margin: 15px 0 8px;
    font-size: 18px;
  }

  .posts .hover-text {
    display: block;
    opacity: 1;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 16px;
    background-color: #27456a;
    text-align: left;
  }

  .posts li a {
    flex-direction: column;
  }

  .ds-s4 .image {
    aspect-ratio: 0.75/1;
  }

  .ds-s4 .image img {
    object-fit: cover;
  }

  .posts .hover-text .top {
    position: static;
    margin: 0;
    transform: none;
  }

  .posts .city {
    font-size: 20px;
    line-height: 24px;
  }

  .posts .hover-text .top .street {
    font-size: 23px;
    margin: 0 0 15px;
    line-height: 27px;
  }

  .posts .hover-text .bottom {
    padding: 0;
  }

  .posts .hover-text .bottom p,
  .posts .hover-text .like {
    font-size: 14px;
    gap: 3px;
  }
}