/* Blog: seis notas, sin relleno. */

.blog,
.entrada {
  padding: calc(var(--tope) + var(--cabecera) + 2.2rem) 1.4rem 4.5rem;
}

.blog__caja,
.entrada__caja {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.blog__intro {
  max-width: 38rem;
}

.blog h1,
.entrada h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.blog h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.blog__intro p,
.entrada__lead {
  max-width: 38rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.blog__lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 2rem;
  list-style: none;
}

.nota-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.nota-card__foto {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #efe8dc;
}

.nota-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.nota-card__cuerpo {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.nota-card h2 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.nota-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.nota-card .boton {
  align-self: flex-start;
  margin-top: 0.2rem;
  pointer-events: none;
}

.nota-card:hover img {
  transform: scale(1.04);
}

.nota-card:hover .boton {
  background: var(--rojo-oscuro);
}

.entrada__texto ul {
  margin: 0.7rem 0 0.9rem 1.15rem;
  list-style: disc;
}

.entrada__texto li + li {
  margin-top: 0.35rem;
}

.entrada__texto h2 {
  margin: 1.3rem 0 0.35rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.entrada__texto a {
  color: var(--tinta);
}

.entrada__caja {
  width: min(760px, 100%);
}

.entrada__volver {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--tinta);
  font-weight: 700;
  text-decoration: none;
}

.entrada__volver:hover {
  color: var(--tinta);
}

.entrada h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.entrada__foto {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1.3rem;
  border-radius: 18px;
  object-fit: cover;
}

.entrada__texto p,
.entrada__texto li {
  margin-top: 0.95rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.entrada ol {
  margin: 0.4rem 0 0;
  padding-left: 1.25rem;
}

.entrada__cierre {
  margin-top: 2rem;
  padding: 1.3rem 1.25rem 1.4rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.entrada__cierre p {
  margin-top: 0;
  max-width: 36rem;
}

.entrada__cierre .boton {
  margin-top: 1rem;
}

.entrada__cierre .entrada__otro {
  display: inline-block;
  margin-top: 0.85rem;
  margin-left: 0.8rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.entrada__cierre .entrada__otro:hover {
  color: var(--tinta);
}

@media (max-width: 800px) {
  .blog__lista {
    grid-template-columns: 1fr;
  }

  .entrada__cierre .entrada__otro {
    display: block;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nota-card img {
    transition: none;
  }
}
