/* Stage 2, cards only. Scoped to the project catalog; no global styles. */
.jp4-page .jp4-list__items.jp2-cases-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border: 0;
  align-items: stretch;
}
.jp4-page .jp2-case { min-width:0; display:flex; margin:0; padding:0; border:1px solid #c9deef; border-radius:12px; background:#fff; transition:border-color .2s,box-shadow .2s,transform .2s; }
.jp4-page .jp2-case:hover { border-color:#76a8d5; box-shadow:0 6px 20px rgba(25,73,128,.08); transform:translateY(-2px); }
.jp4-page .jp2-case__link { box-sizing:border-box; flex:1; min-width:0; display:flex; flex-direction:column; align-items:stretch; padding:24px 24px; color:#153e73; text-decoration:none; border-radius:12px; overflow-wrap:anywhere; }
.jp4-page .jp2-case__link:focus-visible { outline:2px solid #1260ae; outline-offset:3px; }
.jp4-page .jp2-case__top { display:flex; align-items:center; gap:14px; margin:0 0 22px; min-width:0; }
.jp4-page .jp2-case__icon { width:64px; height:64px; flex:0 0 64px; display:grid; place-items:center; color:#194980; background:#eef7fd; border-radius:20px; }
.jp4-page .jp2-case__icon svg { width:38px; height:38px; display:block; shape-rendering:geometricPrecision; }
.jp4-page .jp2-case__category { font-size:14px; line-height:1.3; color:#194980; background:#e2f2fc; border-radius:16px; padding:7px 12px; min-width:0; max-width:100%; font-weight:400; }
.jp4-page .jp2-case__title { color:#194980; font-family:inherit; font-size:22px; line-height:1.32; font-weight:600; margin:0 0 13px; padding:0; text-transform:none; letter-spacing:normal; }
.jp4-page .jp2-case__summary { color:#425970; font-size:15px; line-height:1.56; margin:0 0 22px; padding:0; }
.jp4-page .jp2-case__bottom { margin-top:auto; padding-top:4px; }
.jp4-page .jp2-case__meta { display:flex; flex-wrap:wrap; gap:10px 18px; padding:16px 0 0; margin:0 0 22px; border-top:1px solid #deebf4; }
.jp4-page .jp2-case__meta-item { display:flex; gap:7px; align-items:center; min-width:0; color:#47647f; font-size:13px; line-height:1.4; }
.jp4-page .jp2-case__meta-item svg { width:17px; height:17px; color:#3779b4; flex:0 0 17px; }
.jp4-page .jp2-case__action { display:inline-flex; justify-content:center; align-items:center; gap:16px; width:max-content; max-width:100%; min-height:45px; padding:10px 23px; border:1px solid #194980; border-radius:30px; color:#194980; font-size:15px; font-weight:500; line-height:1.3; transition:background .2s,color .2s; }
.jp4-page .jp2-case__link:hover .jp2-case__action, .jp4-page .jp2-case__link:focus-visible .jp2-case__action { color:#fff; background:#194980; }
.jp4-page .jp2-cases-grid .jp4-empty { grid-column:1/-1; }
@media(max-width:1199px) { .jp4-page .jp4-list__items.jp2-cases-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px;} }
@media(max-width:767px) { .jp4-page .jp4-list__items.jp2-cases-grid {grid-template-columns:minmax(0,1fr); gap:15px;} .jp4-page .jp2-case__link {padding:20px;} .jp4-page .jp2-case__top {margin-bottom:18px;} .jp4-page .jp2-case__icon {width:56px;height:56px;flex-basis:56px;border-radius:18px;} .jp4-page .jp2-case__icon svg {width:33px;height:33px;} .jp4-page .jp2-case__title {font-size:21px;} .jp4-page .jp2-case__summary {font-size:15px;margin-bottom:18px;} .jp4-page .jp2-case__meta {margin-bottom:18px;} }
@media(prefers-reduced-motion:reduce) { .jp4-page .jp2-case,.jp4-page .jp2-case__action {transition:none;} .jp4-page .jp2-case:hover {transform:none;} }

/* BEGIN STAGE2 ICONS V6 — only the top icon, not the card content */
.jp4-page .jp2-case .jp2-case__icon {
  position:relative; isolation:isolate; display:grid; place-items:center;
  width:68px; height:62px; flex:0 0 68px;
  background:transparent; border-radius:0; color:#244b5d;
}
.jp4-page .jp2-case .jp2-case__icon::before {
  content:""; position:absolute; z-index:0; top:0; right:3px;
  width:35px; height:35px; border-radius:50%; background:#dceef5;
  pointer-events:none;
}
.jp4-page .jp2-case .jp2-case__icon svg {
  position:relative; z-index:1; width:64px; height:60px;
  display:block; overflow:visible; shape-rendering:geometricPrecision;
}
.jp4-page .jp2-case .jp2-case__top {gap:14px;}
@media(max-width:767px) {
  .jp4-page .jp2-case .jp2-case__icon {width:58px;height:54px;flex-basis:58px;}
  .jp4-page .jp2-case .jp2-case__icon svg {width:55px;height:51px;}
  .jp4-page .jp2-case .jp2-case__icon::before {width:30px;height:30px;right:2px;}
  .jp4-page .jp2-case .jp2-case__top {gap:12px;}
}
/* END STAGE2 ICONS V6 */

/* BEGIN STAGE2 COURT YEAR V7 */
.jp4-page .jp2-case .jp2-case__meta--court-year {
  display:flex; flex-wrap:wrap; align-items:center; gap:5px 10px;
  padding-top:0; border-top:0; color:#47647f; font-size:13px; line-height:1.4;
}
.jp4-page .jp2-case .jp2-case__meta--court-year .jp2-case__meta-item {
  display:flex; align-items:center; gap:7px; min-width:0; max-width:100%; font-size:inherit; color:inherit;
}
.jp4-page .jp2-case .jp2-case__meta--court-year .jp2-case__meta-item svg {
  width:19px; height:19px; flex:0 0 19px; color:#365f6e;
}
.jp4-page .jp2-case .jp2-case__court-year {
  display:inline-flex; align-items:center; gap:10px; white-space:nowrap;
  font-size:inherit; line-height:1.4; color:inherit;
}
 .jp4-page .jp2-case .jp2-case__court-year time {font:inherit; color:inherit;}
/* END STAGE2 COURT YEAR V7 */

/* BEGIN STAGE2 RESULT FINISH */
.jp4-page .jp2-case .jp2-case__result {box-sizing:border-box;display:flex;align-items:center;gap:14px;min-height:64px;background:#e4f2f9;border-radius:7px;margin:0 0 15px;padding:10px 12px;color:#234a60;overflow-wrap:anywhere;}
.jp4-page .jp2-case .jp2-case__result-icon {display:grid;place-items:center;flex:0 0 42px;align-self:stretch;border-right:1px solid #c9dfe9;padding-right:10px;box-sizing:border-box;}
.jp4-page .jp2-case .jp2-case__result-icon svg {display:block;width:29px;height:29px;}
.jp4-page .jp2-case .jp2-case__result-text {min-width:0;line-height:1.3;}
.jp4-page .jp2-case .jp2-case__result-text small {display:block;margin:0 0 3px;color:#47647f;font-size:12px;font-weight:400;line-height:1.3;}
.jp4-page .jp2-case .jp2-case__result-text strong {display:block;color:#194980;font-size:16px;font-weight:600;line-height:1.3;}
.jp4-page .jp2-case .jp2-case__result--neutral .jp2-case__result-icon {color:#587683;}
.jp4-page .jp2-case .jp2-case__result--neutral strong {font-weight:400;color:#47647f;}
@media(max-width:767px){.jp4-page .jp2-case .jp2-case__result{gap:10px;padding:9px 10px;min-height:58px;}.jp4-page .jp2-case .jp2-case__result-icon{flex-basis:36px;padding-right:8px;}.jp4-page .jp2-case .jp2-case__result-icon svg{width:26px;height:26px;}}
/* END STAGE2 RESULT FINISH */
