/* --- Base Section --- */
#menus-section {
  position: relative;
  width: 100%;
  overflow: visible;
  /* must be visible for sticky to work properly */
}

/* --- Sticky year nav --- */
.menus-sticky {
  position: sticky;
  top: 0;
  /* sticks when top reaches viewport top */
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
  padding: 1.5rem 0;
}

.menu-years {
  list-style: none;
  display: inline-flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.menu-years li {
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-years li.active {
  color: #000;
}

/* --- Year sections --- */
.menu-container {
  min-height: 100vh;
  display: none;
  /* hide inactive years */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  display: none;
}

.menu-container.active {
  display: flex;
}

.menu-inner {
  text-align: center;
  width: 100%;
  min-height: 90vh;
}

.menu-inner h3 {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  padding: 3rem;
  color: #ddd;
}

.menu-container p {
  margin: 6rem auto;
  line-height: 1.6;
  color: #8D8D8D;
  font-size: 19px;
  max-width: 500px;
  text-align: center;
}

.menu-inner img {
  max-width: 1300px;
  max-height: 80vh;
  margin: 0 auto;
  object-fit: contain;
  /* border-radius: 10px; */
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.fading-in-out {
  opacity: 0;
  transition: opacity 0.2s ease-out;
  will-change: opacity;
}

.course-item {
  min-height: 70vh;
}

.houghton-carousel .card-desc {
  font-size: 12px !important;
  text-transform: capitalize;
}

.houghton-carousel {
  /* min-height: 80vh; */
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

@media screen and (max-width: 1512px) {
  .houghton-carousel .card-desc h3 {
    font-size: 12px !important;
    text-transform: capitalize;
  }

  .houghton-carousel .card.selected .card-desc h3 {
    font-size: 12px;
  }
}

@media screen and (max-width: 800px) {
  .menu-inner {
    min-height: 50vh;
  }
}