/* Portada: texto superpuesto sobre la fotografía. */
.hero {
  display: flex;
  align-items: flex-end;
  min-height: clamp(680px, calc(100vh - 96px), 860px);
}

.hero-copy {
  width: 100%;
  padding: 8rem max(1.3rem, 7vw) 2.5rem;
  z-index: 2;
  align-self: flex-end;
  display: block;
  background: linear-gradient(180deg,transparent,rgba(34,55,32,.28) 22%,rgba(34,55,32,.92) 72%,var(--green));
}

.hero-title h1 {
  font-size: 5.5814rem;
  line-height: .98;
  letter-spacing: -.015em;
  max-width: none;
  margin-bottom: 0;
  white-space: nowrap;
}

.hero-title h1 em {
  white-space: nowrap;
}

.hero-info {
  padding-bottom: 0;
}

.hero-info .actions {
  margin-top: 1.5rem;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: auto;
  min-height: 100%;
  z-index: 0;
  background-image:
    linear-gradient(180deg,rgba(16,19,16,.08),rgba(16,19,16,.04) 55%,rgba(34,55,32,.48) 100%),
    url("images/titulares-portada.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}

.hero-art span {
  display: none;
}

.actions button.button {
  border: 0;
  font-family: inherit;
  line-height: inherit;
  cursor: default;
}

@media (max-width: 720px) {
  .hero {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    background:var(--green);
  }

  .hero-copy {
    order: 2;
    width: 100%;
    margin: calc(-7rem - 5px) 0 0;
    padding: 8rem 1.3rem 2rem;
    background:linear-gradient(180deg,transparent 0,rgba(34,55,32,.5) 32%,rgba(34,55,32,.9) 58%,var(--green) 76%);
  }

  .hero .eyebrow {
    margin-bottom: .55rem;
  }

  .hero-title h1 {
    font-size: clamp(1.7rem, 6.8vw, 2.2rem);
    line-height: .96;
    letter-spacing: -.01em;
    margin: 0;
  }

  .hero-lead {
    font-size: .98rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .actions {
    gap: .6rem;
    margin-top: .95rem;
  }

  .button {
    padding: .78rem .95rem;
  }

  .hero-art {
    position: relative;
    inset: auto;
    order: 1;
    aspect-ratio: 4 / 3;
    min-height: 0;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    background-color:var(--green-dark);
    background-image:
      linear-gradient(180deg,
        rgba(16,19,16,.02),
        rgba(16,19,16,.06) 62%,
        rgba(34,55,32,.24)),
      url("images/titulares-portada.jpg");
  }

  .hero-art::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 58%,rgba(34,55,32,.38) 78%,var(--green) 100%);
  }

  .hero::after {
    display: none;
  }
}
