/* Custom overrides for blog post content.
   Kept separate from style.css (theme-generated) so it survives theme updates. */

/* --- Markdown "note" callout: a soft informational aside, not a danger alert --- */
.blog-content .markdown-alert-note {
    background: #eef5ff;
    border-left: 4px solid #2f81f7;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 30px;
}

.blog-content .markdown-alert-note .markdown-alert-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2f81f7;
    font-weight: 600;
    margin: 0 0 6px;
}

.blog-content .markdown-alert-note .markdown-alert-title svg {
    fill: currentColor;
}

.blog-content .markdown-alert-note p {
    margin: 0 0 10px;
}

.blog-content .markdown-alert-note p:last-child {
    margin-bottom: 0;
}

.blog-content .markdown-alert-note p:empty {
    display: none;
}

/* --- Code blocks: theme's pre/code styling is oversized and overtakes the page --- */
.blog-content pre {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 14px;
    line-height: 1.5;
    padding: 14px 18px;
    margin: 0 0 30px;
    background: #f6f8fa;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: #24292f;
    white-space: pre;
    overflow-x: auto;
}

.blog-content pre code {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background: none;
    padding: 0;
}

@media only screen and (max-width: 767px) {
    .blog-content pre {
        font-size: 13px;
    }
}

/* --- Inline post images: add a border so white-background screenshots don't blend into the page --- */
.blog-content img {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
