html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    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%;
}

.trace-viewer {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;

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

.trace-viewer 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: 20px;
}

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

a.autowrap {
  width: 400px;
  word-wrap: break-word;
  white-space: normal;
}

.node:hover {
  stroke-width: 2px !important;
  opacity: 1 !important;
}

.selected_node {
  stroke-width: 2px !important;
  opacity: 1 !important;
}

.node_text:hover {
  opacity: 1 !important;
}

.container video {
  position: relative;
  z-index: 0;
}

.overlay {
  /* position: absolute; */
  top: 0px;
  z-index: 1;
  font-size: 14px !important;
  padding-left: 3px;
  color: #fff;
  background-color: rgba(0,0,0,1);
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
}

.highlight {
  font-family: 'Google Sans', sans-serif;
  font-size: 18px;
}

.scroll {
  overflow-x: auto;
  overflow-y: hidden;
}

table th {
  text-align: center !important;
  white-space: nowrap;
}

.action_type {
font-weight: bold;
}

.node_type {

}

.node_repr {
font-style: italic;
}

img.profile {
  object-fit: cover;
  width: 128px;
  height: 128px;
}

.bibtex-body{
  flex-grow: 1;
  flex-shrink: 0;
  padding: 1rem 1.5rem;
}

/* WebPII-specific styles */

/* Contribution Cards */
.contribution-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.contribution-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contribution-card h3 {
  color: #4a90e2;
  margin-bottom: 12px;
}

.contribution-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* Stat Cards */
.stat-card {
  background: white;
  border: 2px solid #4a90e2;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.2);
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #4a90e2;
  font-family: 'Google Sans', sans-serif;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Distribution Boxes */
.distribution-box {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  height: 100%;
}

.distribution-box h3 {
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #4a90e2;
}

.distribution-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.distribution-box li {
  padding: 10px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.distribution-box li strong {
  color: #333;
  font-weight: 600;
}

/* Tables */
.table-container {
  margin: 30px 0;
}

.table {
  background: white;
}

.table th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  padding: 12px 16px;
}

.table td {
  padding: 12px 16px;
  vertical-align: middle;
}

.table tr.is-selected {
  background-color: #e3f2fd;
}

.table tr.is-selected td {
  color: #000;
}

.table .tag {
  font-weight: 600;
  padding: 6px 12px;
}

/* Citation */
#BibTeX pre {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
}

#BibTeX code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

/* Disabled buttons */
a.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .contribution-card {
    margin-bottom: 20px;
  }

  .distribution-box {
    margin-bottom: 20px;
  }
}