.page-title-banner {
  height: 300px;
  text-transform: uppercase;
  background-color: var(--secondary-blue);
}

.page_title-featured-image {
  height: 250px;
  background-color: var(--primary-blue);
  border-radius: 30px;
}

.n__page {
  min-height: calc(100dvh - 100px);
}
.n__meta-subtitle{
  font-size: 1.5rem;
}

.n__meta {
  height: calc(300px - (250px / 2));
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  align-items: center;
}

.n__meta-title {
    max-width: 65%;
}


.page_title-featured-image {
  overflow: hidden;
  border: 1px solid white;
}

.page_title-featured-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#research-group-about {
  min-height: 300px;
  border-radius: 30px;
  background-color: var(--secondary-blue);
}

.page_title-featured-image-wrapper {
  margin-top: calc((250px / 2) * -1);
}

.section-about {
  margin: 50px 0;
}

.n__section-title {
  color: var(--secondary-pink);
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.n__section-title span {
  color: var(--secondary-blue);
  margin-left: 15px;
}

.n__section-title::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50px;
  margin-right: 15px;
  background-color: var(--secondary-pink);
}

.research-group-about-wrapper {
  display: flex;
  padding: 50px;
  gap: 50px;
}

.n__left {
  width: 20%;
}

.n__right {
  width: 80%;
}

section {
  scroll-margin-top: 130px;
}

.n__researcher {
  border: 1px solid white;
  border-radius: 30px;
  overflow: hidden;
}

.publication__list::before {
  display: none;
}

.btn.n__btn-pink {
  background-color: var(--secondary-pink);
  color: var(--secondary-blue);
  border: none !important;
  font-weight: 600;
  line-height: normal;
}

.n__btn-outline {
  background-color: transparent;
  justify-content: center;
  line-height: normal;
}

.publications__content {
  padding-bottom: unset !important;
}

.n__researcher--bio {
  cursor: pointer;
}

.n__researcher--bio:focus-visible {
  outline: 2px solid var(--secondary-pink);
  outline-offset: 4px;
}

.popup__content--bio {
  width: min(800px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.popup__text--bio {
  padding-right: 0;
}
.n_bio-meta-link:hover {
  opacity: 0.85;

}

.tooltip {
  z-index: 99999999999999999;
}

.bio-popup__layout {
  display: grid;
  /* grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); */
  gap: 1rem;
  align-items: start;
}

.bio-popup__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio-popup__photo {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  background-color: rgba(18, 29, 97, 0.55);
}

.bio-popup__name {
  color: var(--white);
  font-family: var(--font-title);
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bio-popup__role {
  color: var(--secondary-pink);
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  /* text-transform: uppercase; */
}

.bio-popup__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bio-popup__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--white);
}

.bio-popup__meta-item strong {
  color: var(--secondary-pink);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bio-popup__meta-item a,
.bio-popup__meta-item span {
  color: var(--white);
  word-break: break-word;
}

.bio-popup__content {
  color: var(--white);
  font-size: 1.0625rem;
  line-height: 1.8;
  padding-top: 0.5rem;
}

.bio-popup__content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .bio-popup__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bio-popup__photo {
    max-width: 180px;
  }
}

@media (max-width: 767px) {
  .research-group-about-wrapper {
    flex-direction: column;
  }

  .n__left,
  .n__right {
    width: 100%;
  }

  .research-group-about-wrapper {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .popup__content--bio {
    padding: 1.5rem !important;
  }

  .bio-popup__name {
    font-size: 1.5rem;
  }

  .bio-popup__role {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
  }

  .bio-popup__content {
    font-size: 1rem;
    line-height: 1.7;
  }
}
