.module:not(:first-child) {
  margin-top: 240px;
  margin-top: 115px;
}

.about-module.module:not(:first-child) {
  margin-top: 120px;
}

/*
* Exhibitions Module
*/

.exhibitions-module {
  display: flex;
  flex-direction: column;
  gap: 180px;
  margin-top: -194px;
}

.exhibitions-past-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0px 16px 125px;
}

.exhibition {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

a.exhibition {
  text-decoration: none;
  color: inherit;
}

.exhibition-image {
  display: flex;
}

.exhibition-image img {
  width: 100%;
  object-fit: cover;
}

.exhibition-infos {
  display: flex;
  gap: 16px;
}

.exhibition-infos > * {
  flex: 1;
}

.exhibition-current .exhibition-infos {
  padding: 0 16px;
}

.exhibition-past .exhibition-infos {
  flex-direction: column;
  gap: 10px;
}

.exhibition-current .exhibition-image {
  height: 100dvh;
  object-fit: cover;
}

/*
* Editorial Wide Module
*/

.editorial-wide-module {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin: 0 calc((var(--column) * 1) + (var(--gap) * 2));
}

.editorial-media {
  display: flex;
  flex-direction: column;
}

.editorial-media .media {
  width: 100%;
}

.editorial-text {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -1%;
  text-align: justify;
}

/*
* Editorial Two Module
*/

.editorial-two-module {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin: 0 16px;
}

.editorial-two-module .editorial-text {
  margin: 0 calc((var(--column) * 1) + (var(--gap) * 1));
}

.editorial-media-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/*
* Artists Module
*/

.module.artists-module {
  margin-bottom: 320px;
}

.artists-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.artists-container .artist {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.artists-container .artist-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.artist-name {
  text-align: center;
}

#homepage-page .artists-container.hovering .artist:hover .artist-image,
.list-view .artists-container.hovering .artist:hover .artist-image {
  opacity: .6;
  transition: opacity .3s ease;
}

#homepage-page .artists-container.hovering .artist.active .artist-image,
.list-view .artists-container.hovering .artist.active .artist-image {
  opacity: 0;
}

.artists-container.hovering .artist.active .artist-name {
  font-size: 30px;
  font-weight: normal;
  font-style: normal;
}

#homepage-page .artists-container .artist-image,
.list-view .artists-container .artist-image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 200px);
  height: calc(100dvh - 200px);
  opacity: 0;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: -1;
}

#homepage-page .artists-container .artist-image img,
.list-view .artists-container .artist-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#homepage-page .artists-container .artist.active .artist-image,
.list-view .artists-container .artist.active .artist-image {
  opacity: .6;
  transition: opacity .3s ease;
}

.artist-name {
  transition: font-size 0.3s ease-in-out, font-weight 0.3s ease-in-out, font-style 0.3s ease-in-out;
}

.artist.active .artist-name {
  font-style: italic;
  font-weight: bold;
  font-size: 40px;
}

.list-view .artist:hover .artist-name,
.module.artists-module .artist:hover .artist-name {
  font-style: italic;
  font-weight: bold;
  font-size: 40px;
}

.artist {
  cursor: pointer;
}

.viewing-rooms-list-items .viewing-room-title{
  font-size: 14px;
}


/* ------ MOBILE ------ */

@media (max-width: 820px) {

  /*
  * Exhibitions Module
  */
  .exhibition-current .exhibition-image {
    min-height: 60svh;
    height: fit-content;
    object-fit: cover;
  }

  .exhibition-current .exhibition-info,
  .exhibitions-past-container .exhibition-infos {
    padding: 0 8px;
  }

  .exhibition-infos {
    justify-content: space-between;
  }

  .exhibition-current .exhibition-infos {
    padding: 0 8px;
  }

  .exhibitions-module {
    gap: 80px;
    margin-top: -94px;
  }

  .exhibition-infos > * {
    flex: none;
  }

  .exhibitions-past-container .exhibition .exhibition-infos {
    order: 2;
  }

  .exhibitions-past-container {
    display: flex;
    flex-direction: column;
    row-gap: 80px;
    padding-bottom: 27px;
    padding-left: 0px;
    padding-right: 0px;
  }

  /*
  * Editorial Wide Module
  */

  .editorial-wide-module {
    gap: 40px;
    margin: 0 8px;
  }

  .editorial-text {
    font-size: 14px;
    line-height: 20px;
  }

  /*
  * Artists Module
  */

  .artists-container.hovering .artist.active .artist-name {
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
  }

  .artist:hover .artist-name {
    font-size: 20px;
    line-height: 1.2;
    font-weight: normal;
    font-style: normal;
  }

  #homepage-page .artist:hover .artist-image {
    opacity: 0;
  }

  #homepage-page .artists-container .artist-image, .list-view .artists-container .artist-image {
    width: calc(100vw - 16px);
    left: 8px;
    transform: translate(0, -50%);
  }

  .module.artists-module .artists-sticky-bar {
    padding-bottom: 2px;
  }

  .module:not(:first-child) {
    margin-top: 80px;
  }

  .module.artists-module {
    margin-bottom: 290px;
  }

  .artists-container {
    padding-top: 100px;
    padding-bottom: 0px!important;
  }

  .artists-container .artist .artist-name {
    font-size: 20px;
    line-height: 1.2;
  }

  .artist.active .artist-name {
    font-size: 30px;
  }

  .list-view .artist:not(.active):hover .artist-name,
  .module.artists-module .artist:not(.active):hover .artist-name {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
  }

  .list-view .artist.active:hover .artist-name,
  .module.artists-module .artist.active:hover .artist-name {
    font-style: italic;
    font-weight: bold;
    font-size: 30px;
  }

  /*
  * Editorial Two Module
  */

  .module.editorial-two-module {
    gap: 40px;
    margin: 60px 8px 0;
  }

  .editorial-two-module .editorial-text {
    margin: 0;
  }

  .editorial-media-container {
    display: flex;
    flex-direction: column;
  }



}