@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;
}
/* ===== Anchor jump offset + smooth scroll ===== */
:root {
  /* keep this in sync with your actual navbar height + top padding */
  --nav-h: 5rem; /* matches body padding-top: 5.0rem */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

/* If your navbar becomes taller on smaller screens, bump the offset */
@media (max-width: 576px) {
  :root { --nav-h: 6.5rem; } /* tweak if your mobile nav wraps */
}

/* === News card tweaks === */

/* icon alignment + spacing */
#news i.fas.fa-newspaper {
  font-size: 0.9rem;   /* slightly smaller */
  color: #2563eb;      /* your site accent color */
  margin-right: 6px;
  margin-top: 0.4rem;
  flex-shrink: 0;      /* don’t let it shrink on small screens */
}

/* tighten vertical rhythm between news items */
#news .media-body > .d-flex {
  padding: 2px 0;
}

/* keep the date from wrapping and subtle styling */
#news .no-break {
  white-space: nowrap;
  font-size: 0.85rem;
  color: #6c757d;  /* muted gray */
  margin-top: 0.3rem;
}



