/*
  Layout for industry, issue and regulation library pages (the .post-wrap.is-reg template).
  Agreed with Ravi on 10 Nov 2026: card grids line up with the hero's content (its headline and
  image, 1132px wide) and run in 3 columns; text sections keep the 712px reading width.
  Desktop only (992px and up); tablet keeps 2 columns and phone 1, from the shared stylesheet.
  Widths use the page container (cqw) rather than the window (vw), so a visible scrollbar
  doesn't shift the grids.
*/
.sr-page:has(.post-wrap.is-reg) {
  container-type: inline-size;
}

@media screen and (min-width: 992px) {
  .post-wrap.is-reg > .post-body > .w-dyn-list,
  .post-wrap.is-reg > .post-body > .sr-h3.is-reg-section:has(+ .w-dyn-list),
  .post-wrap.is-reg > .ind-cta {
    box-sizing: border-box;
    width: min(1132px, 100cqw - 48px);
    max-width: none;
    margin-left: calc(50% - min(566px, 50cqw - 24px));
  }
  .post-wrap.is-reg .ind-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Yellow link cards (related rules, blog posts) on regulation and issue pages (11 Nov 2026):
   every regulation page uses them; previously only 7 pages carried this style, so the rest showed grey. */
.sr-card.ind-card.is-yellow{background-color:#f8d247;border-color:#f8d247}
.sr-card.ind-card.is-yellow:hover{background-color:#f3c72a}
.sr-card.ind-card.is-yellow .ind-card-text{color:#000000}
.sr-card.ind-card.is-yellow .ind-card-title{font-weight:700}
.sr-card.ind-card.is-yellow .ind-card-kicker,.sr-card.ind-card.is-yellow .ind-card-more{color:#3d3d3d}
