/* SOLCA Biblioteca Virtual — sitio público.
 * Manual para uso y reproducción de imagen institucional (GC-MAN-001, 2026):
 *   Primarios   #003057 (Pantone 540) · #00538B (Pantone 7462, color de la
 *               marca) · #007CBA (Pantone 7461) · #009ADE (Pantone 2925)
 *   Secundarios #F88D2A (naranja) · #E8B04C (amarillo)
 *   Terciarios  #3A7396 · #4F8CAB · #71A6BE («usar con prudencia»: no se usan)
 *   Web: títulos en Montserrat, texto en Red Hat Display.
 *   Gráfica: mosaico de cuadros y barra vertical de tres colores en los títulos.
 * Los grises no son de la paleta: se derivan del azul para no ensuciarla.
 * Sobre naranja o amarillo el texto va en azul #003057 (contraste 6,7:1);
 * en blanco no se leería (2,4:1). */

.sbv{
	--sbv-azul:#003057;      /* Pantone 540: fondos oscuros, títulos */
	--sbv-azul-2:#00538B;    /* Pantone 7462: color de la marca, botones */
	--sbv-celeste:#007CBA;   /* Pantone 7461: enlaces */
	--sbv-celeste-2:#009ADE; /* Pantone 2925: solo decorativo (bajo contraste) */
	--sbv-naranja:#F88D2A;   /* secundario: acción principal */
	--sbv-amarillo:#E8B04C;  /* secundario: estado activo del naranja */
	--sbv-ink:#003057;
	--sbv-ink-2:#33475B;
	--sbv-titulos:Montserrat,"Red Hat Display",system-ui,sans-serif;
	--sbv-texto:"Red Hat Display",Montserrat,system-ui,sans-serif;
	--sbv-muted:#66768A;
	--sbv-line:#DDE4EC;
	--sbv-line-2:#C4CFDB;
	--sbv-surface:#fff;
	--sbv-surface-2:#F4F7FA;
	--sbv-azul-soft:#E5EEF5;
	--sbv-r:12px;
	font-family:var(--sbv-texto);
	color:var(--sbv-ink-2);
	line-height:1.55;
}
.sbv *,.sbv *::before,.sbv *::after{box-sizing:border-box}
.sbv a{color:var(--sbv-celeste)}
.sbv :focus-visible{outline:3px solid var(--sbv-naranja);outline-offset:2px}
.sbv .sbv-i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sbv-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sbv p{margin:0}
.sbv h1,.sbv h2,.sbv h3{font-family:var(--sbv-titulos);text-transform:none;letter-spacing:normal}
.sbv button,.sbv input,.sbv select{font-family:inherit}
.sbv-main{display:block;width:100%;max-width:none;margin:0;padding:0;float:none}
.sbv-env{max-width:1240px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.sbv-cuerpo{padding-top:36px;padding-bottom:56px}

/* ---------- Botones ---------- */
.sbv-btn{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;margin:0;
	border:1px solid var(--sbv-azul);border-radius:999px;background:var(--sbv-azul);color:#fff!important;
	font:inherit;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none!important;cursor:pointer;
	transition:background .15s,border-color .15s,color .15s;
}
.sbv-btn:hover{background:var(--sbv-azul);border-color:var(--sbv-azul)}
.sbv-btn-acento{background:var(--sbv-naranja);border-color:var(--sbv-naranja);color:var(--sbv-azul)!important}
.sbv-btn-acento:hover{background:var(--sbv-amarillo);border-color:var(--sbv-amarillo)}
.sbv-btn-borde{background:#fff;color:var(--sbv-azul)!important;border-color:var(--sbv-line-2)}
.sbv-btn-borde:hover{background:var(--sbv-azul-soft);border-color:var(--sbv-azul)}
.sbv-btn-claro{background:#fff;color:var(--sbv-azul)!important;border-color:#fff}
.sbv-btn-claro:hover{background:var(--sbv-azul-soft)}
.sbv-btn-borde-claro{background:transparent;border-color:rgba(255,255,255,.5)}
.sbv-btn-borde-claro:hover{background:rgba(255,255,255,.1);border-color:#fff}
.sbv-btn-s{min-height:36px;padding:0 14px;font-size:13.5px}
.sbv-btn-ancho{width:100%}

/* Los temas suelen dar color a todos los botones y enlaces: los de la
   biblioteca mantienen el suyo. */
.sbv a.sbv-btn,.sbv button.sbv-btn,.sbv summary.sbv-btn{background-color:var(--sbv-azul-2)!important;border-color:var(--sbv-azul-2)!important;color:#fff!important;text-transform:none;letter-spacing:normal;box-shadow:none}
.sbv a.sbv-btn:hover,.sbv button.sbv-btn:hover{background-color:var(--sbv-azul)!important;border-color:var(--sbv-azul)!important}
.sbv a.sbv-btn-acento,.sbv button.sbv-btn-acento{background-color:var(--sbv-naranja)!important;border-color:var(--sbv-naranja)!important;color:var(--sbv-azul)!important;font-weight:700}
.sbv a.sbv-btn-acento:hover,.sbv button.sbv-btn-acento:hover{background-color:var(--sbv-amarillo)!important;border-color:var(--sbv-amarillo)!important}
.sbv a.sbv-btn-borde,.sbv button.sbv-btn-borde,.sbv summary.sbv-btn-borde{background-color:#fff!important;border-color:var(--sbv-line-2)!important;color:var(--sbv-azul)!important}
.sbv a.sbv-btn-borde:hover,.sbv button.sbv-btn-borde:hover{background-color:var(--sbv-azul-soft)!important;border-color:var(--sbv-azul)!important}
.sbv a.sbv-btn-claro{background-color:#fff!important;border-color:#fff!important;color:var(--sbv-azul)!important}
.sbv a.sbv-btn-borde-claro{background-color:transparent!important;border-color:rgba(255,255,255,.5)!important}
.sbv a.sbv-item-img,.sbv a.sbv-tipo,.sbv a.sbv-autor-card,.sbv a.sbv-chip{text-decoration:none!important}
.sbv button{text-transform:none;letter-spacing:normal}
.sbv .sbv-vistas button,.sbv .sbv-letras button,.sbv .sbv-visor-tabs button,.sbv .sbv-visor-abrir{box-shadow:none;font-family:inherit}
.sbv .sbv-vistas button{background:#fff!important;color:var(--sbv-muted)!important}
.sbv .sbv-vistas button.is-on{background:var(--sbv-azul)!important;color:#fff!important}
.sbv .sbv-letras button{background:#fff!important;color:var(--sbv-azul)!important}
.sbv .sbv-letras button.is-on{background:var(--sbv-azul)!important;color:#fff!important}

/* ---------- Cabecera ---------- */
.sbv-hero{position:relative;overflow:hidden;padding:30px 0 40px;background:var(--sbv-azul);color:#fff}
.sbv{--sbv-mosaico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3' shape-rendering='crispEdges'%3E%3Crect width='1' height='1' fill='%23E8B04C'/%3E%3Crect x='2' width='1' height='1' fill='%2300538B'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23003057'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23007CBA'/%3E%3Crect y='2' width='1' height='1' fill='%23009ADE'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23F88D2A'/%3E%3C/svg%3E")}
/* Mosaico de cuadros del manual, en la esquina inferior: arriba suele ir el menú del tema. */
.sbv-hero::after{
	content:"";position:absolute;right:0;bottom:5px;width:150px;height:150px;
	background:var(--sbv-mosaico) no-repeat center/100% 100%;pointer-events:none;
}
/* Franja de colores de la marca al pie de la cabecera. */
.sbv-hero::before{
	content:"";position:absolute;left:0;right:0;bottom:0;height:5px;z-index:1;
	background:linear-gradient(90deg,var(--sbv-naranja) 0 25%,var(--sbv-amarillo) 25% 50%,var(--sbv-celeste-2) 50% 75%,var(--sbv-azul-2) 75% 100%);
}
.sbv-hero .sbv-env{position:relative;z-index:1;padding-right:170px}
.sbv-migas{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:4px 8px;margin:0 0 20px;font-size:13.5px;color:rgba(255,255,255,.7)}
.sbv .sbv-migas a{color:#fff;text-decoration:none}
.sbv .sbv-migas a:hover{text-decoration:underline}
.sbv-hero-g{position:relative;z-index:1;display:flex;align-items:center;gap:28px}
.sbv-hero-c{min-width:0;max-width:920px}
.sbv-hero-sup{margin:0 0 6px!important;font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--sbv-naranja)}
.sbv h1.sbv-hero-t{margin:0;padding:0;font-size:clamp(26px,3.4vw,40px);font-weight:600;line-height:1.2;color:#fff}
.sbv-hero-autores{margin-top:12px!important;font-size:16px}
.sbv .sbv-hero-autores a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:3px}
.sbv .sbv-hero-autores a:hover{text-decoration-color:#fff}
.sbv-hero-lead{margin-top:10px!important;font-size:16px;color:rgba(255,255,255,.85)}
.sbv-hero-cta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px!important}
.sbv-hero-foto{flex:none;width:150px;height:150px;border-radius:50%;overflow:hidden;border:4px solid rgba(255,255,255,.18);background:#fff}
.sbv-hero-foto img{width:100%;height:100%;object-fit:cover;display:block}
.sbv-hero-foto .sbv-ini{width:100%;height:100%;font-size:44px}
.sbv-ini{display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--sbv-azul-soft);color:var(--sbv-azul);font-weight:700;letter-spacing:.03em}

/* ---------- Secciones ---------- */
.sbv-sec{margin:0 0 40px}
.sbv-sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.sbv-sec-h .sbv-sec-t{margin:0}
.sbv-sec-h a{font-weight:600;font-size:14.5px;text-decoration:none}
.sbv h2.sbv-sec-t,.sbv h2.sbv-bloque-t{position:relative;padding-left:14px}
.sbv h2.sbv-sec-t::before,.sbv h2.sbv-bloque-t::before{content:"";position:absolute;left:0;top:.15em;bottom:.15em;width:5px;background:linear-gradient(var(--sbv-naranja) 0 34%,var(--sbv-celeste-2) 34% 67%,var(--sbv-azul) 67% 100%)}
.sbv-ficha h2.sbv-bloque-t{padding-left:0}
.sbv-ficha h2.sbv-bloque-t::before{content:none}
.sbv h2.sbv-sec-t{margin:0 0 16px;font-size:clamp(20px,2.3vw,26px);font-weight:600;line-height:1.25;color:var(--sbv-azul)}
.sbv-bloque{margin:0 0 32px}
.sbv h2.sbv-bloque-t{margin:0 0 12px;font-size:19px;font-weight:600;color:var(--sbv-azul)}
.sbv-vacio{padding:24px;border:1px dashed var(--sbv-line-2);border-radius:var(--sbv-r);text-align:center;color:var(--sbv-muted)}
.sbv-vacio p+p{margin-top:8px}

/* ---------- Buscador y barra ---------- */
.sbv-buscador-c{
	display:flex;align-items:center;gap:10px;flex:1;min-width:0;height:50px;padding:0 16px;
	border:1px solid var(--sbv-line-2);border-radius:999px;background:#fff;color:var(--sbv-muted);
}
.sbv-buscador-c:focus-within{border-color:var(--sbv-azul);box-shadow:0 0 0 3px rgba(0,48,87,.12)}
.sbv-buscador-c input{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0!important;background:none!important;box-shadow:none!important;font:inherit;font-size:16px;color:var(--sbv-ink);outline:none}
.sbv-l-barra{display:flex;gap:10px;margin-bottom:24px}

/* ---------- Listado ---------- */
.sbv-l-g{display:grid;grid-template-columns:270px minmax(0,1fr);gap:32px;align-items:start}
.sbv-filtros-m{display:none}
.sbv h2.sbv-filtros-t{margin:0 0 12px;font-size:20px;font-weight:600;color:var(--sbv-azul)}
.sbv-faceta{margin:0 0 10px;border:1px solid var(--sbv-line);border-radius:10px;background:#fff}
.sbv-faceta > summary{
	display:flex;align-items:center;justify-content:space-between;padding:12px 14px;cursor:pointer;list-style:none;
	font-weight:600;color:var(--sbv-azul);background:var(--sbv-surface-2);border-radius:10px;
}
.sbv-faceta > summary::-webkit-details-marker{display:none}
.sbv-faceta > summary::after{content:"+";font-size:20px;line-height:1;color:var(--sbv-muted)}
.sbv-faceta[open] > summary{border-radius:10px 10px 0 0;border-bottom:1px solid var(--sbv-line)}
.sbv-faceta[open] > summary::after{content:"−"}
.sbv-faceta ul{list-style:none;margin:0;padding:6px 10px}
.sbv-faceta li{margin:0}
.sbv-faceta label{display:flex;align-items:flex-start;gap:8px;padding:6px 4px;font-size:14px;cursor:pointer;border-radius:6px}
.sbv-faceta label:hover{background:var(--sbv-surface-2)}
.sbv-faceta input[type=checkbox]{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:var(--sbv-azul)}
.sbv-faceta-n{flex:1;min-width:0;color:var(--sbv-ink-2)}
.sbv-faceta-c{flex:none;min-width:26px;padding:0 7px;border-radius:999px;background:var(--sbv-azul-soft);color:var(--sbv-azul);font-size:12px;font-weight:600;text-align:center;line-height:20px}
.sbv-mas > summary{padding:4px 14px 10px;font-size:13.5px;font-weight:600;color:var(--sbv-celeste);cursor:pointer;list-style:none}
.sbv-mas > summary::-webkit-details-marker{display:none}
.sbv-mas[open] > summary{display:none}
.sbv-anios{display:flex;gap:10px;padding:12px 14px}
.sbv-anios label{display:flex;flex-direction:column;gap:4px;flex:1;font-size:13px;color:var(--sbv-muted)}
.sbv-anios select,.sbv-r-ctl select{height:38px;padding:0 10px;border:1px solid var(--sbv-line-2);border-radius:8px;background:#fff;font:inherit;font-size:14px;color:var(--sbv-ink)}
.sbv-filtros-acc{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.sbv-filtros-acc .sbv-btn{min-height:40px;font-size:14px}
/* Con JavaScript los filtros se aplican solos al marcarlos. */
.sbv-js .sbv-filtros-acc button[type=submit]{display:none}

.sbv-activos{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px;padding:0}
.sbv-activos li{margin:0}
.sbv .sbv-activo{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:var(--sbv-azul);color:#fff;font-size:13.5px;text-decoration:none}
.sbv .sbv-activo:hover{background:var(--sbv-azul-2)}

.sbv-r-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding-bottom:12px;margin-bottom:6px;border-bottom:2px solid var(--sbv-azul)}
.sbv-r-n{font-size:14px;color:var(--sbv-muted)}
.sbv-r-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.sbv-r-ctl label{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--sbv-muted)}
.sbv-vistas{display:inline-flex;border:1px solid var(--sbv-line-2);border-radius:8px;overflow:hidden}
.sbv-vistas button{display:flex;align-items:center;justify-content:center;width:38px;height:36px;margin:0;padding:0;border:0;background:#fff;color:var(--sbv-muted);cursor:pointer}
.sbv-vistas button.is-on{background:var(--sbv-azul);color:#fff}

.sbv-res{list-style:none;margin:0;padding:0}
.sbv-item{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;margin:0;padding:20px 0;border-bottom:1px solid var(--sbv-line)}
.sbv-item-img{display:block;align-self:start;aspect-ratio:3/4;border:1px solid var(--sbv-line);border-radius:6px;overflow:hidden;background:var(--sbv-surface-2)}
.sbv-item-img img{width:100%;height:100%;object-fit:cover;display:block}
.sbv-sin-img{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;padding:10px;text-align:center;background:linear-gradient(160deg,var(--sbv-azul-soft),#fff);color:var(--sbv-azul)}
.sbv-sin-img .sbv-i{width:34px;height:34px;stroke-width:1.5}
.sbv-sin-img span{font-size:11px;font-weight:600;line-height:1.25}
.sbv-item-c{min-width:0}
.sbv-badge{display:inline-block;margin-bottom:6px;padding:2px 10px;border-radius:999px;background:var(--sbv-azul-soft);color:var(--sbv-azul);font-size:12px;font-weight:600}
.sbv h3.sbv-item-t{margin:0 0 6px;font-size:18px;font-weight:600;line-height:1.35}
.sbv h3.sbv-item-t a{color:var(--sbv-azul);text-decoration:none}
.sbv h3.sbv-item-t a:hover{color:var(--sbv-celeste);text-decoration:underline}
.sbv-item-a{font-size:14px;color:var(--sbv-ink-2)}
.sbv-item-m{margin-top:2px!important;font-size:13.5px;color:var(--sbv-muted)}
.sbv-item-r{margin-top:8px!important;font-size:14.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sbv-item-x{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:10px!important;font-size:13px;color:var(--sbv-muted)}
.sbv-x{display:inline-flex;align-items:center;gap:5px}
.sbv-x .sbv-i{width:16px;height:16px}
.sbv .sbv-x-desc{font-weight:600;color:var(--sbv-celeste);text-decoration:none}
.sbv .sbv-x-desc:hover{text-decoration:underline}

/* Cuadrícula */
.sbv-res-cuadricula{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;padding-top:14px}
.sbv-res-cuadricula .sbv-item{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid var(--sbv-line);border-radius:var(--sbv-r);background:#fff;transition:box-shadow .15s,border-color .15s}
.sbv-res-cuadricula .sbv-item:hover{border-color:var(--sbv-azul);box-shadow:0 10px 24px rgba(0,48,87,.10)}
.sbv-res-cuadricula .sbv-item-img{width:100%;aspect-ratio:4/3}
.sbv-res-cuadricula h3.sbv-item-t{font-size:16px}
.sbv-res-cuadricula .sbv-item-r{-webkit-line-clamp:2}

/* Compacta (portada y relacionados) */
.sbv-res-compacta .sbv-item{grid-template-columns:64px minmax(0,1fr);gap:14px;padding:14px 0}
.sbv-res-compacta h3.sbv-item-t{font-size:16px}

/* Paginación */
.sbv-pag{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:26px}
.sbv-pag a,.sbv-pag span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border-radius:8px;font-weight:600;text-decoration:none}
.sbv .sbv-pag a{border:1px solid var(--sbv-line-2);color:var(--sbv-azul)}
.sbv .sbv-pag a:hover{border-color:var(--sbv-azul);background:var(--sbv-azul-soft)}
.sbv-pag [aria-current]{background:var(--sbv-azul);color:#fff}
.sbv-pag-gap{color:var(--sbv-muted)}

/* ---------- Documento ---------- */
.sbv-doc{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start}
.sbv-doc-lado{position:sticky;top:24px;display:flex;flex-direction:column;gap:12px}
.sbv-portada{border:1px solid var(--sbv-line);border-radius:var(--sbv-r);overflow:hidden;background:var(--sbv-surface-2);aspect-ratio:3/4}
.sbv-portada img,.sbv-item-img img,.sbv-autor-foto img,.sbv-hero-foto img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block}
.sbv-portada .sbv-sin-img .sbv-i{width:56px;height:56px}
.sbv-portada .sbv-sin-img span{font-size:14px}
.sbv-lado-sec{margin-top:8px;padding:16px;border:1px solid var(--sbv-line);border-radius:var(--sbv-r);background:#fff}
.sbv h2.sbv-lado-t{margin:0 0 10px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sbv-azul)}
.sbv-archivos{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sbv-archivos li{display:flex;align-items:flex-start;gap:10px;margin:0}
.sbv-ext{flex:none;min-width:42px;padding:4px 6px;border-radius:5px;background:var(--sbv-azul);color:#fff;font-size:11px;font-weight:700;text-align:center}
.sbv-archivo-c{display:flex;flex-direction:column;min-width:0;font-size:14px;word-break:break-word}
.sbv-archivo-c a{font-weight:600;text-decoration:none}
.sbv-archivo-c a:hover{text-decoration:underline}
.sbv-archivo-c small{color:var(--sbv-muted);font-size:12.5px}
.sbv-descargas{display:flex;align-items:center;gap:6px;margin-top:12px!important;font-size:13px;color:var(--sbv-muted)}
.sbv-clasif + .sbv-clasif{margin-top:12px}
.sbv .sbv-clasif h3{margin:0 0 6px;font-size:12.5px;font-weight:600;color:var(--sbv-muted)}
.sbv-chips{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0}
.sbv-chips li{margin:0}
.sbv .sbv-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid var(--sbv-line-2);border-radius:999px;background:#fff;color:var(--sbv-azul);font-size:13.5px;text-decoration:none}
.sbv .sbv-chip:hover{border-color:var(--sbv-azul);background:var(--sbv-azul-soft)}
.sbv-chip span{font-size:12px;color:var(--sbv-muted)}
.sbv-compartir{display:flex;flex-wrap:wrap;gap:6px}

.sbv-resumen{font-size:16px;line-height:1.7;color:var(--sbv-ink)}
.sbv-resumen p+p{margin-top:12px}

.sbv-visor{border:1px solid var(--sbv-line);border-radius:var(--sbv-r);overflow:hidden;background:var(--sbv-surface-2)}
.sbv-visor-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:8px;border-bottom:1px solid var(--sbv-line);background:#fff}
.sbv-visor-tabs button{padding:6px 12px;border:0;border-radius:6px;background:none;font:inherit;font-size:13.5px;color:var(--sbv-azul);cursor:pointer}
.sbv-visor-tabs button[aria-selected=true]{background:var(--sbv-azul);color:#fff}
.sbv-visor-c{position:relative;height:min(78vh,900px)}
.sbv-visor-c iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.sbv-visor-abrir{position:relative;display:block;width:100%;height:100%;margin:0;padding:0;border:0;background:var(--sbv-surface-2);cursor:pointer;overflow:hidden}
.sbv .sbv-visor-abrir{background:var(--sbv-surface-2)!important;color:inherit!important;border-radius:0}
.sbv-visor-abrir img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:top;filter:blur(2px) brightness(.9)}
.sbv-visor-abrir .sbv-sin-img{width:100%;height:100%}
.sbv-visor-abrir .sbv-sin-img .sbv-i{width:72px;height:72px;opacity:.5}
.sbv-visor-abrir .sbv-sin-img span{display:none}
.sbv-visor-cta{
	position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:8px;
	padding:12px 22px;border-radius:999px;background:var(--sbv-azul);color:#fff;font-size:16px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.25);white-space:nowrap;
}
.sbv-visor-abrir:hover .sbv-visor-cta{background:var(--sbv-azul-2)}
.sbv-visor-pie{padding:10px 14px;border-top:1px solid var(--sbv-line);background:#fff;font-size:13.5px}

.sbv-videos{display:grid;gap:18px}
.sbv-video{margin:0}
.sbv-video-m{position:relative;aspect-ratio:16/9;border-radius:var(--sbv-r);overflow:hidden;background:#000}
.sbv-video-m iframe,.sbv-video-m video,.sbv-video-m .wp-video{position:absolute;inset:0;width:100%!important;height:100%!important}
.sbv .sbv-video-enlace{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--sbv-line);border-radius:var(--sbv-r);background:#fff;color:var(--sbv-azul);text-decoration:none!important}
.sbv .sbv-video-enlace:hover{border-color:var(--sbv-azul);background:var(--sbv-azul-soft)}
.sbv-video-play{display:flex;align-items:center;justify-content:center;flex:none;width:52px;height:52px;border-radius:50%;background:var(--sbv-azul);color:#fff}
.sbv-video-play .sbv-i{width:24px;height:24px}
.sbv-video-enlace > span:nth-child(2){display:flex;flex-direction:column;flex:1;min-width:0}
.sbv-video-enlace small{color:var(--sbv-muted);font-size:13px}
.sbv-video figcaption{margin-top:8px;font-size:14px;color:var(--sbv-muted)}

.sbv-galeria{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:0;padding:0}
.sbv-galeria li{margin:0}
.sbv-galeria a{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--sbv-surface-2)}
.sbv-galeria img{width:100%!important;height:100%!important;max-width:none;object-fit:cover;display:block;transition:transform .25s}
.sbv-galeria a:hover img{transform:scale(1.04)}

.sbv-cita{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px 18px;border-left:4px solid var(--sbv-naranja);border-radius:0 var(--sbv-r) var(--sbv-r) 0;background:var(--sbv-surface-2)}
.sbv-cita p{font-size:15px;color:var(--sbv-ink)}

.sbv-ficha > summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:12px 16px;border:1px solid var(--sbv-line);border-radius:var(--sbv-r);background:var(--sbv-surface-2)}
.sbv-ficha > summary::-webkit-details-marker{display:none}
.sbv-ficha > summary .sbv-bloque-t{margin:0!important}
.sbv-ficha > summary::after{content:"+";font-size:22px;line-height:1;color:var(--sbv-muted)}
.sbv-ficha[open] > summary{border-radius:var(--sbv-r) var(--sbv-r) 0 0}
.sbv-ficha[open] > summary::after{content:"−"}
.sbv-tabla{width:100%;margin:0;border-collapse:collapse;border:1px solid var(--sbv-line);border-top:0;font-size:14.5px}
.sbv-tabla th,.sbv-tabla td{padding:10px 16px;border-bottom:1px solid var(--sbv-line);text-align:left;vertical-align:top}
.sbv-tabla th{width:34%;font-weight:600;color:var(--sbv-muted);background:#fff}
.sbv-tabla tr:nth-child(even) th,.sbv-tabla tr:nth-child(even) td{background:var(--sbv-surface-2)}
.sbv-tabla td{word-break:break-word;color:var(--sbv-ink)}

.sbv-relacionados{padding-bottom:56px}

.sbv-lightbox{width:100vw;max-width:100vw;height:100vh;max-height:100vh;margin:0;padding:0;border:0;background:rgba(5,20,35,.94);color:#fff}
.sbv-lightbox::backdrop{background:rgba(5,20,35,.94)}
.sbv-lightbox[open]{display:flex;align-items:center;justify-content:center}
.sbv-lightbox figure{margin:0;max-width:min(1100px,88vw);text-align:center}
.sbv-lightbox img{max-width:100%;max-height:82vh;object-fit:contain;border-radius:6px}
.sbv-lightbox figcaption{margin-top:10px;font-size:14px;color:rgba(255,255,255,.8)}
.sbv-lb-x,.sbv-lb-nav{position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.sbv-lb-x:hover,.sbv-lb-nav:hover{background:rgba(255,255,255,.25)}
.sbv-lb-x{top:16px;right:16px}
.sbv-lb-ant{left:16px;top:50%;transform:translateY(-50%)}
.sbv-lb-sig{right:16px;top:50%;transform:translateY(-50%)}
.sbv-lightbox .sbv-i{width:24px;height:24px}

/* ---------- Autor ---------- */
.sbv-autor-g{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start;margin-bottom:36px}
.sbv-stats{list-style:none;display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0}
.sbv-stats li{display:flex;flex-direction:column;min-width:150px;margin:0;padding:14px 18px;border:1px solid var(--sbv-line);border-top:3px solid var(--sbv-naranja);border-radius:var(--sbv-r);background:#fff}
.sbv-stats strong{font-size:26px;line-height:1.2;color:var(--sbv-azul)}
.sbv-stats span{font-size:13px;color:var(--sbv-muted)}
.sbv-coautores ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sbv-coautores li{display:flex;justify-content:space-between;gap:8px;margin:0;font-size:14px}
.sbv-coautores a{text-decoration:none;font-weight:600}
.sbv-coautores span{color:var(--sbv-muted)}

.sbv-autores{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin:0;padding:0}
.sbv-autores li{margin:0}
.sbv-autores li[hidden]{display:none}
.sbv .sbv-autor-card{display:flex;align-items:center;gap:14px;height:100%;padding:14px;border:1px solid var(--sbv-line);border-radius:var(--sbv-r);background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.sbv .sbv-autor-card:hover{border-color:var(--sbv-azul);box-shadow:0 8px 20px rgba(0,48,87,.08)}
.sbv-autor-foto{flex:none;width:64px;height:64px;border-radius:50%;overflow:hidden;background:var(--sbv-azul-soft)}
.sbv-autor-foto img{width:100%;height:100%;object-fit:cover;display:block}
.sbv-autor-foto .sbv-ini{width:100%;height:100%;font-size:20px}
.sbv-autor-c{display:flex;flex-direction:column;min-width:0}
.sbv-autor-n{font-weight:600;color:var(--sbv-azul);line-height:1.3}
.sbv-autor-cargo{font-size:13px;color:var(--sbv-ink-2)}
.sbv-autor-docs{margin-top:2px;font-size:12.5px;color:var(--sbv-muted)}
.sbv-letras{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 14px}
.sbv-letras button{min-width:34px;height:34px;padding:0 8px;border:1px solid var(--sbv-line-2);border-radius:8px;background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--sbv-azul);cursor:pointer}
.sbv-letras button:hover:not(:disabled){border-color:var(--sbv-azul)}
.sbv-letras button.is-on{background:var(--sbv-azul);border-color:var(--sbv-azul);color:#fff}
.sbv-letras button:disabled{opacity:.35;cursor:default}
.sbv-indice .sbv-r-n{margin-bottom:12px}

/* ---------- Portada [biblioteca_inicio] ---------- */
.sbv-buscador{margin:0 0 40px;padding:32px;border-radius:20px;background:var(--sbv-azul);color:#fff;position:relative;overflow:hidden}
.sbv-buscador::after{content:"";position:absolute;right:0;bottom:0;width:96px;height:96px;background:var(--sbv-mosaico) no-repeat center/100% 100%;transform:rotate(180deg);pointer-events:none}
.sbv-buscador-f,.sbv-buscador-n{padding-right:0}
.sbv h2.sbv-buscador-t{position:relative;z-index:1;margin:0 0 18px;font-size:clamp(22px,2.8vw,30px);font-weight:600;color:#fff}
.sbv-buscador-f{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px}
.sbv-buscador-f .sbv-buscador-c{flex:1 1 320px;border-color:#fff}
.sbv-buscador-f select{height:50px;padding:0 16px;border:0;border-radius:999px;background:#fff;font:inherit;font-size:15px;color:var(--sbv-ink);max-width:100%}
.sbv-buscador-f .sbv-btn{min-height:50px;padding:0 28px}
.sbv-buscador-n{position:relative;z-index:1;margin-top:16px!important;font-size:14.5px;color:rgba(255,255,255,.85)}
.sbv-buscador-n strong{color:#fff}
.sbv .sbv-buscador-n a{color:#fff;font-weight:600}

.sbv-tipos{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin:0;padding:0}
.sbv-tipos li{margin:0}
.sbv .sbv-tipo{display:flex;flex-direction:column;gap:8px;height:100%;padding:18px;border:1px solid var(--sbv-line);border-radius:var(--sbv-r);background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.sbv .sbv-tipo:hover{border-color:var(--sbv-azul);box-shadow:0 10px 24px rgba(0,48,87,.10);transform:translateY(-2px)}
.sbv-tipo-i{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:var(--sbv-azul-soft);color:var(--sbv-azul)}
.sbv-tipo-i .sbv-i{width:24px;height:24px}
.sbv-tipo-n{font-weight:600;line-height:1.3;color:var(--sbv-azul)}
.sbv-tipo-c{font-size:13px;color:var(--sbv-muted)}

.sbv-inicio-g{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:36px;align-items:start}
.sbv-inicio-lado .sbv-sec{margin-bottom:28px}

/* ---------- Tableta ---------- */
@media (max-width:1024px){
	.sbv-doc{grid-template-columns:minmax(0,1fr) 280px;gap:28px}
	.sbv-inicio-g{grid-template-columns:1fr}
	.sbv-autor-g{grid-template-columns:1fr}
}
@media (max-width:860px){
	.sbv-l-g{grid-template-columns:1fr;gap:16px}
	/* Filtros plegados detrás de un botón. */
	.sbv-js .sbv-filtros-m{display:block}
	.sbv-js .sbv-filtros-m > summary{list-style:none;width:100%}
	.sbv-js .sbv-filtros-m > summary::-webkit-details-marker{display:none}
	.sbv-js .sbv-filtros-c{display:none;margin-top:12px}
	.sbv-js .sbv-filtros.is-abierto .sbv-filtros-c{display:block}
	.sbv-js .sbv-filtros-c .sbv-filtros-t{display:none}
	.sbv-doc{grid-template-columns:1fr}
	.sbv-doc-lado{position:static;order:-1;display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;align-items:start}
	.sbv-doc-lado .sbv-portada{grid-row:span 2}
	.sbv-doc-lado .sbv-lado-sec{grid-column:1 / -1;margin-top:0}
}
/* ---------- Teléfono ---------- */
@media (max-width:640px){
	.sbv-env{padding-left:16px;padding-right:16px}
	.sbv-cuerpo{padding-top:24px;padding-bottom:40px}
	.sbv-hero{padding:22px 0 64px}
	/* En el teléfono el mosaico va chico y debajo del texto, sin taparlo. */
	.sbv-hero::after{width:48px;height:48px}
	.sbv-hero .sbv-env{padding-right:16px}
	.sbv-buscador::after{width:60px;height:60px}
	.sbv-hero-g{flex-direction:column;align-items:flex-start;gap:16px}
	.sbv-hero-foto{width:110px;height:110px}
	.sbv-l-barra .sbv-btn{padding:0 16px}
	.sbv-r-h{align-items:flex-start;flex-direction:column}
	.sbv-item{grid-template-columns:76px minmax(0,1fr);gap:14px}
	.sbv h3.sbv-item-t{font-size:16px}
	.sbv-item-r{-webkit-line-clamp:2}
	.sbv-res-cuadricula{grid-template-columns:1fr 1fr;gap:10px}
	.sbv-res-cuadricula .sbv-item{padding:10px}
	.sbv-res-cuadricula .sbv-item-r,.sbv-res-cuadricula .sbv-item-x{display:none}
	.sbv-doc-lado{grid-template-columns:110px minmax(0,1fr)}
	.sbv-visor-c{height:auto;aspect-ratio:3/4}
	.sbv-tabla th,.sbv-tabla td{display:block;width:auto;padding:6px 14px}
	.sbv-tabla th{padding-top:12px;border-bottom:0}
	.sbv-buscador{padding:22px 18px;border-radius:16px}
	.sbv-buscador-f select,.sbv-buscador-f .sbv-btn{flex:1 1 100%}
	.sbv-tipos{grid-template-columns:1fr 1fr;gap:10px}
	.sbv .sbv-tipo{padding:14px}
	.sbv-autores{grid-template-columns:1fr}
	.sbv-lb-nav{top:auto;bottom:20px;transform:none}
}
@media (prefers-reduced-motion:reduce){
	.sbv *{transition:none!important}
}
@media print{
	.sbv-filtros,.sbv-l-barra,.sbv-r-ctl,.sbv-compartir,.sbv-visor,.sbv-pag{display:none!important}
	.sbv-hero{background:none;color:#000}
	.sbv h1.sbv-hero-t{color:#000}
}
