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

/* ---------- CommGap additions ---------- */
:root {
  --gap-red: 180, 83, 60;      /* #B4533C, paper "gapred" */
  --struct-blue: 31, 42, 68;   /* #1F2A44, paper "structblue" */
  --teal: 61, 140, 130;
}

.publication-subtitle {
  font-family: 'Google Sans', sans-serif;
  color: #4a4a4a;
  margin-top: 0.5rem !important;
}

.button.is-static {
  pointer-events: none;
  opacity: 0.55;
  background-color: #363636;
  color: #fff;
  border-color: transparent;
}

.figure-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1rem auto 0.5rem;
}
.figure-narrow { max-width: 760px; }

.figure-caption {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.teaser-caption { font-size: 1.05rem; margin-top: 0.75rem; }

.paper-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
}

.section .columns.is-centered + .columns.is-centered { margin-top: 2.5rem; }

.gap-info { color: rgb(var(--struct-blue)); font-weight: 600; }
.gap-exec { color: rgb(var(--teal)); font-weight: 600; }

/* Gap cards */
.gap-cards { margin-top: 0.5rem; }
.gap-card {
  height: 100%;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  background: #f7f7f8;
  border-left: 5px solid;
}
.gap-card-info { border-color: rgb(var(--struct-blue)); }
.gap-card-exec { border-color: rgb(var(--teal)); }
.gap-card-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-title { margin-top: 2rem; margin-bottom: 0.75rem !important; text-align: center; }
.table-caption { font-size: 0.9rem; color: #555; margin-top: 0.5rem; }

.taxonomy-table { font-size: 0.95rem; }
.taxonomy-table th[rowspan] { vertical-align: middle; white-space: nowrap; }
.taxonomy-table td.form { white-space: nowrap; }
.taxonomy-table td.ex { font-style: italic; }
.taxonomy-table tr.group-start > * { border-top: 2px solid #bbb; }
.vary { color: #1f4aa8; font-weight: 700; }
.note { font-style: normal; color: #777; }

.results-table { font-size: 0.85rem; min-width: 640px; }
.results-table th, .results-table td { text-align: center !important; vertical-align: middle !important; padding: 0.4em 0.45em; }
.results-table thead th { border-bottom-width: 1px; }
.results-table tr.group-start > * { border-top: 2px solid #bbb; }
.results-table .ref-cell { text-align: left !important; white-space: nowrap; }
.results-table .num { font-variant-numeric: tabular-nums; }
.results-table td.num[style*="--a"] { background: rgba(var(--struct-blue), var(--a)); }
.results-table td.gap { background: rgba(var(--gap-red), var(--g)); }

/* Findings */
.finding-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgb(var(--gap-red));
  margin-bottom: 0.25rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}
.stat {
  background: #f7f7f8;
  border-radius: 10px;
  padding: 0.9rem 0.75rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: rgb(var(--struct-blue));
}
.stat-desc { display: block; font-size: 0.85rem; color: #555; margin-top: 0.2rem; }

/* Execution bars */
.exec-bars { max-width: 640px; margin: 0.5rem auto 1.5rem; }
.exec-row {
  display: grid;
  grid-template-columns: 220px 1fr 56px;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.exec-label { font-size: 0.95rem; }
.exec-track { height: 18px; background: #ececec; border-radius: 4px; overflow: hidden; }
.exec-fill { display: block; height: 100%; background: rgb(var(--teal)); }
.exec-row:first-child .exec-fill { background: rgb(var(--struct-blue)); }
.exec-val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.exec-note { font-size: 0.85rem; color: #666; text-align: center; margin-top: 0.5rem; }

@media screen and (max-width: 768px) {
  .publication-title { font-size: 2.1rem !important; }
  .publication-subtitle { font-size: 1.35rem !important; }
  .stat-row { grid-template-columns: 1fr; }
  .exec-row { grid-template-columns: 1fr 48px; }
  .exec-label { grid-column: 1 / -1; margin-bottom: -0.3rem; }
  .section { padding: 2rem 1rem; }
  .has-text-justified { text-align: left !important; }
}
