/**
 * Secondary Hero with Optional SubNav
 * Full-width hero banner with title overlay
 * and optional sub-navigation bar with links to other pages.
 */
/**
 * Design System Variables
 */
.secondary-hero {
  width: 100%;
}
.secondary-hero__banner {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .secondary-hero__banner {
    height: 400px;
  }
}
.secondary-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.secondary-hero__image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d1d5db;
}
.secondary-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 60%) 0%,
    rgba(0, 0, 0, 20%) 50%,
    rgba(0, 0, 0, 5%) 100%
  );
  z-index: 1;
}
.secondary-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .secondary-hero__content {
    padding: 3rem;
  }
}
.secondary-hero__text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 1024px;
}
.secondary-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .secondary-hero__title {
    font-size: 3rem;
  }
}
/* --- Sub-Navigation Bar --- */
.secondary-hero__subnav {
  width: 100%;
  background-color: #fcf6f3;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.secondary-hero__subnav--desktop {
  display: none;
}
@media (min-width: 768px) {
  .secondary-hero__subnav--desktop {
    display: block;
  }
}
.secondary-hero__subnav--mobile {
  display: block;
}
@media (min-width: 768px) {
  .secondary-hero__subnav--mobile {
    display: none;
  }
}
.secondary-hero__subnav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.secondary-hero__subnav-container::-webkit-scrollbar {
  display: none;
}
.secondary-hero__subnav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.secondary-hero__subnav-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  min-width: 90px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2e2e2e;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border-radius: 1.5rem;
  transition: color 150ms ease-in-out;
  cursor: pointer;
}
.secondary-hero__subnav-item:hover {
  color: #8f54a3;
}
.secondary-hero__subnav-item--active {
  color: #8f54a3;
  font-weight: 800;
  text-decoration: underline;
}
.secondary-hero__subnav-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #8f54a3;
  background-color: transparent;
  border: none;
  cursor: pointer;
  appearance: auto;
}
.secondary-hero__subnav-select:focus {
  outline: none;
}
