/* ========= Global ========= */
body {
    font-family: 'Noto Sans', sans-serif;
}

/* Typography */
.publication-title,
.publication-authors,
.teaser {
    font-family: 'Google Sans', sans-serif;
}

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

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

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

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

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

/* ========= Layout ========= */
.above-the-fold {
    min-height: 100vh;
    /* allow at least full screen */
    display: flex;
    flex-direction: column;
}

.above-the-fold .hero {
    flex: 0 0 auto;
}

.hero,
.hero .hero-body {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.section {
    padding-top: 0;
    padding-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.content h2 {
    margin: 1rem 0 0.75rem;
}

.content h3 {
    margin: 0.75rem 0 0.5rem;
}

.content p {
    margin: 0.5rem 0;
}

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

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

/* ========= Teaser & Banner ========= */
.section.publication-banner {
    padding: 0;
}

.publication-banner {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.publication-banner video {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 8px;
}

.publication-banner .container {
    overflow: hidden;
}

/* More spacing on mobile to prevent overlap */
@media screen and (max-width: 768px) {
    .publication-banner {
        margin-bottom: 3rem;
    }
}

/* ========= Videos & Media ========= */
.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 10px !important;
}

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

.results-carousel {
    overflow: hidden;
}

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

.results-carousel video {
    margin: 0;
}

/* ========= Interpolation Panels ========= */
.interpolation-panel {
    background: #f5f5f5;
    border-radius: 10px;
}

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

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

#interpolation-image-wrapper {
    width: 100%;
}

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

/* ========= Misc ========= */
.dnerf {
    font-variant: small-caps;
}