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

/* BENv2 Results Comparison section */
.hero.is-light .hero-body {
  padding-top: 2rem;
  padding-bottom: 0;
}

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

/* Carousel styling */
.carousel {
  padding-bottom: 10px; /* pagination dots를 위한 공간 */
  position: relative;
  overflow: visible;
}

.carousel .slider {
  overflow: hidden;
}

.carousel .slider-container {
  position: relative;
}

.carousel .item {
  margin: 0 5px;
  border-radius: 12px;
  overflow: hidden;
  padding: 5px;
}

/* Carousel navigation buttons */
.carousel .slider-navigation-previous,
.carousel .slider-navigation-next {
  top: 50% !important;
  transform: translateY(-20%) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.carousel .slider-navigation-previous {
  left: 15px !important;
}

.carousel .slider-navigation-next {
  right: 15px !important;
}

.carousel .slider-navigation-previous::before,
.carousel .slider-navigation-next::before {
  border-color: #333 !important;
  border-width: 3px 3px 0 0 !important;
}

.carousel .slider-pagination {
  bottom: 5px;
  z-index: 99999 !important;
  position: relative !important;
}

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



.comparison-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: transparent;
  cursor: grab;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 
              0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  margin-bottom: 12px;
}

.comparison-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 
              0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.comparison-container p {
  margin: 0;
  padding: 5px 0;
  background-color: #f5f5f5;
}

.comparison-container:active,
.comparison-container.active {
  cursor: grabbing;
}

.comparison-container img-comparison-slider {
  width: 100%;
  max-height: 320px;
  margin: 0 auto;
  transition: filter 0.5s ease;
  display: block;
  cursor: inherit;
  --divider-width: 3px;
  --divider-color: rgba(255, 255, 255, 0.9);
  --default-handle-width: 50px;
  --default-handle-color: rgba(255, 255, 255, 0.9);
  --default-handle-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  outline: none;
}

.comparison-container img-comparison-slider img {
  max-height: 320px;
  object-fit: contain;
}

.comparison-container img-comparison-slider:focus {
  outline: none;
}

img-comparison-slider img {
  outline: none;
}

img-comparison-slider:focus,
img-comparison-slider *:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Dimming image on hover */
.comparison-container:hover img-comparison-slider {
  filter: brightness(0.75);
}

/* 슬라이더 조작 중일 때 hover 효과 비활성화 */
.comparison-container.active img-comparison-slider,
.comparison-container.active:hover img-comparison-slider {
  filter: brightness(1) !important;
}

.comparison-container.active .hover-label,
.comparison-container.active:hover .hover-label {
  opacity: 0 !important;
}

/* 2. Hover Labels (Input SAR vs OSCAR) */
.hover-label {
  position: absolute;
  top: 15px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none; /* Allows mouse to interact with slider handle */
  z-index: 10;
}

.label-left { left: 10px; }
.label-right { right: 10px; }

.comparison-container:hover .hover-label {
  opacity: 1;
}

/* 3. Carousel Item Sizing */
.results-carousel .item {
  margin: 10px;
  /* Adjust this to control how many items show at once */
}

/* Tab Styles - Modern Pill Design */
.tabs.is-boxed {
  border-bottom: none !important;
}

.tabs.is-boxed ul {
  background: linear-gradient(145deg, #f0f0f0, #e6e6e6);
  border-radius: 50px;
  padding: 6px;
  border: none !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.tabs.is-boxed li {
  margin: 0 4px;
}

.tabs.is-boxed li.is-active a {
  background: linear-gradient(145deg, #ffffff, #f8f8f8) !important;
  border: none !important;
  color: #2c3e50 !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 
              0 2px 6px rgba(0, 0, 0, 0.08);
  transform: scale(1.02);
}

.tabs.is-boxed a {
  border-radius: 50px !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
  color: #6b7280;
  font-weight: 500;
  padding: 12px 28px;
  position: relative;
  overflow: hidden;
}

.tabs.is-boxed a:hover {
  background-color: rgba(255, 255, 255, 0.6);
  color: #374151;
  transform: scale(1.02);
}

.tabs.is-boxed a span {
  position: relative;
  z-index: 1;
}

.tab-content,
.sen12ms-tab-content {
  display: none;
  padding: 0 0 0 0;
  animation: fadeIn 0.4s ease;
  overflow: visible;
}

.tab-content.is-active,
.sen12ms-tab-content.is-active {
  display: block;
  overflow: visible;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#comparison-tabs ul {
  border-bottom-color: #dbdbdb;
}

#comparison-tabs li a {
  font-weight: 600;
  color: #363636;
}