.main-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: var(--grid-gap);
  padding: 6rem 0;
}

.left {
  grid-column: 2 / span 5;
}

.right {
  grid-column: 7 / span 5;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-content.compagnie .left img {
  max-width: 19%;
}
.fondateur-section {
  margin-top: -1px;
}
.fondateur-section .main-content .left figure img {
  width: 39%;
}

.right > p:last-child {
  margin-bottom: 0;
}

.block-content:not(:first-of-type) {
  margin-top: 2rem;
}

section.gallery {
  background: linear-gradient(
    to bottom,
    transparent 50%,
    var(--color-blue) 50%
  );
}

section.gallery.last {
  background: transparent !important;
}

.fondateur-section {
  background-color: var(--color-blue);
  color: var(--color-orange);
  max-width: 100%;
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 90%);
  padding: 0 0 6rem 0;
  margin-bottom: 2rem;
}
.acronet {
  padding-top: 2rem;
}
.acronet .left {
  position: relative;
}
.larged-image {
  position: absolute;
  left: -25%;
  width: 100%;
  bottom: 0;
}

/* TEAM */
.main-content:has(.team-container) > h1:first-child {
  grid-column: 2 / span 10;
}
.team-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: var(--grid-gap);
  grid-row-gap: 3rem;
  overflow: hidden;
  grid-column: 2 / span 6;
}

.team-content {
  margin-top: 0.5rem;
}

.team-member .team-content * {
  margin: 0;
}
.team-member .team-content p:first-child {
  text-transform: uppercase;
}

.team-member .team-content p:last-child {
  font-style: italic;
}

/* SIDEBLOCKS */
.side-blocks {
  grid-column: 9 / span 3;
  font-weight: 500;
  font-size: 0.8em;
  line-height: 1.1rem;
}

.infos-pratiques {
  margin-bottom: 3rem;
}

.info-block p {
  margin: 0;
}

.info-block {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.item__line ~ p {
  margin-top: 0.5rem;
}

.item__line {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--color-black);
  margin-top: 0.5rem;
}

@media screen and (max-width: 1024px) {
  .main-content {
    display: flex !important;
    flex-direction: column;
  }

  .main-content.compagnie .left img {
    display: none;
  }

  .left {
    margin-bottom: 2rem;
  }

  .sticky-container {
    position: initial;
    top: 0;
  }
  .related.items-list .item {
    grid-column: span 6;
  }

  .calendar .item h2,
  .calendar .item__location,
  .calendar .item__date-time {
    grid-column: span 12;
    text-align: center;
  }

  .larged-image {
    position: initial;
  }
}
@media screen and (max-width: 800px) {
  .fondateur-section {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 98%);
  }
}

@media screen and (max-width: 600px) {
  .fondateur-section .main-content .left figure img {
    width: 100%;
  }
}
