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

.button.disabled {
  pointer-events: none;      /* ignores clicks */
  cursor: not-allowed;       /* shows a blocked cursor */
  opacity: 0.45;             /* dim it */
}

.is-bottom-center{
  margin-left:auto;  /* push it into the middle */
  margin-right:auto;
}

.media-row {
  margin-top: 1.5rem;
}

.media-same-height {
  height: 260px;       
  max-width: 100%;
  width: auto;
  object-fit: contain; 
  display: block;
  margin: 0 auto;
}

.task-picker{
  display:flex;                 /* put label + select on the same row   */
  justify-content:center;       /* centre the pair in its parent        */
  align-items:center;           /* vertical alignment                   */
  gap:0.75rem;                  /* space between label and dropdown     */

  margin-block: 0 1.5rem;
}

/* keep the label inline so it doesn’t drop to a new line */
.task-picker .label{
  display:inline-block;         /* override Bulma’s block display       */
  margin-bottom:0;              /* remove default bottom margin         */
}

/* HIDE ONLY Bulma’s custom arrow, keep the browser’s native arrow */
.task-picker
.select:not(.is-multiple):not(.is-loading)::after{
  display:none !important;
}

/* ── two-image section ──────────────────────────────────────────── */
.side-img {
  display: flex;                   /* let us center its img child   */
  justify-content: center;         /* horizontal centre inside col  */
  align-items: center;             /* *** vertical centre magic *** */
}

.side-img img {
  max-width: 100%;                 /* responsive                   */
  height: auto;                    /* keep aspect ratio            */
}

/* Force the “link column” to act like a normal block */
.hero .publication-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;          /* lets them wrap on small screens */
}
.hero .publication-links .link-block { margin: 0 0.5rem; }


.footer .icon-link {
    font-size: 1em;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}

.dperact {
  font-variant: small-caps;
}

.teaser .hero-body {
  padding-top: 0;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}

.teaser video {
  object-fit: fill;
  
}
#glass{
  margin-left: -10px;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  max-width: 60rem;
  margin: 0.5rem auto 1rem;
  text-align: center; 
  color: #8C1515;
}

.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 a {
   color: #000000 !important;
}

.conference-authors a {
   color: #000000 !important;
}

.publication-authors a:hover {
    text-decoration: underline;
    color: #414141 !important;
}

.author-block {
  display: inline-block;
}

.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: 100vh;
  background-size: cover;
  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;
}

#method-image img {
    padding: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
    max-width: 100%;
}

 .dropdown-item{
    white-space: pre-wrap;
}


.justify {
  text-align: justify;
}

.button-container {
  color: #53565A;
  justify-items: center;
  padding-top: 0.5em;
  justify-content: center;
  display: flex;
}

.button {
  color: #53565A;
  font-family: 'Google Sans', sans-serif;
  border-radius: 0.5em;
  width: 6em;
  height: 2.2em;
  margin-left: 0.4em;
  margin-right: 0.4em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  text-align: right;
  vertical-align: middle;
  border: solid 0px transparent;
  background-color: #f2f2f2;
}

.button:hover {
  background-color: #f2f2f2;
  filter: brightness(97%);
}

/* https://html-online.com/articles/gradient-background-buttons-css-html/ */
.gradient-button {
  text-align: center;
  background-size: 200% auto;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  cursor: pointer;
  text-decoration: none;
}

.gradient-button:hover {
  background-position: right center;
}

.w-button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898ec;
  color: #fff;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0
}

.affiliation {
  display: inline-block;
  color: #2c2c2c;
  font-family: 'Google Sans', sans-serif;
  padding-top: 0.8em;
  /* padding-bottom: 0.5em; */
  text-align: center;
}

.affiliation-note {
  display: inline-block;
  color: #828282;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.2em;
  /* padding-top: 0.5em; */
  padding-bottom: 0.8em;
  text-align: center;
}

hr.rounded {
  background: #cbcbcb;
  border-radius: 15px;
  /* max-height: 2px; */
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  mix-blend-mode: normal;
  border: none;
}

.bibtex {
  font-family: "Courier", monospace;
  font-size: 0.7em !important;
  color: #2f2f2f;
  background-color: #f2f2f2;
  border: 5px;
  border-color: #2f2f2f;
  border-radius: 10px;
  margin-top: 0.6em;
  margin-bottom: 3em;
  padding-top: 0.6em;
  padding-bottom: 0.6em;
  vertical-align: center;
  padding-left: 0.5em;
  padding-right: 0.5em;
  hyphens: none !important;
  line-height: unset !important;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 1.0em;
  font-family: 'Google Sans', sans-serif;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px;
  /* border: 1px solid #ccc; */
  border-top: none;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.venue {
  font-size: 1.5em;
  font-family: 'Google Sans', sans-serif;
  color: #2c2c2c;
  padding-top: 0.5em;
  text-align: center;
}

/* iPhone style toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  /* same as before */
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
  vertical-align: middle;  /* helps in some browsers */
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.overlaid-row {
  display: flex;
  justify-content: center; 
  align-items: center;      
  gap: 0.5rem;              
  margin-top: 1.5rem;
}

.overlaid-media {
  height: 200px;            
  width: auto;
  max-width: 80%;
  object-fit: contain;      
  display: block;
}

input:checked + .slider {
  background-color: #4CAF50;  /* green when on */
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Rounded slider */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/* Match the dropdown to the button/tab style */
select {
  font-family: inherit;
  font-size: 1rem;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #333;
  appearance: none;  /* Removes native OS styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  margin-left: 8px;
}

/* Optional: add a little right arrow indicator */
select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2210%22%20height%3D%225%22%20viewBox%3D%220%200%2010%205%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M0%200l5%205%205-5z%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 5px;
  padding-right: 30px;
}

/* Hide every task block by default … */
.task-block { display: none; }

/* … then override the one we want visible */
.task-block.is-active { display: block; }

.video-block      { display: none; }   /* all hidden by default */
.video-block.show { display: block; }  /* the one we want */
/* temp visibility toggles */
.hide { display: none !important; }
.video-block { display: none; }
.video-block.show { display: block; }

/* Page width control */
:root {
  /* Desktop: 80% of viewport; you can tweak this */
  --page-max: 80vw;
}

/* Constrain all main containers sitewide */
.container,
.container.is-max-widescreen,
.container.is-fullhd,
.hero .container,
.section .container,
footer .container {
  max-width: var(--page-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Optional: slightly looser on small screens */
@media (max-width: 1024px) {
  :root { --page-max: 92vw; }
}
@media (max-width: 600px) {
  :root { --page-max: 96vw; }
}

