.illuminate-page {
  background-color: #fdf6ee;
  overflow-x: clip;
}

.illuminate-gallery {
  position: relative;
  
  background-color: #fdf6ee;
  overflow-x: clip;
	padding: calc(var(--header-height) + var(--strip-height) + clamp(0.5rem, 1.5vw, 1rem))
         0
         clamp(1.25rem, 2.5vw, 2rem);
}

.illuminate-gallery__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.illuminate-gallery__inner--filters {
  position: relative;
  z-index: 1;
  margin-top: clamp(-3.35rem, -6.75vw, -2.5rem);
}

.illuminate-gallery__header {
  text-align: center;
  margin: clamp(0.55rem, 1.65vw, 1.05rem) 0 clamp(0.35rem, 0.9vw, 0.55rem);
}

.illuminate-gallery__title {
  font-family: "Elms Sans", sans-serif;
  font-size: clamp(1.45rem, 2.75vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  color: #006d5b;
  margin-bottom: clamp(0.15rem, 0.5vw, 0.3rem);
}

.illuminate-gallery__title-line {
  display: block;
}

.illuminate-gallery__title-line + .illuminate-gallery__title-line {
  margin-top: -0.06em;
}

.illuminate-gallery__explore {
  position: absolute;
  left: 50%;
  top: clamp(0.15rem, 0.85vw, 0.45rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  gap: 0.6rem;
  transform: translateX(-50%);
  font-family: "Elms Sans", sans-serif;
  font-size: clamp(0.7rem, 0.92vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #006d5b;
  transition: opacity 0.2s ease;
}

.illuminate-gallery__explore:hover,
.illuminate-gallery__explore:focus-visible {
  opacity: 0.75;
}

.illuminate-gallery__explore-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1.5px solid #00685e;
  border-radius: 50%;
  background-color: #00685e;
  color: #ffffff;
}

.illuminate-gallery__explore-icon svg {
  width: 0.92rem;
  height: 0.92rem;
}

.illuminate-gallery__stage {
  position: relative;
  width: 100%;
  max-width: none;
  margin: clamp(-0.45rem, -1.1vw, -0.25rem) 0 0;
  padding: 0;
}

.illuminate-gallery__showcase {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  box-sizing: border-box;
}

.illuminate-gallery__showcase-img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.illuminate-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
}

.illuminate-gallery__filter {
  font-family: "Elms Sans", sans-serif;
  font-size: clamp(0.82rem, 1.05vw, 0.96rem);
  font-weight: 500;
  line-height: 1.32;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid #006d5b;
  background-color: #ffffff;
  color: #006d5b;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.illuminate-gallery__filter:hover,
.illuminate-gallery__filter:focus-visible {
  background-color: rgba(0, 109, 91, 0.08);
}

.illuminate-gallery__filter.is-active {
  background-color: #006d5b;
  border-color: #006d5b;
  color: #ffffff;
}

/* Tablet */
@media (max-width: 900px) {
  .illuminate-gallery {
    padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  }

  .illuminate-gallery__title {
    font-size: clamp(1.2rem, 3.8vw, 1.55rem);
  }

  .illuminate-gallery__explore {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    gap: 0.5rem;
    letter-spacing: 0.1em;
  }

  .illuminate-gallery__explore-icon {
    width: 1.65rem;
    height: 1.65rem;
  }

  .illuminate-gallery__explore-icon svg {
    width: 0.82rem;
    height: 0.82rem;
  }

  .illuminate-gallery__inner--filters {
    margin-top: clamp(-2.85rem, -7.25vw, -2.1rem);
  }

  .illuminate-gallery__filters {
    gap: 0.5rem 0.65rem;
  }

  .illuminate-gallery__filter {
    padding: 0.65rem 1.1rem;
    font-size: clamp(0.78rem, 2.2vw, 0.9rem);
  }
}

/* Small tablet / large phone */
@media (max-width: 640px) {
  .illuminate-gallery__header {
    margin-top: clamp(0.35rem, 2vw, 0.65rem);
    margin-bottom: clamp(0.2rem, 1.2vw, 0.4rem);
  }

  .illuminate-gallery__title {
    font-size: clamp(0.88rem, 4vw, 1.15rem);
    line-height: 1.12;
  }

  .illuminate-gallery__explore {
    top: clamp(0.05rem, 0.65vw, 0.25rem);
    font-size: clamp(0.56rem, 2.65vw, 0.66rem);
    gap: 0.42rem;
    letter-spacing: 0.08em;
  }

  .illuminate-gallery__explore-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 1.25px;
  }

  .illuminate-gallery__explore-icon svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .illuminate-gallery__filters {
    gap: 0.4rem 0.5rem;
  }

  .illuminate-gallery__filter {
    padding: 0.45rem 0.8rem;
    font-size: clamp(0.64rem, 2.1vw, 0.74rem);
    line-height: 1.22;
    border-width: 1.25px;
  }
}

/* Phone */
@media (max-width: 520px) {
  .illuminate-gallery {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 1.75rem;
  }

  .illuminate-gallery__header {
    margin-top: 0.25rem;
    margin-bottom: 0.2rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .illuminate-gallery__title {
    font-size: clamp(0.76rem, 3.5vw, 0.9rem);
    line-height: 1.14;
  }

  .illuminate-gallery__explore {
    top: 0;
    font-size: clamp(0.5rem, 2.5vw, 0.58rem);
    gap: 0.35rem;
    letter-spacing: 0.06em;
  }

  .illuminate-gallery__explore-icon {
    width: 1.32rem;
    height: 1.32rem;
  }

  .illuminate-gallery__explore-icon svg {
    width: 0.68rem;
    height: 0.68rem;
  }

  .illuminate-gallery__inner--filters {
    margin-top: clamp(-1.75rem, -5.75vw, -1.15rem);
    padding-left: clamp(0.65rem, 4vw, 1rem);
    padding-right: clamp(0.65rem, 4vw, 1rem);
  }

  .illuminate-gallery__filters {
    flex-direction: row;
        /* align-items: center; */
        gap: 0.28rem;
        flex-wrap: nowrap;
        overflow-x: scroll;
        justify-content: start;
	  -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
  }
.illuminate-gallery__filters::-webkit-scrollbar {
    display: none;            
}	

  .illuminate-gallery__filter {
    width: fit-content;
    max-width: 100%;
    text-align: center;
    padding: 0.34rem 0.75rem;
    font-size: clamp(0.56rem, 2.45vw, 0.66rem);
    line-height: 1.24;
    border-width: 1px;
	  text-wrap: nowrap !important;
  }
}

/* Narrow phone */
@media (max-width: 380px) {
  .illuminate-gallery__title {
    font-size: clamp(0.7rem, 3.2vw, 0.8rem);
  }

  .illuminate-gallery__explore {
    font-size: clamp(0.44rem, 2.1vw, 0.48rem);
    gap: 0.28rem;
    letter-spacing: 0.05em;
  }

  .illuminate-gallery__explore-icon {
    width: 1.1rem;
    height: 1.1rem;
  }

  .illuminate-gallery__explore-icon svg {
    width: 0.58rem;
    height: 0.58rem;
  }

  .illuminate-gallery__filter {
    padding: 0.3rem 0.6rem;
    font-size: clamp(0.5rem, 2.2vw, 0.58rem);
    line-height: 1.22;
	  text-wrap: nowrap;
  }
}
