/* Cabeceras: comparador y Hydration. Tarjetas: selección de artículos Prozis. */
.hero.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  max-width: 1160px;
  min-height: 0;
  margin: 10px auto 24px;
  padding: 28px 32px 20px;
  overflow: visible;
  text-align: left;
  background: none;
}
.hero.hero-editorial::before,
.hero.hero-editorial::after { display: none; }
.hero-editorial .hero-content {
  order: 0;
  padding: 0;
  max-width: none;
  min-width: 0;
}
.hero-editorial .hero-content h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #3d3229;
  text-wrap: balance;
}
.hero-editorial .hero-content p {
  margin: 0;
  max-width: 48ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #5c4d3d;
}
.hero-editorial .hero-content .hero-eyebrow {
  margin-bottom: 16px;
  color: #9a3412;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-editorial .hero-media {
  min-width: 0;
  width: 100%;
  margin: 0;
}
.hero-editorial .hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f2e5d3;
}
.hero-editorial .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-editorial.hero-hydration .hero-photo { background: #e7a25a; }
.hero-editorial.hero-hydration .hero-photo img { aspect-ratio: 1; }
.hero-editorial .hero-media figcaption {
  margin-top: 10px;
  color: #6b5842;
  font-size: .72rem;
  line-height: 1.5;
}
.hero-editorial .hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-editorial .hero-shortcuts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #c2410c;
  border-radius: 9px;
  background: #c2410c;
  color: white;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
}
.hero-editorial .hero-shortcuts a + a {
  background: transparent;
  color: #9a3412;
  border-color: #d9b8a3;
}
.hero-editorial .hero-shortcuts a:focus-visible {
  outline: 3px solid #0066a1;
  outline-offset: 4px;
}
.cover-budget {
  position: absolute;
  left: 7%;
  top: 17%;
  color: #9a3412;
  line-height: 1;
  pointer-events: none;
}
.cover-budget strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.055em;
}
.cover-budget small {
  display: block;
  margin-top: 10px;
  color: #3d3229;
  font-size: .75rem;
  line-height: 1.4;
  font-weight: 700;
}
.card-editorial .card-img::after { display: none; }
.card-editorial { align-self: stretch; }
.card-editorial .card-meta { margin-top: auto; padding-top: 12px; }
.hero-editorial ~ .content h2[id] { scroll-margin-top: 144px; }
.card-editorial .card-img img { object-position: 58% 50%; }
.card-editorial.card-hydration .card-img img { object-position: 50% 46%; }
.card-editorial .cover-budget strong { font-size: 3rem; }
.card-editorial .cover-budget small { font-size: .72rem; }
.card-editorial .cover-credit {
  position: absolute;
  left: 7%;
  bottom: 12px;
  padding: 3px 6px;
  border-radius: 3px;
  background: #fff7ed;
  color: #6b5842;
  font-size: .62rem;
  line-height: 1.4;
}
.card-editorial .card-body h3 { text-wrap: balance; }
/* Una referencia protagonista por tarjeta; las fotos originales no se modifican. */
.magazine .article-card.card-producto .card-img {
  display: grid;
  place-items: center;
  height: auto;
  aspect-ratio: 6 / 5;
  isolation: isolate;
  background: #ece8e1;
}
.card-producto .card-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.card-producto-recorte .card-img img {
  position: absolute;
  inset: -6% 0;
  height: 112%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.card-producto.card-tiendas .card-img img { object-position: center 45%; }
.card-producto.card-hydration .card-img img { object-position: center 49%; }
.card-producto .cover-credit { left: 12px; right: auto; bottom: 10px; }
.card-producto .badge-new { z-index: 1; }
.dark-mode .hero-editorial .hero-content h1 { color: #f8f1e8; }
.dark-mode .hero-editorial .hero-content p,
.dark-mode .hero-editorial .hero-media figcaption { color: #cbd5e1; }
.dark-mode .hero-editorial .hero-content .hero-eyebrow,
.dark-mode .hero-editorial .hero-shortcuts a + a { color: #fdba74; }
@media (max-width: 760px) {
  .hero.hero-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 16px 20px 12px;
    margin: 0 auto 20px;
  }
  .hero-editorial .hero-content h1 { font-size: clamp(1.9rem, 6.6vw, 2.6rem); }
  .hero-editorial .hero-content p { font-size: .98rem; }
  .hero-editorial .hero-photo { border-radius: 12px; }
  .hero-editorial.hero-hydration .hero-media { max-width: 480px; justify-self: center; }
  .hero-editorial .hero-shortcuts { gap: 8px; margin-top: 20px; }
  .hero-editorial .hero-shortcuts a { flex: 1 1 auto; font-size: .8rem; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .card-editorial, .card-editorial .card-img img { transition: none !important; }
  .card-editorial { opacity: 1 !important; animation: none !important; }
}
