
/* Compact partner marks, contact icons, and navigable context. */
.social-contact{display:flex!important;align-items:center;gap:.5rem}
.social-contact img{width:19px;height:19px;object-fit:contain;flex:0 0 19px}
.itemtop{display:flex;align-items:center;gap:.55rem;min-width:0}
.itemtop .meta{margin-left:auto;white-space:nowrap}
.card-logos{display:inline-flex;align-items:center;justify-content:flex-end;gap:.38rem;margin-left:auto;max-width:42%;overflow:hidden}
.card-logos a{display:inline-flex;align-items:center;justify-content:center;min-width:0}
.card-logos img{display:block;max-width:52px;max-height:32px;width:auto;height:auto;object-fit:contain}
.case-logos{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin:0 0 1.15rem}
.case-logos a,.case-logos>img{display:inline-flex;align-items:center}
.case-logos img{width:auto;height:auto;max-width:110px;max-height:54px;object-fit:contain}
.publisher-logo img,.partner-logo img{max-width:105px;max-height:48px}
.participation-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.15rem}
.participation-tags span{background:#f2f0ea;color:#3d4a59;padding:.25rem .5rem;font-size:.78rem;line-height:1.35}
.metrics-note{margin:.5rem 0 1.5rem;color:#5d6262;font-size:.88rem}
.contextual-related{border-top:1px solid #d8d7cf;margin:3rem auto 0;padding:2rem 0 1.5rem;max-width:var(--content-width,1200px)}
.contextual-related>div+div{margin-top:1.7rem}
.contextual-related h2{font-size:1.45rem;margin:0 0 .75rem}
.contextual-related ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:.75rem 2rem;list-style:none;margin:0;padding:0}
.contextual-related li{line-height:1.45}.contextual-related a{color:#233955;text-decoration:none}.contextual-related a:hover{text-decoration:underline}
@media(max-width:700px){.card-logos img{max-width:42px;max-height:28px}.contextual-related{margin-top:2rem}.contextual-related ul{grid-template-columns:1fr}}

/* Related projects in the case sidebar */
.articlelayout aside .related-projects{margin:1.5rem 0 0;padding-top:1.1rem;border-top:1px solid var(--line,#dddcd4)}
.articlelayout aside .related-projects h2{margin:0 0 .85rem}
.related-projects ul{list-style:none;margin:0;padding:0}
.related-projects li+li{margin-top:.72rem}
.related-projects a{display:inline-block;overflow-wrap:anywhere;color:var(--ink,#202833);line-height:1.42}
.related-projects .related-projects-all{margin-top:.9rem;font-size:.88em}

/* A common header height aligns titles across catalogue cards. */
article.item.compact .itemtop {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:12px;min-height:54px;width:100%;
}
article.item.compact .card-meta {
  display:grid;min-width:0;align-content:center;row-gap:3px;
}
article.item.compact .card-meta .eyebrow,
article.item.compact .card-meta .meta {
  margin:0;white-space:normal;overflow-wrap:anywhere;
}
article.item.compact .itemtop .card-logos {
  --mark-width:94px;--mark-height:48px;
  display:flex;align-items:center;justify-content:flex-end;justify-self:end;gap:8px;
  width:auto;max-width:none;margin:0;overflow:visible;
}
article.item.compact .itemtop .card-logos[data-many] {--mark-width:66px;--mark-height:44px}
/* Explicit link dimensions keep linked SVGs clickable in WebKit. */
article.item.compact .itemtop .card-logos > * {
  display:flex;align-items:center;justify-content:center;flex:none;
  width:var(--mark-width);height:var(--mark-height);min-width:var(--mark-width);
}
article.item.compact .itemtop .card-logos > * > img {
  display:block;width:100%;height:100%;max-width:none;max-height:none;
  object-fit:contain;object-position:center right;
}
article.item.compact .itemtop .card-logos[data-many] > * > img {object-position:center}
article.item.compact .card-support-marks {width:100%;margin-top:.45rem}
article.item.compact .card-support-marks .card-logos {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  width:100%;max-width:none;gap:8px 12px;overflow:visible;
}
article.item.compact .card-support-marks .card-logos > * {
  display:flex;align-items:center;justify-content:center;flex:none;width:67px;height:33px;
}
article.item.compact .card-support-marks .card-logos img {
  display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;
}
aside .case-logos.brand-detail {
  display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px;margin:0 0 1.35rem;
}
aside .case-logos.brand-detail img {
  display:block;width:auto;height:auto;max-width:132px;max-height:62px;object-fit:contain;
}
.card-logos a:focus-visible,.case-logos a:focus-visible {outline:2px solid #304760;outline-offset:3px}
.card-logos img[hidden],.case-logos img[hidden],.brand-fallback[hidden] {display:none!important}
.brand-fallback {
  max-width:82px;overflow-wrap:anywhere;text-align:right;font-size:.71rem;
  line-height:1.15;font-weight:600;color:#455263;
}
@media(max-width:420px){
  article.item.compact .itemtop {gap:8px;min-height:49px}
  article.item.compact .itemtop .card-logos {--mark-width:84px;--mark-height:44px}
  article.item.compact .itemtop .card-logos[data-many] {--mark-width:56px;--mark-height:40px}
}
.articlelayout .prose {
  min-width: 0;
  overflow-wrap: anywhere;
}
