/* Fichas de catálogo y resultados del buscador de la Biblioteca Experimental.
   Lo usan biblioteca.html, El Simulador y las bibliotecas jurídicas (propiedad horizontal).
   La ficha es una tarjeta del fichero de una biblioteca: renglones finos, la cota arriba,
   el orificio abajo. Sólida y sin barra de color al costado. */
.rs-cab{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.rs-t{font-family:var(--fd);font-weight:500;font-size:28px;line-height:1.15;color:var(--green-d,#223f27)}
.rs-quitar{font-family:var(--fd);font-size:13px;color:var(--green,#355E3B);border:1px solid #C9AA7A;border-radius:999px;padding:6px 14px;background:#fff;cursor:pointer}
.rs-pest{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:24px;border-bottom:1px solid #e3d3b2}
.rs-pest button{font-family:var(--fd);font-size:13.5px;color:#4a453c;padding:10px 14px;border:0;background:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer}
.rs-pest button i{font-style:normal;font-size:11.5px;color:#9a8f7b;margin-left:3px}
.rs-pest button[aria-selected="true"]{color:var(--green-d,#223f27);border-bottom-color:var(--green,#355E3B)}
.rs-fichas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.rs-nada{font-size:16px;color:#4a453c}
.rs-nada button{font-family:var(--fd);font-size:13px;color:var(--green,#355E3B);border:1px solid #C9AA7A;border-radius:999px;padding:5px 12px;margin:6px 4px 0 0;background:#fff;cursor:pointer}
.ficha{position:relative;min-width:0}
.fc-link{position:relative;display:flex;flex-direction:column;height:100%;background:#FFFBF3;border:1px solid #e4d4b4;border-radius:4px;
  padding:16px 20px 30px;box-shadow:0 1px 0 #efe3cb,0 10px 24px rgba(74,60,30,.06);transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s;
  background-image:repeating-linear-gradient(180deg,transparent 0,transparent 27px,rgba(53,94,59,.07) 27px,rgba(53,94,59,.07) 28px);background-position:0 58px;color:#1A1C1A;text-decoration:none}
.fc-link:hover,.fc-link:focus-visible{transform:translateY(-4px);box-shadow:0 1px 0 #efe3cb,0 22px 40px rgba(74,60,30,.14);outline:none}
.fc-link:focus-visible{box-shadow:0 0 0 3px #e7c98f,0 22px 40px rgba(74,60,30,.14)}
.fc-cab{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:9px;margin-bottom:10px;border-bottom:1px solid rgba(128,0,32,.35)}
.fc-sig{font-family:var(--fd);font-size:12.5px;letter-spacing:.12em;color:#800020;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-tipo{flex:0 0 auto;font-family:var(--fd);font-size:10px;letter-spacing:.14em;text-transform:uppercase;padding:3px 9px;border-radius:3px;background:#355E3B;color:#F3DFC1}
.fk-calculadora .fc-tipo,.fk-seccion .fc-tipo{background:#5b2a8c;color:#fff}
.fk-libro .fc-tipo,.fk-guia .fc-tipo,.fk-norma .fc-tipo{background:#800020}
.fk-formato .fc-tipo,.fk-doctrina .fc-tipo{background:#6B4B2A}
.fk-sentencia .fc-tipo{background:#2b2d2b}
.fc-tema{font-size:12px;letter-spacing:.04em;color:#8a7a5c;margin-bottom:5px;line-height:1.35}
.fc-t{font-family:var(--fd);font-weight:500;font-size:18px;line-height:1.24;color:#1A1C1A;margin:0 0 8px}
.fc-t mark{background:rgba(227,148,11,.24);color:inherit;border-radius:2px;padding:0 1px}
.fc-e{font-size:14.5px;color:#4a453c;line-height:1.55;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fc-go{margin-top:auto;font-family:var(--fd);font-size:13.5px;color:#355E3B}
.fk-calculadora .fc-go{color:#5b2a8c}
.fc-orificio{position:absolute;left:50%;bottom:9px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:#FAF3E8;box-shadow:inset 0 1px 2px rgba(74,60,30,.28)}
.fc-en{display:block;font-size:12.5px;color:#355E3B;margin-top:6px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){.rs-fichas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rs-fichas{grid-template-columns:1fr}.rs-t{font-size:23px}}
