@charset "utf-8";
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

.card {
    border-radius: 0.8rem!important;
}

.card-img-overlay {
    border-radius: 0.8rem!important;
}

.rounded-xl {
    border-radius: 0.8rem!important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: 0.8rem !important;
    border-bottom-left-radius: 0.8rem !important;
}

.rounded-xl-top {
    border-top-left-radius: 0.8rem !important;
    border-top-right-radius: 0.8rem !important;
}


.text-profile-position {
    font-weight: 400;
}

.text-profile-bio {
    /* font-family: "Raleway"; */
    font-weight: 400;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.inline-badge {
    height: 16px;
    vertical-align: -10%;
    margin-right: 2px;
    line-break: unset;
}

.no-break {
    white-space: nowrap;
}

.cover-image {
    width: 180px;
    max-height: 120px;
}

.abstract-body {
    min-height: 100px;
}

img.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

div.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

.badge-publication {
    font-size: 100%;
}

.email-text {
    font-family: Source Code Pro, monospace;
}


.research-interest-box {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid #e3efff;
  background: #f7f9ff;
  border-radius: 8px;
}

.research-interest-box h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.research-interest-box p {
  margin-bottom: 0;
}

/* ---- Research page: conference-deadline promo module ---- */
.deadline-promo-link, .deadline-promo-link:hover { text-decoration: none; color: inherit; display: block; }
.deadline-promo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(120deg, #eef4ff 0%, #f6fbff 100%);
  border: 1px solid #dbe6ff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.deadline-promo:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(43,108,255,.18) !important; }
.deadline-promo-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #2b6cff; color: #fff; font-size: 1.3rem;
}
.deadline-promo-body { flex: 1 1 auto; }
.deadline-promo-body h5 { color: #1c4fd8; font-weight: 700; }
.deadline-promo-cta { flex: 0 0 auto; color: #2b6cff; font-weight: 700; white-space: nowrap; }
@media (max-width: 575px) { .deadline-promo-cta { display: none; } }

/* ---- Publication cover: hover-to-enlarge preview ---- */
.pub-cover-zoom { cursor: zoom-in; transition: filter .15s ease; }
.pub-cover-zoom:hover { filter: brightness(1.03); }
#pub-zoom-preview {
  position: fixed;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .12s ease, transform .12s ease;
  border-radius: .6rem;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.35);
  background: #fff;
  padding: 4px;
  max-width: 460px;
  max-height: 72vh;
}
#pub-zoom-preview.show { opacity: 1; transform: scale(1); }
#pub-zoom-preview img { display: block; max-width: 100%; max-height: calc(72vh - 8px); border-radius: .45rem; }

/* ---- Visitor world map ---- */
#visitor-map {
  height: 300px;
  width: 100%;
  border-bottom: 1px solid #eef0f2;
  z-index: 0;
}
.visitor-map-legend .vlegend { margin-right: 1rem; white-space: nowrap; }
.visitor-map-legend .visitor-total {
  margin-top: .15rem;
  white-space: nowrap;
  font-weight: 700;
  color: #495057;
}
.visitor-map-legend .vdot {
  display: inline-block; width: 11px; height: 11px; border-radius: 50%;
  vertical-align: -1px; margin-right: 3px; border: 1px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.leaflet-popup-content { font-size: .85rem; }

/* ---- Project / demo video ---- */
.project-video {
  display: block;
  width: 100%;
  max-width: 680px;
  max-height: 440px;
  background: #000;
}


/* ---- Carousel location captions (Life photo album) ---- */
.carousel-scrim {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  border-radius: 0 0 .8rem .8rem;
  background: linear-gradient(to top,
              rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, transparent 100%);
  pointer-events: none;
}
.carousel-place {
  position: absolute;
  left: .9rem;
  bottom: 2.6rem;            /* clears the slide indicator row (7 dots reach far left) */
  color: #fff;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: .95rem;
  line-height: 1.25;
  letter-spacing: .01em;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
  pointer-events: none;
}
.carousel-place span {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}
