.home-landing body { background: #000; }

.home-landing .navbar{
  transform: translateY(-110%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.home-landing.nav-visible .navbar{
  transform: translateY(0);
  opacity: 1;
}

/* Team page: same navbar reveal behavior as Home */
.team-landing .navbar{
  transform: translateY(-110%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.team-landing.nav-visible .navbar{
  transform: translateY(0);
  opacity: 1;
}

:root{
  --navbar-h: 156px;
  --hero-extra: 12vh; /* slightly taller than viewport */
}

/* Team usa el mismo alto extendido que Home (hereda --hero-extra) */

.hero-video{
  position: relative;
  height: calc(100vh + var(--hero-extra, 0vh));
  min-height: calc(100svh + var(--hero-extra, 0vh));           
  color: #fff;
  padding-top: 0;
  overflow: hidden;             
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(-1 * var(--navbar-h, 64px));
}

.hero-video .hero-video-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(105%) contrast(105%);
  z-index: -2;
}

/* Team: llenar completamente ancho y alto del hero (recorta si es necesario) */
.team-landing .hero-video .hero-video-bg{
  object-fit: cover;
  object-position: center 62%;
}

/* Sin overrides adicionales: resto igual que Home */

.hero-video::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.45),
    rgba(0,0,0,.35) 40%,
    rgba(0,0,0,.25)
  );
  z-index: -1;
}

.hero .display-3{
  letter-spacing: .3px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero .lead{ opacity: .9; }

.text-justify { text-align: justify; text-justify: inter-word; }

/* ===== Acknowledgements Section ===== */
#acknowledgements .ack-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#acknowledgements .ack-item {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border-radius: .75rem;
  padding: 1rem;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid var(--igem-stroke, rgba(0,0,0,.08));
}

#acknowledgements .ack-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
  border-color: var(--igem-accent, #10b981);
}

#acknowledgements .ack-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 345px;
  filter: saturate(105%) contrast(105%);
}

@media (min-width: 1200px){
  #acknowledgements .ack-item{ flex: 1 1 240px; }
}

.home-landing #acknowledgements .ack-item img{
  max-height: 345px;
}

#acknowledgements .ack-item-first {
  flex: 1 1 100%;
  max-width: 100%;
}

#acknowledgements .ack-item-first img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

#acknowledgements .ack-item:last-child {
  flex: 1 1 180px;
  max-width: 240px;
}