.consent-preferences { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding-block: 1rem; }
.consent-preferences [hidden] { display: none !important; }
.consent-preferences a { color: #1d4ed8; text-decoration: underline; text-underline-offset: .2em; padding-block: .65rem; min-height: 44px; }
.consent-preferences button { font: inherit; color: #1d4ed8; background: #fff; border: 1px solid #1d4ed8; border-radius: .75rem; padding: .65rem .9rem; cursor: pointer; min-height: 44px; }
.consent-preferences :is(button, a):focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
.consent-preferences [role="status"] { color: #334155; font-size: .875rem; max-width: 50ch; }
/* No footer, a política pertence à navegação Informações, como os demais links. */
.site-footer .footer-links .consent-preferences { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0; margin: 0; min-width: 0; }
.site-footer .footer-links .consent-preferences button:not([hidden]),.site-footer .footer-links .consent-preferences [role="status"]:not(:empty) { margin-top: .5rem; }
.site-footer .footer-links .consent-preferences a { color: var(--text-secondary); font-size: .9rem; font-weight: 400; line-height: 1.5; text-decoration: none; padding: 0; min-height: 0; }
.site-footer .footer-links .consent-preferences a:hover,.site-footer .footer-links .consent-preferences a:focus-visible { color: var(--primary); text-decoration: underline; }
/* Fallback sem JavaScript: o link continua visível, com tipografia de rodapé. */
.site-footer > .consent-preferences { padding-block: 0 20px; }
.site-footer > .consent-preferences a { color: var(--text-secondary); font-size: .9rem; }
@media (max-width: 620px) {
  .consent-preferences [role="status"]:not(:empty) { padding-inline-end: 76px; }
}
