/* BP Solutions design layer - 2026-11-19 (UI/UX/visual audit) */

/* About: text column sits beside the photo instead of leaving a blank half */
.wrap.about{align-items:center!important}

/* Card grids: no orphan cards / empty columns */
@media (min-width:900px){
  .inc,.anim-grid{grid-template-columns:repeat(6,1fr)!important}
  .inc>*,.anim-grid>*{grid-column:span 2}
  .inc>:nth-child(3n+1):nth-last-child(2),.inc>:nth-child(3n+1):nth-last-child(2)+*,
  .anim-grid>:nth-child(3n+1):nth-last-child(2),.anim-grid>:nth-child(3n+1):nth-last-child(2)+*{grid-column:span 3}
  .inc>:nth-child(3n+1):last-child,.anim-grid>:nth-child(3n+1):last-child{grid-column:2/span 4}
  .related{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important}
}

/* Two-column sections with heading + photo: heading spans full width, photo and text sit side by side, centred */
.wrap:is(.two,.about):has(>.head>.photo){row-gap:0!important;align-items:center!important}
.wrap:is(.two,.about)>.head:has(>.photo){display:contents}
.wrap:is(.two,.about)>.head:has(>.photo)>:not(.photo){grid-column:1/-1;max-width:820px}
.wrap:is(.two,.about)>.head:has(>.photo)>h2{margin-bottom:36px}
.wrap:is(.two,.about)>.head:has(>.photo)>.photo{grid-column:1;margin:0}
.wrap:is(.two,.about):has(>.head>.photo)>:not(.head){grid-column:2}
@media (max-width:820px){
  .wrap:is(.two,.about)>.head:has(>.photo)>.photo,.wrap:is(.two,.about):has(>.head>.photo)>:not(.head){grid-column:1/-1}
  .wrap:is(.two,.about):has(>.head>.photo)>:not(.head){margin-top:28px}
}

/* gapfix-20261120: legible small labels */
.code,.fh{font-size:12px}

/* gapfix2-20261120 */
.svc .code,a.svc p.code{font-size:12px!important}
.brand small,header small,footer small{font-size:11px!important}


/* 2026-11-21 audit: tap targets at least 24px (WCAG 2.2 AA) and readable guide labels */
.inc ul a{display:inline-block;min-height:24px;padding-block:1px}
.gcard .tag{font-size:12px}
