.exhibitions-current {
  padding: 74px var(--gap) var(--padding-bottom-sticky-bar);
  display: flex;
  flex-direction: column;

}

.exhibitions-current .sticky-bar {
  padding: 0;
}

.exhibitions-current .exhibition {
  gap: 35px;
}

.exhibitions-current .exhibition-infos {
  text-align: center;
  width: calc((var(--column) * 3) + (var(--gap) * 2));
  margin: 0 auto;
  gap: 28px;
}

.exhibitions-current .exhibition:not(:nth-child(2)) {
  width: calc((var(--column) * 6) + (var(--gap) * 5));
  margin: 0 auto;
}

.exhibitions-current .exhibition:last-child {
  margin-bottom: calc(120px - var(--padding-bottom-sticky-bar));
  margin-bottom: 125px;
}

.exhibitions-current .exhibition:not(:last-child) {
  margin-bottom: 120px;
}

.exhibitions-upcoming,
.exhibitions-past {
  padding: 40px 0 0;
  border-top: 1px solid #000;
}

.exhibitions-upcoming {
  padding-bottom: var(--padding-bottom-sticky-bar);
}

.exhibitions-upcoming-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding: 108px var(--gap) 125px;
}

.exhibitions-current .exhibition-infos,
.exhibitions-upcoming .exhibition-infos {
  flex-direction: column;
}

.exhibitions-past {
  margin: 0 var(--gap) 0;
}

.exhibitions-past .sticky-bar {
  padding: 0;
}

.exhibitions-past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gap);
  row-gap: 6px;
  padding: 112px 0 80px;
}

.exhibitions-past-more-wrap {
  display: flex;
  justify-content: center;
  /*padding: 0 0 48px;*/
}

.exhibitions-past-view-more {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.exhibitions-past-grid .exhibition-infos {
  gap: 28px;
}

.exhibitions-past-more-wrap[hidden],
.exhibitions-past-grid .exhibition-past[hidden] {
  display: none;
}

.exhibitions-past-grid .exhibition-image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: calc(100vh - 200px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exhibitions-past-grid .exhibition:nth-child(3n + 1) .exhibition-image {
  right: 100px;
  left: auto;
  transform: translate(0, -50%);
}

.exhibitions-past-grid .exhibition:nth-child(3n + 3) .exhibition-image {
  left: 100px;
  transform: translate(0, -50%);
}

.exhibitions-past-grid .exhibition:hover .exhibition-image {
  opacity: 0.2;
}

.exhibition {
  height: fit-content;
}

.exhibition-location {
  margin-top: 12px;
  display: block;
  text-align: center;
  font-size: 12px!important;
}

.exhibitions-past-grid .exhibition-location {
  text-align: left;
}

/* Exhibition single */

.exhibition-page {
  padding: 0 0 110px;
  padding: 0px;
}

.exhibition-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: 30px var(--gap) calc(110px - var(--padding-bottom-sticky-bar));

}

.exhibition-works-img,
.exhibition-expo-img {
  width: 100%;
  height: auto;
}

.exhibition-page .exhibition-infos {
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: calc((var(--column) * 4) + (var(--gap) * 3));
  margin: 0 auto;
  min-height: 50dvh;
  padding-top: 100px;
}

.exhibition-page .exhibition-infos > * {
  height: fit-content;
  flex: none;
}

.exhibition-main-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding: 38px var(--gap) 0;

  display: flex;
  justify-content: center;
}

.exhibition-main-images .exhibition-expo-img {
  width: calc(50vw - (var(--gap) * 1.5));
}

.exhibition-images-carousel {
  width: 100%;
}

.exhibition-images-carousel {
  margin-bottom: 90px;
  padding-bottom: 30px;
}

.exhibition-text {
  columns: 2;
  column-gap: var(--gap);
  width: calc((var(--column) * 6) + (var(--gap) * 5));
  margin: 190px auto;
  text-align: justify;
  line-height: 1.2;
}

.exhibition-text p:not(:last-child) {
  margin-bottom: 1em;
}

.exhibition-single-sticky-bar {
  margin-top: 48px;
}

.exhibition-works {
  margin-top: 90px;
}

.exhibition-works-more-wrap {
  display: flex;
  justify-content: center;
  padding: 90px var(--gap) 0;
}

.exhibition-works-more-wrap[hidden],
#itgallery_contact_form_btn-1 {
  display: none;
}

.itgallery_contact_form {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.itgallery_contact_form form {
  position: absolute;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: calc((var(--column) * 6) + (var(--gap) * 7));
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 50px var(--gap) 0;
}

.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000050;
  z-index: 10;
  cursor: pointer;
}

.form-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 14px var(--gap);
  cursor: pointer;
}

.itgallery_contact_form .artwork-info {
  grid-column: span 6;
  text-align: left;
  padding-bottom: 30px;
  border-bottom: 1px solid #000;
}

.itgallery_contact_form .artwork-info .artwork-info-item:first-child {
  margin-bottom: 10px;
}

.itg-form-input {
  grid-column: span 2;
  text-align: left;
  height: 110px;
  border-bottom: 1px solid #000;
}

.itg-form-msg {
  all: unset;
  grid-column: span 6;
  height: 240px;
  border-bottom: 1px solid #000;
  text-align: left;
  padding-top: 24px;
}

.itg-form-mail {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}

.itg-form-mail,
.itg-form-phone {
  padding-left: var(--gap);
}

.itg-form-privacy {
  border-right: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  padding-left: var(--gap);
  padding-right: var(--gap);
}

.itg-form-privacy input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
}

.itg-form-privacy input[type="checkbox"]:checked {
  background: #000;
}

.itg-form-privacy input[type="checkbox"]:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.itg-form-privacy a {
  color: inherit;
  text-decoration: underline;
}

.itg-form-msg::placeholder {
  color: #000;
}

.itg-form-privacy,
.itgallery_contact_form button[type="submit"] {
  grid-column: span 3;
  height: 110px;
  justify-content: center;
}

.exhibition-description {
  font-size: 14px!important;
}

@media (min-width: 820px) {
  .exhibition-description {
    font-size: 16px!important;
  }
}

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

@media (max-width: 820px) {

 .exhibitions-current .exhibition-infos .exhibition-dates {
  font-size: 18px;
 }

 .exhibitions-upcoming .exhibition-infos .exhibition-dates {
  font-size: 14px;
 }

 .exhibitions-past-grid .exhibition-infos .exhibition-dates {
  font-size: 16px;
 }

 .exhibitions-current .exhibition:not(:last-child) {
  margin-bottom: 80px;
 }

 .exhibitions-current .exhibition:not(:nth-child(2)) {
  width: 100%;
 }

 .exhibitions-current .exhibition:last-child {
  margin-bottom: 88px;
 }

 .exhibitions-current {
  padding: 88px 8px 32px;
 }

 .exhibitions-upcoming, .exhibitions-past {
  padding: 32px 0 0;
  margin: 0 8px;
 }

.exhibitions-current .exhibition-infos {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  gap: 28px;
}

.exhibitions-upcoming-container {
  display: flex;
  gap: 80px;
  flex-direction: column;
  padding: 67px 0 91px;
}

.exhibitions-past-grid .exhibition-image {
  display: none!important;
}

.exhibition-image {
  min-height: 50dvh;
  object-fit: cover;
}

.exhibitions-upcoming .artists-sticky-bar {
  padding: 0;
}

.exhibitions-past {
  margin-top: 32px;
}

.exhibitions-past-grid {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.exhibitions-past-grid .exhibition {
  margin-top: 0px!important;
}

/* Exhibition single */

.exhibition-page .exhibition-infos {
  width: 100%;
  padding: 0 8px;
}

.exhibition-images-carousel {
  padding-bottom: 90px;
}

.exhibition-page {
  padding-top: 88px;
}

.exhibition-main-images {
  padding: 32px 8px 0;
}

.exhibition-main-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exhibition-main-images .exhibition-expo-img {
  width: 100%;
}

.exhibition-text {
  columns: 1;
  column-gap: var(--gap);
  width: 100%;
  margin: 80px auto;
  padding: 0 8px;
}

.exhibition-works-grid {
  grid-template-columns: repeat(2, 1fr);
  padding: 32px 8px 0;
  gap: 8px;
}

.exhibition-works-more-wrap {
  padding: 80px 8px 0;
}

.exhibition-works {
  margin-top: 80px;
}

/* Artwork request form */

.itgallery_contact_form form {
  width: calc(100% - 32px);
  margin: 0 var(--gap);
  display: flex;
  left: 0;
  flex-direction: column;
  gap: 0;
  padding: 85px 8px 0;
  transform: translateY(-50%);
}

.itg-form-input,
.itg-form-privacy, .itgallery_contact_form button[type="submit"] {
  height: 60px;
}

.itg-form-privacy {
  border-right: 0px;
  border-bottom: 1px solid #000;
}

.itg-form-msg {
  height: 90px;
}

.itg-form-mail, .itg-form-phone {
  padding-left: 0px;
}

.itg-form-mail {
  border-left: 0px;
  border-right: 0px;
}

.itgallery_contact_form .artwork-info {
  border-top: 1px solid #000;
  padding: 30px 0;
}

.itg-form-input {
  height: 80px;
}

.arrow-hover:hover::after {
  opacity: 0;
} 

.form-close {
  right: 50%;
  transform: translateX(50%);
  padding: 35px 0;
}

.exhibition-description {
  font-size: 14px!important;
}

}


