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

.container-lg {
    max-width: 1250px !important;  /* Bootstrap default is 960px */
}

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

html {
    scroll-padding-top: 75px;
    scroll-behavior: smooth;
}

/* 1. TYPOGRAPHY — smaller and tighter base */
body {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* 2. LINKS — muted navy 1a4a72 */
a {
    color: #1a4a72 !important;
}

a:hover {
    color: #0d2e4a !important;
    text-decoration: underline !important;
}

/* 3. Identity and bio main page links */
.txt-gl { 
    color: #0d6efd; 
}

.txt-u { 
    color: #20c997; 
}

.txt-ed { 
    color: #6f42c1;
}

.clean-link {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.clean-link:hover {
  text-decoration: underline;
}

.clean-no-highlight-link {
  color: #000 !important;
  text-decoration: none;
}

.clean-no-highlight-link:hover {
  text-decoration: underline;
}

/* 4. Extra bio */
/* Bio collapsible toggle */
.bio-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0.5rem 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #1a4a72;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.bio-toggle:hover {
    opacity: 1;
    text-decoration: none;
}

.bio-toggle-icon {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.25s ease;
    color: #1a4a72;
}

.bio-toggle.open .bio-toggle-icon {
    transform: rotate(90deg);  /* › rotates to point down when open */
}

#bio-collapsible {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
    max-height: 0;
}

#bio-collapsible.open {
    opacity: 1;
    max-height: 600px;  /* large enough to fit any content */
}