.wp-element-caption,
.wp-block-image figcaption,
figcaption {
    font-size: 13px;
    line-height: 1.35;
}

/* Mobile */
@media (max-width: 768px) {
    .wp-element-caption,
    .wp-block-image figcaption,
    figcaption {
        font-size: 11px;
        line-height: 1.35;
    }
}

/* Blue Seven sticky header (desktop/laptop). Logo and menu stay at top; logo shrinks on scroll. Remove this section to roll back. */
@media (min-width: 783px) and (min-height: 601px) {
    #page.site {
        overflow: visible;
        overflow-x: clip;
    }
    #masthead.site-header {
        position: sticky;
        top: -62px;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    .admin-bar #masthead.site-header {
        top: -30px;
    }
    @supports (animation-timeline: scroll()) {
        #masthead .custom-logo {
            animation: b7-logo linear both;
            animation-timeline: scroll(root);
            animation-range: 0 220px;
        }
        #masthead .branding-container {
            animation: b7-pad linear both;
            animation-timeline: scroll(root);
            animation-range: 0 220px;
        }
        @keyframes b7-logo { to { height: 52px; width: auto; } }
        @keyframes b7-pad { to { padding-top: 6px; padding-bottom: 6px; } }
    }
    html {
        scroll-padding-top: 140px;
    }
}

/* Blue Seven refined body links — remove this section to roll back. */
main article .entry-content :is(p, li) a:not(.button, .wp-element-button, .wp-block-button__link, .wp-block-file__button, [role="button"], nav a, footer a, .wp-block-navigation a, .wp-block-social-links a):not(:has(img, svg)) {
    color: #447750;
    font-weight: inherit;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
    text-decoration-skip-ink: auto;
}
main article .entry-content :is(p, li) a:not(.button, .wp-element-button, .wp-block-button__link, .wp-block-file__button, [role="button"], nav a, footer a, .wp-block-navigation a, .wp-block-social-links a):not(:has(img, svg)):hover {
    color: #355e3e;
}
main article .entry-content :is(p, li) a:not(.button, .wp-element-button, .wp-block-button__link, .wp-block-file__button, [role="button"], nav a, footer a, .wp-block-navigation a, .wp-block-social-links a):not(:has(img, svg)):focus-visible {
    color: #355e3e;
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
