@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 {
    opacity: 0.95;
}

.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: Courier, monospace;
}

.pub-abstract-wrap:has(details[open]) .abs-preview { display: none; }

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card-top {
  display: flex;
  flex: 1;                /* 1/3 of height */
  padding: 1rem;
  gap: 1rem;
}

.project-card-video {
  flex: 2;                /* 2/3 of height */
  padding: 0 1rem 1rem 1rem;
}

.project-cover {
  flex: 1;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.project-intro {
  flex: 2;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .project-card {
    height: auto;
  }
  .project-card-top {
    flex-direction: column;
  }
}


/* details.pub-abs summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
}
details.pub-abs summary::-webkit-details-marker { display: none; } */
