/* ── Global ──────────────────────────────────────────────────── */
body {
    background-color: var(--sh-color-bg);
}


/* Enforce Inter as the base font everywhere Astra may override */
body,
input,
button,
select,
textarea,
.ast-single-post .entry-content,
.site-footer,
.widget,
.wp-block-widget-group {

}

/* ── Buttons ──────────────────────────────────────────────────── */
.wp-block-button__link,
.wp-element-button {
    transition: opacity var(--sh-transition-fast), transform 0.15s ease;
    cursor: pointer;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── Cover Block ─────────────────────────────────────────────── */
.wp-block-cover {
    background-color: var(--sh-color-text);
}

/* ── Read More Link ───────────────────────────────────────────── */
.wp-block-read-more {
    color: var(--sh-color-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    transition: color var(--sh-transition-fast);
}

.wp-block-read-more:hover {
    color: var(--sh-color-primary);
}

/* ── Warm Section Links ──────────────────────────────────────── */
a {
    transition: color var(--sh-transition-fast);
}

/* ── Admin bar: fix 46px dead gap at ≤600px ─────────────────── */
/* At ≤600px WP switches #wpadminbar to position:absolute (scrolls
   with page), but still injects margin-top:46px on <html> via
   inline style — that gap only makes sense for a fixed bar.
   Cancel it so bar + header sit flush in normal document flow. */
@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}
