.revistas-public{--rev-brand:#4b5a71;--rev-ink:#343f4e;--rev-serif:"Source Serif 4",Georgia,"Times New Roman",serif;padding-bottom:4rem;color:var(--rev-ink)}
.revistas-intro{max-width:none;margin:0 0 2rem;font-size:1.08rem;line-height:1.8;color:#596575}
.revista-featured{display:grid;grid-template-columns:180px minmax(0,1fr);gap:clamp(1.25rem,3vw,2.5rem);align-items:center;background:linear-gradient(125deg,#edf0f4,#fafbfc);border:1px solid #dce1e8;border-radius:14px;padding:clamp(1rem,2.5vw,1.75rem);margin-bottom:2rem}
.revista-cover{display:block;background:#e7ebf0;border-radius:8px;overflow:hidden}
.revista-cover img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .2s}
.revista-featured .revista-cover{max-width:180px;width:100%;justify-self:center;box-shadow:0 15px 30px #343f4e24;aspect-ratio:3/4}
.revista-kicker{color:var(--rev-brand);font-size:.78rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;margin-bottom:1rem}
.revista-featured h2{font-size:clamp(1.35rem,2.3vw,1.9rem);line-height:1.2;margin:.8rem 0 1rem;overflow-wrap:anywhere}
.revista-meta{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;font-size:.9rem;color:#596575}
.revista-meta time{display:inline-block;max-width:100%;padding:3px 10px;border-radius:999px;background:#f6efe2;color:#7a5518;font-size:.85rem;font-weight:600;line-height:1.5}
.revista-number{font-weight:700;color:var(--rev-brand)}
.revista-description{line-height:1.8;white-space:pre-line;margin:1.2rem 0;color:#596575;overflow-wrap:anywhere}
.revista-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}
.revista-read,.revista-read:visited{display:inline-flex;align-items:center;gap:13px;background:var(--rev-brand);color:white;border:1px solid var(--rev-brand);border-radius:24px;padding:8px 12px;font-size:.85rem;font-weight:600;text-decoration:none;white-space:nowrap}
.revista-read-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#ffffff26;color:#fff}
.revista-read-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.revista-read:hover .revista-read-arrow{background:#fff;color:var(--rev-brand)}
.revista-read:hover{background:var(--rev-ink);color:white;text-decoration:none}
.revista-download{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;color:var(--rev-brand);background:#edf0f4;border:1px solid #dce1e8;border-radius:9px;text-decoration:none;transition:background-color .15s,color .15s,border-color .15s}
.revista-download:hover{background:var(--rev-brand);border-color:var(--rev-brand);color:#fff;text-decoration:none}
.revista-download svg{display:block;width:20px;height:20px}
.revistas-public a:focus-visible{outline:3px solid #b47f34;outline-offset:4px}
.memorias-book-dialog.revistas-book-dialog{width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0}
.revistas-collection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.revistas-collection-heading h2{font-family:var(--rev-serif);font-size:1.7rem;line-height:1.3;font-weight:600;margin:0;color:#1a2433}
.revistas-collection-heading h2::after{content:"";display:block;width:34px;height:3px;margin-top:12px;background:#a8782a}
.revista-featured h2,.revista-card h3{font-family:var(--rev-serif);font-weight:600;color:#1a2433}
.revistas-collection-heading span{font-size:.9rem;color:#596575}
.revistas-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;align-items:stretch}
.revista-card{border:1px solid #dce1e8;border-radius:10px;padding:.8rem;background:white;display:flex;flex-direction:column;min-width:0}
.revista-card .revista-cover{height:190px;margin-bottom:.8rem;padding:.35rem;background:#f1f3f6}
.revista-cover:hover img{transform:scale(1.015)}
.revista-card h3{font-size:.98rem;line-height:1.4;margin:.5rem 0;overflow-wrap:anywhere}
.revista-card .revista-meta{font-size:.8rem;gap:.25rem .5rem}
.revista-card h3 a{color:#1a2433}
.revista-card .revista-actions{margin-top:auto;padding-top:.65rem;gap:.4rem .7rem}
.revista-card .revista-read{padding:8px 12px;font-size:.85rem;min-height:42px}
.revistas-empty{padding:2rem;border:1px solid #dce1e8;border-radius:12px;background:#f5f7f9}

/* Portadas intactas sobre el mismo tratamiento de imagen de las noticias. */
.revistas-public .revista-cover{position:relative;isolation:isolate}
.revistas-public .revista-cover .revista-cover-backdrop{position:absolute;inset:0;z-index:0;object-fit:cover;filter:blur(20px);transform:scale(1.08);pointer-events:none}
.revistas-public .revista-cover .revista-cover-photo{position:relative;z-index:1;object-fit:contain;transform:none}
.revistas-public .revista-cover:hover .revista-cover-photo{transform:none}
.revistas-public .revista-card{padding:24px}
.revistas-public .revista-card .revista-cover{padding:0;margin-bottom:14px}
.revistas-public .revista-card .revista-meta{align-items:center;margin-bottom:14px}
.revistas-public .revista-meta time{margin-bottom:0}
.revistas-public .revista-card h3 a:hover{text-decoration:none;color:var(--rev-brand)}
.revistas-public .revista-card .revista-actions{padding-top:0;gap:10px}
.revistas-public .revista-card .revista-read{min-height:0}
@media(max-width:575.98px){.revistas-public .revista-card{padding:20px}.revistas-public .revista-card .revista-read{min-height:44px}}
@media(max-width:1199px){.revistas-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:991px){.revistas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.revistas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.revista-featured{grid-template-columns:110px minmax(0,1fr);gap:1rem}.revista-featured .revista-cover{max-width:110px}.revista-featured h2{font-size:1.2rem}.revista-kicker{font-size:.7rem;letter-spacing:.06em}.revistas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.revista-card{padding:.65rem}.revista-card .revista-cover{height:160px}.revistas-collection-heading{align-items:flex-start;flex-direction:column;gap:.4rem}}
@media(max-width:380px){.revista-featured{grid-template-columns:1fr}.revistas-grid{grid-template-columns:minmax(0,230px);justify-content:center}.revista-card .revista-cover{height:190px}}
@media(max-width:575.98px){.revistas-public .revistas-grid{grid-template-columns:1fr;justify-content:stretch}.revistas-public .revista-card .revista-cover{height:240px}.revistas-public .revista-featured{grid-template-columns:1fr}.revistas-public .revista-featured .revista-cover{max-width:150px}.revistas-public .revista-actions{gap:10px}.revistas-public .revista-featured h2{font-size:1.35rem}}
@media(prefers-reduced-motion:reduce){.revista-cover img,.revista-download{transition:none}}
