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;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


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

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

.interpolation-video-column {
}

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

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

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}



/*  추가!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  */
.video-back,
.video-front {
  object-fit: cover;      /* ← 핵심 */
  object-position: center;
}

.video-compare-container {
  position: relative;
  width: 75%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  background: black;
  cursor: ew-resize;
  user-select: none;
}

/* 🔑 Bulma override (안전한 방식) */
.video-compare-container > video,
.video-front-wrapper > video {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* Baseline */
.video-back {
  z-index: 1;
  
}

/* Ours wrapper */
.video-front-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 1px solid rgba(255,255,255,0.7); /* optional */
}

/* Ours */
.video-front {
  z-index: 3;
}

.video-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.video-compare-handle::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.video-compare-container.is-dragging .video-compare-handle {
  background: #3273dc;
}

.video-compare-container.is-dragging .video-compare-handle::before {
  border-color: #3273dc;
}


.video-compare-carousel {
  margin-top: 3.0rem;
}

.video-compare-carousel .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2px; /* 슬라이드 사이 여백 더 축소 */
}

/* Bulma carousel 기본 마진 제거로 슬라이드 간 간격 최소화 */
.video-compare-carousel .carousel-items .item,
.video-compare-carousel .carousel-container .item {
  margin: 0;
}

.comparison-label {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.section-compare {
  background: #f5f5f5;
}

.video-compare-shell {
  padding: 1.5rem 1rem;
  border-radius: 10px;
}

.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 16px;
}

.tab {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 15px;
  cursor: pointer;
  color: #999;
}

.tab.active {
  color: #000;
  font-weight: 600;
  border-bottom: 2px solid #2ecc71; /* 초록 underline */
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


/*  */



.video-compare-container {
  position: relative;
  overflow: hidden;
}

.video-front-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
