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


.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;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb { 
  font-size: smaller;
}

.videos-grid-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;            /* this defines both column and row gaps inside the grid */
  width: 80%;
  margin-left: auto;   /* center the grid container */
  margin-right: auto;  /* center the grid container */
}

/* 1) Control **row-to-row** spacing here so it equals the inner grid gap */
.video-rows {
  display: grid;
  row-gap: 12px; /* same as .videos-grid gap */
}

/* 2) Each row: grid with 2 columns = label + video grid */
.video-row {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 12px;     /* space between the label and the grid */
  align-items: center;  /* vertically align the label with the videos */
  margin: 0;            /* important: no extra margins, keep spacing uniform */
}

/* 3) The 6-up video grid with equal row/column gaps */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;            /* this defines both column and row gaps inside the grid */
  width: 100%;
}

/* 4) Method label styling (no margins to inflate gaps) */
.method-label {
  margin: 0; 
  writing-mode: vertical-rl;  
  transform: rotate(180deg);
  white-space: nowrap;
  font-weight: 600;
  text-align: center;   /* centers both lines */
}

/* Six equal columns, always one row, no horizontal scroll */
/* .videos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
} */

/* Make each video fill its cell and keep a clean 16:9 frame */
.video-item video {
  width: 100%;
  height: auto;
  /* aspect-ratio: 16 / 9; */
  display: block;
  background: #000;
  border-radius: 12px;
}

/* .video-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
} */

/* .method-label {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 1rem;
  color: #333;
} */

/* Optional: cap the height on large screens so the row stays compact
@media (min-width: 1280px) {
  .video-item video {
    max-height: 300px;
  }
}
*/

/* Optional: if you truly always want 6 across even on tiny screens,
   keep as-is. If you ever decide to make it readable on phones:
   (uncomment below to switch to 3/2 columns on smaller screens)
*/
/*
@media (max-width: 1024px) {
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}
*/

/* Hide any native controls overlays if a browser shows them */
video::-webkit-media-controls {
  display: none !important;
}

/* Prevent accidental pauses on click/tap (optional) */
/* .video-item video { pointer-events: none; } */