/* =====================================================================
   Blog 2026 — listado
   ---------------------------------------------------------------------
   Traslada al blog el lenguaje visual de index-refresh: negro, dorado y
   Montserrat con pesos altos. Todo cuelga de .blog-2026 para no tocar
   blog.css, que siguen usando otras paginas del sitio.

   Sustituye ademas las palabras dibujadas en SVG (blog.svg, cerebro.svg,
   nutricion.svg) por texto real con acento en dorado: se puede seleccionar,
   escala con el zoom y la lee un buscador.
   ===================================================================== */

.blog-2026 {
  --nutra-gold: #e5bb47;
  --nutra-gold-strong: #f2c94c;
  --nutra-ink: #0b0c0f;
  --nutra-charcoal: #15171c;
  --nutra-muted: #626875;
  --nutra-line: #e4e7ec;
  --nutra-surface: #f5f7fa;
  --blog-shell: 1320px;
  --blog-pad: clamp(1rem, 3vw, 2.5rem);

  background: #fff;
  color: var(--nutra-ink);
  font-family: "Montserrat", Arial, sans-serif;
}

.blog-2026 .blog-shell {
  width: 100%;
  max-width: var(--blog-shell);
  margin-inline: auto;
  padding-inline: var(--blog-pad);
}

/* ---------- Hero ----------
   El menu del sitio ya es position:fixed con fondo transparente, asi que
   sobre un hero oscuro a sangre queda por delante sin tocar nada. */

.blog-2026 .blog-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(28rem, 62vh, 42rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--nutra-ink);
  color: #fff;
}

.blog-2026 .blog-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  margin: 0;
}

.blog-2026 .blog-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Velo en degradado: la foto se ve entera por la derecha y el texto conserva
   contraste por la izquierda, que es donde cae. */
.blog-2026 .blog-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgb(6 7 9 / 93%) 0%,
    rgb(6 7 9 / 80%) 38%,
    rgb(6 7 9 / 35%) 72%,
    rgb(6 7 9 / 15%) 100%
  );
}

.blog-2026 .blog-hero__copy {
  max-width: 44rem;
  padding-block: clamp(7rem, 13vw, 10rem);
}

.blog-2026 .blog-hero h1 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
}

.blog-2026 .blog-hero h1 span {
  color: var(--nutra-gold-strong);
}

.blog-2026 .blog-hero p {
  max-width: 33rem;
  margin: 0 0 2rem;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.65;
}

/* ---------- Kicker ---------- */

.blog-2026 .blog-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  color: var(--nutra-gold-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.blog-2026 .blog-kicker::before {
  width: 2.4rem;
  height: 2px;
  background: currentcolor;
  content: "";
}

.blog-2026 .blog-kicker--oscuro {
  color: #9a7d1f;
}

/* ---------- Boton ---------- */

.blog-2026 .blog-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.9rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.blog-2026 .blog-button--gold {
  background: var(--nutra-gold-strong);
  color: var(--nutra-ink);
}

.blog-2026 .blog-button--gold:hover,
.blog-2026 .blog-button--gold:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  color: var(--nutra-ink);
}

/* ---------- Secciones ---------- */

.blog-2026 .blog-section {
  padding-block: clamp(3.2rem, 6vw, 5.5rem);
}

.blog-2026 .blog-section--gris {
  background: var(--nutra-surface);
}

.blog-2026 .blog-section__heading {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.blog-2026 .blog-section__heading h2 {
  margin: 0 0 0.9rem;
  color: var(--nutra-ink);
  font-size: clamp(1.85rem, 1.3rem + 2.1vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.blog-2026 .blog-section__heading h2 span {
  color: #b8912a;
}

.blog-2026 .blog-section__heading p {
  margin: 0;
  color: var(--nutra-muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.65;
}

/* ---------- Rejilla y tarjetas ---------- */

.blog-2026 .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: clamp(1.2rem, 2vw, 1.85rem);
}

.blog-2026 .blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nutra-line);
  border-radius: 1.4rem;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.blog-2026 .blog-card:hover,
.blog-2026 .blog-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgb(17 24 39 / 13%);
}

.blog-2026 .blog-card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--nutra-surface);
}

.blog-2026 .blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.blog-2026 .blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-2026 .blog-card__cuerpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-2026 .blog-card h3 {
  margin: 0 0 0.65rem;
  color: var(--nutra-ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  text-wrap: balance;
}

.blog-2026 .blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

/* Toda la tarjeta es zona de clic: el enlace real vive en el titular -asi
   conserva su texto para teclado y lector de pantalla- y un ::after absoluto
   lo estira sobre la tarjeta entera. */
.blog-2026 .blog-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.blog-2026 .blog-card p {
  margin: 0 0 1.1rem;
  color: var(--nutra-muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;

  /* Recorta a tres lineas para que la rejilla no baile con resumenes largos. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-2026 .blog-card__accion {
  margin-top: auto;
  color: #9a7d1f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-2026 .blog-card__accion i {
  margin-left: 0.35rem;
  transition: transform 200ms ease;
}

.blog-2026 .blog-card:hover .blog-card__accion i {
  transform: translateX(4px);
}

/* ---------- Banda oscura intermedia ----------
   Ocupa el lugar de la franja azul "Entrena tu cerebro", que traia fondo
   celeste, la palabra "Cerebro" dibujada en SVG y una ilustracion. */

.blog-2026 .blog-banda {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--nutra-charcoal);
  color: #fff;
}

/* Misma textura que las goal-card del index: un resplandor dorado arriba a la
   derecha sobre un degradado diagonal, y encima los anillos concentricos que
   dibuja el ::after con dos box-shadow muy tenues. */
.blog-2026 .blog-banda::before,
.blog-2026 .blog-banda::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.blog-2026 .blog-banda::before {
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgb(229 187 71 / 25%), transparent 32%),
    linear-gradient(135deg, #202127, #08090b 70%);
}

.blog-2026 .blog-banda::after {
  top: -40%;
  right: -6%;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgb(255 255 255 / 2%),
    0 0 0 6rem rgb(255 255 255 / 2%);
}

@media (max-width: 56rem) {
  .blog-2026 .blog-banda::after {
    top: -22%;
    right: -22%;
    width: 68%;
  }
}

.blog-2026 .blog-banda__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 5.5vw, 4.5rem);
}

@media (min-width: 56rem) {
  .blog-2026 .blog-banda__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.blog-2026 .blog-banda h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.blog-2026 .blog-banda h2 span {
  color: var(--nutra-gold-strong);
}

.blog-2026 .blog-banda p {
  max-width: 32rem;
  margin: 0 0 1.8rem;
  color: rgb(255 255 255 / 74%);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}

.blog-2026 .blog-banda__media img {
  width: 100%;
  height: auto;
  border-radius: 1.4rem;
}

/* ---------- Accesibilidad ---------- */

.blog-2026 a:focus-visible,
.blog-2026 .blog-button:focus-visible {
  outline: 3px solid var(--nutra-gold-strong);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .blog-2026 .blog-card,
  .blog-2026 .blog-card__media img,
  .blog-2026 .blog-button,
  .blog-2026 .blog-card__accion i {
    transition: none;
  }

  .blog-2026 .blog-card:hover {
    transform: none;
  }
}
