html {
  font-family: sans-serif;
  font-size: 0.7em;
}
p, a, li {
  font-size: 1rem;
}
body {
  margin: 0;
}
a {
  color: black;
}
/*Home, About, Projects Body*/
.content.slug-about {
  padding-top: 20px;
}


/*Site Navigation */
.fixed-header {
  position: fixed;
  z-index: 1000;
  margin: auto;
  border: 1px solid #c5c5c5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  background: white;
}
  
  .site-title a {
    color: black;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  .site-nav li {
    margin-left: 20px;
  }
  
  .site-nav a {
    color: black;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.3rem;
  }

  .site-nav a.active, .site-nav a:hover {
    text-decoration: underline;
}

  /*Homepage*/
  h2.homepage-project-title {
    font-size: 1em;
    color: black;
}
.exhibitions-title, .individual-works-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.toc-left a {
  font-weight: bold;
}
h5.homepage-project-title a:hover {
  background: gainsboro;
  transition: .3s;
}
.homepage-project-title a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
}
h5.homepage-project-title {
  margin: 5px 0;
  display: inline-block;
}
.exhibition-item {
  position: relative;
}

.exhibitions-list {
  list-style: none;
  padding: 0;
}

.exhibitions-list .item {
  margin-bottom: 10px;
  cursor: pointer;
}

.toc-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
}

.project-preview {
  position: absolute;
  top: 0;
  left: 10px;
  width: calc(100% - 20px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
  pointer-events: none;
}

.project-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-preview.visible {
  opacity: 1 !important; /* Show the image */
  pointer-events: all;
}

.item {
  display: flex;
  align-items: center;
}

.active-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #000000;
  margin-right: 4px;
  visibility: hidden;
  margin-left: -10px;
  display: inline-block;
  position: absolute;
  top: 13px;
}

.active-dot.visible {
  visibility: visible;
  opacity: 1;
}
.exhibition-item * {
  vertical-align: middle;
}
.project-preview {
  position: absolute;
  top: 0;
  left: 10px;
  width: calc(100% - 20px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
  pointer-events: none;
}


  section.homepage-individualworks a {
    text-decoration: none;
}
section.homepage-individualworks a:hover {
    text-decoration: underline;
}

.homepage-individualworks {
  width: 100%;
  padding: 40px 0;
}

.individual-works-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  padding: 0; /* Remove side padding */
}

.individual-work {
  flex: 0 0 calc(33.333% - 20px); /* Adjust for 3-column spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.individual-work img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.homepage-individualworks h3 {
    text-transform: uppercase;
    text-align: left;
    margin: 5px 0 0 0;
}
/* Optional: control margin for titles */
.individual-work a {
  margin-top: 10px;
  font-weight: bold;
  color: black;
  text-align: center;
}

/* Responsive: 2 per row */
@media (min-width: 768px) {
  .individual-works-grid {
  gap: 30px
  }
}

/* Responsive: 2 per row */
@media (max-width: 768px) {
  .individual-work {
    flex: 0 0 48%;
  }
  .individual-works-grid {
  gap: 10px
  }
}



/*Individual Project Page*/
.swiper-button-prev, .swiper-button-next {
  color: black !important;
  width: 10px !important;
  height: 10px !important;
}
.content.projects {
  width: 100%;
  position: relative;
}
.location-dates {
    margin: 0 80px;
}
.location-dates h5 {
  margin: 3px 0;
}
.project-carousel {
  margin: 80px;
}
.artwork-section-title h3 {
  text-transform: uppercase;
  margin: 40px 0 30px 0;
}


.carousel-container .lSSlideOuter .lSPager.lSpg > li.active a {
  background-color: #cacaca;
}


ul.carousel-navigation li.active-tab a {
  text-decoration: none;
}


.exhibition, .home-slide-title{
  padding: 5px 10px;
  background: #ffffff7a;
  border: 1px solid gainsboro;
  width: fit-content;
  position: absolute;
  font-size: .9em;
  line-height: .4em;
  z-index: 10;
  font-weight: bold;
}
.home-slide-title {
  top: 19px;
}
.exhibition-template .exhibition{
  top: 38px;
}

.project-cover img {
  width: 100%; /* Make the image fill the width of the container */
  height: auto; /* Maintain the aspect ratio */
  object-fit: cover; /* Ensures the image covers the container without distortion */
}

/*Artwork Carousel*/
.artwork {
  text-align: center;
}
.artwork-images {
  height: 400px;
}
.artwork-images img {
  height: 100%;
  object-fit: contain;
}
.image-navigation {
  padding-top: 10px;
}

.artwork-images, .artwork-audio {
  max-width: 400px;
  width: 70%;
  margin: auto;
  text-align: left;
}
.artwork-audio audio {
  width: 100%;
}
.project-carousel {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.artwork-section-title h3 {
  text-align: center;
  margin-bottom: 15px;
}





.artwork-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.artwork-navigation button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  cursor: pointer;
}

.artwork-navigation button:hover {
  background-color: #e0e0e0;
}


/*Artwork Navigation*/

.artwork-navigation {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
  margin: 30px 0;
}

  /* Add styles for active buttons */
  .artwork-toggle {
    flex: 32%;
    margin: 5px;
    padding: 10px;
    text-align: center;
    background-color: white;
    border: 1px solid gainsboro;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
  }
  button.artwork-toggle {
    color: black !important;
}

  .artwork-toggle:hover {
    background-color: #ddd;
  }

  .artwork-toggle:focus, .artwork-toggle.active {
    background: #c3c3c3;
    border: 1px solid #282828;
  }
  .artwork-navigation button.active-button {
    background-color: #c2c2c2;
    border-color: #404040;
  }


  /*Carousel*/
  ul#image-gallery.project-gallery {
    max-height: 400px;
    align-items: center;
    margin-bottom: 20px;
    justify-content: center;
}
ul#image-gallery.project-gallery li {
  text-align: center;
}
ul#image-gallery.project-gallery li img {
  width: 100%;
}
  


  /*Footer*/
.footer-nav li, .footer-nav ul, .footer-nav .site-title {
  display: inline-block;
  padding: 0 30px 0 0;
}
nav.site-nav.footer-menu ul, nav.site-nav.footer-menu li {
  padding: 0;
}




.header-carousel {
  position: relative; /* Allows us to absolutely position the carousels inside */
  height: auto; /* The container height will adapt to the active carousel */
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.3s ease;
  visibility: hidden; /* Ensure the inactive carousels are not visible */
}

.carousel-container.active {
  position: relative;
  opacity: 1;
  z-index: 1;
  visibility: visible; /* Only the active carousel is visible */
}

ul.carousel-navigation {
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

ul.carousel-navigation li {
  text-align: center;
  list-style: none;
  border: 1px solid gainsboro;
  padding: 10px 0;
  width: 100%;
  cursor: pointer;
}

ul.carousel-navigation li.active-tab {
  background: #f3f3f3;
  border: 1px solid #a8a8a8;
}
