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


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


/* Removed empty .publication-title ruleset */

.publication-banner {
  max-height: parent;

}

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

/* Removed empty .publication-header .hero-body ruleset */

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

/* Removed empty .publication-authors ruleset (duplicate exists with styles) */

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

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

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

/* Removed empty .publication-banner img ruleset */

/* Removed comment-only .publication-authors ruleset */

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

/* Removed empty .publication-body img ruleset */

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

/* Removed empty .interpolation-video-column ruleset */

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

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

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

/* --- Uniform figure heights across experiment tabs --- */
:root {
  /* Adjust these breakpoints/heights as needed */
  --tab-figure-height: 460px;
}

@media (max-width: 1024px) {
  :root { --tab-figure-height: 380px; }
}

@media (max-width: 768px) {
  :root { --tab-figure-height: 300px; }
}

/* Ensure all tab contents layout consistently */
#experiment-contents .tab-content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}

/* Keep hidden tabs hidden even if we set display:flex above */
#experiment-contents .tab-content.is-hidden {
  display: none !important;
}

/* Make all figures the same height and center their content */
#experiment-contents .tab-content figure {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--tab-figure-height);
  text-align: center;
  margin: 0;
}

/* Contain images within the fixed-height figure without distortion */
#experiment-contents .tab-content figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Resource cards styling (Additional Models & Datasets) --- */
a.resource-card-link {
  color: inherit;
  text-decoration: none;
}

.resource-card {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid hsl(204, 86%, 53%); /* Bulma link color */
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.resource-card .icon {
  margin-bottom: 0.25rem;
}

.resource-card .button {
  margin-top: 0.5rem;
}

/* --- Make resource cards equal height and align inner elements --- */
/* Ensure the link fills the column height */
a.resource-card-link {
  display: block;
  height: 100%;
}

/* Make the card stretch and use flex to push the button to the bottom */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card .card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Reserve consistent space for titles (2 lines) so descriptions align */
.resource-card .title.is-5 {
  line-height: 1.25;
  min-height: calc(1.25em * 2);
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Let descriptions grow to fill remaining space and clamp to 3 lines */
.resource-card p.is-size-6.has-text-grey {
  line-height: 1.4;
  min-height: calc(1.4em * 5);
  line-clamp: 5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
  flex-grow: 1;
}

/* Keep the button aligned across a row by pinning it to the bottom */
.resource-card .button {
  margin-top: auto;
}
