
.pqr-page { padding-top:var(--masthead-height,88px); }
html { scroll-padding-top:calc(var(--masthead-height,88px) + 16px); }
.pqr-site-header { position:fixed; inset:0 0 auto; z-index:1000; background:#FFF9F0; color:#4500C8; transition:transform 280ms ease; }
.pqr-site-header.is-hidden:not(.menu-open):not(:has(:focus-visible)) { transform:translateY(-100%); }
.pqr-site-header .header { width:min(92%,78rem); margin-inline:auto; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:1rem; padding-block:.65rem; }
.pqr-site-header .wordmark { display:block; position:relative; width:clamp(104px,11vw,146px); }
.pqr-site-header .wordmark img { display:block; width:100%; height:auto; }
.pqr-site-header .wordmark img:first-child { opacity:0; }
.pqr-site-header .wordmark-violet { position:absolute; inset:0; }
.pqr-site-header #menu-principal { display:contents; }
.pqr-site-header .nav-links { display:flex; align-items:center; justify-content:center; gap:clamp(.7rem,2vw,1.8rem); }
.pqr-site-header a { color:#4500C8; text-decoration:none; }
.pqr-site-header .nav-links a { display:flex; align-items:center; min-height:44px; font-size:.77rem; font-weight:400; white-space:nowrap; }
.pqr-site-header .nav-links [aria-current] { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:8px; }
.pqr-site-header .header-icons { display:flex; justify-self:end; align-items:center; gap:.5rem; }
.pqr-site-header .header-icons > :is(span,a) { display:grid; place-items:center; width:1.65rem; min-height:44px; }
.pqr-site-header .header-icons svg { width:1.2rem; height:1.2rem; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pqr-site-header .menu-toggle { display:none; }
@media(max-width:768px) {
 .pqr-site-header .header { grid-template-columns:1fr auto; }
 .pqr-site-header .wordmark { width:110px; }
 .pqr-site-header .menu-toggle { display:grid; place-items:center; width:44px; height:44px; background:transparent; border:1px solid #4500C8; border-radius:12px; color:#4500C8; cursor:pointer; }
 .pqr-site-header .menu-cross { display:none; }
 .pqr-site-header .menu-toggle[aria-expanded="true"] .menu-bars { display:none; }
 .pqr-site-header .menu-toggle[aria-expanded="true"] .menu-cross { display:block; }
 .pqr-site-header #menu-principal { display:none; position:absolute; inset:100% 0 auto; background:#FFF9F0; padding:1rem 4%; border-bottom:1px solid #4500C830; box-shadow:0 12px 16px #4500C810; max-height:calc(100dvh - var(--masthead-height,80px)); overflow-y:auto; }
 .pqr-site-header .menu-toggle[aria-expanded="true"] + #menu-principal { display:grid; gap:.7rem; }
 .pqr-site-header .nav-links { flex-direction:column; align-items:stretch; gap:.25rem; }
 .pqr-site-header .header-icons { justify-self:start; gap:1rem; }
}
@media(prefers-reduced-motion:reduce){.pqr-site-header{transition:none;}}

.pqr-controls { max-width:none; }
.pqr-tag-picker { grid-column:1/-1; min-width:0; }
.pqr-selected-tags { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.6rem; }
.pqr-selected-tags:empty { margin:0; }
.pqr-selected-tag { display:inline-flex; align-items:center; min-height:44px; border:1px solid #4500C8; border-radius:2rem; padding:.4rem .8rem; background:#EEE8F7; color:#4500C8; font:inherit; font-size:.85rem; cursor:pointer; }
.pqr-filter-help { font-size:.8rem; margin:.5rem 0 0; }
.pqr-clear-filters { background:none; border:0; font:inherit; font-size:.85rem; color:#4500C8; text-decoration:underline; cursor:pointer; padding:.5rem 0; min-height:44px; }
@media(min-width:769px){.pqr-controls{grid-template-columns:repeat(2,minmax(0,1fr));}.pqr-tag-picker>label{max-width:calc(50% - .375rem);}}
@media(max-width:768px){.pqr-controls{grid-template-columns:1fr;}}
.pqr-site-header,.pqr-site-header #menu-principal { background:#4500C8; color:#FFFFFF; }
.pqr-site-header a { color:#FFFFFF; }
.pqr-site-header .wordmark img:first-child { opacity:1; }
.pqr-site-header .wordmark-violet { opacity:0; }
.pqr-site-header .nav-links [aria-current] { color:#FFD700; text-decoration-color:#FFD700; }
.pqr-site-header .menu-toggle { color:#FFFFFF; border-color:#FFFFFF; }
.pqr-site-header :focus-visible { outline-color:#FFD700; }
