/* Astra and Elementor integration for the approved Onyx layouts. */
body { background:var(--ink); color:var(--paper); font-family:Inter,Arial,sans-serif; font-weight:400; line-height:normal; }
#page { position:relative; }
body.elementor-page #page, body.elementor-page .site-content { background:transparent; }
body.elementor-page .site-content .ast-container { display:block; max-width:none; padding:0; margin:0; }
body.elementor-page #primary { padding:0; margin:0; border:0; width:100%; }
body.elementor-page .entry-content { margin:0; }
body.elementor-page .entry-content > .elementor { max-width:none; margin:0; }
.onyx-wp-page, .elementor-location-header, .elementor-location-footer { font-family:Inter,Arial,sans-serif; }
:where(.onyx-wp-page, .elementor-location-header, .elementor-location-footer) p { margin-bottom:0; }
.onyx-wp-page ul, .onyx-wp-page ol, .elementor-location-header ul, .elementor-location-footer ul { margin-left:0; }
.elementor-location-header .masthead, .elementor-location-footer .site-footer { font-family:Inter,Arial,sans-serif; }
.onyx-wp-page button, .elementor-location-header button { box-shadow:none; text-transform:none; border-radius:0; }
.onyx-wp-page input, .onyx-wp-page select, .onyx-wp-page textarea { font-family:inherit; }
body.admin-bar .masthead.menu-visible { top:32px; }
body.admin-bar .menu-panel { top:32px; }
@media(max-width:782px) { body.admin-bar .masthead.menu-visible, body.admin-bar .menu-panel { top:46px; } }
#page > .skip-link { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }
#page > .skip-link:focus { clip:auto; width:auto; height:auto; }
#top { position:absolute; top:0; width:1px; height:1px; pointer-events:none; }

#ast-scroll-top { display:none !important; }
body > .skip-link, .skip-link.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }

/* Retain the original portrait crop instead of Elementor's generic auto height. */
.onyx-wp-page .founder-invitation > img { height:800px; }

/* Keep approved testimonial crops against Elementor's generic image defaults. */
.onyx-wp-page .client-result-portrait { height:200px; border-radius:4px; }
@media (max-width:680px) {
  .onyx-wp-page .client-result-portrait { height:130px; }
}
