[hidden] { display: none !important; }
.kicker .section-home { color: inherit; text-decoration: none; }
.kicker .section-home:hover, .kicker .section-home:focus-visible { text-decoration: underline; }
.site-logo { display: block; max-width: 100%; max-height: 3rem; margin: auto; }
.credited-image { margin: 0; }
.credited-image figcaption { margin-top: .35rem; font-size: .75rem; }
#la-editorial { background: #1b1d1b; color: var(--red); }
#la-editorial img { display: block; width: 100%; max-width: 48rem; height: auto; }
#la-editorial p, .legal p { max-width: 65ch; }
.featured .books { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 2rem; }
.featured .books .book:nth-child(n) { grid-column: auto; margin: 0; }
.book-sheet .book-subtitle { margin-top: 0; }
.legal { margin-block: 1.5rem; }
.legal summary { cursor: pointer; }
main nav:where(:not(.custom-menu)) a:where(:nth-child(even)) { text-align: center; }
main nav.custom-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.5rem;
}
main nav.custom-menu a:nth-child(3) { border: 0; padding: 0; font: inherit; }
.gallery .photo-credit { display: block; font-size: .75rem; }
.book-view #destacados { display: none; }
.archive-posts { margin-top: clamp(2rem, 5vw, 5rem); }
.archive-entry { border-top: 1px solid currentColor; padding-block: 1.25rem; }
.archive-entry h3 { margin: 0 0 .45rem; font-size: clamp(1.35rem, 3vw, 2.5rem); font-weight: 500; }
.archive-entry a { color: inherit; text-underline-offset: .15em; }
.archive-entry h3 a { text-decoration: none; }
.archive-entry h3 a:hover, .archive-entry h3 a:focus-visible { text-decoration: underline; }
.archive-entry-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .875rem; }
.archive-entry p { max-width: 65ch; line-height: 1.55; }
.archive-entry img { display: block; width: 100%; max-height: 40rem; object-fit: contain; object-position: left; margin-block: 1.5rem; }
.archive-view main > :not(nav), .archive-view #catalogo, .archive-view #autores,
.archive-view #destacados, .archive-view #la-editorial,
.archive-view #archivo > h2, .archive-view #archivo > .archive-grid { display: none; }
.archive-view .archive-posts { max-width: 55rem; margin-inline: auto; }
.archive-view .archive-entry h1 { font-size: clamp(2rem, 7vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.archive-back { display: inline-block; margin-top: 1rem; }
main .desc {
  line-height: 1.4;
  padding-block: clamp(12px, 1.3vw, 24px);
  padding-inline-end: clamp(6px, .75vw, 14px);
}
.gallery .desc > [hidden]:first-child + span {
  grid-column: 1 / -1;
  max-inline-size: 32ch;
  text-wrap: pretty;
}
@media (min-width: 651px) {
  .gallery .desc span:last-child { grid-column: 2; }
  .gallery .c .year[hidden] + img { margin-top: clamp(18px, 1.8vw, 32px); }
}
@media (max-width: 650px) {
  .gallery .c { column-gap: clamp(6px, 1.5vw, 10px); }
  main .desc {
    padding-block: clamp(16px, 3.4vw, 22px);
    padding-inline: clamp(12px, 3vw, 18px);
  }
}
