/* Shared research cards: identical presentation on the home preview and catalogue. */
.result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.result-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 286px; padding: 23px; background: #fbfdfe; border: 1px solid #cbdade; border-radius: 16px; color: #174762; box-shadow: 0 4px 15px #15313f05; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.result-patent-card { background: #f5fafb; }
.result-software-card { background: #f7fafb; }
.result-card:hover, .result-card:focus-visible { transform: translateY(-5px); border-color: #7394a5; box-shadow: 0 15px 30px #16455e13; }
.result-meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 650; line-height: 1.6; color: #395e70; }
.result-meta time { flex-shrink: 0; color: #687982; font-weight: 500; }
.result-source { display: block; font-size: 13px; line-height: 1.6; color: #63747c; margin-top: 18px; overflow-wrap: anywhere; }
.result-paper-card .result-source { min-height: 42px; }
.result-card h3, .result-card h4 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 750; line-height: 1.55; letter-spacing: 0; color: #16455f; margin: 13px 0 22px; text-wrap: pretty; }
.result-case-summary { font-size: 15px; color: #596b74; line-height: 1.8; margin: 0 0 22px; }
.related-result-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 28px; }
.related-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.related-result-heading h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.4; font-weight: 750; }
.result-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 13px; font-weight: 650; color: #305568; }
.result-chevron { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px dotted #83a1aa; border-radius: 50%; transition: background .2s, color .2s; }
.result-chevron svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.result-card:hover .result-chevron { background: #245167; color: #fff; }
.result-more { display: inline-flex; align-items: center; justify-content: center; padding: 9px 17px; border: 1px solid #a7bfc6; border-radius: 24px; font-size: 15px; font-weight: 650; color: #264d61; white-space: nowrap; line-height: 1.5; transition: background .2s, color .2s; }
.result-more:hover { background: #224f66; color: white; border-color: #224f66; }
.result-card:focus-visible, .result-more:focus-visible { outline: 3px solid #477b95; outline-offset: 4px; }
.home-page .home-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.home-page .home-results-heading h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 750; }
.home-page .home-result-preview > :nth-child(n+5) { display: none; }
@media (max-width: 1100px) {
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-page .home-result-preview > :nth-child(n+3) { display: none; }
  .result-card h3, .result-card h4 { font-size: 21px; }
}
@media (max-width: 560px) {
  .result-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .result-card { min-height: 246px; padding: 24px; }
  .home-page .home-result-preview > :nth-child(n+2) { display: none; }
  .result-card h3, .result-card h4 { font-size: 22px; }
  .result-more { font-size: 14px; padding: 8px 14px; }
}
@media (max-width:760px) { .related-result-grid { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) {
  .result-card, .result-chevron, .result-more { transition: none; }
  .result-card:hover, .result-card:focus-visible { transform: none; }
}
