.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.asset:hover .overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.asset:hover .overlay-text {
  opacity: 1;
}

/* Allow nav to stay on top and clickable */
#site_menu, .site_menu, .main_nav, .nav-wrapper {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Full-width base reset */
body.content_page #content {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

/* Shift content to right to clear left nav area */
body.content_page #content_page_wrapper {
  width: calc(100% - 160px); /* Adjust depending on how wide your nav is */
  margin-left: 200px;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  pointer-events: auto;
}

/* Center content inside wrapper */
body.content_page ._40RMAT_content_page_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  pointer-events: auto;
}

/* Style image rows */
body.content_page ._40RMAT_content_page_row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 20px 0;
  box-sizing: border-box;
}

/* Style image columns */
body.content_page .threecol {
  margin: 10px;
  flex: 1 1 auto;
  max-width: 290px;
}



/* Prevent image stretching */
body.content_page .threecol img {
  max-width: 100%;
  height: auto;
  display: block;
/* PAGE-SPECIFIC THUMBNAIL RESIZING */
body.page-13732664 .image-set-slideshow-thumbs-wrapper {
  height: 60px !important;
  max-height: 60px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* Shrink the thumbnails themselves */
body.page-13732664 .image-set-slideshow-thumbs-wrapper .image-set-slideshow-thumbs img {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 4px !important;
  display: inline-block !important;
  transition: transform 0.3s ease;
}

/* Optional: Hover zoom effect */
body.page-13732664 .image-set-slideshow-thumbs-wrapper .image-set-slideshow-thumbs img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

