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


/* Allow using a simple <green>...</green> tag as a shortcut in content */
green {
    color: #1f793e;
    font-weight: 500;
    display: inline;
}
greenb {
    color: #1f793e;
    font-weight: 600;
    display: inline;
}

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

/* Lines background canvas */
#lines-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* allow clicks through */
}

/* Ensure main content sits above the canvas */
.site-content {
    position: relative;
    z-index: 1;
}

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

.badge-a {
  background-color: #ebab9f;
  color: #fff;
  font-weight: 600;
}

.badge-b {
  background-color: #e2ce73;
  color: #fff;
  font-weight: 600;
}

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

/* Publication link icons (in publication_item) */
.abstract-links a {
    color: inherit;
}
.abstract-links a i {
    /* Slightly smaller icons and vertically centered for tighter layout */
    font-size: 1.05rem;
    width: 1.2rem;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}
.abstract-links a .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Slightly increase size on small screens for better tap targets */
@media (max-width: 576px) {
    .abstract-links a i {
        /* Slightly reduced for mobile but keep tappable target reasonable */
        font-size: 1.25rem;
        width: 1.4rem;
    }
}

