/**
 * Greenshift Child — theme-level styles.
 *
 * Only what belongs to the theme rather than to a block: corrections to the
 * parent's own styles, and the Full width template's layout. Brand tokens and
 * components live in the Wedux plugin (assets/brand.css, components.css).
 * Plain CSS, no build step. Loaded after the parent's stylesheet by
 * functions.php.
 */

/* ---- Parent corrections --------------------------------------------------
 * The parent animates `all` on buttons and focused inputs, which animates focus
 * rings (outline width and offset) along with everything else — a ring that
 * grows in over .3s is a ring that isn't there when the keyboard lands. Keep the
 * color transitions, drop the rest.
 */
.is-style-greenshift-button,
.wp-block-button__link,
button,
input[type="button"],
input[type="submit"]
{
    transition-property: color, background-color, border-color, box-shadow;
}

input:focus,
textarea:focus
{
    transition-property: border-color, background-color;
}

/* ---- Full width template ----------------------------------------------------
 * Page sections are full-bleed blocks stacked edge to edge. The flow layout
 * would put the root block gap (1.6rem) between them, and the parent's
 * .site-content min-height would leave an empty band under a short page.
 */
.wdx-main--full
{
    min-height: 0;
}

.wdx-main--full > *,
.wdx-main--full > .wp-block-post-content > *
{
    margin-block: 0;   /* full-bleed sections meet; also blocks placed straight in a template (the bio) */
}

.wdx-main--full > .wp-block-post-content > .alignfull
{
    max-width: none;
    margin-inline: 0;
}
