/*
Theme Name: CAPI Site
Theme URI: https://capi.icb.ufmg.br
Description: Tema do CAPI (ICB/UFMG) — port fiel do HTML aprovado pelo cliente, com conteúdo administrável via ACF + CPTs. Markup e CSS idênticos ao protótipo HTML.
Version: 0.1.0
Author: Potato
Text Domain: capi-site
*/

/* Kill stray horizontal scroll from decorative/off-canvas elements on small
   screens. `clip` (not `hidden`) so position:sticky keeps working. */
body { overflow-x: clip; }

/* A11y: visually-hidden but available to screen readers. */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Fallback views (404, search, redirect stub) — no design art; reuse the site type/colors. */
.fallback { padding: 6rem var(--inset, 6%) 8rem; color: #fff; font-family: var(--font); letter-spacing: var(--track); }
.fallback__title { margin: 0 0 1.5rem; font-size: 2.6rem; font-style: italic; font-weight: 700; text-transform: uppercase; }
.fallback__text { margin: 0 0 1rem; font-size: 1.3rem; font-weight: 300; }
.fallback__list { list-style: none; padding: 0; margin: 0 0 2rem; }
.fallback__list li { margin: 0 0 1.25rem; }
.fallback__link { display: inline-block; font-style: italic; font-size: 1.3rem; color: var(--teal); }
.fallback__link:hover { text-decoration: underline; }
@media (max-width: 60rem) { .fallback { padding: 3rem 6% 4rem; } }
