/* =====================================================================================================
   N46h (Brain rulings MK, NC and MZ1, 06-11-2026). Loads after n46h-band.css, on every page.
   Tokens of tokens.css only: no hex, no important flag, no new font, no new token.
   1. The gap under the client box when it ends a full-width text column (ruling MK): 30 px, not 39.
   2. The CTA logo box: the logo stays inside its box on a phone and on a desktop (J32 staging, 0.4 item 2).
   3. N46i (Brain ruling NK item 2): the interim golden hover of N46h left this file. Pixel's MK2 v4 file
      (assets/css/n46i-boxes.css, after this one, inc/n46i.php) replaces it.
   ===================================================================================================== */


/* ----- 1. Client box gap (ruling MK; tested on live guest HTML of 283828 and 211400, N46g live report section 3) ----- */
/* WPBakery's ".wpb_text_column :last-child{ margin-bottom:0 }" takes the box's own 30 px; the column keeps its 35 px
   and the next heading adds 4 px. The column ending in the box gets the 30 px, and the heading that opens the next
   row loses its top margin. */
.wpb_text_column:has(> .wpb_wrapper > .gpcf-cbox:last-child){ margin-bottom:var(--space-12); }
.vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_text_column:last-child > .wpb_wrapper > .gpcf-cbox:last-child) + .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper > :is(h2,h3):first-child,
.vc_row:has(> .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_text_column:last-child > .wpb_wrapper > .gpcf-cbox:last-child) + .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_text_column:first-child > .wpb_wrapper > :is(h2,h3):first-child{ margin-top:0; }


/* ----- 2. CTA logo box (J32 staging: a 126 px logo in a 96 px box on a phone, 32 px below the block on a desktop) ----- */
/* The logo box is a grid with one auto row, so the image's 100 % height was sized from the image itself and ran out
   of the box. One row and one column that cannot grow past the box keep the logo inside it, contained, centred. */
.gpcf-cta .gpcf-cta__logo{
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr);
  overflow:hidden;
}
.gpcf-cta .gpcf-cta__logo img{
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:100%;
}
