body {
  font-family: 'Noto Sans', sans-serif;
  margin: 2rem 1.5rem 1.5rem;
}


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

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

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


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

.landing-hero .hero-body {
    padding-bottom: 1rem;
}

.landing-hero .publication-title {
    margin-bottom: 2rem !important;
    font-size: clamp(2.8rem, 4.5vw, 3.6rem);
}

.hero-subtitle {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: #444;
}

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

.section#video {
    padding-top: 1.5rem;
    padding-bottom: 2.25rem;
}

#video .title {
    margin-bottom: 0.3rem;
    font-weight: 800;
}

#video .subtitle {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #444;
}

.video-link-row {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.video-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #333;
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.video-pill:hover {
    background: #000;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

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

.gallery-section + .gallery-section {
  margin-top: 2rem;
}

.gallery-item {
  padding-bottom: 1rem;
}

.gallery-item figure {
  background: #f8f8f8;
  border-radius: 8px;
  height: 100%;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #4a4a4a;
}

.carousel {
  margin-top: 1rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

#media-gallery .carousel {
  max-width: 100%;
  width: 100%;
}

#media-gallery .container {
  max-width: 100%;
  width: 100%;
}

.map-time-group + .map-time-group {
  margin-top: 1.5rem;
}

.map-time-title {
  margin-bottom: 0.5rem;
}

.gallery-slide {
  padding: 0.75rem;
  width: auto;
}

.gallery-slide figure {
  background: #f8f8f8;
  border-radius: 8px;
  height: 100%;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gallery-slide img {
  width: auto;
  max-width: 95%;
  height: clamp(180px, 24vw, 260px);
  display: block;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

#papers-carousel .gallery-slide img,
#figures-carousel .gallery-slide img {
  width: auto;
  max-width: none;
  height: clamp(360px, 48vw, 520px);
  max-height: 520px;
}

.marquee-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.marquee-viewport {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  will-change: transform;
}

.marquee-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #333;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.marquee-arrow:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.marquee-arrow:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.carousel .slider-navigation-previous,
.carousel .slider-navigation-next {
  display: none !important;
}

.carousel .slider-item {
  width: auto !important;
  flex: 0 0 auto !important;
}

.carousel .slider-container {
  justify-content: center;
}

#image-modal .modal-content {
  max-width: 98vw;
  max-height: 98vh;
  width: auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#image-modal figure {
  margin: 0;
}

#image-modal img {
  display: block;
  width: auto;
  height: auto;
  max-width: 98vw;
  max-height: 95vh;
  object-fit: contain;
  margin: 0 auto;
}

#embedded-graphs .embedded-graph {
  margin-top: 2rem;
}

#embedded-graphs .cluster-controls {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#embedded-graphs .cluster-controls .label {
  margin-bottom: 0;
}

#embedded-graphs iframe {
  width: 100%;
  height: 70vh;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fdfdfd;
}

.embed-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #4a4a4a;
}
