body {
  font-family: 'Noto Sans', sans-serif;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  width: max-content;   /* table uses natural width */
  min-width: 1100px;    /* ensures it doesn’t collapse too much */
  margin: 0 auto;       /* center when it fits */
}

.table-scroll th, .table-scroll td {
  white-space: nowrap;  /* prevent A→C breaking onto multiple lines */
  text-align: center;
}

.table-scroll td:first-child,
.table-scroll th:first-child {
  text-align: left;     /* Method column left-aligned */
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  width: max-content;     /* table uses natural width */
  min-width: 1100px;      /* ensures it doesn’t collapse too much */
  margin: 0 auto;         /* center when it fits */
  border-collapse: collapse;
}

.table-scroll th,
.table-scroll td {
  white-space: nowrap;    /* prevent A→C wrapping */
  text-align: center;
  padding: 6px 10px;      /* default spacing */
}

/* Method column left aligned */
.table-scroll td:first-child,
.table-scroll th:first-child {
  text-align: left;
  padding-right: 4px;     /* ↓ reduce gap AFTER Method column */
}

/* SF column tighter on left */
.table-scroll td:nth-child(2),
.table-scroll th:nth-child(2) {
  padding-left: 4px;      /* ↓ reduce gap BEFORE SF column */
}

/* vertical separator after Method column */
.table-scroll th:nth-child(1),
.table-scroll td:nth-child(1) {
  border-right: 2px solid #bbb;
}

/* vertical separator after ViT column */
.table-scroll th:nth-child(4),
.table-scroll td:nth-child(4) {
  border-right: 2px solid #bbb;
}

/* vertical separator before Avg column */
.table-scroll th:last-child,
.table-scroll td:last-child {
  border-left: 2px solid #bbb;
}


/* Ablation cards (add to static/css/index.css) */
.ablation-card {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  height: 100%;
}

.ablation-card img {
  width: 100%;
  height: 320px;        /* adjust */
  object-fit: contain;  /* prevent cropping */
  display: block;
}

.ablation-card figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.25rem;
}


/* ---------- Ablation table (looser spacing) ---------- */

.ablation-table table {
  width: auto;              /* don't stretch */
  min-width: unset;
  margin: 0 auto;
  border-collapse: collapse;
}

.ablation-table th,
.ablation-table td {
  padding: 8px 14px;        /* main fix: more space */
  white-space: normal;      /* allow natural spacing */
  font-size: 0.95rem;
}

.ablation-table th {
  font-weight: 600;
}

.ablation-table caption {
  margin-bottom: 10px;
}


/* Center tables inside ablation cards */
.ablation-card .table-container {
  display: flex;
  justify-content: center;
}

.ablation-card table {
  margin-left: auto;
  margin-right: auto;
}

/* Center content BOTH vertically and horizontally inside ablation cards */
.ablation-center {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centering */
  align-items: center;       /* horizontal centering */
  height: 100%;
}

/* Prevent table from stretching full width */
.ablation-table {
  width: auto;
  margin: 0 auto;
}


.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;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb { 
  font-size: smaller;
}



