/* The Runbook - mdBook Metadata */

/* Hide all metadata elements by default */
.metadata {
    display: none !important;
}

/* When revealed, preserve the native element layout */
div.metadata.meta-visible {
    display: block !important;

    /* Code-block styling for frontmatter containers */
    background-color: #2d3748;
    color: #a0aec0;
    font-family: 'Courier New', Courier, monospace;
    padding: 12px;
    border-radius: 4px;
    margin: 16px 0;
    white-space: pre-wrap;
    font-size: 0.9em;
}

/* When revealed, preserve the native element layout */
span.metadata.meta-visible {
    display: inline !important;

    /* Subtle inline styling for titles or text strings */
    background-color: #2d3748;
    color: #a0aec0;
    font-family: monospace;
    padding: 2px 6px;
    border-radius: 3px;
    margin: 0 6px;
    font-size: 0.75em;
    vertical-align: middle;
}
