/* Shared editor/frontend fact layout. Scoped to this landing only. */
.pgx-landing.pgi-root .pgi-section.pgi-intro {
  container-type:inline-size; container-name:pgip-intro;
  box-sizing:border-box; width:min(1000px,calc(100% - 48px))!important;
  max-width:1000px!important; margin:0 auto!important;
  padding:clamp(54px,8vw,110px) 0!important;
}
.pgx-landing.pgi-root .pgi-intro .pgi-kicker {font-size:12px!important;font-weight:800;line-height:1.5!important;letter-spacing:.15em;color:#b9191d!important;margin:0 0 15px!important;}
.pgx-landing.pgi-root .pgi-intro h2 {font-size:clamp(32px,5.35cqw,54px)!important;line-height:1.1!important;font-weight:800;letter-spacing:-.04em;color:#17191d!important;margin:0 0 24px!important;text-wrap:balance;}
.pgx-landing.pgi-root .pgi-intro .pgi-lead {font-size:clamp(21px,2.9cqw,29px)!important;line-height:1.52!important;color:#50545b!important;max-width:780px!important;margin:0!important;}
/* WordPress can insert an inner-blocks wrapper in the editor. Grid the actual card parent. */
.pgx-landing.pgi-root .pgi-facts,
.pgx-landing.pgi-root .pgi-facts > .block-editor-inner-blocks > .block-editor-block-list__layout,
.pgx-landing.pgi-root .pgi-facts > .block-editor-block-list__layout {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:15px!important;align-items:stretch!important;justify-items:stretch!important;grid-auto-rows:1fr;
 min-width:0;max-width:none!important;width:100%;box-sizing:border-box;
}
.pgx-landing.pgi-root .pgi-facts {margin:40px 0 0!important;padding:0!important;}
.pgx-landing.pgi-root .pgi-facts:has(> .block-editor-inner-blocks),
.pgx-landing.pgi-root .pgi-facts:has(> .block-editor-block-list__layout) {display:block!important;}
.pgx-landing.pgi-root .pgi-facts > .block-editor-inner-blocks,
.pgx-landing.pgi-root .pgi-facts > .block-editor-inner-blocks > .block-editor-block-list__layout,
.pgx-landing.pgi-root .pgi-facts > .block-editor-block-list__layout {margin:0!important;padding:0!important;}
.pgx-landing.pgi-root .pgi-facts .pgi-fact {
 box-sizing:border-box;min-width:0;width:100%!important;max-width:none!important;
 align-self:stretch!important;justify-self:stretch!important;margin:0!important;
 padding:28px 22px!important;border:1px solid #e5d9c9;border-radius:18px;background:#f8eedf;
 display:flex!important;flex-direction:column;justify-content:flex-start;gap:0!important;
}
.pgx-landing.pgi-root .pgi-fact > .block-editor-inner-blocks,
.pgx-landing.pgi-root .pgi-fact > .block-editor-inner-blocks > .block-editor-block-list__layout,
.pgx-landing.pgi-root .pgi-fact > .block-editor-block-list__layout {margin:0!important;padding:0!important;min-width:0;max-width:100%!important;}
.pgx-landing.pgi-root .pgi-intro .pgi-fact p {font-size:15px!important;line-height:1.5!important;color:#50545b!important;margin:0!important;max-width:none!important;}
.pgx-landing.pgi-root .pgi-intro .pgi-fact .pgi-number {font-size:clamp(28px,4.8cqw,48px)!important;line-height:1.15!important;font-weight:850;letter-spacing:-.06em;color:#b9191d!important;margin:0 0 10px!important;overflow-wrap:normal;}
/* The breakpoint follows the actual editing canvas, not the browser width. */
@container pgip-intro (max-width:650px) {
 .pgx-landing.pgi-root .pgi-facts,
 .pgx-landing.pgi-root .pgi-facts > .block-editor-inner-blocks > .block-editor-block-list__layout,
 .pgx-landing.pgi-root .pgi-facts > .block-editor-block-list__layout {grid-template-columns:minmax(0,1fr)!important;gap:10px!important;grid-auto-rows:auto;}
 .pgx-landing.pgi-root .pgi-facts .pgi-fact {padding:18px 22px!important;}
}
@media(max-width:740px){.pgx-landing.pgi-root .pgi-section.pgi-intro{width:calc(100% - 36px)!important;padding:54px 0!important;}}
/* Keep block inserter controls usable and out of the card grid. */
.pgx-landing.pgi-root .pgi-facts .block-list-appender {grid-column:1/-1;}
