/*
Theme Name: Embrace Master
Author: Orion’s Embrace CIC
Description: Shared global design foundation, derived from Twenty Twenty-Five by the WordPress team. Portable master design, templates and patterns.
Version: 1.0.7
Requires at least: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: embrace-master
*/
:root { --embrace-outer-padding: 24px; }
@media (max-width: 1024px) { :root { --embrace-outer-padding: 20px; } }
@media (max-width: 600px) { :root { --embrace-outer-padding: 16px; } }
body { min-height: 100vh; overflow-wrap: break-word; }
.wp-site-blocks { min-height: 100vh; }
:where(.wp-block-post-title h1,h1.wp-block-post-title) { text-align:center; }
:where(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid #8A317E; outline-offset: 3px; }
:where(.wp-block-button__link, .wp-block-navigation-item__content, button, input:not([type=checkbox]):not([type=radio]), select) { min-height: 44px; box-sizing:border-box; }
:where(.wp-block-button__link) { display:inline-flex; align-items:center; justify-content:center; }
:where(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) { background:#fff; color:#3B3B3B; border:2px solid #8A317E; border-radius:16px; padding:10px 14px; font: 16px/1.5 Lato,Arial,sans-serif; max-width:100%; box-sizing:border-box; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation-duration:0.01ms !important; transition-duration:0.01ms !important; } }

/* Shared header and footer presentation — EMBRACE-WIDE 03. */
:where(.embrace-public-header,.embrace-public-footer,.embrace-functional-header,.embrace-compact-footer) {
    box-sizing: border-box;
    padding: 15px var(--embrace-outer-padding, 24px);
    min-width: 0;
}
:where(.embrace-public-header,.embrace-public-footer) { max-width: none; }
:where(.embrace-functional-header,.embrace-compact-footer) {
    width: auto;
    max-width: none;
    margin-inline: var(--embrace-outer-padding,24px);
}
:where(.embrace-public-header,.embrace-functional-header) .embrace-brand { gap: 8px; }
.embrace-brand .embrace-banner { max-width: 100%; min-width: 0; }
.embrace-public-header .embrace-banner { max-width: min(100%, 1024px); }
.embrace-functional-header .embrace-banner { max-width: min(100%, 450px); }
.embrace-banner img { max-width: 100%; height: auto; object-fit: contain; }
.embrace-brand:has(.embrace-banner img) .embrace-brand-fallback { display: none; }
/* Keep fallback accessible in the editor for editing. */
.editor-styles-wrapper .embrace-brand:has(.embrace-banner img) .embrace-brand-fallback { display: block; opacity: .65; }
.embrace-brand-fallback { text-align: center; }
.embrace-brand-fallback > * { margin-block: 0; }
.embrace-brand-fallback .wp-block-site-tagline { margin-block-start: 8px; }
:where(.embrace-public-menu,.embrace-dashboard-menu,.embrace-footer-menu) {
    font-family: var(--wp--preset--font-family--lato, Lato, Arial, sans-serif);
    color: var(--wp--preset--color--body,#3B3B3B);
}
:where(.embrace-public-menu,.embrace-dashboard-menu) { font-size: 16px; }
:where(.embrace-public-menu,.embrace-dashboard-menu,.embrace-footer-menu) .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}
:where(.embrace-public-menu,.embrace-dashboard-menu,.embrace-footer-menu) .wp-block-navigation-item__content:hover { text-decoration: underline; }
:where(.embrace-public-menu,.embrace-dashboard-menu) :is(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close) {
    min-width: 44px; min-height: 44px; padding: 8px;
}
.embrace-dashboard-controls { gap: 8px; min-width: 0; }
.embrace-dashboard-menu .wp-block-navigation__responsive-container-open {
    border: 2px solid var(--wp--preset--color--accent,#8A317E); border-radius: 16px;
    background: transparent; color: var(--wp--preset--color--body,#3B3B3B);
}
.embrace-header-search { flex: 0 1 360px; min-width: 0; max-width: 100%; }
.embrace-header-search .wp-block-search__inside-wrapper { gap: 8px; flex-wrap: wrap; }
.embrace-header-search .wp-block-search__input { flex: 1 1 150px; min-width: 0; }
.embrace-header-search .wp-block-search__button { margin: 0; min-height: 44px; }
.embrace-footer-brand { font-family: var(--wp--preset--font-family--emilys-candy,Georgia,serif); color: var(--wp--preset--color--headings,#814398); }
.embrace-footer-tagline { font-family: var(--wp--preset--font-family--lucida-calligraphy,Georgia,serif); }
:where(.embrace-public-footer,.embrace-compact-footer) > * { margin-block-start: 8px; margin-block-end: 0; }
:where(.embrace-public-footer,.embrace-compact-footer) > :first-child { margin-block-start: 0; }
.embrace-copyright { font-family: var(--wp--preset--font-family--lato,Lato,Arial,sans-serif); }
@media (max-width: 600px) {
    .embrace-dashboard-controls { justify-content: center; }
    .embrace-header-search { flex-basis: 100%; width: 100%; }
}

/* Default part surfaces live in CSS to avoid mismatched saved block markup.
   Low-specificity defaults permit overrides in the Site Editor. */
:where(.embrace-public-header,.embrace-public-footer,.embrace-functional-header,.embrace-compact-footer) { background-color: #F8EEF6; }
:where(.embrace-functional-header,.embrace-compact-footer) { border-radius: 16px; }


/* Functional header: native disclosure menu, shared Sanctuary-style control. */
.embrace-menu-disclosure {
    position: relative;
    flex: 0 1 auto;
    max-width: 100%;
    margin-block: 0;
    font: 16px/1.4 var(--wp--preset--font-family--lato, Lato, Arial, sans-serif);
    color: var(--wp--preset--color--body, #3B3B3B);
}
.embrace-menu-disclosure > summary {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 2px solid var(--wp--preset--color--headings, #814398);
    border-radius: 16px;
    background: #fff;
    padding: 8px 14px;
    cursor: pointer;
    list-style: none;
}
.embrace-menu-disclosure > summary::-webkit-details-marker { display: none; }
.embrace-menu-disclosure > summary::marker { content: ''; }
.embrace-menu-disclosure > summary::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 12px;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
    box-sizing: border-box;
}
.embrace-menu-disclosure > summary::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-inline-start: 2px;
    margin-block-start: -3px;
}
.embrace-menu-disclosure[open] > summary::after { transform: rotate(225deg); margin-block-start: 3px; }
.embrace-menu-disclosure > summary:focus-visible { outline: 3px solid #8A317E; outline-offset: 3px; }
.embrace-menu-disclosure > summary:hover { background: #E8DAF2; }
.embrace-menu-disclosure .embrace-dashboard-menu {
    box-sizing: border-box;
    background: #fff;
    border: 2px solid var(--wp--preset--color--headings, #814398);
    border-radius: 16px;
    padding: 8px 14px;
    margin-block-start: 6px;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.embrace-menu-disclosure .embrace-dashboard-menu .wp-block-page-list,
.embrace-menu-disclosure .embrace-dashboard-menu .wp-block-navigation__container {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.embrace-menu-disclosure .embrace-dashboard-menu .wp-block-navigation-item__content { padding-inline: 4px; }
@media (min-width: 601px) {
    .wp-site-blocks .embrace-menu-disclosure > .embrace-dashboard-menu {
        position: absolute;
        z-index: 20;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        min-width: 190px;
        max-width: min(320px, calc(100vw - 48px));
    }
}
@media (max-width: 600px) {
    .embrace-menu-disclosure[open] { flex-basis: 100%; }
}
/* Keep the native navigation editable in the Site Editor. */
.editor-styles-wrapper .embrace-menu-disclosure .embrace-dashboard-menu { position: static; transform: none; }

/* 1.0.4 — Header-only adaptation of Sanctuary Dashboard v1.0.21 and Public Header export.
   Match source geometry and colours; retain native editable WordPress navigation and logo.
   Shared 44px minimum targets and Lato controls take precedence over legacy smaller targets/Arial. */
.embrace-public-header { border-radius:16px; padding:15px var(--embrace-outer-padding,24px); text-align:center; }
.embrace-public-header > .embrace-brand { width:100%; }
.embrace-public-header .embrace-banner { width:min(100%,1024px); }
.embrace-public-header .embrace-banner img { width:100%; height:auto; }
/* Sticky template-part wrapper reserves its own height, avoiding Sanctuary's plugin-specific spacer. */
.wp-site-blocks > .wp-block-template-part:has(> .embrace-functional-header) {
    position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:140;
    margin-inline:auto;width:100%;max-width:1200px;
}
.embrace-functional-header {
    display:flex; flex-direction:column; align-items:stretch; gap:7px;
    box-sizing:border-box; width:min(1200px,100%); max-width:1200px;
    margin-inline:auto; padding:8px 14px 10px; min-height:0;
    background-color:rgba(255,255,255,.96); border:1px solid #e8ddec;
    border-radius:15px; box-shadow:0 5px 22px rgba(72,48,85,.06);
    font-size:16px;
}
.embrace-functional-header > * { margin-block:0; }
.embrace-functional-header .embrace-brand { width:100%; min-height:48px; justify-content:center; gap:0; }
.embrace-functional-header .embrace-banner { width:min(100%,530px); max-width:min(100%,530px); }
.embrace-functional-header .embrace-banner img { display:block;width:100%;height:auto;max-height:58px;object-fit:contain;object-position:center; }
.embrace-functional-header .embrace-dashboard-controls {
    display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;
    width:100%;max-width:100%;margin-inline:auto;
    font-family:var(--wp--preset--font-family--lato,Lato,Arial,sans-serif);
    font-size:16px;line-height:1.4;
}
.embrace-functional-header .embrace-dashboard-controls > * { margin:0; }
.embrace-header-actions {display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap;max-width:100%;}
.embrace-header-actions button {display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#8A317E;font:inherit;font-weight:700;font-size:.86rem;border-radius:10px;border:1px solid #ebdfef;padding:7px 10px;background:#fff;min-height:44px;white-space:nowrap;}
.embrace-header-actions button:disabled {opacity:1;cursor:default;}
.embrace-functional-header .embrace-menu-disclosure {flex:0 0 auto;position:relative;z-index:145;}
.embrace-functional-header .embrace-menu-disclosure > summary {min-height:44px;padding:7px 13px;gap:8px;border:1px solid #e6d8ea;border-radius:11px;background:#fff;color:#8A317E;font-weight:700;}
.embrace-functional-header .embrace-menu-disclosure > summary:hover {background:#f7eef9;}
.embrace-functional-header .embrace-menu-disclosure > summary::before {content:'☰';width:auto;height:auto;border:0;background:none;}
.embrace-functional-header .embrace-menu-disclosure > summary::after {content:'⌄';font-size:1.7rem;font-weight:400;line-height:1;width:auto;height:auto;border:0;transform:none;margin:0;}
.embrace-functional-header .embrace-menu-disclosure[open] > summary::after {transform:rotate(180deg);}
.embrace-functional-header .embrace-menu-disclosure .embrace-dashboard-menu {
    background:#fff;border:1px solid #e5d9e9;border-radius:13px;box-shadow:0 10px 28px rgba(58,42,67,.18);
    padding:14px;gap:18px;max-height:min(70vh,640px);overflow-y:auto;overscroll-behavior:contain;
}
.wp-site-blocks .embrace-functional-header .embrace-menu-disclosure[open] > .embrace-dashboard-menu {
    position:fixed;top:var(--embrace-menu-top, auto);left:var(--embrace-menu-left,8px);right:auto;transform:none;
    margin:0;width:var(--embrace-menu-width,min(690px,calc(100vw - 30px)));min-width:0;max-width:calc(100vw - 16px);
    max-height:var(--embrace-menu-max-height,min(70vh,640px));z-index:146;
}
.embrace-functional-header .embrace-dashboard-menu .wp-block-navigation-item__content {padding:8px 10px;border-radius:9px;color:#8A317E;font-size:.91rem;line-height:1.4;overflow-wrap:anywhere;}
.embrace-functional-header .embrace-dashboard-menu .wp-block-navigation-item__content:hover,.embrace-functional-header .embrace-dashboard-menu .wp-block-navigation-item__content:focus-visible {background:#f3ebf5;color:#69235F;}
.embrace-functional-header .embrace-header-search {flex:0 1 auto;width:auto;max-width:340px;}
.embrace-functional-header .embrace-header-search .wp-block-search__inside-wrapper {display:flex;align-items:center;gap:5px;flex-wrap:nowrap;}
.embrace-functional-header .embrace-header-search .wp-block-search__input {flex:0 1 auto;width:min(30vw,250px);min-width:min(160px,100%);min-height:44px;border:1px solid #d9cbe0;border-radius:9px;padding:7px 10px;font:inherit;color:#3B3B3B;background:#fff;}
.embrace-functional-header .embrace-header-search .wp-block-search__button {min-height:44px;border:1px solid #8A317E;border-radius:9px;padding:7px 12px;background:#8A317E;color:#fff;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap;}
.embrace-functional-header .embrace-header-search .wp-block-search__button:hover {background:#69235F;}
.embrace-functional-header :is(summary,button,input,a):focus-visible {outline:3px solid #8A317E;outline-offset:2px;}
@media(max-width:700px){
    .embrace-functional-header {padding:6px 8px 9px;gap:6px;border-radius:0 0 12px 12px;}
    .embrace-functional-header .embrace-brand {min-height:40px;}
    .embrace-functional-header .embrace-banner {width:min(100%,390px);max-width:min(100%,390px);}
    .embrace-functional-header .embrace-banner img {max-height:43px;}
    .embrace-functional-header .embrace-dashboard-controls {gap:6px;}
    .embrace-header-actions {gap:4px;}
    .embrace-header-actions button {font-size:.74rem;padding:6px 7px;}
    .embrace-functional-header .embrace-menu-disclosure > summary {padding:6px 9px;}
    .embrace-functional-header .embrace-header-search {flex:1 1 100%;max-width:100%;width:100%;}
    .embrace-functional-header .embrace-header-search .wp-block-search__inside-wrapper {justify-content:center;}
    .embrace-functional-header .embrace-header-search .wp-block-search__input {flex:0 1 360px;min-width:0;width:min(100%,360px);}
}
/* If JS is unavailable, the disclosure still opens in normal flow. */
.wp-site-blocks .embrace-functional-header .embrace-menu-disclosure:not(.embrace-menu-positioned)[open] > .embrace-dashboard-menu {position:static;max-width:100%;width:auto;}
.editor-styles-wrapper .embrace-functional-header .embrace-menu-disclosure > .embrace-dashboard-menu {position:static;transform:none;max-width:100%;width:auto;}


/* 1.0.5: portable design and responsive layout. */
:where(.embrace-public-header,.embrace-public-footer,.embrace-functional-header,.embrace-compact-footer) { background-color:#FFFFFF99; }
.embrace-functional-header { background-color:#FFFFFF99; }
.embrace-brand > .wp-block-group { min-width:0; max-width:100%; }
.embrace-banner, .embrace-footer-logo { box-sizing:border-box; max-width:100%; margin-inline:auto; }
.embrace-banner a, .embrace-footer-logo a { display:block; }
.embrace-footer-logo img { height:auto; max-width:100%; }
.embrace-public-footer .embrace-footer-logo { flex:0 1 200px; }
.embrace-compact-footer .embrace-footer-logo { flex:0 1 150px; }
:where(.embrace-public-footer,.embrace-compact-footer) .wp-block-navigation { max-width:100%; }
.embrace-four-column-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:20px; }
.embrace-four-column-grid > * { min-width:0; max-width:100%; }
.embrace-four-column-grid .wp-block-button, .embrace-four-column-grid .wp-block-button__link { max-width:100%; overflow-wrap:anywhere; }
@media (max-width:900px) { .embrace-four-column-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:340px) { .embrace-four-column-grid { grid-template-columns:minmax(0,1fr) !important; } }

/* Respect the original banner ratio and the chosen image block width. */
.embrace-functional-header .embrace-banner img { max-height:none; }

/* 1.0.6: shared Orion brand controls. Explicit user-selected block colours remain editable. */
:where(.embrace-public-menu,.embrace-dashboard-menu,.embrace-footer-menu) { color:var(--wp--preset--color--accent,#8A317E); }
.embrace-header-actions button, .embrace-functional-header .embrace-menu-disclosure > summary { color:var(--wp--preset--color--accent,#8A317E); background:var(--wp--preset--color--light-button,#F4E8F7); border-color:var(--wp--preset--color--accent,#8A317E); }
.embrace-functional-header .embrace-menu-disclosure > summary:hover { background:var(--wp--preset--color--lilac,#E8DAF2); }
:root :where(.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background)) { background-color:var(--wp--preset--color--light-button,#F4E8F7); }
:root :where(.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color)) { color:var(--wp--preset--color--accent,#8A317E); }
:root :where(.wp-block-button.is-style-outline > .wp-block-button__link) { border:2px solid var(--wp--preset--color--accent,#8A317E); }
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover { background-color:var(--wp--preset--color--lilac,#E8DAF2); }
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover { color:var(--wp--preset--color--accent,#8A317E); }
/* Compatibility for old saved block colours without crowding the colour picker. */
:root { --wp--preset--color--base:var(--wp--preset--color--white); }
.has-base-color { color:var(--wp--preset--color--white) !important; }
.has-base-background-color { background-color:var(--wp--preset--color--white) !important; }
.has-base-border-color { border-color:var(--wp--preset--color--white) !important; }
:root { --wp--preset--color--contrast:var(--wp--preset--color--body); }
.has-contrast-color { color:var(--wp--preset--color--body) !important; }
.has-contrast-background-color { background-color:var(--wp--preset--color--body) !important; }
.has-contrast-border-color { border-color:var(--wp--preset--color--body) !important; }
:root { --wp--preset--color--accent-1:var(--wp--preset--color--lilac); }
.has-accent-1-color { color:var(--wp--preset--color--lilac) !important; }
.has-accent-1-background-color { background-color:var(--wp--preset--color--lilac) !important; }
.has-accent-1-border-color { border-color:var(--wp--preset--color--lilac) !important; }
:root { --wp--preset--color--accent-2:var(--wp--preset--color--pink); }
.has-accent-2-color { color:var(--wp--preset--color--pink) !important; }
.has-accent-2-background-color { background-color:var(--wp--preset--color--pink) !important; }
.has-accent-2-border-color { border-color:var(--wp--preset--color--pink) !important; }
:root { --wp--preset--color--accent-3:var(--wp--preset--color--accent); }
.has-accent-3-color { color:var(--wp--preset--color--accent) !important; }
.has-accent-3-background-color { background-color:var(--wp--preset--color--accent) !important; }
.has-accent-3-border-color { border-color:var(--wp--preset--color--accent) !important; }
:root { --wp--preset--color--accent-4:var(--wp--preset--color--accent); }
.has-accent-4-color { color:var(--wp--preset--color--accent) !important; }
.has-accent-4-background-color { background-color:var(--wp--preset--color--accent) !important; }
.has-accent-4-border-color { border-color:var(--wp--preset--color--accent) !important; }
:root { --wp--preset--color--accent-5:var(--wp--preset--color--peach); }
.has-accent-5-color { color:var(--wp--preset--color--peach) !important; }
.has-accent-5-background-color { background-color:var(--wp--preset--color--peach) !important; }
.has-accent-5-border-color { border-color:var(--wp--preset--color--peach) !important; }
:root { --wp--preset--color--accent-6:var(--wp--preset--color--blue); }
.has-accent-6-color { color:var(--wp--preset--color--blue) !important; }
.has-accent-6-background-color { background-color:var(--wp--preset--color--blue) !important; }
.has-accent-6-border-color { border-color:var(--wp--preset--color--blue) !important; }
:root { --wp--preset--color--deep:var(--wp--preset--color--accent); }
.has-deep-color { color:var(--wp--preset--color--accent) !important; }
.has-deep-background-color { background-color:var(--wp--preset--color--accent) !important; }
.has-deep-border-color { border-color:var(--wp--preset--color--accent) !important; }
:root { --wp--preset--color--custom-light-button-background:var(--wp--preset--color--light-button); }
.has-custom-light-button-background-color { color:var(--wp--preset--color--light-button) !important; }
.has-custom-light-button-background-background-color { background-color:var(--wp--preset--color--light-button) !important; }
.has-custom-light-button-background-border-color { border-color:var(--wp--preset--color--light-button) !important; }
:root { --wp--preset--color--custom-light-button-text-and-border:var(--wp--preset--color--accent); }
.has-custom-light-button-text-and-border-color { color:var(--wp--preset--color--accent) !important; }
.has-custom-light-button-text-and-border-background-color { background-color:var(--wp--preset--color--accent) !important; }
.has-custom-light-button-text-and-border-border-color { border-color:var(--wp--preset--color--accent) !important; }
:root { --wp--preset--color--custom-primary-button-background:var(--wp--preset--color--accent); }
.has-custom-primary-button-background-color { color:var(--wp--preset--color--accent) !important; }
.has-custom-primary-button-background-background-color { background-color:var(--wp--preset--color--accent) !important; }
.has-custom-primary-button-background-border-color { border-color:var(--wp--preset--color--accent) !important; }
:root { --wp--preset--color--custom-alternative-headings:var(--wp--preset--color--turquoise); }
.has-custom-alternative-headings-color { color:var(--wp--preset--color--turquoise) !important; }
.has-custom-alternative-headings-background-color { background-color:var(--wp--preset--color--turquoise) !important; }
.has-custom-alternative-headings-border-color { border-color:var(--wp--preset--color--turquoise) !important; }

/* 1.0.7 — shared content cards and actions. Keep header/footer and form controls untouched. */
:is(.wp-block-post-content,.editor-styles-wrapper) .wp-block-buttons:not(.is-vertical):not(.embrace-buttons-keep-alignment) {
    justify-content: center;
}
:is(.wp-block-post-content,.editor-styles-wrapper) .wp-block-columns:has(> .wp-block-column > .wp-block-group.has-background.has-border-color:only-child) {
    align-items: stretch;
}
:is(.wp-block-post-content,.editor-styles-wrapper) .wp-block-columns > .wp-block-column:has(> .wp-block-group.has-background.has-border-color:only-child) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
:is(.wp-block-post-content,.editor-styles-wrapper) .wp-block-columns > .wp-block-column > .wp-block-group.has-background.has-border-color:only-child,
.embrace-four-column-grid > .wp-block-group.has-background.has-border-color {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
    min-height: var(--embrace-equal-card-height, 0px);
}
:is(.wp-block-post-content,.editor-styles-wrapper) .wp-block-columns > .wp-block-column > .wp-block-group.has-background.has-border-color:only-child > .wp-block-buttons:last-child,
.embrace-four-column-grid > .wp-block-group.has-background.has-border-color > .wp-block-buttons:last-child {
    margin-block-start: auto;
    padding-block-start: 20px;
}
.embrace-four-column-grid { align-items: stretch; grid-auto-rows: 1fr; }
@media (max-width: 781px) {
    .wp-block-post-content .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column > .wp-block-group.has-background.has-border-color:only-child { min-height: 0; }
}
@media (max-width: 340px) { .embrace-four-column-grid { grid-auto-rows: auto; } }
