/* =========================================================
   Novedades · Biblioteca UMarista
   Programa de identidad: marino, rojo, azul, blanco.
   ========================================================= */
:root {
  --marino: #103C63;
  --marino-900: #0A2844;
  --marino-800: #0D3255;
  --marino-700: #174a78;
  --azul: #3572B7;
  --azul-300: #8FB6E3;
  --azul-100: #E3EDF8;
  --rojo: #D70F34;
  --rojo-700: #B00C2A;
  --blanco: #FFFFFF;
  --tinta: #0B2440;
  --tinta-2: #3E5875;
  --papel: #F2F6FB;
  --linea: rgba(16, 60, 99, .14);
  --linea-fuerte: rgba(16, 60, 99, .28);
  --sobre-marino: #C9DAEE;   /* texto secundario sobre marino */
  --sobre-marino-2: #92AFCF;

  --f: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 6px;
  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --shadow-book: 0 1px 1px rgba(10, 40, 68, .18), 0 10px 24px -8px rgba(10, 40, 68, .45);
  --shadow-lift: 0 2px 4px rgba(10, 40, 68, .2), 0 22px 40px -14px rgba(10, 40, 68, .55);

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--marino-900); }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--rojo); color: var(--blanco); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .resources :focus-visible, .footer :focus-visible, .viewer :focus-visible { outline-color: #fff; }
input { caret-color: var(--rojo); }
* { scrollbar-width: thin; scrollbar-color: var(--azul-300) transparent; }
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: var(--azul-300); border-radius: 8px; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--rojo); color: #fff; padding: .6rem 1rem; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Tipografía display ---------- */
.hero__title, .shelf__title, .section-title, .timeline__title, .sheet__title, .ebsco__name {
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: .95;
  text-wrap: balance;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.35rem; border-radius: var(--r); border: 0;
  font-weight: 700; font-stretch: 105%; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--red { background: var(--rojo); color: #fff; box-shadow: 0 8px 20px -10px rgba(215, 15, 52, .8); }
.btn--red:hover { background: var(--rojo-700); transform: translateY(-1px); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); background: transparent; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.06); }
.btn--navy { background: var(--marino); color: #fff; }
.btn--navy:hover { background: var(--marino-700); }

.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.iconbtn:hover { background: rgba(255,255,255,.1); }
.iconbtn--dark { color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--marino-900); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__in { max-width: var(--wrap); margin-inline: auto; padding: .55rem var(--gut); display: flex; align-items: center; gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; margin-right: auto; }
.brand img { width: 150px; height: auto; }
.brand__sep { width: 1px; height: 28px; background: rgba(255,255,255,.3); }
.brand__lib { font-weight: 700; font-stretch: 112%; letter-spacing: .01em; font-size: 1.02rem; }
.mainnav { display: flex; gap: .25rem; }
.mainnav a { padding: .55rem .85rem; border-radius: var(--r); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--sobre-marino); transition: color .2s, background-color .2s; }
.mainnav a:hover, .mainnav a.is-current { color: #fff; background: rgba(255,255,255,.07); }
.menutrigger { display: none; }
.mobilemenu { position: sticky; top: calc(66px + env(safe-area-inset-top, 0px)); z-index: 49; background: var(--marino-900); border-bottom: 1px solid rgba(255,255,255,.1); }
.mobilemenu nav { display: grid; padding: .5rem var(--gut) 1rem; }
.mobilemenu a { color: #fff; text-decoration: none; padding: .85rem 0; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ---------- HERO ---------- */
.hero {
  position: relative; background: var(--marino); color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero::before { /* la U del escudo como marca de agua arquitectónica */
  content: ""; position: absolute; z-index: -1;
  width: min(62vw, 760px); aspect-ratio: 400 / 474; right: -12%; top: -18%;
  background: url("../img/u-blanco.png") center / contain no-repeat;
  opacity: .045;
}
.hero__grid {
  max-width: var(--wrap); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gut) clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); align-items: end;
}
.hero__title { margin: 0 0 1.4rem; display: grid; }
.hero__month { font-size: clamp(3.3rem, 8.4vw, 6rem); }
.hero__year { font-size: clamp(3.3rem, 8.4vw, 6rem); color: var(--azul-300); font-weight: 300; font-stretch: 112%; }
.hero__lede { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.25; margin: 0 0 .75rem; max-width: 24ch; text-wrap: balance; }
.hero__lede strong { color: #fff; background: var(--rojo); padding: 0 .3em; border-radius: 3px; font-weight: 800; }
.hero__sub { color: var(--sobre-marino); max-width: 44ch; margin: 0 0 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Mesa de novedades */
.table { position: relative; padding-bottom: 22px; }
.table__books {
  list-style: none; margin: 0; padding: 0 2% 0;
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(.5rem, 1.4vw, 1.1rem);
  min-height: clamp(220px, 30vw, 380px);
}
.table__books li { flex: 1 1 0; max-width: 170px; transform-origin: 50% 100%; }
.table__books li:nth-child(1) { --tilt: -3deg; --h: .82; }
.table__books li:nth-child(2) { --tilt: 1.5deg; --h: .92; }
.table__books li:nth-child(3) { --tilt: 0deg; --h: 1; }
.table__books li:nth-child(4) { --tilt: -1.2deg; --h: .9; }
.table__books li:nth-child(5) { --tilt: 2.5deg; --h: .8; }
.table__books button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  transform: rotate(var(--tilt)) scale(var(--h)); transform-origin: 50% 100%;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.table__books button:hover, .table__books button:focus-visible { transform: rotate(0deg) scale(calc(var(--h) + .05)) translateY(-10px); }
.table__books .cover { box-shadow: var(--shadow-book), 0 30px 30px -22px rgba(0,0,0,.5); }
.table__ledge {
  position: absolute; left: -2%; right: -2%; bottom: 0; height: 22px;
  background: var(--rojo); border-radius: 2px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.55), inset 0 2px 0 rgba(255,255,255,.18);
}
.table__ledge::after { content: ""; position: absolute; inset: auto 0 -8px; height: 8px; background: var(--rojo-700); border-radius: 0 0 2px 2px; }

/* ---------- Portada (imagen o portada tipográfica) ---------- */
.cover {
  position: relative; aspect-ratio: 2 / 3; width: 100%;
  border-radius: 2px 4px 4px 2px; overflow: hidden; background: var(--azul-100);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { /* bisagra del lomo */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7%;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.12) 55%, rgba(0,0,0,0));
  pointer-events: none;
}
.cover--type {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 12% 11% 11% 16%; color: #fff; background: var(--marino-800);
}
.cover--type[data-tone="1"] { background: var(--azul); }
.cover--type[data-tone="2"] { background: var(--rojo); }
.cover--type[data-tone="3"] { background: var(--marino-700); }
.cover { container-type: inline-size; }
.cover--type:has(.label) { padding-bottom: 46%; }
.cover--type .ct-title { font-weight: 800; font-stretch: 105%; line-height: 1.05; font-size: 11.5cqw; overflow-wrap: anywhere; hyphens: auto; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.cover--type .ct-author { font-size: 7cqw; opacity: .85; line-height: 1.25; }
.cover--type .ct-rule { width: 28%; height: 3px; background: currentColor; opacity: .6; margin: .6rem 0; }

/* Etiqueta de lomo LC */
.label {
  position: absolute; left: 9%; bottom: 6%; z-index: 2;
  background: #fff; color: var(--tinta); border-radius: 2px;
  padding: .28rem .38rem .3rem; min-width: 3.4rem;
  font-size: .62rem; line-height: 1.15; font-weight: 700; font-stretch: 90%;
  letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.label span { display: block; }
.label::before { content: ""; display: block; height: 3px; margin: -.28rem -.38rem .25rem; background: var(--rojo); border-radius: 2px 2px 0 0; }

/* ---------- TIMELINE ---------- */
.timeline { max-width: var(--wrap); margin-inline: auto; padding: 1.25rem var(--gut) clamp(1.75rem, 3vw, 2.5rem); position: relative; }
.timeline__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); }
.timeline__title { font-size: 1.15rem; letter-spacing: -.01em; margin: 0; }
.timeline__meta { margin: 0; color: var(--sobre-marino-2); font-size: .92rem; margin-right: auto; }
.timeline__controls { display: flex; align-items: center; gap: .25rem; }
.timeline__scroller { overflow-x: auto; overscroll-behavior-x: contain; margin-top: 1rem; padding-bottom: .5rem; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.timeline__track { display: flex; align-items: flex-end; gap: 3px; height: 118px; padding-inline: 1.25rem; width: max-content; position: relative; }
.yr { display: flex; align-items: flex-end; gap: 3px; height: 100%; position: relative; padding-bottom: 22px; scroll-snap-align: start; }
.yr + .yr { margin-left: 10px; }
.yr__label { position: absolute; left: 0; bottom: 0; font-size: .72rem; font-weight: 700; color: var(--sobre-marino-2); letter-spacing: .04em; }
.bar {
  --v: 0; position: relative; width: 11px; height: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; align-items: flex-end;
}
.bar::before {
  content: ""; display: block; width: 100%; border-radius: 2px 2px 0 0;
  height: max(3px, calc(var(--v) * 100%));
  background: var(--azul); opacity: .85;
  transition: background-color .25s var(--ease), opacity .25s, transform .35s var(--ease);
  transform-origin: bottom;
}
.bar[data-empty]::before { background: rgba(255,255,255,.18); }
.bar:hover::before { background: var(--azul-300); opacity: 1; }
.bar.is-on::before { background: var(--rojo); opacity: 1; }
.bar.is-on::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; border-radius: 50%; background: var(--rojo); transform: translateX(-50%); }
.timeline__tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: #fff; color: var(--tinta); border-radius: var(--r); padding: .4rem .6rem; font-size: .82rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.5); opacity: 0; transform: translate(-50%, -6px); transition: opacity .15s;
}
.timeline__tip b { color: var(--rojo); }

.select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--linea-fuerte); border-radius: var(--r);
  padding: .62rem 2.2rem .62rem .85rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23103C63' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .6rem center / 16px no-repeat;
  font-weight: 600; font-size: .92rem; cursor: pointer; min-height: 44px;
}
.select--dark { background-color: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.select--dark option { color: var(--tinta); }

/* ---------- ESTANTE ---------- */
.shelf { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); background: var(--papel); outline: none; }
.shelf__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; margin-bottom: 1.5rem; }
.shelf__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 .45rem; color: var(--marino); }
.shelf__meta { margin: 0; color: var(--tinta-2); }
.shelf__meta b { color: var(--tinta); }
.shelf__tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: .8rem; color: var(--tinta-2); }
.search input, .input {
  border: 1px solid var(--linea-fuerte); border-radius: var(--r); background: #fff; min-height: 44px;
  padding: .62rem .9rem .62rem 2.5rem; width: min(300px, 70vw); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.input { padding-left: .9rem; width: 100%; max-width: 420px; }
.search input:focus, .input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(53,114,183,.22); }
::placeholder { color: #5E7690; opacity: 1; }

.seg { display: inline-flex; padding: 3px; border-radius: calc(var(--r) + 3px); background: #fff; border: 1px solid var(--linea-fuerte); }
.seg__btn { border: 0; background: none; padding: 0 .65rem; min-height: 38px; min-width: 40px; border-radius: var(--r); cursor: pointer; color: var(--tinta-2); display: inline-grid; place-items: center; font-weight: 600; font-size: .9rem; transition: background-color .2s, color .2s; }
.seg__btn.is-on { background: var(--marino); color: #fff; }
.seg__btn:not(.is-on):hover { background: var(--azul-100); color: var(--marino); }
.seg--text { flex-wrap: wrap; }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--linea); }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 38px;
  padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--linea-fuerte); background: #fff;
  font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--tinta); transition: all .2s var(--ease);
}
.chip i { font-style: normal; font-size: .76rem; color: var(--tinta-2); font-weight: 700; }
.chip:hover { border-color: var(--azul); }
.chip.is-on { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip.is-on i { color: #DCE8F6; }
.chip__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--azul)); }
.chip.is-on .chip__dot { background: #fff; }

/* Rejilla de portadas */
.books { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2.2vw, 2rem); }
.book { position: relative; animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.book__btn { all: unset; box-sizing: border-box; display: block; cursor: pointer; width: 100%; border-radius: 4px; }
.book__btn:focus-visible { outline: 3px solid var(--azul); outline-offset: 6px; }
.book .cover { box-shadow: var(--shadow-book); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.book__btn:hover .cover, .book__btn:focus-visible .cover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lift); }
.book__new { position: absolute; top: 8px; right: -6px; z-index: 3; background: var(--rojo); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 2px; box-shadow: 0 4px 10px -4px rgba(215,15,52,.8); }
.book__star { position: absolute; top: 8px; left: -6px; z-index: 3; display: inline-flex; align-items: center; gap: .28rem; background: var(--marino); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .45rem; border-radius: 2px; box-shadow: 0 4px 10px -4px rgba(16,60,99,.8); }
.book__star svg { width: .78rem; height: .78rem; fill: currentColor; flex: none; }
.book__text { display: block; min-width: 0; }
.book__title { display: -webkit-box; margin: .95rem 0 .25rem; font-size: .98rem; line-height: 1.25; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.book__author { display: block; margin: 0; font-size: .86rem; color: var(--tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book__foot { display: flex; align-items: center; gap: .45rem; margin-top: .5rem; font-size: .76rem; color: var(--tinta-2); font-weight: 600; }
.book__area { display: inline-flex; align-items: center; gap: .35rem; }
.book__area::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--azul)); }

/* Vista lista */
.books[data-view="list"] { grid-template-columns: 1fr; gap: 0; background: #fff; border-radius: 8px; border: 1px solid var(--linea); }
.books[data-view="list"] .book + .book { border-top: 1px solid var(--linea); }
.books[data-view="list"] .book__btn { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: .9rem 1.2rem; }
.books[data-view="list"] .book__btn:hover { background: var(--azul-100); }
.books[data-view="list"] .cover { box-shadow: 0 1px 3px rgba(10,40,68,.3); }
.books[data-view="list"] .book__btn:hover .cover { transform: none; box-shadow: 0 1px 3px rgba(10,40,68,.3); }
.books[data-view="list"] .label, .books[data-view="list"] .book__new { display: none; }
.books[data-view="list"] .book__star { position: static; margin: 0 0 .35rem; }
.books[data-view="list"] .cover--type .ct-title { font-size: .45rem; -webkit-line-clamp: 4; }
.books[data-view="list"] .cover--type .ct-author, .books[data-view="list"] .cover--type .ct-rule { display: none; }
.books[data-view="list"] .book__title { margin-top: 0; -webkit-line-clamp: 1; }
.books[data-view="list"] .book__foot { margin-top: .3rem; }
.book__call { display: none; }
.books[data-view="list"] .book__call { display: block; font-weight: 700; font-size: .82rem; color: var(--marino); background: var(--azul-100); padding: .3rem .55rem; border-radius: 4px; white-space: nowrap; }

/* Estado vacío / mes no cargado */
.empty { margin-top: 1.5rem; padding: clamp(2rem, 5vw, 3.5rem); background: #fff; border: 1px solid var(--linea); border-radius: 10px; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: center; }
.empty__num { font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 800; font-stretch: 112%; color: var(--marino); line-height: .9; letter-spacing: -.03em; }
.empty h3 { margin: 0 0 .4rem; font-size: 1.3rem; font-stretch: 108%; }
.empty p { margin: 0 0 1.1rem; color: var(--tinta-2); max-width: 60ch; }
.empty .btn { font-size: .95rem; }

/* ---------- RECURSOS ---------- */
.resources { background: var(--azul); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; overflow: hidden; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); color: var(--marino); }
.section-title--light { color: #fff; max-width: 18ch; }
.res-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 2.5vw, 2rem); }
.ebsco {
  position: relative; display: flex; flex-direction: column; gap: 1rem; text-decoration: none;
  background: var(--marino); border-radius: 10px; padding: clamp(1.75rem, 3.5vw, 2.75rem); min-height: 360px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(5, 25, 45, .8);
}
.ebsco::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; background: url("../img/u-blanco.png") center / contain no-repeat; opacity: .07; }
.ebsco:hover { transform: translateY(-4px); }
.ebsco__tag { align-self: flex-start; font-size: .78rem; font-weight: 700; background: var(--rojo); padding: .3rem .6rem; border-radius: 3px; letter-spacing: .02em; }
.ebsco__name { font-size: clamp(3.5rem, 8vw, 6rem); line-height: .85; margin-top: auto; }
.ebsco__desc { color: var(--sobre-marino); max-width: 40ch; }
.ebsco__go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem; }
.ebsco:hover .ebsco__go svg { transform: translate(3px, -3px); }
.ebsco__go svg { transition: transform .3s var(--ease); }

.reslist { list-style: none; margin: 0; padding: 0; background: #fff; color: var(--tinta); border-radius: 10px; overflow: hidden; }
.reslist li + li { border-top: 1px solid var(--linea); }
.resrow {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
  padding: 1.15rem 1.4rem; transition: background-color .2s;
}
.resrow:hover { background: var(--azul-100); }
.resrow:focus-visible { outline: 3px solid var(--azul) !important; outline-offset: -3px; }
.resrow__type { grid-row: span 2; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--rojo); }
.resrow__name { font-weight: 700; font-size: 1.12rem; font-stretch: 106%; }
.resrow__desc { grid-column: 2; font-size: .9rem; color: var(--tinta-2); }
.resrow__ico { grid-row: 1 / span 2; grid-column: 3; color: var(--azul); width: 1.4em; height: 1.4em; transition: transform .3s var(--ease); }
.resrow:hover .resrow__ico { transform: scale(1.12); }
.shelf .reslist { margin-top: 1.25rem; }

.open-db { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem 2rem; }
.open-db__title { margin: 0; font-size: 1.5rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; line-height: 1.05; }
.open-db__lede { margin: .5rem 0 0; color: #E2ECF8; grid-column: 1; grid-row: 2; }
.open-db__list { grid-column: 2; grid-row: 1 / span 3; list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.open-db__list li { break-inside: avoid; border-bottom: 1px solid rgba(255,255,255,.22); }
.open-db__list a { display: block; padding: .8rem 0; text-decoration: none; font-weight: 600; line-height: 1.3; transition: transform .3s var(--ease); }
.open-db__list a span { display: block; font-weight: 500; font-size: .82rem; color: #DCE8F6; }
.open-db__list a:hover { transform: translateX(.4rem); }
.link-more { grid-column: 1; align-self: start; display: inline-flex; gap: .45rem; align-items: center; justify-self: start; background: none; border: 0; padding: .5rem 0; color: #fff; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; }

/* ---------- PROGRAMAS ---------- */
.programs { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #fff; }
.programs__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1rem 3rem; align-items: end; margin-bottom: 1.5rem; }
.programs__head .section-title { margin: 0; }
.programs__lede { margin: 0; color: var(--tinta-2); max-width: 46ch; }
.programs__filter { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.5rem; }
.proglist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 2rem; border-top: 2px solid var(--marino); }
.proglist li { border-bottom: 1px solid var(--linea); }
.prog { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: baseline; gap: .75rem; padding: .85rem .25rem; transition: color .2s, transform .3s var(--ease); }
.prog__lvl { flex: none; width: 4.6rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--azul); }
.prog__name { font-weight: 600; line-height: 1.3; }
.prog:hover { color: var(--azul); transform: translateX(.5rem); }
.prog:focus-visible { outline: 3px solid var(--azul); outline-offset: -2px; }
.proglist__none { padding: 1.5rem 0; color: var(--tinta-2); border: 0 !important; }

/* ---------- SERVICIOS ---------- */
.services { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--papel); border-top: 1px solid var(--linea); }
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.hours__list { margin: 0 0 1.5rem; }
.hours__list div { display: flex; flex-direction: column; padding: .9rem 0; border-bottom: 1px solid var(--linea); }
.hours__list dt { font-weight: 600; color: var(--tinta-2); }
.hours__list dd { margin: 0; font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; color: var(--marino); line-height: 1.05; }
.note { margin: 0 0 .9rem; max-width: 52ch; }
.note--muted { color: var(--tinta-2); font-size: .92rem; margin-bottom: 1.6rem; }
.tablewrap { overflow-x: auto; background: #fff; border-radius: 10px; border: 1px solid var(--linea); }
.loantable { width: 100%; border-collapse: collapse; min-width: 480px; }
.loantable th, .loantable td { text-align: left; padding: .95rem 1.2rem; border-bottom: 1px solid var(--linea); }
.loantable thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--tinta-2); font-weight: 700; background: var(--azul-100); }
.loantable tbody th { font-weight: 700; }
.loantable td:nth-child(2) { font-weight: 800; font-size: 1.2rem; color: var(--marino); font-stretch: 110%; }
.loantable tbody tr:last-child > * { border-bottom: 0; }
.loantable tbody tr:hover { background: #FAFCFE; }

/* ---------- FOOTER ---------- */
.footer { background: var(--marino-900); color: var(--sobre-marino); padding: 3rem 0 2.5rem; }
.footer__in { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; }
.footer img { width: 200px; height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: flex-end; }
.footer__nav a { text-decoration: none; font-weight: 600; color: #fff; padding: .4rem 0; }
.footer__nav a:hover { text-decoration: underline; }
.footer__legal { grid-column: 1 / -1; margin: 0; font-size: .84rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; color: var(--sobre-marino-2); }

/* ---------- FICHA (panel lateral) ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(6, 22, 40, .55); backdrop-filter: blur(3px); animation: fade .35s var(--ease); }
.sheet__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
  background: #fff; overflow-y: auto; overscroll-behavior: contain; outline: none;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: slide .55s var(--ease);
  box-shadow: -30px 0 60px -20px rgba(6, 22, 40, .5);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.sheet__close { position: absolute; right: .75rem; top: calc(.75rem + env(safe-area-inset-top, 0px)); z-index: 3; color: #fff; background: rgba(255,255,255,.08); }
.sheet__close:hover { background: rgba(255,255,255,.18); }
.sheet__hero { background: var(--marino); padding: 3.25rem 2rem 0; display: grid; place-items: end center; position: relative; }
.sheet__hero .cover { width: 200px; transform: translateY(2.5rem); box-shadow: var(--shadow-lift); }
.sheet__content { padding: 3.75rem clamp(1.5rem, 4vw, 2.5rem) 2.5rem; }
.sheet__title { font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.02; color: var(--marino); margin: 0 0 .6rem; }
.sheet__author { margin: 0 0 1.25rem; font-weight: 600; color: var(--tinta-2); }
.sheet__desc { margin: 0 0 1.75rem; color: var(--tinta); }
.findit { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem; background: var(--azul-100); border-radius: 10px; margin-bottom: 1.5rem; }
.findit .biglabel { background: #fff; border-radius: 3px; padding: .45rem .7rem .55rem; font-weight: 800; font-size: 1.05rem; line-height: 1.12; color: var(--tinta); font-stretch: 92%; text-transform: uppercase; box-shadow: 0 2px 6px -2px rgba(10,40,68,.4); min-width: 6.5rem; }
.findit .biglabel::before { content: ""; display: block; height: 4px; margin: -.45rem -.7rem .4rem; background: var(--rojo); border-radius: 3px 3px 0 0; }
.findit .biglabel span { display: block; }
.findit h3 { margin: 0 0 .25rem; font-size: 1rem; }
.findit p { margin: 0; font-size: .9rem; color: var(--tinta-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1.75rem; border-top: 1px solid var(--linea); }
.facts div { padding: .8rem 0; border-bottom: 1px solid var(--linea); }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--tinta-2); font-weight: 700; }
.facts dd { margin: .15rem 0 0; font-weight: 700; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn--line { background: #fff; color: var(--marino); box-shadow: inset 0 0 0 1.5px var(--linea-fuerte); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--marino); }
.sheet__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--linea); }
.sheet__nav button { background: none; border: 0; cursor: pointer; font-weight: 700; color: var(--azul); display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 0; min-height: 44px; }
.sheet__nav button:disabled { color: #9AAABB; cursor: default; }

/* ---------- VISOR ---------- */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--marino-900); color: #fff;
}
.viewer::backdrop { background: rgba(6, 22, 40, .7); }
.viewer[open] { display: flex; flex-direction: column; animation: fade .3s var(--ease); }
.viewer__bar { display: flex; align-items: center; gap: .5rem 1rem; padding: calc(.5rem + env(safe-area-inset-top, 0px)) 1rem .5rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.viewer__mark { width: 22px; height: auto; }
.viewer__title { margin: 0 auto 0 .25rem; font-size: 1.05rem; font-weight: 700; font-stretch: 108%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__act { display: inline-flex; align-items: center; gap: .4rem; color: var(--sobre-marino); text-decoration: none; font-weight: 600; font-size: .9rem; padding: .55rem .8rem; border-radius: var(--r); min-height: 44px; }
.viewer__act:hover { color: #fff; background: rgba(255,255,255,.08); }
.viewer__stage { position: relative; flex: 1; background: #3B4A5C; padding-bottom: env(safe-area-inset-bottom, 0px); }
.viewer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .3s; }
.viewer iframe.is-ready { opacity: 1; }
.viewer__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--sobre-marino); font-weight: 600; }
.viewer__loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--rojo); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--tinta); color: #fff; padding: .75rem 1.1rem; border-radius: var(--r); font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: all .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .mainnav { display: none; }
  .menutrigger { display: inline-grid; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .table { order: -1; margin-inline: auto; width: min(560px, 100%); }
  .res-grid, .services__grid, .programs__head { grid-template-columns: minmax(0, 1fr); }
  .open-db { grid-template-columns: minmax(0, 1fr); }
  .open-db__list { grid-column: 1; grid-row: auto; }
  .link-more { grid-column: 1; }
  .ebsco { min-height: 300px; }
}
@media (max-width: 640px) {
  .brand img { width: 118px; }
  .brand__sep, .brand__lib { display: none; }
  .hero__grid { padding-top: 1.75rem; }
  .table__books { min-height: 0; }
  .table__books li:nth-child(n+5) { display: none; }
  .shelf__tools { width: 100%; }
  .search { flex: 1 1 100%; }
  .search input { width: 100%; }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .books[data-view="list"] .book__btn { grid-template-columns: 46px minmax(0, 1fr); padding: .8rem 1rem; }
  .books[data-view="list"] .book__call { display: none; }
  .open-db__list { columns: 1; }
  .empty { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .viewer__act span { display: none; }
  .facts { grid-template-columns: 1fr; }
  .resrow { grid-template-columns: 4rem minmax(0,1fr) auto; padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.book .cover--type { padding-top: 24%; }

/* =========================================================
   Páginas interiores: encabezado de página
   ========================================================= */
.pagehead { background: var(--marino); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.pagehead::before {
  content: ""; position: absolute; z-index: -1; width: min(42vw, 460px); aspect-ratio: 400 / 474; right: -6%; top: -30%;
  background: url("../img/u-blanco.png") center / contain no-repeat; opacity: .05;
}
.pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--rojo); }
.pagehead__in { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; font-size: .88rem; color: var(--sobre-marino-2); margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.crumbs a { color: var(--sobre-marino); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs svg { width: 1em; height: 1em; opacity: .6; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; }
.pagehead__level { margin: 0 0 .6rem; display: inline-block; font-weight: 700; font-size: .85rem; background: rgba(255,255,255,.1); padding: .3rem .65rem; border-radius: 3px; color: #DCE8F6; }
.pagehead__title { margin: 0 0 .9rem; font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-stretch: 112%; font-weight: 800; letter-spacing: -.025em; line-height: .98; text-wrap: balance; max-width: 18ch; }
.pagehead__lede { margin: 0; color: var(--sobre-marino); max-width: 58ch; font-size: 1.05rem; }
.pagehead__switch { display: grid; gap: .45rem; min-width: min(320px, 100%); }
.pagehead__switch label { font-size: .85rem; font-weight: 600; color: var(--sobre-marino); }
.pagehead__switch .select { width: 100%; }

/* Rejilla paginada: 3 filas de 5 */
.books--paged { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shelf--program .shelf__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

/* Paginación */
.pager { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.pager:empty { display: none; }
.pager__info { margin: 0; color: var(--tinta-2); font-size: .92rem; }
.pager__info b { color: var(--tinta); }
.pager__ctrl { display: flex; align-items: center; gap: .5rem; }
.pager__nums { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
.pager__num, .pager__step {
  min-width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--linea-fuerte); background: #fff;
  font-weight: 700; cursor: pointer; color: var(--tinta); display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: 0 .8rem;
  transition: background-color .2s, border-color .2s, color .2s;
}
.pager__num:hover, .pager__step:hover:not(:disabled) { border-color: var(--azul); color: var(--azul); }
.pager__num.is-on { background: var(--marino); border-color: var(--marino); color: #fff; }
.pager__step:disabled { opacity: .4; cursor: default; }
.pager__gap { min-width: 24px; display: grid; place-items: center; color: var(--tinta-2); }

/* =========================================================
   Reglamento
   ========================================================= */
.reg { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); align-items: start; }
.toc { position: sticky; top: calc(86px + env(safe-area-inset-top, 0px)); }
.toc__title { margin: 0 0 .75rem; font-weight: 800; font-stretch: 112%; color: var(--marino); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--linea); }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--tinta-2); font-weight: 600; font-size: .92rem; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--marino); }
.toc a.is-on { color: var(--marino); border-left-color: var(--rojo); }
.reg__doc { max-width: 78ch; }
.reg__sec { padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--linea); scroll-margin-top: 96px; }
.reg__sec:last-child { border-bottom: 0; }
.reg__h { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; color: var(--marino); margin: 0 0 1.5rem; }
.art { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; }
.art + .art { border-top: 1px dashed var(--linea); }
.art__n { font-size: .78rem; font-weight: 800; color: var(--rojo); letter-spacing: .03em; padding-top: .2rem; white-space: nowrap; }
.art__body > :first-child { margin-top: 0; }
.art__body > :last-child { margin-bottom: 0; }
.art__body p { margin: 0 0 .8rem; }
.art__body ul { margin: 0 0 .8rem; padding-left: 1.1rem; }
.art__body li { margin-bottom: .45rem; }
.art__body li::marker { color: var(--azul); }
.art__body .tablewrap { margin: .5rem 0 .75rem; }
.reg__note { font-size: .88rem; color: var(--tinta-2); }
.reg__callout { background: var(--azul-100); padding: .85rem 1rem; border-radius: 8px; }
.reg__callout--red { background: #FCE8EC; color: #6B0A1C; }
.days { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .4rem; }
.days li { margin: 0; background: #fff; border: 1px solid var(--linea-fuerte); border-radius: 999px; padding: .3rem .8rem; font-weight: 600; font-size: .88rem; }
.svc { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.svc div { background: var(--papel); border-radius: 8px; padding: .9rem 1rem; }
.svc dt { font-weight: 800; color: var(--marino); margin-bottom: .25rem; }
.svc dd { margin: 0; font-size: .92rem; color: var(--tinta-2); }
.hours__list--inline { display: flex; flex-wrap: wrap; gap: 0 2.5rem; margin: .25rem 0 1rem; }
.hours__list--inline div { border-bottom: 0; padding: .4rem 0; }
.hours__list--inline dd { font-size: clamp(1.5rem, 3vw, 2rem); }
.reg__fig { margin: 0; }
.reg__fig img { width: 100%; height: auto; border-radius: 8px; }
.reg__fig--lead { margin-bottom: clamp(2rem, 4vw, 3rem); }
.reg__figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.reg__figs--one { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 1100px) { .books--paged { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .books--paged { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pagehead__grid { grid-template-columns: minmax(0, 1fr); }
  .reg { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; }
  .toc a { border: 1px solid var(--linea-fuerte); border-radius: 999px; padding: .35rem .8rem; margin: 0; font-size: .85rem; }
  .toc a.is-on { border-color: var(--rojo); }
}
@media (max-width: 640px) {
  .books--paged { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pager { justify-content: center; }
  .pager__info { width: 100%; text-align: center; }
  .pager__step span { display: none; }
  .pager__step { padding: 0; }
  .art { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}
