.catalogo-editorial { max-width: 1000px; margin: 2rem auto; scroll-margin-top: 2rem; }
.catalogo-editorial__filtro { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.catalogo-editorial__filtro label { font-weight: 700; color: #792321; }
.catalogo-editorial__filtro select { padding: .65rem 1rem; border: 1px solid #792321; border-radius: 4px; background: #fff; color: #333; font: inherit; }
.catalogo-editorial__filtro button { padding: .65rem 1rem; border: 1px solid #792321; border-radius: 4px; background: #792321; color: #fff; cursor: pointer; font: inherit; }
.catalogo-editorial__conteo { color: #555; }
.catalogo-editorial__paginacion { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin: 2rem 0; }
.internal .catalogo-editorial__paginacion a { padding: .65rem 1rem !important; border: 1px solid #792321; border-radius: 4px; color: #792321 !important; text-decoration: none !important; background-image: none !important; }
.internal .catalogo-editorial__paginacion a::before,
.internal .catalogo-editorial__paginacion a::after { content: none !important; display: none !important; }
.internal .catalogo-editorial__paginacion a:hover { background: #792321; color: #fff !important; }
.catalogo-editorial__paginacion a:focus-visible,
.catalogo-editorial__filtro select:focus-visible,
.catalogo-editorial__filtro button:focus-visible { outline: 3px solid #b48218; outline-offset: 3px; }
.libro-editorial__descarga:focus-visible { outline: 3px solid #b48218; outline-offset: 4px; }
.catalogo-editorial__anio { scroll-margin-top: 2rem; }
.catalogo-editorial__anio > h2 { padding-bottom: .6rem; border-bottom: 2px solid #792321; color: #792321; }
.internal .catalogo-editorial h2::before,
.internal .catalogo-editorial h2::after,
.internal .catalogo-editorial h3::before,
.internal .catalogo-editorial h3::after,
.internal .catalogo-editorial h4::before,
.internal .catalogo-editorial h4::after { content: none !important; display: none !important; }
.libro-editorial { max-width: 940px; margin: 3rem auto 4rem; padding-bottom: 2rem; border-bottom: 1px solid #ddd; }
.libro-editorial__titulo { margin: 0 0 2rem; text-align: center; color: #792321; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.libro-editorial__ficha { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: 2rem; }
.libro-editorial__caratula { margin: 0; text-align: center; }
.libro-editorial__caratula img { display: block; width: 100%; max-width: 400px; max-height: 600px; height: auto; object-fit: contain; margin: auto; }
.internal .catalogo-editorial .libro-editorial__caratula::before,
.internal .catalogo-editorial .libro-editorial__caratula::after { content: none !important; display: none !important; }
.internal .catalogo-editorial .libro-editorial__descarga {
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; width: 100%; min-height: 72px;
    margin: 0 0 1.5rem; padding: 1rem 1.25rem !important;
    border: 0; border-radius: 3rem 0 0 3rem;
    background: #792321 !important; background-image: none !important;
    color: #fff !important; text-align: center;
    font-family: Arial, sans-serif; font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800; line-height: 1.2;
    text-decoration: none !important; text-indent: 0;
}
.internal .catalogo-editorial a.libro-editorial__descarga:hover,
.internal .catalogo-editorial a.libro-editorial__descarga:focus-visible {
    background: #5e1918 !important; color: #fff !important; text-decoration: none !important;
}
.internal .catalogo-editorial .libro-editorial__descarga::before,
.internal .catalogo-editorial .libro-editorial__descarga::after {
    content: none !important; display: none !important;
}
.libro-editorial__datos dl { margin: 0; line-height: 1.35; font-size: 1.15rem; }
.libro-editorial__datos dl > div { margin-bottom: .3rem; overflow-wrap: anywhere; }
.libro-editorial__datos dt, .libro-editorial__datos dd { display: inline; margin: 0; }
.libro-editorial__datos dt { color: #792321; font-weight: 700; margin-right: .3em; }
.libro-editorial__datos dd { font-weight: 600; }
.libro-editorial__resena { margin-top: 2rem; }
.libro-editorial__resena h4 { color: #792321; font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; }
.libro-editorial__resena p { margin: 0; padding: 1rem; border-top: 3px dotted #8a5450; border-bottom: 3px dotted #8a5450; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.catalogo-editorial__vacio { text-align: center; padding: 2rem 0; }
@media (max-width: 640px) {
    .libro-editorial__ficha { grid-template-columns: 1fr; gap: 1.5rem; }
    .libro-editorial__caratula img { max-width: 340px; }
    .internal .catalogo-editorial .libro-editorial__descarga { border-radius: 2rem; }
    .libro-editorial__resena p { padding: 1rem .25rem; }
}
