.qsn-card-container {
  gap: 1rem 3.2rem;
}

.qsn-head {
  text-align: center;
  margin-top: 1.4rem;
  margin-bottom: 2.8rem;
}

.qsn-head-title {
  margin-bottom: 1.4rem;
}

.qsn-card-container {
  justify-content: flex-start;
}

.qsn-card-container .card-picto {
  display: flex;
  justify-content: center;
  align-items: center;

  fill: var(--color-primary-2);
  color: var(--color-primary-2);
  font-size: 3.2rem;
  font-weight: 700;

  height: 4.7rem;
  width: 4.2rem;
}

.qsn-card-container .card-title {
  margin: 1.2rem 0;
  color: var(--color-primary-1);
  font-size: var(--size-txt-normal);
  text-transform: uppercase;
  font-weight: 700;
}

.qsn-card-container .card-desc {
  font-size: 1.2rem;
}

.engagement .card-picto svg {
  height: 10rem;
  min-width: 10rem;
}

@media only screen and (min-width: 768px) {
  .qsn-head-title {
    margin-bottom: 2rem;
  }

  .qsn-head-content {
    max-width: 66%;
    margin: 0 auto;
  }

  .qsn-card-container .card-picto {
    font-size: 3.6rem;
  }
}

#histoires {
  display: flex;
  flex-wrap: nowrap;
  overflow: auto;
  scroll-behavior: smooth;
}

.histoire-date {
  font-size: 2.1rem;
  margin-bottom: 0.7rem;
}

.histoire-item {
  display: flex;
  flex-flow: column;
  position: relative;

  width: calc(50% - 0.5rem);
  min-width: calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
  margin-right: 2rem;
}

.histoire-item:not(:last-child)::before {
  content: "";
  position: absolute;
  height: 100%;
  right: 0;
  border: solid 0.1rem #fff;
}

.histoire-item:not(:last-child)::after {
  content: "";
  position: absolute;
  height: 100%;
  right: -0.4rem;
  top: 0;
  background-color: #fff;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
}

.histoire-desc {
  margin-bottom: 1rem;
  margin-right: 1rem;
  flex-grow: 1;
}

.histoire-services {
  position: relative;
  max-width: 82%;
  --color-fill: var(--color-primary-2);
}

.histoire-tick {
  width: 100%;
  max-width: 15rem;
  min-height: 100%;
}

.histoire-item-logo {
  position: relative;
  z-index: 1;
  fill: var(--color-primary-2);
  width: 100%;
  max-width: 15rem;
  min-height: 100%;
}

.hist-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 7rem;
  margin-left: -1.4rem;
}

.btn-slider__prev {
  margin-right: 3.2rem;
}

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

.qsn_histoires .hist-btn-wrap {
  margin: 0;
}

@media only screen and (min-width: 768px) {
  .histoire-date {
    font-size: 2.4rem;
    margin-bottom: 1.4rem;
  }

  .histoire-item {
    width: calc(100% / 3 - 0.75rem);
    min-width: calc(100% / 3 - 0.75rem);
    max-width: calc(100% / 3 - 0.75rem);
  }

  .histoire-item::after {
    right: -0.6rem;
    height: 1.4rem;
    width: 1.4rem;
  }
}

@media only screen and (min-width: 1092px) {
  .histoire-item {
    width: calc(100% / 5 - 1.25rem);
    min-width: calc(100% / 5 - 1.25rem);
    max-width: calc(100% / 5 - 1.25rem);
  }
}

.yellow-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
}

.yellow-wrap::before {
  content: "";
  position: absolute;
  display: block;
  left: calc(var(--spacing-container) * -1);
  height: 100%;
  width: 0.3rem;
  background-color: var(--color-primary-2);
}

@media only screen and (max-width: 767px) {
  .conseil-administration-item:nth-child(1),
  .conseil-administration-item:nth-child(3),
  .conseil-administration-item:nth-child(5) {
    order: -1;
  }
}

@media only screen and (min-width: 768px) {
  .yellow-wrap {
    grid-template-columns: 1fr 1fr;
    margin-left: calc(var(--spacing-container));
    left: calc(var(--spacing-container) * -1);
  }
}

@media only screen and (min-width: 1092px) {
  .yellow-wrap {
    margin-left: 9rem;
    left: auto;
  }

  .yellow-wrap::before {
    left: -9rem;
  }
}

#organigramme-wrap {
  display: flex;
  align-items: center;
  flex-flow: column;
}

.organigramme-item {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  min-height: 8.7rem;
  padding: 1rem;
  text-align: center;
  overflow-x: auto;
  word-wrap: anywhere;
}

#organigramme-top > .organigramme-item {
  background-color: var(--color-primary-2);
}

#organigramme-left > .organigramme-item {
  color: #fff;
  background-color: var(--color-primary-1);
}

#organigramme-right > * {
  color: #fff;
  background-color: var(--color-theme);
}

.organigramme-item-title {
  font-weight: bold;
  font-size: 1.7rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.organigramme-item-title::after {
  content: "";
  position: absolute;
  bottom: -0.9rem;
  height: 0.2rem;
  width: 13rem;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}

#organigramme-top .organigramme-item-title::after {
  background: var(--color-txt);
}

@media only screen and (min-width: 768px) {
  .organigramme-item {
    width: 22.7rem;
    min-height: 11rem;
  }

  .organigramme-item-title {
    font-size: 2.1rem;
    font-weight: 500;
  }
}

@media only screen and (min-width: 1092px) {
  .organigramme-item {
    width: 34rem;
    min-height: 12.3rem;
  }

  .organigramme-item-title {
    font-size: 2.4rem;
  }
}

#organigramme-top {
  display: flex;
  position: relative;
  flex-flow: column;
  margin-bottom: 2rem;
  padding-bottom: 5rem;
}

#organigramme-top > *:not(:last-child) {
  margin-bottom: 2rem;
}

#organigramme-top::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  width: 100%;
  height: 0.1rem;
  border: solid 0.1rem var(--color-primary-1);
}

#organigramme-top::before {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 50%;
  width: 0.1rem;
  height: 2.8rem;
  border: solid 0.1rem var(--color-primary-1);
}

#organigramme-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  overflow: hidden;
}

#organigramme-left,
#organigramme-right {
  display: flex;
  flex-flow: column;
}

#organigramme-left > *:not(:last-child),
#organigramme-right > *:not(:last-child) {
  margin-bottom: 2rem;
}

#partenaires .h3,
#conseil-administration .h3 {
  font-size: 1.8rem;
}

@media only screen and (min-width: 768px) {
  #partenaires .h3,
  #conseil-administration .h3 {
    font-size: 2rem;
  }

  #organigramme-top {
    flex-flow: row;
    max-width: 100%;
  }

  #organigramme-top > *:not(:last-child) {
    margin-bottom: 0;
    margin-right: 2rem;
  }

  #organigramme-top::after {
    max-width: 66%;
    left: 17%;
  }
}

.ol-control button {
  background-color: var(--color-primary-1) !important;
}

.ol-attribution a {
  color: var(--color-primary-1) !important;
}

.map {
  width: 100%;
  height: 32.9rem;
  margin-bottom: 2rem;
}

.etablissements-wrap {
  position: relative;
  overflow-y: scroll;
  max-height: 46rem;
  scroll-behavior: smooth;
}

.etablissement-wrap {
  border-bottom: solid 1px #000;
  cursor: pointer;
}

.etablissement-wrap {
  margin-bottom: 2.8rem;
}

.etablissement-wrap .h3,
.etablissement-wrap .adress {
  margin-bottom: 1.4rem;
}

.etablissement-wrap .tel,
.etablissement-wrap .action {
  margin-bottom: 2.8rem;
}

.etablissement-wrap.not-active {
  opacity: 0.5;
}

@media only screen and (min-width: 768px) {
  .etablissements-big-wrap {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2rem;
  }

  .map-container {
    grid-area: 1 / 1 / 1 / 5;
  }

  .etablissements-wrap {
    grid-area: 1 / 5 / 1 / 9;
    min-height: 100%;
    max-height: 43rem;
  }

  .map {
    height: 100%;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1092px) {
  .etablissements-big-wrap {
    grid-template-columns: repeat(12, 1fr);
    gap: 3.5rem;
  }

  .map-container {
    grid-area: 1 / 1 / 1 / 7;
  }

  .etablissements-wrap {
    grid-area: 1 / 8/ 1 / 13;
  }

  .map {
    height: 54.6rem;
  }
}
