.publication .container-fluid {
  padding-top: 40px !important;
}

.overlay {
  position: absolute;
  /* background-color: rgba(0, 0, 0, 0.5); */
  padding: 0 !important;
  margin: 0 !important;
}

/* .head-text {

  width: 100%;
  height: 100%;
  color: #d6254f;
  opacity: 1;
  text-align: left;
  font-family: 'roboto-regular';
} */

.chiffre,
.publication {
  width: 100%;
  height: auto;
  background-color: #F2F2F2;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 75px 0;
}


.low-opacity {
  opacity: 0.7 !important;
}

.investment-intro {
  overflow: hidden;
  padding-top: 1px;
}

.investment-intro p {
  margin: 10px 0 40px 0 !important;
}

.investment-title h1 {
  /* display: flex;
  align-items: center; */
  font-family: 'roboto_bold';
  color: #d6254f;
  text-transform: uppercase;
}

.investment-title .low {
  display: flex;
  align-items: center;
  font-family: 'roboto-regular';
  color: #d6254f;
}

.investissment-board .board-item {
  border-radius: 25px 25px 0px 0px;
}

.investissment-board .board-item .board-image {
  border-radius: 0px 30px 30px 0px;
  margin-bottom: 10px;
  margin-right: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media (max-width: 768px) {

  .board-item .board-image {
    max-width:250px;
    height: auto;
    border-radius: 0px 30px 30px 0px;
  }

  .scroll-carousel {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .scroll-carousel::-webkit-scrollbar {
    display: none;
  }

}


.chiffre-col {
  text-align: left;
  /* Centre le texte par défaut */
}

/* .chiffre-col:first-child {
  text-align: left;
} */

.chiffre-col:not(:nth-child(4n)) .investissment-info {
  position: relative;
}

.chiffre-col:not(:nth-child(4n)) .investissment-info::after {
  content: "";
  position: absolute;
  top: 0;
  right: -5px;
  /* Ajuster selon l'espacement souhaité */
  width: 2px;
  height: 100%;
  border-right: 2px dashed #000;
  /* Ligne verticale discontinue */
}

.axian-investment-button-chevron {
  /* display: flex;
  justify-content: flex-end;
  align-items: center;
  position: absolute; */
  margin-right: 148px;

}


.axian-investment-button-chevron button {
  border: none;
  border-radius: 100%;
  background-color: #fff;
  border-color: #5463a9;
}

.axian-investment-chevron-button-control {
  width: 50px;
  height: 50px;
  background-color: #5463a9;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color:#fff;
}

.image-container {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius:30px;
  /* border:#FFF 2px solid; */
}

.image-container img,
.image-container-charte img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius:30px;
  display: block;
  padding: 0;
  opacity: 1;
}

.image-container-publication img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius:30px !important;
  padding: 0;
  opacity: 1;
}

@media(width > 1920px){
  .image-container {
    height: 800px;
  }
}
.comex-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.comex-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
  display: block;
}

.linkedin-icon {
  position: absolute;
  top: 20px;
  right: 40px;
  z-index: 10;
  width: 30px;
  height: 30px;
}

.linkedin-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  /* Bouton circulaire */
  padding: 5px;
}

.carousel-item-investissement {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  position: relative;
  /* Set a height that fits your content */
}

.button-comex {
  position: relative;
  margin: 0;
  padding-top: 0px;
  padding-bottom: 100px;
}

.scroll-button {
  position: absolute;
  right: 0;
  background-color: #fff !important;
}

.scroll-button button {
  border: none;
  background-color: #fff !important;
  padding-left: 5px;
  padding-right: 5px;
}

.comex_info {
  background-color: rgba(214, 37, 79, 0.8);
  border-radius: 30px 30px 0px 0px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33%;
  padding:8px;
  /* Hauteur initiale */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Masque le contenu débordant */
  transition: height 0.5s ease-in-out;
  /* Animation fluide */
}

.board-name {
  font-size: 24px;
  font-family: 'roboto_bold';
  color: #fff;
  margin-bottom: 5px;
}

.board-post {
  font-size: 18px;
  font-family: 'roboto-regular';
  color: #fff;
  margin-bottom: 5px;
}

.comex-biography-expand {
  height: 40px;
  /* Ajuste la hauteur si besoin */
  width: 100%;
  position: absolute;
  /* Permet de le fixer en bas */
  bottom: 10px;
  /* Toujours en bas de comex_info */
  left: 0;
  display: flex;
  justify-content: center;
  /* Centre horizontalement */
  align-items: center;
}

.comex-biography-expand button {
  background-color: transparent !important;
  border: none !important;
  color: #fff !important;
  opacity: 0.8 !important;
  cursor: pointer;
  /* Améliore l'expérience utilisateur */
}

.biography {
  display: none;
  opacity: 1;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.filters {
  padding-top: 10px;
}

.filters-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-item {
  flex: 0 0 30%;
  max-width: 220px;
  min-width: 0;
}

.custom-date-wrapper {
  position: relative;
  flex: 0 0 30%;
  max-width: 220px;
  width: 100%;
}

.custom-date-wrapper input[type="date"] {
  display: block;
  width: 100%;
  height: 50px;
  border: 1px solid #d6254f;
  border-radius: 10px;
  color: #414042;
  font-family: 'roboto-regular';
  font-size: 16px;
  background: transparent;
  box-sizing: border-box;
  padding: 10px 45px 10px 10px; /* espace pour l'icône */
}

.custom-calendar-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #d6254f;
  font-size: 18px;
  pointer-events: none; /* clic possible sur le champ */
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0; /* masque l’icône native */
}

@media (max-width: 576px) {
  .publication .filter-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

   .filters-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-item,
  .custom-date-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .custom-date-wrapper {
    width: 100%;
  }

  .custom-date-wrapper input[type="date"] {
    width: 100%;
    padding-right: 45px; /* garde de la place pour l’icône */
  }

  .custom-calendar-icon {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.filters select,
.filters input[type="date"] {
  display: block;
  width: 100%;
  background-color: transparent;
  border: 1px solid #d6254f;
  color: #414042;
  font-size: 16px;
  font-family: 'roboto-regular';
  border-radius: 10px;
  height: 50px;
  padding: 10px 40px 10px 10px; /* padding à droite pour laisser la place à l’icône */
}

.engagement-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d6254f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.engagement-date {
  border: 1px solid #d6254f !important;
  outline: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.engagement-select option {
  font-family: 'roboto-medium';
  background-color: #fff;
  color: #414042;
}

input[type="date"]:focus {
  border: 1px solid #5463a9;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

select:focus {
  border: 2px solid #5463a9;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.listes {
  padding-top: 20px;
  position: relative;
}


.listes .image-container-publication,
.listes .image-container-charte {
  height: 350px;
  width: 85%;
  z-index: 1;
  position: relative;
  border-radius: 25px 25px 25px 25px !important;
  border: #000 2px thin;
}

@media(max-width:768px){
  .listes .image-container-publication,
  .listes .image-container-charte{
    width:100%;
  }
}

.publication_info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background-color: rgba(242, 242, 242, 0.85);
  border-radius: 0 0 25px 25px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.publication_info button{
  align-self:flex-start;
  width:auto;
}

.action-buttons {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #d6254f;
  border-radius: 25px 0 25px 0;
  padding: 15px;
  z-index: 2;
  height: 10%;
}

.action-buttons button {
  background: none;
  border: none;
  color: white;
  padding: 8px;
  font-size: 16px;
  cursor: pointer;
}

.publication-title {
  font-size: 18px;
  font-family: 'roboto_bold';
  max-width: 200px;
}

.publication-date {
  font-size: 16px;
  font-family: 'roboto-regular';
}

.load-more-button button {
  color: #FFF;
  font-family: "roboto-regular";
  background-color: #D7254F;
  height: auto;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 15px;
  text-transform: uppercase;
  font-weight: bolder;
}

/* .chartes .board-item {
  border-radius: 0px;
  margin-bottom: 10px;
  margin-right: 15px;
  width: 100%;
  height: 100%;
  padding: 0;
} */
.charte-image-wrapper {
  width: 100%;
  height: 50%;
  /* overflow: hidden; */
  border-radius: 0;
}

@media screen and (max-width: 768px) {
  .charte-image-wrapper {
    height: 50%;
  }

  .chartes .investissment-info {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .chartes .button-comex {
    display: none;
  }


}

.charte-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.chartes .charte-title {
  margin: 0;
  padding: 0;
}

.chartes .charte-title h2 {
  font-size: 24px;
  font-family: 'roboto_bold';
  color: #d6254f;
}

.chartes .charte-title .charte-size {
  padding-top: 0px;
  padding-bottom: 2px;
}

.chartes .charte-title .charte-size p {
  font-size: 18px;
  font-family: 'roboto-regular';
}

.chartes .charte-date {
  padding-top: 10px;
  padding-bottom: 0px;
}

.chartes .investissment-info {
  margin: 0;
  padding-left: 20px;
}

@media screen and (max-width: 768px) {

  .chiffre,
  .publication,
  .investment-intro,
  .investment-title,
  .investissment-board,
  .chartes,
  .listes,
  .filters {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .investment-title h1,
  .investment-title .low,
  .investissment-info h2,
  .investissment-info p,
  .publication-title,
  .publication-date {
    text-align: left !important;
  }

  .biography {
    padding: 10px !important;
    text-align: left !important;
  }
}

.saut {
  padding-bottom: 20px !important;
}

.custom-publication-col {
  max-width: 280px;
  /* réduit la largeur */
  flex: 0 0 280px;
}

.row.gx-4 {
  --bs-gutter-x: 2rem;
  /* espace horizontal entre les colonnes */
}

.row.gy-5 {
  --bs-gutter-y: 3rem;
  /* espace vertical entre les lignes */
}

/* .investment-title .title-decoration {
  left: -75px;
  top: 0;
  transform: translateY(-50%);
  z-index: 1
} */

/* .decoration-img {
  height: 120px;
  width: auto;
  max-width: none;
}

@media (max-width: 992px) {
  .decoration-img {
    height: 100px;
  }
}

@media (max-width: 576px) {
  .decoration-img {
    height: 75px;
  }

} */


.report-btn-red {
  font-family: "roboto-regular";
  text-transform: uppercase !important;
}

.report-btn-red:hover {
  background-color: #fff;
  color: #d6254f;
  border: 1px solid #d6254f;
}

.download-btn :hover {
  background-color: transparent;
  color: white;
  border: 1px solid #d6254f;

}

.view-btn :hover {
  background-color: transparent;
  color: white;
  border: 1px solid #d6254f;
}

.board-post-container {
  max-width: 200px;
}

/* @media (min-width: 1600px) {
  body {
    font-size: 1.1rem;
  }

  .investissment-board .container-fluid {
    max-width: 2400px !important;
  }

  .row {
    --bs-gutter-x: 1rem;
  }
} */

.custom-pagination .page-link {
  border: none;
  background-color: transparent;
  color: #414042;
  font-size: 1.2rem;
  margin: 0 5px;
  padding: 6px 12px;
  transition: all 0.2s ease;
  font-family: 'roboto-regular';
}

.custom-pagination .page-item.active .page-link,
.custom-pagination .page-link.active {
  background-color: transparent !important;
  color: #d7254f !important;
  border-radius: 6px;
  font-family: 'roboto_bold';
}

.custom-pagination .page-link:hover {
  color: #d7254f ;

}
