body {
  font-family: 'DM Sans', 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

pre,
code,
kbd,
samp {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


.footer .icon-link {
  font-size: 25px;
  color: #ff6937;
}

.action-item a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.lead-banner .hero-body {
  padding-top: 0;
  padding-bottom: 0;
}

/* Reduce extra space below masthead hero */
.masthead-hero .hero-body {
  padding-bottom: 1.5rem;
  /* Bulma default section spacing feel */
}

.lead-banner {
  font-family: 'DM Sans', 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}


.project-title {}

.section {
  padding: 1.0rem;
}

.media-strip {
  max-height: parent;

}

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

.byline {}

.headline {
  font-family: 'DM Sans', 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.byline {
  font-family: 'DM Sans', 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.venue-label {
  color: #555;
  width: fit-content;
  font-weight: bold;
}

.highlight-badge {
  color: #ff3860;
  width: fit-content;
  font-weight: bolder;
}

.byline {}

.byline a {
  color: #ff6937 !important;
}

/* Author links use the same blue as the active "Detour" button below */
.byline a.author-link {
  color: #55aae6 !important;
}

.byline a.author-link:visited {
  color: #55aae6 !important;
}

.byline a:hover {
  text-decoration: underline;
}

.byline-item {
  display: inline-block;
  margin: 0 0.15rem;
}

.byline-item sup {
  font-weight: 500;
  margin-left: 1px;
}

/* Affiliation list below the author names */
.affiliations {
  margin-top: 0.1rem;
  color: #555;
}

.affiliation-item {
  display: inline-block;
  margin: 0 0.6rem;
}

/* Institution logos between authors and action buttons */
.institution-logos {
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.institution-logos img {
  max-width: 520px;
  width: 100%;
  height: auto;
}

.media-strip img {}

.publication-authors {
  /*color: #4286f4;*/
}

.video-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;

  overflow: hidden;
  border-radius: 10px !important;
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.article-body img {}

.result-gallery {
  overflow: hidden;
}

.result-gallery .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.result-gallery video {
  margin: 0;
}


.morph-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.morph-panel .preview-image {
  width: 100%;
  border-radius: 5px;
}

.morph-video-col {}

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

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

#morph-image-wrapper {
  width: 100%;
}

#morph-image-wrapper img {
  border-radius: 5px;
}

/* Abstract background card */
.summary-card {
  background-color: #ffd5c4;
  border-radius: 12px;
  padding: 1.25rem;
}

/* Global link color */
a {
  color: #ff6937;
}

a:visited {
  color: #ff6937;
}

/* TODO highlight */
.todo {
  color: #ff1744;
  font-weight: 700;
}

/* Citation block wrapper so we can position the button */
.citation-box {
  position: relative;
}

/* Make space so the button doesn't overlap the first line */
.citation-box pre {
  padding-top: 2.5rem;
  /* adjust as needed */
}

/* Copy button in the top-right of the citation box */
.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;

  border: none;
  cursor: pointer;

  /* feel free to tweak styling to match your site */
  background: rgba(0, 0, 0, 0.15);
  color: inherit;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  line-height: 1;
}

.copy-btn:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Qualitative video switcher */
.qual-switcher {
  margin-top: 0.25rem;
}

.qual-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media screen and (max-width: 600px) {
  .qual-tabs {
    flex-direction: column;
  }

  .qual-tab {
    flex: 1 1 auto;
    width: 100%;
  }
}

.qual-tab {
  --tab-color: 255, 105, 55;

  flex: 1 1 0;
  min-width: 120px;

  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;

  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;

  border: 1px solid rgb(var(--tab-color));
  background: transparent;
  color: rgb(var(--tab-color));

  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.qual-tab--detour {
  --tab-color: 85, 170, 230;
}

.qual-tab--sign {
  --tab-color: 160, 70, 200;
}

.qual-tab--structural {
  --tab-color: 220, 95, 75;
}

.qual-tab:hover {
  background: rgba(var(--tab-color), 0.12);
}

.qual-tab.is-active {
  background: rgb(var(--tab-color));
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--tab-color), 0.35);
}

.qual-caption {
  margin-top: 0.6rem;
  color: #555;
  font-size: 0.95rem;
  text-align: center;
}

/* Acceptance styling */
.acceptance-badge {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.acceptance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;

  padding: 0.35rem 0.75rem;
  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  backdrop-filter: blur(6px);
}

.acceptance-pill i {
  font-size: 0.95rem;
}