/* Logotipo da UCS em painel branco (proporção 1200:607). */
.ac-header-logo.ucs-logo{width:180px;height:auto;aspect-ratio:1200/607;padding:0;background:#fff}
.ucs-logo>img{display:block;width:100%;height:100%;object-fit:contain}
body#acervo-root.ucs-hub .ac-hub-layout .ucs-logo{width:100%;max-width:320px;height:auto;aspect-ratio:1200/607;padding:0;background:#fff}
@media(max-width:859px){
  .ucs-hub .ac-header-id{flex-direction:column;align-items:center;gap:20px}
  .ucs-hub .ac-header-text{text-align:center}
  body#acervo-root.ucs-hub .ac-hub-layout .ucs-logo{max-width:280px}
}

/* Hub no padrão do Acervo: cards de edição em grade de 5 colunas. */
body#acervo-root.ucs-hub .ac-edicao-card .ac-ec-label{font-family:Inter,sans-serif;font-weight:800;color:#12345b;font-size:18px;line-height:1.25}
body#acervo-root.ucs-hub .ac-edicao-card--catalogada .ac-ec-label{color:#12345b}
.ucs-hub .ac-edicao-card:focus-visible{outline:3px solid #b8850b;outline-offset:3px}
@media(min-width:860px){body#acervo-root.ucs-hub .ac-fase-grupo:only-child .ac-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Cards compactos, com a mesma hierarquia da UDESC. */
.ucs-hub .ac-edicao-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;min-height:86px}
@media(max-width:480px){.ucs-hub .ac-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}}

/* Resoluções UCS: uma operação por etapa. */
.ac-resolucao-reveal>p{line-height:1.65}.ucs-equacao{margin:16px 0}.ucs-equacao .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:4px 0}.ac-alt>div{min-width:0;flex:1}
@media(max-width:600px){.ucs-equacao .katex-display,.ucs-equacao .katex-display>.katex{text-align:left}}
