/* Block markup on guide pages: makes the editor's blocks look exactly like the hand-built pages. */

/* The opening paragraph of a guide (was an inline style on every page) */
.article-body p.hb-lead {
    font-size: 1.125rem;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-green);
    padding-left: 1.25rem;
    margin: 0 0 2.5rem;
    font-style: italic;
}

/* Tables are wrapped in <figure>; browsers give figures side margins */
.article-body figure.wp-block-table {
    margin: 0;
}

/* Images and screenshots added in the editor */
.article-body figure.wp-block-image {
    margin: 1.5rem 0;
}
.article-body figure.wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}
.article-body figure.wp-block-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
