


#exhibition-text {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  position:relative;
  line-height: 1.8em;
  text-align:left;

}





.button-container  {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  max-width: 1000px;
  width: 100%;
}


/* exhibition text styles - classes in exhibitions.js*/
.exhibition-details-title {
  margin-bottom: 0;
  font-style: italic;

}
.exhibition-details-curated, .exhibition-details-artists {
  margin-bottom: 0;
}

.exhibition-type {
  width: 600px;
}

#language-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.45em;
}

#practice {
  position: relative;
}

.practice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.quote-container {
  flex: 1;
}




#language-toggle-about {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

#language-toggle a, #language-toggle-about a, #language-toggle-about-practice a {
  color: black;
  text-decoration: none;
}

#language-toggle a:hover, #language-toggle-about a:hover {
  color: #9D9D9C;
}

.exhibition-details-location {
  margin-bottom: 0;
}

.exhibition-details-date {
  margin-bottom: 2em;
}

#exhibition-text .narrow-container {
  max-width: 1000px;
  margin: 0 auto 200px;
  padding-top: 30px;
  cursor: default;
  line-height: 1.3em;
  font-size: 1.45em;
  font-weight: 500;
}

#text-content .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

#text-content .column {
  flex: 1;
  max-width: 48%;
  text-align: justify;
}


#text-content .left-column,
#text-content .right-column {
  padding: 20px;
  text-align: justify;

}

.current-page-name {
  font-size: 1.62em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-weight: 500;
  padding-top:0;
}

.exhibition-h2 {
  display: none;
}

#exhibition-grid {
  width: 100%;
  max-width: none;
  margin-bottom: 4em;
  margin-top: 1.5em;
}





.exhibition-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;

}


.carousel-click-area {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10;

}

.carousel-click-area.left {
  left: 0;
  cursor:  url('/images/icons_Homepage_arrow_left.cur'), w-resize;
}

.carousel-click-area.right {
  right: 0;
  cursor: url('/images/icons_Homepage_arrow_right.cur'), e-resize;
}



.exhibition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  padding: 0 20px;
  margin-top: 1em;


}




.carousel {
  overflow: visible;
}



.carousel-inner {
  max-width: 100%;
  height: auto;
}

.carousel-image {
  width: 100%; /* Ensures the image scales with its container */
  height: auto; /* Maintains the original aspect ratio */
  object-fit: contain; /* Ensures the image is fully visible */
}


.exhibition-card {
  border: none;
  padding: 10px;
  text-decoration: none;
  color: inherit;

}

.exhibition-card img {
  width: 100%;
  height: auto;
  padding: 0;
  text-decoration: none;
}

.exhibition-details {
  transition: all 0.3s ease;
  margin-top: 0.8em;
  flex-grow: 1;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}



.caption {
  width: 100%;
  display: flex;
  margin-bottom: 4em;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  line-height: 1.2em;
  font-size: 1.2em;
}




.more-info {

  height: auto;
  max-width: 100%;
  font-weight: 500;
  color: #000;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;

}

.more-info:hover {
  cursor: pointer;
  color:#9D9D9C;
 font-weight: 300;
}



.text-link {
  margin-left: auto;
}


.exhibition-title {

  margin-top: 0;
  margin-bottom: 0;
}

.exhibition-location, .exhibition-year {
  color: black;
  margin-top: 0;
  margin-bottom: 0;
}



.exhibitions-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white; /* Background color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: black;
  text-align: center;
  cursor: pointer;
  animation: fadeIn 0.2s ease-in-out; /* Initial fade-in */
}

.exhibitions-heading {
  font-size: 10em;
}

/* Hide the exhibitions container initially */
.hidden {
  display: none;
}


.exhibition-grid {
  scroll-behavior: smooth;
  overflow-y: auto; /* if you want vertical scroll */
}


/* Reveal the exhibitions container */
.exhibitions-container {
  animation: fadeIn 0.6s ease-in-out;
  margin-top: 3.5em;
}

.sliders {

  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.sliders img {
  width: 15px;
  height: 15px;
}


@media (max-width: 576px) {
  #back-to-grid img {
    height: 20px;
    width: 20px;
  }

  .exhibition-grid {
    grid-template-columns: repeat(1, 1fr);
    padding:0 !important;
  }

.exhibitions-container {
  margin-top: 1em;
}

#exhibition-text {
  padding-left: 8px;
  padding-right: 8px;
  margin-top: 3.5em;
  font-weight: 600;
  max-width: 100%;
}

.exhibition-type {
  width: 300px;
}

#exhibition-text .narrow-container {
  font-size: 1em;
  padding: 0;
  font-weight: 600;
}



#language-toggle, #language-toggle-about {
  margin-bottom: 20px;
  font-size: 0.9em;
}


.exhibition-details {
  font-size: 0.9em;
  max-width: 300px;
  font-weight: 600;
}

.more-info {
  font-size: 14px;
  font-weight: 600;
}

.caption {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 1em;
  margin-top: 1em;
  line-height: 1em;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 1em;
}



.exhibitions-heading {
  font-size: 5em;
}

.exhibition-item {
  margin-bottom: 0;
  margin-top: 1em;
}

.exhibition-item:first-child {
  margin-top: 3em;
}
.exhibitions-intro {
  font-size: 0.7em;
}



#text-content {
  margin-top: 1em;

}



}




/* ✅ Tablet & Mid-Sized Devices (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  #exhibition-text {
    padding-right: 20px;
    padding-left: 20px;
  }


.carousel-indicators {
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel-indicators .indicator {
  width: 4px;
  height: 4px;
  margin: 0 3px;
  border-radius: 50%;
  cursor: pointer;
}

  .caption {
    margin-top: 1em;
  }

}

@media (max-width: 991px) {

  .exhibitions-heading {
    font-size: 5em;
  }

  #text-content .row {
    flex-direction: column;
  }

  #text-content .column {
    max-width: 100%;
  }

  .exhibition-details {
    padding-left: 0;
  }

  /* 🎯 Enable Snap Scroll on Mobile & Tablets */
  .snap-container {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .snap-container::-webkit-scrollbar {
    display: none;
  }

  .snap-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
  }

  /* 📌 Hide Bootstrap Carousel on Mobile & Tablets */
  .carousel.slide .carousel-inner {
    display: none !important;
  }

  /* Limit the number of indicators visible */
  .carousel-indicators div:nth-child(n+6) {
    display: none;
  }

  /* 📍 Position Indicators Below Snap Slideshow */
  .carousel-indicators {
    position: relative;
    bottom: 0;
    display: flex;
    justify-content: center;
    margin-top: 12px;
    list-style: none;
  }

  .carousel-indicators .indicator {
    width: 4px;
    height:4px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    scroll-snap-align: start;
  }

  .carousel-indicators .indicator.active {
    background-color: #555;
  }

  .caption {
    margin-top: 18px;
  }

  .exhibition-details {
    margin-top: 0;
  }
}

/* ✅ Larger Tablets (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {


  .carousel-indicators {
    position: relative;
    bottom: 0;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    list-style: none;
  }

  .carousel-indicators .indicator {
    width: 4px;
    height: 4px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
  }

  .carousel-indicators .indicator.active {
    background-color: #555;
  }

  /* Ensure the snap slideshow is properly positioned */
  .snap-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    scrollbar-width: none;
  }

  .snap-container::-webkit-scrollbar {
    display: none;
  }

  .snap-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
  }

  .exhibition-details {
    padding-left: 0;
  }

  .exhibitions-heading {
    font-size: 5em;
  }

  #exhibition-text {
    padding-left: 8px;
    padding-right: 8px;
  }
}




/* ✅ Extra-Large Screens (1500px and up) */
@media (min-width: 1800px) {
  .exhibition-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .exhibition-item {
    align-items: start;
  }

  .exhibition-details {
    grid-column: 2 / span 1;
    text-align: left;
    max-width: 500px;
  }

  .exhibition-item {
    max-width: 1300px;
  }

  #exhibition-text .narrow-container {
    max-width: 1300px;
  }
  }
