/* ─────────────────────────────────────────────────────────────────
 * KMGBF SKOSMOS Customizations
 *
 * Custom CSS loaded via skosmos:customCss in config.ttl.
 * Mounted into the SKOSMOS container via docker-compose.yml.
 *
 * Design decisions:
 *   - Only indicators have skos:notation (their indicatorCode).
 *   - Goals/targets have no skos:notation, so SKOSMOS sorts them
 *     by prefLabel with numeric awareness (Goal A-D, Target 1-23).
 *   - showNotation is true, so indicator codes display automatically
 *     in the hierarchy tree and narrower concept lists.
 *   - The rules below are safety nets in case future data changes
 *     add notation to top concepts.
 * ───────────────────────────────────────────────────────────────── */

/* ── CBD Logo in topbar ──────────────────────────────────────────
 * Replace the default "Skosmos" text with the CBD logo,
 * same approach used by AGROVOC with the FAO logo. */
#skosmos-logo-top {
    display: inline-block;
    width: 200px;
    height: 50px;
    background: url('../pics/cbd-logo.png') no-repeat left center;
    background-size: contain;
}
#skosmos-logo-top h2 {
    display: none;
}

/* ── Hide notation on top concepts ───────────────────────────────
 * Uses ">" (direct child combinator) so child concepts (indicators)
 * nested inside expanded top concepts still show their notation. */
.top-concept > .concept-label .concept-notation {
    display: none;
}

/* ── Hide the Feedback link ──────────────────────────────────────
 * Email sending is not configured on this server; the feedbackAddress
 * in config.ttl is empty but SKOSMOS still renders the link.
 * Contact info is provided on the About page instead. */
#navi3 {
    display: none;
}
