body {
  font-family: 'Noto Sans', sans-serif;
}

/* EMNLP-style hero overlay */
.page__hero {
    position: relative;
    margin-bottom: 2em;
    clear: both;
    -webkit-animation: intro 0.3s both;
    animation: intro 0.3s both;
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
}

.page__hero::after {
    clear: both;
    content: "";
    display: table;
}

.page__hero--overlay {
    position: relative;
    margin-bottom: 2em;
    padding: 4em 0;
    clear: both;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-animation: intro 0.3s both;
    animation: intro 0.3s both;
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page__hero--overlay::after {
    clear: both;
    content: "";
    display: table;
}

.page__hero--overlay a {
    color: #fff;
}

.page__hero--overlay .wrapper {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
    max-width: 90%;
    width: 100%;
}

@media (min-width: 80em) {
    .page__hero--overlay .wrapper {
        max-width: 95%;
    }
}

.page__hero--overlay .page__title,
.page__hero--overlay .page__meta,
.page__hero--overlay .comment__date,
.page__hero--overlay .page__lead,
.page__hero--overlay .btn,
.page__hero--overlay #goog-wm-sb {
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.page__hero--overlay .page__lead {
    max-width: 768px;
    margin: 0 auto;
    font-size: 1.2em;
    margin-top: 1em;
}

.page__hero--overlay .page__title {
    font-size: 1.953em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: #ffffff !important;
}

.page__hero--overlay .page__title strong {
    color: #ffffff !important;
}

.page__hero--overlay h1,
.page__hero--overlay h1 strong {
    color: #ffffff !important;
}

@media (min-width: 37.5em) {
    .page__hero--overlay .page__title {
        font-size: 2.441em;
    }
}

@media (min-width: 64em) {
    .page__hero--overlay .page__title {
        font-size: 3em;
    }
}

.page__hero-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.5em 1em;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 0.8em;
}

/* Animation keyframes */
@keyframes intro {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Navigation Styles */
.navbar {
    background-color: #2c3e50 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-menu .navbar-start {
    gap: 2rem;
}

.navbar-item.is-size-4 {
    background-color: transparent !important;
    color: white !important;
    border-radius: 8px;
    padding: 0.75rem 1.5rem !important;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-item.is-size-4:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: white !important;
    transform: translateY(-2px);
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}
