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

/* ------------------- Stuff added by Sergio ------------------- */

/* Add horizontal space between the buttons */
.link-block {
  display: inline-block;
  margin: 0 15px; 
}

/* add spacing between everyone's names */
.author-block {
  margin-right: 5px; 
}

/* caltech orange for our names */
.author-block a {
  color: #FF6C0C !important;;
  text-decoration: none !important;;
}
.author-block a:hover {
  text-decoration: underline !important;;
}

/* videos that are smaller in size and with padding above and below */
.responsive-video {
  width: 75%;
  height: auto; /* Maintain aspect ratio */
  display: block;
  margin: 0 auto; /* Center the video */
  margin-top: 2em; /* Add one line space above the video */
  margin-bottom: 2em; /* Add one line space below the video */
}

/* ------------------- Shooting for Contact ------------------- */

/* affiliation line under the author list */
.affiliations {
  margin-top: 0.75em;
  color: #4a4a4a;
}

/* superscript affiliation markers inherit the surrounding text style */
.author-block sup,
.affiliations sup {
  color: inherit;
  font-weight: inherit;
}

/* AMBER lab logo under the author list */
.lab-logo {
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

/* sized by width, not height: the logo is wide (1.74:1) and the
   bipedalrobotics.com strapline goes unreadable if it gets much smaller */
.lab-logo img {
  width: 240px;
  max-width: 60%;
  height: auto;
  display: inline-block;
}

/* white card behind figures, so transparent PNGs read the same on
   white and on `is-light` sections */
.figure-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.08);
  margin-bottom: 0.5em;
}

.figure-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* narrower, centered figures — for diagrams that look oversized when
   stretched across the full column. Set the width per figure with the
   --fig-width custom property, e.g. style="--fig-width: 60%" */
.figure-card.is-narrow {
  width: var(--fig-width, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* 35 / 65 column split — Bulma only offers fixed fractions (1/3, 2/5, ...),
   so these are custom */
.column.is-35 { flex: none; width: 35%; }
.column.is-65 { flex: none; width: 65%; }

/* main supplemental video fills the container */
.teaser video {
  display: block;
  width: 100%;
  height: auto;
}

/* captions under figures, videos, and tables */
.figure-caption {
  font-size: 0.9rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin-top: 0.75em;
  margin-bottom: 1.5em;
}

/* the three "what makes DSMS different" boxes */
.method-highlights {
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.method-highlights .box {
  height: 100%;
  box-shadow: 0 2px 6px rgba(10, 10, 10, 0.08);
}

.method-highlights .title {
  color: #FF6C0C;
  margin-bottom: 0.5em;
}

/* results tables */
.results-table {
  background-color: transparent;
  font-size: 0.95rem;
}

.results-table caption {
  caption-side: top;
  text-align: left;
  font-weight: bold;
  color: #363636;
  margin-bottom: 0.5em;
}

.results-table th {
  border-bottom-width: 2px;
  white-space: nowrap;
}

.results-table td,
.results-table th {
  vertical-align: middle;
}

/* highlight our method's row */
.results-table tr.is-selected-row {
  background-color: rgba(255, 108, 12, 0.10);
}

/* check and cross marks in the capability table */
.results-table .yes {
  color: #23A455;
  font-weight: bold;
}

.results-table .no {
  color: #D8342B;
  font-weight: bold;
}

/* keep wide tables scrollable instead of overflowing on mobile */
.table-container {
  margin-bottom: 1.5em;
}

/* stack the video grid on narrow screens without shrinking captions */
@media screen and (max-width: 768px) {
  .responsive-video {
    width: 100%;
  }

  /* narrowed diagrams are unreadable on a phone */
  .figure-card.is-narrow {
    width: 100%;
  }

  /* let the 35/65 pair stack like normal Bulma columns */
  .column.is-35,
  .column.is-65 {
    width: 100%;
  }
}
