/* Header bar: navigation links as buttons; the last one (Download PDF) is the main button. */
.navbar { border-bottom: 1px solid #d7dee6; }
.navbar .navbar-nav .nav-link { border: 1px solid #1f6f43; border-radius: 6px; color: #1f6f43; padding: 0.3rem 0.8rem;
                                 margin-left: 0.5rem; }
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active { background: #e8f2ec; }
/* Download PDF (on the right) is the main button. */
.navbar .navbar-nav .nav-link[href*="IPBES-Data-Management-Vision-"][href$=".pdf"] { background: #1f6f43; color: #fff; }
.navbar .navbar-nav .nav-link[href*="IPBES-Data-Management-Vision-"][href$=".pdf"]:hover { background: #18583a; }
/* The three main buttons: centred in the header on wide screens, independent of the buttons on the right. */
@media (min-width: 992px) {
  .navbar .navbar-collapse > .navbar-nav.me-auto { position: absolute; left: 50%; transform: translateX(-50%); }
}
/* Latest pre-release while there is none: stays in place, greyed out. */
.navbar .navbar-nav .nav-link.unavailable { border-color: #c8cdd2; color: #9aa0a6; pointer-events: none; }
.navbar-logo { max-height: 44px; }
/* Pre-release button in amber, like the pre-release banner. */
.navbar .navbar-nav .nav-link[href$="/preview/"] { border-color: #c99a1a; color: #6b4a00; }
.navbar .navbar-nav .nav-link[href$="/preview/"]:hover,
.navbar .navbar-nav .nav-link[href$="/preview/"].active { background: #fff4d6; }

/* Status banner: what kind of version this page shows. */
.status-banner { border-radius: 8px; padding: 0.6rem 0.9rem; margin: 0 0 1rem; display: flex; gap: 0.5rem;
                 align-items: baseline; }
.status-banner .bi { flex: none; }
.status-release { background: #e6f4ea; color: #1e4d2b; border: 1px solid #a8d5b5; }
.status-prerelease { background: #fff4d6; color: #6b4a00; border: 1px solid #f0d58a; }
.status-draft { background: #f1f3f5; color: #3d4349; border: 1px solid #d7dee6; }
.status-banner a { color: inherit; text-decoration: underline; }

/* "About this version" card above the text. */
.version-card { background: #f6f8fa; border: 1px solid #e3e8ee; border-radius: 8px; padding: 0.8rem 1rem; margin: 0 0 2rem; }
.version-card .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.5rem 1rem; }
.version-card .label { font-size: 0.75rem; color: #6a737d; text-transform: uppercase; letter-spacing: 0.03em; }
.version-card details { margin-top: 0.6rem; }
.version-card summary { cursor: pointer; color: #1f6f43; }
.vision-start { border-top: 2px solid #1f6f43; padding-top: 0.5rem; }
