/* Industry pages: tight, evenly aligned layout (no empty gaps) */
body .nh-sec{padding-top:clamp(26px,2.8vw,40px)}
body .nh-sec:last-child{padding-bottom:clamp(34px,4vw,56px)}
body .nh-sec h2{margin-bottom:6px;max-width:none}
body .nh-sub{margin-bottom:16px}

@media (min-width:901px){
  /* Challenges: intro text + photo side by side (equal height), then 4 cards across */
  body .nc{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto 1fr auto;
    gap:0 clamp(24px,4vw,56px);align-items:stretch}
  body .nc-intro{display:contents}
  body .nc-intro .nc-tag{grid-column:1;grid-row:1;align-self:start;margin:0 0 8px}
  body .nc-intro h2{grid-column:1;grid-row:2;margin:0 0 10px}
  body .nc-intro p{grid-column:1;grid-row:3;margin:0 0 14px}
  body .nc-intro > a{grid-column:1;grid-row:4;align-self:start;justify-self:start}
  body .nc-intro .ph-fig{grid-column:2;grid-row:1 / 5;position:relative;min-height:200px;margin:0}
  body .nc-intro .ph-fig img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
  body .nc-list{grid-column:1 / -1;grid-row:5;margin-top:clamp(18px,2vw,26px);
    grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

  /* Frameworks: chips + technical controls on the left, photo on the right (same height) */
  body .ph-split:not(.ph-rev){grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:stretch!important}
  body .ph-split:not(.ph-rev) .ph-fig{position:relative;min-height:300px;align-self:stretch}
  body .ph-split:not(.ph-rev) .ph-fig img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}

  /* Engagement: photo stretches to the same height as the 4 step cards */
  body .ph-split.ph-rev{align-items:stretch!important}
  body .ph-split.ph-rev .ph-fig{position:relative;min-height:260px}
  body .ph-split.ph-rev .ph-fig img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
}
@media (min-width:901px) and (max-width:1100px){
  body .nc-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Frameworks left column */
body .ph-col{display:flex;flex-direction:column;gap:20px;min-width:0}
body .nh-tech-h{margin:0 0 10px;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#2f6bff}
body .nh-tech ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .nh-tech li{position:relative;background:#fff;border:1px solid #dbe5fb;border-radius:12px;padding:14px 16px 14px 20px;overflow:hidden;display:flex;flex-direction:column;gap:4px}
body .nh-tech li:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#2f6bff,#2bb0bd)}
body .nh-tech li b{font-size:15px;font-weight:600;color:#0f1c3f}
body .nh-tech li span{font-size:14px;line-height:1.55;color:#4a5b80}
@media (max-width:900px){
  body .ph-split:not(.ph-rev) .ph-fig img{aspect-ratio:16/9}
}
@media (max-width:600px){
  body .nh-tech ul{grid-template-columns:1fr}
}
