html {
  scroll-behavior: smooth;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

h2.title,
h3.title {
  scroll-margin-top: 5rem;
}

.exp-block {
  color: #1f4788;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e6f0;
}


.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-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  min-height: 70vh;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.42));
  z-index: 1;
}

.publication-hero .hero-body {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  width: 100%;
}

.publication-hero .hero-body > .container {
  width: 100%;
}

.publication-hero .publication-title,
.publication-hero .publication-authors,
.publication-hero .publication-authors span {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.publication-hero .publication-authors a {
  color: #8ecbff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}


.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 {
}

.title,
.publication-title {
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.publication-title {
    line-height: 1.08;
    text-wrap: balance;
}

.publication-title .brand {
    font-size: 1.6em;
    letter-spacing: 0.005em;
    color: #3a90ec;
    -webkit-text-fill-color: #3a90ec;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    text-shadow: none;
    filter: drop-shadow(0 0 2px rgba(130, 205, 255, 0.7));
    animation: brandGlow 3s ease-in-out infinite;
}

@keyframes brandGlow {
    0%, 100% {
        filter: drop-shadow(0 0 1px rgba(130, 205, 255, 0.55));
    }
    50% {
        filter: drop-shadow(0 0 3px rgba(165, 220, 255, 0.8));
    }
}

.title.is-3 {
    letter-spacing: -0.015em;
}

.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%;
}

.video-subhead {
    margin-top: 1.75rem !important;
    margin-bottom: 0.6rem !important;
    font-weight: 600;
    color: #444;
}

.scroll-hint {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.video-scroll-wrap {
    position: relative;
    margin: 0.5rem 0 1.5rem;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.scroll-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.scroll-btn.scroll-left {
    left: -10px;
}

.scroll-btn.scroll-right {
    right: -10px;
}

.video-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.video-scroll::-webkit-scrollbar {
    height: 8px;
}

.video-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.video-card {
    position: relative;
    flex: 0 0 auto;
    width: clamp(300px, 32vw, 460px);
    aspect-ratio: 1520 / 1080;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    scroll-snap-align: start;
}

.video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-dim {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.25s ease;
}

.video-card.playing .video-dim {
    opacity: 0;
    pointer-events: none;
}

.video-dim .play-btn {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
}

.highlight-video-card {
    background: #fff;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(31, 71, 136, 0.1);
    padding: 1.25rem;
}

.video-card.highlight-video {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.video-card.highlight-video video {
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .video-card {
        width: 80vw;
    }
}

.result-table-wrap {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(31, 71, 136, 0.12);
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
}

.result-table th,
.result-table td {
    padding: 11px 14px;
    border: none;
}

.result-table thead th {
    background: #1f4788;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.result-table thead th:first-child {
    text-align: left;
}

.result-table tbody tr {
    background: #fff;
    transition: background 0.15s ease;
}

.result-table tbody tr:nth-child(even) {
    background: #f5f8fd;
}

.result-table tbody tr:hover {
    background: #eaf1fb;
}

.result-table .method {
    text-align: left;
    white-space: nowrap;
    font-weight: 600;
}

.result-table .row-divider td {
    border-top: 2px solid #c7d6ee;
}

.result-table .cell-best {
    background: #2f6fd0;
    color: #fff;
    font-weight: 700;
}

.result-table .cell-second {
    background: #bcd6f5;
    color: #14366b;
    font-weight: 600;
}

.table-caption {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: #555;
    text-align: justify;
}

.sim-card {
    background: #fff;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(31, 71, 136, 0.1);
    padding: 1.5rem;
    height: 100%;
}

.sim-card .result-table-wrap {
    box-shadow: none;
    margin-top: 1rem;
}

.result-table.sim-table {
    font-size: 0.82rem;
}

.result-table.sim-table th,
.result-table.sim-table td {
    padding: 7px 8px;
}

/* Polished look for main figures */
.section .column img {
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
}

/* Keep figure captions readable and consistent */
.section .content p,
.section .column > p {
    line-height: 1.7;
}

.video-subhead {
    color: #2b3a55;
}

.teaser-pdf {
    width: 100%;
    height: 520px;
    border: none;
    border-radius: 10px;
}

.overall-pdf {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.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;
}
