body[data-gravity-public] .gs-matrix {
  background: #f4f1ea;
  color: #142a40;
  padding: clamp(55px,7vw,100px) 0;
}
.gs-matrix .gsm-heading { max-width: 48rem; margin-bottom: 2rem; }
.gs-matrix .gsm-heading h2 { color: #142a40; margin: .5rem 0 .75rem; line-height: 1.04; }
.gs-matrix .gsm-heading p { color: #455a6e; }
.gs-matrix .gsm-heading .gs-kicker { color: #77511e; }
.gsm-card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; }
.gsm-card-grid article {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.15rem;
  border-radius: 9px;
  background: #fffdfa;
  border: 1px solid #d7d9d8;
  border-top: 4px solid #8ebada;
  color: #142a40;
}
.gsm-card-grid article:nth-child(-n+2) { background: #0c2036; border-color: #0c2036; border-top-color: #e6c580; color: #fffdfa; }
.gs-matrix .gsm-card-grid :is(h3,p) { margin: 0; color: inherit; }
.gs-matrix .gsm-card-grid h3 { font-size: 1.12rem; line-height: 1.35; min-height: 2.7em; }
.gs-matrix .gsm-card-grid p { font-size: .95rem; line-height: 1.5; }
.gs-matrix .gsm-card-grid .gsm-price { font-size: clamp(1.25rem,2.2vw,1.9rem); font-weight: 750; line-height: 1.15; }
.gs-matrix .gsm-card-grid article:nth-child(-n+2) .gsm-price { color: #e6c580; }
.gsm-card-grid strong { margin: auto 0 .2rem; padding-top: .55rem; }
.gsm-card-links { display: grid; gap: .4rem; }
.gs-matrix .gsm-card-links a, .gs-matrix .gsm-sheets a {
  color: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .23em;
}
.gs-matrix .gsm-card-links a:focus-visible, .gs-matrix summary:focus-visible, .gsm-table-scroll:focus-visible, .gs-matrix .gsm-sheets a:focus-visible {
  outline: 2px solid #337bb1;
  outline-offset: 3px;
}
.gsm-compare, .gsm-sheets { margin-top: clamp(2rem,4vw,3rem); }
.gs-matrix :is(.gsm-compare,.gsm-sheets) > h3 { color: #142a40; font-size: 1.7rem; margin: 0 0 .4rem; }
.gs-matrix :is(.gsm-compare,.gsm-sheets) > p { color: #455a6e; margin: 0 0 .9rem; }
.gsm-compare details { margin: .55rem 0 0; background: #fffdfa; border: 1px solid #d7d9d8; border-radius: 7px; }
.gsm-compare summary { padding: .85rem 1rem; font-weight: 700; color: #142a40; cursor: pointer; }
.gsm-table-scroll { overflow-x: auto; }
.gs-matrix table { width: 100%; min-width: 740px; border-collapse: collapse; table-layout: fixed; }
.gs-matrix table caption { text-align: left; color: #455a6e; padding: .45rem 1rem; font-size: .85rem; }
.gs-matrix :is(th,td) { vertical-align: top; text-align: left; padding: .6rem .85rem; line-height: 1.4; border-top: 1px solid #d7d9d8; font-size: .9rem; }
.gs-matrix thead th { background: #e5f0f7; color: #142a40; }
.gs-matrix tbody th { width: 18%; color: #142a40; }
.gs-matrix tbody td { color: #455a6e; }
.gsm-sheets > div { display: flex; flex-wrap: wrap; gap: .7rem; }
.gs-matrix .gsm-sheets a { background: #e5f0f7; border-radius: 4px; padding: .55rem .75rem; }
.gsm-terms { border-top: 1px solid #d7d9d8; padding-top: .8rem; margin-top: 1.8rem; }
.gs-matrix .gsm-terms p { margin: .35rem 0; color: #455a6e; font-size: .83rem; line-height: 1.5; }
@media(max-width: 980px) { .gsm-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 560px) {
 .gsm-card-grid { grid-template-columns: 1fr; }
 .gs-matrix .gsm-card-grid h3 { min-height: 0; }
}
