/*
    SECTIONS Accroche principale partie Cléo US 24
*/
.paragraph--type--section-l-essentiel-du-projet .container {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0rem !important;
  padding-bottom: 4rem !important;
}

.paragraph--type--section-l-essentiel-du-projet .paragraph--type--bouton {
  display: block;
}

.essentiel-projet-wrapper {
  margin-left: auto;
  margin-right: auto;
  gap: 1.625rem;
}

.essentiel-projet-wrapper > div {
  flex: 1;
  position: relative;
}

.essentiel-projet-wrapper > div > div,
.essentiel-projet-wrapper .card-outline {
  height: 100%;
  position: relative;
  min-width: 14rem;
}

.essentiel-projet-wrapper .sc__link,
.essentiel-projet-wrapper > div > div > .card-outline > .sc__link {
  position: absolute;
  bottom: 1.5rem;
}

.essentiel-projet-wrapper .card-outline {
  border: 1px solid #d7d7d7;
  padding: 24px;
}

.essentiel-projet-wrapper .card-outline h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
}

.essentiel-projet-wrapper .style__texte {
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
}

.essentiel-projet-wrapper .field__link a {
  text-decoration: underline;
}

.essentiel-projet-wrapper .field__item__liste {
  margin: 0 0 15px 0;
}

.essentiel-projet-wrapper .field__item_media {
  margin-right: 15px;
}

.essentiel-projet-wrapper img {
  width: 24px;
  max-width: fit-content;
  height: 24px;
  object-fit: contain;
  object-position: center;
}

.card-outline
  .paragraph.paragraph--type--bp-columns-two-uneven
  .paragraph__column
  > div {
  padding: 0;
}

/* US Essentiel du Projet partie Rémy*/
.bloc_essentiel {
  margin: 0 auto;
  width: 70vw;
}

.tuiles {
  display: flex;
  justify-content: space-between;
}

.card_essentiel {
  width: 270px;
  height: 290px;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.title_h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--bs-sncf-mid-dark);
  line-height: 40px;
  padding: 0;
  width: 100%;
  margin: -8rem 0 2rem 0;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--bs-sncf-gray-medium);
  line-height: 28px;
}

.card-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--bs-sncf-gray-medium);
  line-height: 28px;
}

.card-links {
  font-size: 18px;
  font-weight: 400;
  color: var(--bs-sncf);
  line-height: 20.7px;
  text-decoration: underline;
}

.sc-select {
  display: none;
}

.tabs-tab-list {
  background-color: var(--bs-tertiary);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: end;
  height: 90px;
}

.tabs-tab-list::after {
  display: none;
}

.tabs-tab-list li a {
  color: var(--bs-sncf-gray-dark);
  font-style: normal;
  font-weight: 700 !important;
  font-size: 20px;
  line-height: 28px;
}

.tabs-trigger.is-selected {
  border-bottom: 3px solid var(--bs-sncf) !important;
  background-color: var(--bs-sncf-white) !important;
  width: 20rem;
  height: 5rem;
}

.tabs-trigger.is-selected:hover {
  border-bottom: 3px solid var(--bs-sncf) !important;
  border-bottom-width: 1rem;
  color: var(--bs-sncf-dark);
  background-color: var(--bs-sncf-white) !important;
}

.a11y-paragraphs-tabs__wrapper .tabs-allowed .tabs-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  /*width: 20rem;*/
  width: auto;
  height: 5rem;
}

.a11y-paragraphs-tabs__wrapper .is-initialized.tabs-allowed .tabs-panel {
  padding-top: 3rem;
}

.a11y-paragraphs-tabs__wrapper .tabs-tab-list li {
    margin: 0;
    display: flex;  
    flex: 1;
    justify-content: center; 
}

.a11y-paragraphs-tabs__wrapper .tabs-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: fit-content;
  background: none;
  border: none;
  font-style: normal;
  font-weight: 700 !important;
  font-size: 20px;
  line-height: 28px;
}

.field_icon_img {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
}

.list_card {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  font-style: normal;
}

.title_share {
  display: flex;
  align-items: baseline;
  margin-top: -9rem;
}

.share_button {
  display: flex;
  padding: 8px 16px;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid var(--bs-sncf);
  color: var(--bs-sncf);
  background-color: white;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
}

/* Mobile version */
@media only screen and (max-width: 991px) {
  .a11y-paragraphs-tabs__wrapper row {
    padding: 0 !important;
  }
  .a11y-paragraphs-tabs__wrapper .tabs-allowed .tabs-trigger {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .bloc_essentiel {
    margin: 0 auto;
    width: 90vw;
  }

  .card_essentiel {
    height: auto;
    margin-bottom: 2rem;
  }

  .title_h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    color: var(--bs-sncf-mid-dark);
    padding: 0;
    width: 100%;
    margin: -5rem 0 1rem 0;
  }

  .card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bs-sncf-gray-medium);
    line-height: 24px;
  }

  .card-text {
    font-size: 16px;
    font-weight: 400;
    color: #4d4f53;
    line-height: 24px;
  }

  .card-links {
    font-size: 16px;
    font-weight: 400;
    color: var(--bs-sncf);
    line-height: 20.7px;
    text-decoration: underline;
  }

  .a11y-paragraphs-tabs__wrapper .tabs-allowed .tabs-trigger {
    width: 100%;
    height: 30px;
  }

  .tuiles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sc-select {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.625rem;
    border: 2px solid #b9b9b9;
    height: 40px;
    color: var(--bs-sncf-gray-dark);
  }

  .sc-select::after {
    position: absolute;
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 1rem;
    background: url("/themes/custom/uas/css/../assets/arrow_bas.svg") no-repeat;
    background-size: 100% 100%;
    transform: translateY(-50%);
  }

  .sc-select,
  .tabs-tab-list {
    cursor: pointer;
  }

  .tabs-tab-list li a:focus,
  .tabs-tab-list li a::hover {
    background: none;
  }

  .tabs-tab-list.open {
    display: flex !important;
  }

  .tabs-tab-list {
    position: relative;
    display: none !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none;
    border-radius: 0;
    top: -1px;
    padding: 0 !important;
    border: 1px solid #b9b9b9;
    flex-direction: column;
    justify-content: initial;
    align-items: initial;
    z-index: 10;
  }

  .tabs-tab-list li {
    padding: 0.625rem;
    transition: 0.3s ease;
  }

  .tabs-tab-list .tabs-trigger {
    font-size: 1rem;
    justify-content: start !important;
    padding: 0 !important;
    font-weight: 400 !important;
  }

  .tabs-trigger.is-selected,
  .tabs-trigger.is-selected:hover {
    font-weight: 700 !important;
    border-bottom: none !important;
    border-bottom-width: 0;
    background: transparent !important;
  }

  .tabs-tab-list.open li {
    display: block;
  }

  .paragraph--type--section-l-essentiel-du-projet .container {
    padding: 0 !important;
    margin-top: 2.438rem !important;
  }

  .paragraph--type--section-l-essentiel-du-projet .container.row > * {
    padding-left: 0;
    padding-right: 0;
  }

  .field_icon_img {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
  }

  .list_card {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
  }

  .title_share {
    display: flex;
    align-items: baseline;
    margin-top: -5rem;
  }

  .share_button {
    display: flex;
    padding: 4px 8px;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid var(--bs-sncf);
    color: var(--bs-sncf);
    background-color: white;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
  }

  .a11y-paragraphs-tabs__wrapper .accordion-trigger {
    display: none;
  }

  .tabs-select {
    box-sizing: border-box;
    display: flex;
    width: 90%;
    align-items: center;
    padding: 10px;
    gap: 10px;
    border: 2px solid #b9b9b9;
    margin: 0 auto;
    border-radius: 4px;
  }
}
