/* Team block (institution logo rows + marquee) for inner pages. Mirrors the homepage rules in
   css/index.css with the prefix removed; keep the two in sync. */
.hp-cred-k { margin: 44px 0 6px; text-align: center; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-ink-muted); }
.hp-lead .hp-cred-k { margin-top: 8px; }
.about-creds .hp-cred-k { margin-top: 0; }
.hp-cred { padding-block: clamp(72px, 9vw, 120px) !important; background: var(--paper-hi, #FCF3ED) !important; border-block: 1px solid var(--border-paper); }
.hp-cred-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 56px); }
.hp-cred-head .eyebrow { margin: 0 auto; }
.hp-cred-head .h2 { margin: 16px 0 12px; }
.hp-cred-head .lede { margin: 0 auto; max-width: 52ch; }
.hp-cred-grid { display: grid; gap: 0; border-top: 1px solid var(--border-paper); }
.hp-cred-row { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--border-paper); }
.hp-cred-lab { font: 500 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-ink-muted); }
.hp-cred-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; }
.hp-cred-row li { display: flex; align-items: center; opacity: .82; filter: grayscale(1); transition: opacity .25s, filter .25s, transform .25s; }
.hp-cred-row li:hover { opacity: 1; filter: none; transform: translateY(-2px); }
.hp-cred-row img { width: auto; display: block; }
.hp-isb { font: 500 15px/1.15 var(--font-display); color: var(--ink); text-align: left; }
.hp-cred-more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 14.5px; color: var(--text-ink-soft); }
@media (max-width: 760px) {
  .hp-cred-row { grid-template-columns: 1fr; gap: 16px; }
  .hp-cred-row ul { justify-content: flex-start; gap: 18px 26px; }
  .hp-cred-row img { max-height: 28px; }
}
.hp-cred-cta { margin: 26px 0 0; text-align: center; }
#programs .prog-links a, .hp-next .tlink, .pillars .tlink, .hp-cred-cta .btn { transition: color .2s, gap .2s; }
.hp-cred-row img[alt="Y Combinator"] { height: 30px !important; opacity: .85; }
.hp-cred-row li { transition: opacity .25s, filter .25s, transform .3s var(--e); }
@media (max-width: 760px) {
  .hp-cred-row { gap: 14px; padding: 22px 0; }
  .hp-cred-row ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; justify-items: start; align-items: center; }
  .hp-cred-row li { min-height: 34px; }
  .hp-cred-row img { max-height: 26px !important; max-width: 100%; height: auto !important; }
  .hp-cred-row img[alt="Caltech"], .hp-cred-row img[alt="加州理工学院"] { max-height: 20px !important; }
  .hp-cred-row img[alt="Deloitte"], .hp-cred-row img[alt="德勤"], .hp-cred-row img[alt*="Kimi"] { max-height: 18px !important; }
  .hp-cred-row img[alt*="McKinsey"], .hp-cred-row img[alt="麦肯锡"] { max-height: 16px !important; }
  .hp-cred-row img[alt="Y Combinator"] { max-height: 24px !important; }
  .hp-cred-row img[alt*="Tsinghua"], .hp-cred-row img[alt="清华大学"] { max-height: 30px !important; }
  .hp-isb { font-size: 12.5px; }
}
@media (max-width: 760px) {
  .hp-cred-lab { text-align: center; }
  .hp-cred-row ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 26px; }
  .hp-cred-row li { min-height: 32px; }
  .hp-cred-row img[alt="Brown University"], .hp-cred-row img[alt="布朗大学"] { max-height: 30px !important; }
  .hp-cred-row img[alt="Harvard University"], .hp-cred-row img[alt="哈佛大学"] { max-height: 28px !important; }
  .hp-cred-row img[alt*="McKinsey"], .hp-cred-row img[alt="麦肯锡"] { max-height: 18px !important; }
  .hp-isb { font-size: 13px; }
  .hp-isb br { display: none; }
}
@media (max-width: 700px) {
  .hp-cred-row img[alt="International School of Beijing"], .hp-cred-row img[alt="北京顺义国际学校"] { max-height: 32px !important; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .hp-cred-row { grid-template-columns: 1fr; gap: 16px; }
  .hp-cred-lab { text-align: center; }
  .hp-cred-row ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 40px; }
}
