/* ===================================
   LAYOUT & SPACING
   =================================== */

/* Sticky footer: body fills at least the full viewport height,
   content area grows to push footer to the bottom. */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#conteudo {
  flex: 1 0 auto; /* grow to fill remaining space */
}

#footer {
  flex-shrink: 0; /* never compress the footer */
}

/* Container adjustments */
.container {
  max-width: var(--container-max-width);
}

/* Row spacing */
.row {
  margin-bottom: 1rem;
}

/* Header height */
#menu {
  padding-top: 1rem;    /* increase to make taller */
  padding-bottom: 1rem; /* increase to make taller */
}

/* Group name (brand) */
#menu .navbar-brand {
  font-size: 1.5rem;   /* adjust as needed */
  padding-top: 0;
  padding-bottom: 0;
}

/* Logo image inside the brand link */
#menu .navbar-logo {
  height: 40px;   /* scales the 700×200 image to fit the navbar */
  width: auto;
  display: block;
}

/* Nav links (Home, People, Publications, Contact) */
#menu .nav-link {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6) !important; /* dimmed by default */
  text-decoration: none;
  transition: color 0.2s ease;
}

#menu .nav-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Active (current page) nav link */
#menu .nav-link.active {
  color: #ffffff !important;             /* full brightness */
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 2px;        /* line weight */
  text-underline-offset: 4px;            /* gap between text and line */
}

/* Borders */
.border-left {
  border-left: 1px solid var(--color-border);
}
.border-right {
  border-right: 1px solid var(--color-border);
}
.border-top-0 {
  border-top: 0 !important;
}
