/* WordPress shell behavior; authored component styles live in generated-native.css. */
.wp-site-blocks > *, .bsi-main > *, .bsi-header-part > *, .bsi-footer-part > * { margin-block:0; }
/* Match the static source site shell; absolute header uses the initial containing block. */
.wp-site-blocks { padding:0; }
.bsi-main { width:100%; margin:0; padding:0; position:relative; z-index:20; background:#fff; }
.bsi-listing { position:relative; z-index:20; background:#fff; }
.bsi-header-part { position:relative; z-index:100; width:100%; }
/* Source Header flow/reveal states; authored template styles remain in generated-native.css. */
.bsi-header-part > .bsi-sticky-header { position:absolute; visibility:hidden; top:-1000%; width:100%; }
body.bsi-header-stick .bsi-header-part { position:fixed; top:-1000%; left:0; right:0; visibility:hidden; width:auto; }
body.bsi-header-stick .bsi-header-part > .bsi-document-189 { width:100%; visibility:hidden; }
body.bsi-header-stick .bsi-header-part > .bsi-sticky-header { visibility:visible; position:fixed; width:100%; }
body.bsi-header-sticked .bsi-header-part,
body.bsi-header-sticked .bsi-header-part > .bsi-sticky-header { top:0; transition:top .5s ease-in-out; }
body.bsi-header-sticked .bsi-header-part { visibility:visible; }
body.admin-bar.bsi-header-sticked .bsi-header-part,
body.admin-bar.bsi-header-sticked .bsi-header-part > .bsi-sticky-header { top:32px; }
@media (max-width:767.98px) {
  body.admin-bar.bsi-header-sticked .bsi-header-part,
  body.admin-bar.bsi-header-sticked .bsi-header-part > .bsi-sticky-header { top:46px; }
}
.bsi-native .wp-block-site-logo img { height:auto; }
.bsi-native [hidden] { display:none !important; }
.bsi-native .bsi-form .bsi-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.bsi-native .bsi-submit-status:empty { display:none; }
.bsi-listing .wp-block-post-title a { color:inherit; }
.bsi-single .wp-block-post-content { margin:0; }

/* Saved source CSS starts desktop overlap at768; its JS overlap predicate is strictly >768. */
@media (min-width:768px) { body:not(.bsi-header-stick):not(.bsi-header-sticked) .bsi-header-part { position:absolute; } }
/* Owned equivalents of the active authored entrance and hover effects. */
.bsi-motion-enabled .bsi-has-entrance:not(.bsi-motion-revealed){visibility:hidden}
.bsi-motion-revealed:is(.bsi-entrance-fadeIn,.bsi-entrance-fadeInUp,.bsi-entrance-flash){animation-duration:var(--bsi-entrance-duration,1250ms);animation-delay:var(--bsi-entrance-delay,0ms);animation-fill-mode:both}
.bsi-entrance-fadeIn{animation-name:bsi-fadeIn}.bsi-entrance-fadeInUp{animation-name:bsi-fadeInUp}.bsi-entrance-flash{animation-name:bsi-flash}
@keyframes bsi-fadeIn{from{opacity:0}to{opacity:1}}
@keyframes bsi-fadeInUp{from{opacity:0;translate:0 100%}to{opacity:1;translate:0 0}}
@keyframes bsi-flash{50%,from,to{opacity:1}25%,75%{opacity:0}}
.bsi-hover-grow{transition:scale .3s}.bsi-hover-grow:is(:hover,:focus-within){scale:1.1}
@media(prefers-reduced-motion:reduce){.bsi-has-entrance{visibility:visible!important;animation:none!important}.bsi-hover-grow{transition:none}}

/* Quote source bottom section margin collapses through its block shell. */
.bsi-main > .wp-block-post-content:has(> .bsi-document-1636){display:block}

/* Preserve source intrinsic featured-image size while fitting the article column. */
.bsi-single .wp-block-post-featured-image{text-align:center}
.bsi-single .wp-block-post-featured-image img{width:auto;max-width:100%;height:auto}

/* Reserve the source Google Reviews image intrinsic318px plus18px borders before lazy load. */
.bsi-document-202 .bsi-node-f9ae361 > a{width:354px;max-width:100%}
/* R38: core flow layout zeroes the last child's block-end margin; the source listing title keeps 8px. */
.bsi-listing-header-inner > .bsi-listing-title { margin-block-end:8px; }
/* R38: JupiterX archive titles (category/tag/date/author) are 40px/500 at every width; search and 404 keep the h1 scale. */
body.archive .bsi-listing-header-inner > .bsi-listing-title { font-size:40px; font-weight:500; }
/* R38: full-content archive cards keep the source's 1rem block spacing after figures and lists, as single posts do. */
.bsi-native .bsi-listing-content .bsi-article-body > :is(figure,ul,ol),
.bsi-native .bsi-listing-content > :is(figure,ul,ol) { margin-bottom:1rem; }
/* R38: core's post template is a <ul>, so lists inside full-content archive cards are nested lists and the browser draws hollow circles; the JupiterX loop is not a list, so its post lists keep solid discs. Icon lists keep list-style:none. */
.bsi-archive-grid :where(ul:not(.bsi-icon-list)) { list-style-type:disc; }
/* Nest levels are separate :where() groups: a complex selector inside one :where() matches ancestors outside the grid, and the grid is itself a ul. */
.bsi-archive-grid :where(ul) :where(ul:not(.bsi-icon-list)) { list-style-type:circle; }
.bsi-archive-grid :where(ul) :where(ul) :where(ul:not(.bsi-icon-list)) { list-style-type:square; }
/* R38: Elementor's post-content widget keeps the closing paragraph's 1rem bottom margin; core flow layout zeroes it (single posts and full-content archive cards). */
.bsi-native .bsi-type-theme-post-content > p:last-child,
.bsi-native :is(.bsi-type-theme-post-content, .bsi-listing-content) .bsi-article-body > p:last-child { margin-block-end:1rem; }
/* R38: source article image captions have no margin; core's .wp-block-image figcaption adds .5em/1em (9px taller per captioned image). */
.bsi-native :is(.bsi-type-theme-post-content, .bsi-listing-content) figure.wp-block-image > figcaption { margin-block:0; }
/* Owner-approved deviation (Nov 15, 2026): production's 6-step Request a Quote form indicator stays in one row on phones and widens the page to 725px (zoomed out). On phones show the steps as a 3x2 grid with 14px labels so the page fits; desktop and other forms are unchanged. */
@media (max-width:767px){
.bsi-document-1636 .bsi-node-1785c8be .bsi-form-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px;row-gap:12px}
.bsi-document-1636 .bsi-node-1785c8be .bsi-form-progress-separator{display:none}
.bsi-document-1636 .bsi-node-1785c8be .bsi-form-progress-item{padding:0;min-width:0}
.bsi-document-1636 .bsi-node-1785c8be .bsi-form-progress-item,.bsi-document-1636 .bsi-node-1785c8be .bsi-form-progress-label{font-size:14px}
}
@media (max-width:379px){
.bsi-document-1636 .bsi-node-1785c8be .bsi-form-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
}
