 :root {
  --site-text-color: #130c2c;
}

@font-face {
  font-family: 'ABCFavorit';
  src: url('../fonts/ABCFavorit-Book.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'ABCFavorit';
  src: url('../fonts/ABCFavorit-Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'ABCFavorit';
  src: url('../fonts/ABCFavorit-BookItalic.otf') format('opentype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'ABCFavorit';
  src: url('../fonts/ABCFavorit-MediumItalic.otf') format('opentype');
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'ABCFavorit Mono';
  src: url('../fonts/ABCFavoritMono-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body {
  font-family: 'ABCFavorit', sans-serif;
  font-weight: 400;
  color: var(--site-text-color);
}

body,
body * {
  color: var(--site-text-color) !important;
}

.button,
.button * {
  color: #fff !important;
}

.button.is-dark,
.button.is-dark:hover,
.button.is-dark:focus,
.button.is-dark:active {
  background-color: #130c2c !important;
  border-color: #130c2c !important;
}

em,
i {
  font-style: italic;
}

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


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

.footer .content p a {
  color: var(--site-text-color) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer .content p a:visited {
  color: var(--site-text-color) !important;
}

.footer .content p a:focus {
  color: var(--site-text-color) !important;
}

.footer .content p a:hover {
  color: #6c48fc !important;
}

.footer .content p:nth-last-child(-n+2) {
  font-size: 0.9rem;
}

.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: 'ABCFavorit', sans-serif;
  font-weight: 500;
}

.cd-rd-section {
  padding-bottom: 0.5rem !important;
}

.koala-viewer-section {
  padding-top: 0 !important;
}

.koala-viewer-shell {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

.koala-viewer-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-text-color) !important;
  margin-bottom: 0.75rem;
}

.koala-viewer-copy {
  line-height: 1.6;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#koala-3d-title {
  text-align: center;
}

.koala-viewer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.koala-viewer-chips span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(19, 12, 44, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--site-text-color) !important;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
}

.koala-viewer-stage {
  position: relative;
  min-height: 420px;
  border-radius: 10px;
  border: 1px solid rgba(19, 12, 44, 0.15);
  background: #f5f5f5;
  overflow: hidden;
}

.koala-viewer-stage-title {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  z-index: 2;
  margin: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(19, 12, 44, 0.84);
  color: #fff !important;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.koala-viewer-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  cursor: grab;
}

.koala-viewer-canvas:active {
  cursor: grabbing;
}

.koala-viewer-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(19, 12, 44, 0.78);
  color: #fff !important;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 1023px) {
  .koala-viewer-shell {
    padding: 0;
  }

  .koala-viewer-stage,
  .koala-viewer-canvas {
    min-height: 360px;
  }
}

@media screen and (max-width: 640px) {
  .koala-viewer-stage,
  .koala-viewer-canvas {
    min-height: 300px;
  }
}

/* 
.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: 'ABCFavorit', sans-serif;
  font-weight: 500;
}

.publication-authors {
  font-family: 'ABCFavorit', sans-serif;
  font-weight: 500;
}

.publication-caption {
  font-family: 'ABCFavorit', sans-serif;
  font-weight: 300;
}

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

.container.is-max-desktop {
  max-width: 1240px !important;
}

/* .publication-body img {
} */

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 4px;
  overflow: hidden;
  border: none;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
  height: auto;
}

.results-carousel .item img {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  display: block;
}

.results-carousel video {
  margin: 0;
}

/* Full-bleed carousel while keeping center content alignment */
.hero.is-light.is-small {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 2rem;
}

.hero.is-light.is-small .hero-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0;
  padding-right: 0;
}

#grasp-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

#grasp-carousel .slider-navigation-previous {
  left: max(12px, calc((100vw - 1240px) / 2 + 12px));
}

#grasp-carousel .slider-navigation-next {
  right: max(12px, calc((100vw - 1240px) / 2 + 12px));
}

.montage-strip-section {
  width: 100%;
  overflow: hidden;
}

.montage-row {
  display: flex;
  width: 100%;
  gap: 0;
  height: 200px;
}

.montage-row video {
  flex: 1;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  display: block;
}

.montage-strip-section video {
  display: block !important;
}

.side-by-side-videos {
  padding-top: 0;
  padding-bottom: 0;
}

.side-by-side-videos + .side-by-side-videos {
  padding-top: 0.5rem;
}

.video-subsection + .video-subsection {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 3px solid #130c2c;
}

.video-subsection .subtitle {
  margin-bottom: 1.25rem;
}

.purple-box {
  background-color: transparent;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border-radius: 0;
}

.bimodal-box {
  background-color: transparent;
}

.executing-box {
  background-color: transparent;
}

.purple-box-content {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.side-by-side-videos .video-card {
  border-radius: 10px;
  overflow: hidden;
}

.side-by-side-videos video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.centered-text {
  text-align: center;
}
