/* Layout and components only — no font-family here */

.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;
}

/* Keep teaser typography neutral; fonts come from custom-fonts.css via venue */
.teaser {}

/* Publication header containers */
.publication-banner {
  max-height: parent;
}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {}

/* Venue-based fonts are applied in custom-fonts.css; do not set here */
.publication-title {}

.publication-authors {}

.publication-venue {
  color: #555;
  width: fit-content;
  font-weight: bold;
}

.publication-awards {
  color: #ff3860;
  width: fit-content;
  font-weight: bolder;
}

.publication-authors {}

.author-block {
  display: inline-block;
}

.publication-banner img {}

.publication-authors {
  /* color can be set per affiliation via injected CSS; leave neutral here */
}

.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;
  /* keep image-centered layout */
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb {
  font-size: smaller;
}

/* ===== Carousel sizing (moved here from custom-fonts.css) ===== */
.results-carousel .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  padding: 1.5rem 0;
}

.results-carousel .item img {
  max-width: 60%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.results-carousel .item img:hover {
  transform: scale(1.02);
}

.results-carousel .item h2.subtitle {
  font-size: 1rem;
  max-width: 900px;
  line-height: 1.5;
  text-align: justify;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .results-carousel .item img {
    max-width: 95%;
  }

  .results-carousel .item h2.subtitle {
    font-size: 0.9rem;
  }
}