.catalog-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.catalog-main {
  flex: 1;
  min-width: 0;
  padding-top: 12px;
  padding-bottom: clamp(32px, 6vw, 76px);
}
.catalog-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 140px;
  padding: clamp(20px, 4.6vw, 54px);
  border-radius: 12px;
  background: linear-gradient(90deg, #102d29 0%, #102d29f0 28%, #132e28c2 58%, #152b2455 100%),
              var(--cover-image, url('/images/portada.jpg')) var(--cover-position, center 52%) / cover no-repeat, #143b34;
  color: #fffdf0;
}
.catalog-hero h1 {
  margin: 0;
  font: 600 clamp(34px, 6vw, 66px)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.catalog-hero > p {
  max-width: 52ch;
  margin: .55em 0 0;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.5;
  color: #f0ead9;
}
.catalog-hero :focus-visible { outline-color: #ffda95; }
.catalog-section { margin-block: clamp(20px, 3vw, 36px) 0; }
.catalog-section h2, .catalog-prose h2 {
  margin: 0;
  font: 600 clamp(23px, 3vw, 32px)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.catalog-prose {
  width: min(100%, 84ch);
  margin: clamp(16px, 3vw, 32px) auto 0;
  padding: clamp(18px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffef9;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.catalog-prose h2:not(:first-child) { margin-top: 1.4em; }
.catalog-prose p { margin: 0 0 1em; }
.catalog-prose h2 + p { margin-top: .5em; }
.catalog-prose > :last-child { margin-bottom: 0; }
.catalog-prose a { color: var(--green); text-underline-offset: .2em; }
.catalog-footer { border-top: 1px solid var(--line); background: #eeefe6; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px;
}
.footer-brand { color: var(--ink); text-decoration: none; }
.footer-inner p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.footer-inner nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.footer-inner nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--green); font-size: 14px; text-decoration: none;
}
.footer-inner nav a:hover, .footer-inner nav a:focus-visible { text-decoration: underline; }
@media (min-width: 680px) {
  .catalog-main { padding-top: 24px; }
  .catalog-hero { min-height: 195px; }
}
