.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.badge {
    color: #fff !important;
    border-radius: 0.125rem;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

:root { --global-bg-color: #ffffff; --global-code-bg-color: rgba(181, 9, 172, 0.05); --global-text-color: #000000; --global-text-color-light: #828282; --global-theme-color: #0f766e; --global-hover-color: #ffb81c; --global-footer-bg-color: #1c1c1c; --global-footer-text-color: #e8e8e8; --global-footer-link-color: #ffffff; --global-distill-app-color: #828282; }

@media (prefers-color-scheme: dark) { :root { --global-theme-color: #2dd4bf;}}

blockquote { background: var(--global-bg-color); border-left: 2px solid var(--global-theme-color); margin: 1.5em 10px; padding: 0.5em 10px; font-size: 1.2rem; }

.pub-row { align-items: flex-start !important; gap: 16px; }
.pub-row .col-sm-3.abbr {
  flex: 0 0 30%; width: 30%;
  min-width: 150px; max-width: 220px;
  height: auto !important;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px;
  padding-right: 0 !important;
}
.pub-row .col-sm-9 { flex: 1 1 0; min-width: 0; width: auto; }
.pub-row .col-sm-3.abbr img.teaser { width: 100%; height: auto; margin: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.15); border-radius: 4px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.pub-row .col-sm-3.abbr img.teaser:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,0.22); }

#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; z-index: 10000; cursor: zoom-out; padding: 3vw; }
#lightbox[hidden] { display: none; }
#lightbox img { max-width: 94vw; max-height: 94vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); cursor: default; background: #fff; }
.pub-row .col-sm-3.abbr abbr { position: static !important; top: auto !important; left: auto !important; }

@media (max-width: 600px) {
  .pub-row { flex-wrap: wrap; align-items: flex-start; }
  .pub-row .col-sm-3.abbr { flex: 0 0 100%; width: 100%; height: auto; min-height: 2.5rem; margin-bottom: 0.25rem; }
  .pub-row .col-sm-3.abbr abbr { position: static; margin: 6px 0; }
  .pub-row .col-sm-9 { flex: 0 0 100%; padding-left: 15px !important; }
}

.publications { margin-top: 2rem; }

.publications h1 { color: var(--global-theme-color); font-size: 2rem; text-align: center; margin-top: 1em; margin-bottom: 1em; }

.publications h2 { margin-bottom: 1rem; }

.publications h2 span { font-size: 1.5rem; }

.publications h2.year { color: #e8e8e8; border-top: 1px solid #e8e8e8; margin-top: 2rem; margin-bottom: 0rem; text-align: right; }

.publications ol.bibliography { list-style: none; padding: 0; margin-top: 0; }

.publications ol.bibliography li { margin-bottom: 0.5rem; }

.publications ol.bibliography li .abbr { height: 8rem; margin-bottom: 0.5rem; }

.publications ol.bibliography li .abbr abbr { display: inline-block; background-color: var(--global-theme-color); padding-left: 1rem; padding-right: 1rem; position: absolute; top: 8px; left: 16px; }

.publications ol.bibliography li .abbr abbr a { color: white; }

.publications ol.bibliography li .abbr abbr a:hover { text-decoration: none; }

.publications ol.bibliography li .abbr .award { color: var(--global-theme-color) !important; border: 1px solid var(--global-theme-color); }

.publications ol.bibliography li .title { font-weight: bolder; }

.publications ol.bibliography li .author a { border-bottom: 1px var(--global-theme-color); }

.publications ol.bibliography li .author a:hover { border-bottom-style: solid; text-decoration: none; }

.publications ol.bibliography li .author > em { border-bottom: 1px solid; font-style: normal; }

.publications ol.bibliography li .links { margin-top: 0.5rem; }
.publications ol.bibliography li .links a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 4px;
  font-size: 13px;
  padding: 4px 10px;
  margin-right: 6px;
  margin-bottom: 4px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

@media (prefers-color-scheme: dark) {
.publications ol.bibliography li .links a.btn { color: #FFFFFF; border: 1px solid #FFFFFF; padding-left: 0.5rem; padding-right: 0.5rem; padding-top: 0.1rem; padding-bottom: 0.1rem; }

  }

.publications ol.bibliography li .links a.btn:hover { color: #fff; background-color: var(--global-theme-color); border-color: var(--global-theme-color); }

.publications ol.bibliography li .hidden { font-size: 0.875rem; max-height: 0px; overflow: hidden; text-align: justify; -webkit-transition: 0.15s ease; -moz-transition: 0.15s ease; -ms-transition: 0.15s ease; -o-transition: 0.15s ease; transition: all 0.15s ease; }

.publications ol.bibliography li .hidden p { line-height: 1.4em; margin: 10px; }

.publications ol.bibliography li .hidden pre { font-size: 1em; line-height: 1.4em; padding: 10px; }

.publications ol.bibliography li .hidden.open { max-height: 100em; -webkit-transition: 0.15s ease; -moz-transition: 0.15s ease; -ms-transition: 0.15s ease; -o-transition: 0.15s ease; transition: all 0.15s ease; }

.publications ol.bibliography li div.abstract.hidden { border: dashed 1px var(--global-bg-color); }

.publications ol.bibliography li div.abstract.hidden.open { border-color: var(--global-text-color); }

.publications ol.bibliography li div.abstract { margin-top: 0.6rem; padding: 0 0.85rem; border-radius: 4px; border: 1px solid transparent; }
.publications ol.bibliography li div.abstract.open { padding: 0.6rem 0.85rem; border-color: var(--global-theme-color); }
.publications ol.bibliography li div.abstract p { margin: 0; line-height: 1.45; }
.publications ol.bibliography li .links a.btn.abs-toggle { cursor: pointer; }
.publications ol.bibliography li .links a.btn.abs-toggle.active { color: #fff; background-color: var(--global-theme-color); border-color: var(--global-theme-color); }

/* legacy .teaser fixed dims removed; see .pub-row .col-sm-3.abbr img.teaser */
