/* 1.2.0-rc22 · Result cards: searched words, category, file size, members-only lock and auto filters. */
#cpds-document-search .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* Searched words in the title */
#cpds-document-search .cpds-card h3 mark.cpds-hit{padding:0 1px;border-radius:3px;background:linear-gradient(transparent 58%,rgba(184,242,78,.75) 58%);color:inherit;font-weight:900}

/* Meta line: every label is for screen readers, each value carries a small icon */
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item dt{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item dt::before{content:none!important;display:none!important}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item dd{color:#53665a}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item dd::before{content:"";display:inline-block;width:14px;height:14px;margin-right:5px;vertical-align:-2px;background-position:center;background-repeat:no-repeat;background-size:14px 14px}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item--category dd::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23048b37' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item--date dd::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c28013' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E")}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item--size dd::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232874c6' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9zM14 3v6h6'/%3E%3C/svg%3E")}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item--downloads dd::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315975a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 17v4h16v-4'/%3E%3C/svg%3E")}

/* «Socios» label (only when the page mixes open and members-only documents) */
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item--access dd{display:inline-flex;align-items:center;padding:2px 9px 2px 7px;border-radius:40px;background:#07301f;color:#b8f24e!important;font-weight:800!important}
section#cpds-document-search .cpds-card .cpds-meta .cpds-meta__item--access dd::before{width:12px;height:12px;margin-right:4px;background-size:12px 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8f24e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")}

/* Lock inside «Descargar» and the note above the results */
#cpds-document-search .cpds-lock{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#cpds-document-search .cpds-download.cpds-download--members::before{content:none!important;display:none!important}
#cpds-document-search .cpds-download--members .cpds-lock{margin-right:6px;vertical-align:-2px}
#cpds-document-search .cpds-access-note,#cpds-document-search .cpds-match-note{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:6px 0 0;color:#40554a;font-size:13px;line-height:1.4}
#cpds-document-search .cpds-access-note a{color:#048b37;font-weight:700;text-decoration:underline;text-underline-offset:2px}
#cpds-document-search .cpds-access-note .cpds-lock{color:#048b37}
#cpds-document-search .cpds-match-note{display:block;padding:8px 12px;border-radius:12px;background:#fff7e0;color:#5d4a10}

/* Filters that apply themselves: the button is only for visitors without JavaScript */
#cpds-document-search .cpds-filters-hint{margin:0;font-size:12px;line-height:1.35}
#cpds-document-search .cpds-filters-hint[hidden]{display:none!important}
@media(min-width:841px){#cpds-document-search .cpds-filters form>.cpds-filters-hint{grid-column:1/-1;grid-row:3}}
#cpds-document-search.cpds--auto-filters .cpds-filters-submit{display:none!important}
/* Phones and tablets: one filter per row (before rc22 the ids placed the selects in three squeezed columns) */
@media(max-width:840px){section#cpds-document-search .cpds-filters form>label,section#cpds-document-search .cpds-filters form>select,section#cpds-document-search .cpds-filters form>button,section#cpds-document-search .cpds-filters form>.cpds-filters-hint{grid-column:1/-1!important;grid-row:auto!important;width:100%}}
@media(prefers-reduced-motion:reduce){#cpds-document-search .cpds-card h3 mark.cpds-hit{transition:none}}
