/* css styles */

:root {
  --site-line-color: #c6a16c;    /* card/box borders, hr's, heading & title-block underlines */
  --site-title-color: #3c464e;   /* publication & project titles in grid cells */
  --site-header-bg: #97aec3;     /* header bar background */
  --site-header-text: #3c464e;   /* header bar text */
}

h1, h2, h3, h4, h5, h6 {
  color: var(--site-title-color);
}

/* Grid card boxes (publications + projects overview) */
.card,
.quarto-grid-item .card {
  border-color: var(--site-line-color);
}

/* Plain <hr> rules, anywhere on the site */
hr {
  border-color: var(--site-line-color);
}

/* Heading underline (Quarto's default h2 border-bottom) */
h2 {
  border-bottom-color: var(--site-line-color);
}

/* Line under the title block, near Duration/Funding on project pages */
#title-block-header {
  border-bottom-color: var(--site-line-color);
}

/* Grid cell titles — publications and projects both use .card-title */
.card-title,
.card-title a {
  color: var(--site-title-color);
  font-size: 0.98rem;
  font-weight: 550;
}

/* Site header/navbar */
.navbar {
  background-color: var(--site-header-bg) !important;
}
.navbar-brand,
.navbar-nav .nav-link {
  color: var(--site-header-text) !important;
  font-weight: bold;
}

.project-cover {
  margin-top: 3rem;
}

.partner-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quarto-grid-item p.card-img-top > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}