/* =========================================================
   UniSST V211 — ESTRUTURA DE CARDS V205 BLOQUEADA
   Esta folha NÃO alcança seletores estruturais históricos de card.
   O JavaScript apenas marca a mídia existente com pv211-card-art e
   injeta overlays; largura, altura, orientação, rail e grid seguem V205.
   ========================================================= */
:root{--u211-lock:#ffd814;--u211-badge-bg:#fff;--u211-badge-fg:#090909}

/* Contexto exclusivo das sobreposições V211; sem dimensão/orientação. */
html body .pv211-card-art{position:relative!important}

/* Exatamente UM: NOVO, NR ou EM ALTA. Sempre no canto superior direito. */
html body .pv211-academic-card .pv211-course-badge{
 position:absolute!important;z-index:18!important;top:7px!important;right:7px!important;left:auto!important;bottom:auto!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:20px!important;height:20px!important;
 margin:0!important;padding:0 7px!important;border:0!important;border-radius:2px!important;background:var(--u211-badge-bg)!important;color:var(--u211-badge-fg)!important;
 box-shadow:0 2px 8px rgba(0,0,0,.38)!important;font-style:normal!important;font-size:8px!important;font-weight:950!important;line-height:20px!important;
 letter-spacing:.055em!important;text-transform:uppercase!important;white-space:nowrap!important;pointer-events:none!important;
}

/* Cadeado amarelo e marca UniSST: somente overlays, sem afetar geometria. */
html body .pv211-academic-card .pv211-lock-mark{
 position:absolute!important;z-index:16!important;left:10px!important;right:auto!important;bottom:9px!important;top:auto!important;
 display:block!important;width:16px!important;height:16px!important;margin:0!important;padding:0!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffd814' d='M17 9h-1V7a4 4 0 1 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 1 1 4 0v2h-4V7Zm3 9.73V18h-2v-1.27a2 2 0 1 1 2 0Z'/%3E%3C/svg%3E")!important;
 filter:drop-shadow(0 1px 2px rgba(0,0,0,.78))!important;pointer-events:none!important;
}
html body .pv211-academic-card .pv211-logo-mark{
 position:absolute!important;z-index:16!important;right:9px!important;left:auto!important;bottom:8px!important;top:auto!important;
 display:block!important;width:49px!important;height:18px!important;margin:0!important;padding:0!important;background:#fff!important;
 -webkit-mask:url("../unisst-logo.png") center/contain no-repeat!important;mask:url("../unisst-logo.png") center/contain no-repeat!important;
 filter:drop-shadow(0 1px 3px rgba(0,0,0,.78))!important;pointer-events:none!important;
}

/* Nome no hover/foco: sobre a mídia, sem criar faixa, altura ou nova coluna. */
html body .pv211-academic-card .pv211-hover-title{
 position:absolute!important;z-index:15!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;
 display:flex!important;align-items:flex-end!important;min-height:52%!important;margin:0!important;padding:28px 10px 31px!important;border:0!important;
 background:linear-gradient(0deg,rgba(5,5,5,.94) 0%,rgba(5,5,5,.70) 32%,rgba(5,5,5,0) 100%)!important;
 color:#fff!important;font-size:12px!important;font-weight:850!important;line-height:1.2!important;text-shadow:0 2px 8px rgba(0,0,0,.78)!important;
 opacity:0!important;visibility:hidden!important;transition:opacity .15s ease,visibility .15s ease!important;pointer-events:none!important;overflow:hidden!important;
}
html body .pv211-academic-card .pv211-hover-title>span{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
@media(hover:hover) and (pointer:fine){
 html body .pv211-academic-card:hover .pv211-hover-title,html body .pv211-academic-card:focus-visible .pv211-hover-title{opacity:1!important;visibility:visible!important}
}

/* Busca global do cabeçalho: elimina a faixa/sobra interna à direita sem remover o botão de fechar. */
html body .search-drawer form{display:flex!important;align-items:center!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;overflow:hidden!important}
html body .search-drawer form[role="search"] input[name="q"]:not([type]){flex:1 1 auto!important;width:auto!important;min-width:0!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important}
html body .search-drawer form[role="search"] input[name="q"]:not([type]):focus{border:0!important;background:transparent!important;box-shadow:none!important}
html body .search-drawer form button{flex:0 0 28px!important;width:28px!important;height:28px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important}

/* Busca do catálogo: largura útil total, lupa e texto alinhados. */
html body .catalog-v202-page .catalog-search{width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
html body .catalog-v202-page .catalog-search input[name="q"]:not([type]){
 flex:1 1 auto!important;width:100%!important;max-width:none!important;min-width:0!important;height:100%!important;margin:0!important;padding-right:14px!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;
}
/* Remove o vazio excessivo antes de CATÁLOGO UNISST / Cursos. */
html body .catalog-v202-page .catalog-v202-filter-head.catalog-premium-hero{padding-top:0!important;margin-top:24px!important}

@media(max-width:680px){
 html body .pv211-academic-card .pv211-course-badge{top:6px!important;right:6px!important;height:19px!important;min-height:19px!important;padding:0 6px!important;font-size:7px!important;line-height:19px!important}
 html body .pv211-academic-card .pv211-lock-mark{left:8px!important;bottom:7px!important;width:14px!important;height:14px!important}
 html body .pv211-academic-card .pv211-logo-mark{right:7px!important;bottom:6px!important;width:43px!important;height:16px!important}
 html body .pv211-academic-card .pv211-hover-title{display:none!important}
}
@media(prefers-reduced-motion:reduce){html body .pv211-academic-card .pv211-hover-title{transition:none!important}}
