/* Ajustes compartilhados de leitura e encaixe, sem alterar o tema escolhido. */
body:not(.admin-page) .site-map-tree a,
body:not(.admin-page) .accessibility-reference-links a,
body:not(.admin-page) #libras p > a,
body:not(.admin-page) .information-search-group a { display:inline-flex; align-items:center; min-width:44px; min-height:44px; max-width:100%; overflow-wrap:anywhere; }
body:not(.admin-page) .site-map-tree ul a { padding:8px 0; }
body:not(.admin-page) .project-standard h3 { font-size:20px; line-height:1.4; }
body:not(.admin-page) .project-standard-identity { box-shadow:none; }
body:not(.admin-page) .project-standard-nav > div { flex-wrap:nowrap; align-items:center; gap:24px; overflow-x:auto; padding-block:4px; }
body:not(.admin-page) .project-standard-nav a { flex:none; min-height:48px; }
body:not(.admin-page) .catalog-empty { padding:clamp(24px,4vw,40px); }
body:not(.admin-page) .catalog-empty p { max-width:60ch; }
body:not(.admin-page) .catalog-empty :is(a,button) { min-height:44px; }
/* No contraste, o estado é indicado por contorno e texto, sem um bloco amarelo. */
body.alto-contraste:not(.admin-page) :is(button,button:hover,button[aria-pressed="true"]) { background:#000!important; color:#fff!important; }
body.alto-contraste:not(.admin-page) button:hover { text-decoration:underline; text-underline-offset:.25em; }
body.alto-contraste:not(.admin-page) button[aria-pressed="true"] { border:3px solid #fff!important; }
body.alto-contraste:not(.admin-page) .public-tag-overflow button,
body.alto-contraste:not(.admin-page) .public-tag-overflow button:hover { border:0!important; }
body.alto-contraste:not(.admin-page) .public-tag-overflow button:hover .public-tag-overflow-label { background:#000!important; color:#fff333!important; text-decoration:underline; }
body.alto-contraste:not(.admin-page) .public-header .public-header-search button:hover { background:#000!important; color:#fff!important; }
@media(max-width:760px) {
 body:not(.admin-page) .project-standard-nav > div { gap:20px; }
 body:not(.admin-page) .project-standard-identity { gap:16px; }
 body:not(.admin-page) .site-map-tree { gap:20px; }
}
