@font-face {
  font-family: "NeurIPS Roboto";
  src: url("assets/roboto-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NeurIPS Roboto";
  src: url("assets/roboto-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.np-feature {
  position: relative;
  font-family: "NeurIPS Roboto", var(--sans);
  isolation: isolate;
  min-height: 350px;
  margin-top: 40px;
  overflow: hidden;
  color: #edf6fd;
  background: #173c60;
  border: 1px solid #86b6d09c;
  border-top: 3px solid #92c2df;
  box-shadow: 0 8px 24px #1b395c0a;
}

.np-feature .np-feature-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.np-feature .np-feature-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #14354fee 0%, #173c60b3 48%, #173c602e 100%),
    linear-gradient(180deg, #183e5866 0%, #173c606b 60%, #173c60 100%);
}
.np-feature .np-feature-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.58;
  filter: saturate(0.65);
}
.np-feature .np-feature-architecture {
  position: absolute;
  z-index: 1;
  right: -1%;
  bottom: -1px;
  width: 56%;
  height: auto;
  mask-image: linear-gradient(90deg, transparent, #000 12%);
}
.np-feature .np-feature-content {
  position: relative;
  padding: 25px 48px;
}
.np-feature .np-feature-dateline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: #c1d8e8;
}
.np-feature .np-feature-dateline p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.015em;
}
.np-feature .np-feature-title {
  max-width: 880px;
  margin: 22px 0 0;
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.np-feature .np-feature-partnership {
  display: block;
}
.np-feature .np-feature-partnership > span {
  white-space: nowrap;
}
.np-feature .np-feature-event {
  display: block;
  margin-top: 5px;
  color: #a9dcfa;
}
.np-feature .np-feature-description {
  max-width: 420px;
  margin-top: 16px;
  color: #cfdfeb;
  font-size: 14px;
  line-height: 1.7;
}
.np-feature .np-feature-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 15px;
}
.np-feature .np-feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #eef7ff;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #9fbfd3;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.np-feature .np-feature-link:hover {
  color: #b8e3ff;
  text-decoration-color: #b8e3ff;
}
.np-feature .np-feature-link:focus-visible {
  outline: 2px solid #c7eaff;
  outline-offset: 6px;
}
.np-feature .np-feature-conference {
  display: block;
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

@media (min-width: 1500px) {
  .np-feature .np-feature-title {
    font-size: 53px;
  }
}

@media (max-width: 1100px) {
  .np-feature {
    min-height: 332px;
  }
  .np-feature .np-feature-content {
    padding-inline: 36px;
  }
  .np-feature .np-feature-title {
    font-size: 39px;
  }
  .np-feature .np-feature-architecture {
    right: -2%;
  }
  .np-feature .np-feature-description {
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .np-feature {
    margin-top: 32px;
    min-height: 0;
  }
  .np-feature .np-feature-content {
    padding: 24px 28px 40%;
  }
  .np-feature .np-feature-title {
    margin-top: 24px;
    font-size: clamp(30px, 5.2vw, 39px);
    max-width: 580px;
  }
  .np-feature .np-feature-dateline p {
    font-size: 11px;
  }
  .np-feature .np-feature-description {
    margin-top: 18px;
    max-width: 350px;
  }
  .np-feature .np-feature-architecture {
    width: 100%;
    right: 0;
    bottom: 0;
    mask-image: none;
  }
  .np-feature .np-feature-photo {
    object-position: 44% 50%;
  }
  .np-feature .np-feature-scene::after {
    background:
      linear-gradient(180deg, #14354fbf, #173c609e 54%, #173c60 91%),
      linear-gradient(90deg, #173c6066, transparent);
  }
}

@media (max-width: 600px) {
  .np-feature .np-feature-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
  }
}

@media (max-width: 420px) {
  .np-feature .np-feature-content {
    padding: 22px 23px 43%;
  }
  .np-feature .np-feature-dateline {
    gap: 10px;
  }
  .np-feature .np-feature-dateline p {
    font-size: 10px;
    letter-spacing: 0;
  }
  .np-feature .np-feature-title {
    font-size: clamp(27px, 7.9vw, 32px);
    line-height: 1.2;
    margin-top: 22px;
  }
  .np-feature .np-feature-event {
    margin-top: 10px;
    white-space: nowrap;
  }
  .np-feature .np-feature-description {
    font-size: 13px;
  }
}
