/* ─────────────────────────────────────────────────────────────
   LUMEKA — Novedades (blog) y artículos
   Mismo universo que la home: bosque rosa, luna en movimiento, grano.
   ───────────────────────────────────────────────────────────── */
body.blog { background: #0b0507; overflow-x: hidden; }

/* Portada */
.bhero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: #fff3fa;
}
.bhero--article { height: 72vh; height: 72svh; min-height: 460px; }
.bhero__forest {
  position: absolute; inset: -4% 0 0 0;
  background: url('../assets/blog/bosque.jpg') center 40% / cover no-repeat;
  will-change: transform;
}
.bhero__forest::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 5, 7, 0.86) 0%, rgba(11, 5, 7, 0.55) 30%, rgba(11, 5, 7, 0.1) 55%, rgba(11, 5, 7, 0.2) 70%, rgba(11, 5, 7, 0.94));
}
.bhero__moon {
  position: absolute;
  left: 0; right: 0; top: 9%;
  margin-inline: auto;
  width: min(56vw, 46vh);
  aspect-ratio: 600 / 716;
  mix-blend-mode: screen;
  isolation: isolate;
  background: #000;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  will-change: transform;
}
.bhero__moon video { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.5) brightness(1.35); }
.bhero__moon .moon__tint { position: absolute; inset: 0; background: #E93397; mix-blend-mode: multiply; }
.bhero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bhero__text {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(var(--gutter) + 10px);
  display: grid;
  gap: 14px;
}
.bhero__kicker { margin: 0; color: #ffd6ec; }
.bhero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.82;
  font-size: clamp(3.6rem, 15vw, 15rem);
  color: #fff3fa;
  text-shadow: 0 4px 60px rgba(233, 51, 151, 0.55);
}
.bhero--article .bhero__title { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 0.9; max-width: 18ch; }
.bhero__meta { margin: 0; color: #ffd6ec; display: flex; gap: 18px; flex-wrap: wrap; }

/* Lista de entradas */
.posts {
  position: relative;
  background: #c8c8c8;
  color: #141012;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 9vw, 120px);
  border-top: 1px solid #E93397;
}
.posts::before, .article::before {   /* grano fino claro, sin puntos negros */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.posts__inner { position: relative; max-width: 1000px; margin: 0 auto; }
.posts__label { margin: 0 0 18px; letter-spacing: 0.2em; }
.posts__label i { color: #E93397; font-style: normal; padding: 0 6px; }
.posts__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(20, 16, 18, 0.75); }
.post { border-bottom: 1px solid rgba(20, 16, 18, 0.75); }
.post a { display: grid; grid-template-columns: 140px 1fr auto; gap: 8px 28px; align-items: baseline; padding: 28px 0 30px; color: inherit; }
.post__meta { color: rgba(20, 16, 18, 0.7); }
.post__title { margin: 0; font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 0.95; transition: color .3s; }
.post__excerpt { grid-column: 2; margin: 0; font-family: var(--sans); font-size: 1.02rem; line-height: 1.55; color: #2a2326; max-width: 62ch; }
.post__more { grid-column: 3; grid-row: 1; color: #E93397; white-space: nowrap; transition: transform .4s var(--ease-out); }
.post a:hover .post__title, .post a:focus-visible .post__title { color: #E93397; }
.post a:hover .post__more { transform: translateX(6px); }
.posts__empty { margin: 30px 0 0; font-family: var(--sans); color: #2a2326; }

/* Artículo */
.article {
  position: relative;
  background: #c8c8c8;
  color: #141012;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 9vw, 110px);
  border-top: 1px solid #E93397;
}
.article__body { position: relative; max-width: 700px; margin: 0 auto; font-family: var(--sans); font-size: 1.1rem; line-height: 1.7; }
.article__body > * + * { margin-top: 1.1em; }
.article__body p { margin: 0; }
.article__body h2 { margin-top: 1.8em; font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 0.95; letter-spacing: -0.01em; }
.article__body blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid #E93397; font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.2; }
.article__body img { width: 100%; height: auto; display: block; }
.article__body figure { margin: 1.6em 0; }
.article__body figcaption { margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(20, 16, 18, 0.7); }
.article__body ul { padding-left: 1.2em; }
.article__body li + li { margin-top: 0.4em; }
.article__body li::marker { color: #E93397; }
.article__back { display: inline-block; margin-top: 3em; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #141012; }
.article__back:hover { color: #E93397; }

/* Pie */
.bfoot {
  background: #0b0507;
  color: #ffe8f3;
  padding: clamp(40px, 6vw, 70px) var(--gutter) var(--gutter);
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}
.bfoot__claim { font-family: var(--serif); font-style: italic; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; color: #fff3fa; text-shadow: 0 4px 40px rgba(233, 51, 151, 0.7); }
.bfoot__claim span { color: #E93397; }
.bfoot__logo { width: min(50vw, 300px); height: auto; }
.bfoot__grid { width: min(1000px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; text-align: left; border-top: 1px solid rgba(233, 51, 151, 0.6); padding-top: 18px; }
.bfoot__grid h3 { margin: 0 0 6px; color: #E93397; font-weight: 500; }
.bfoot__grid a { font-family: var(--sans); color: #ffe8f3; }
.bfoot__grid a:hover, .bfoot__legal a:hover { color: #E93397; }
.bfoot__legal { width: min(1000px, 100%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: rgba(255, 232, 243, 0.7); }

@media (max-width: 760px) {
  .bhero__moon { width: 70vw; top: 13%; }
  .post a { grid-template-columns: 1fr; padding: 22px 0 24px; }
  .post__excerpt, .post__more { grid-column: 1; grid-row: auto; }
  .bfoot__grid { grid-template-columns: 1fr; }
}

/* ═══ v8: fotos en las publicaciones, pie con ruido y logo pequeño ═══ */
.post a { grid-template-columns: 220px 1fr auto; grid-template-areas: "img meta more" "img title more" "img excerpt more"; align-items: start; }
.post__img { grid-area: img; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #b8b8b8; }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out); }
.post a:hover .post__img img { transform: scale(1.05); }
.post__meta { grid-area: meta; }
.post__title { grid-area: title; }
.post__excerpt { grid-area: excerpt; grid-column: auto; }
.post__more { grid-area: more; grid-column: auto; grid-row: auto; align-self: center; }
.article__cover { margin: 0 0 1.6em !important; }
.article__cover img { width: 100%; height: auto; display: block; border-radius: 6px; }
.article__share { display: inline-block; }

.bfoot { position: relative; background: #c6c6c6; color: #141012; border-top: 1px solid #E93397; }
.bfoot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bfoot > * { position: relative; }
.bfoot__claim { color: #141012; text-shadow: none; }
.bfoot__logo { width: 76px; opacity: 0.9; }
.bfoot__grid { border-top-color: rgba(20, 16, 18, 0.4); }
.bfoot__grid a { color: #141012; }
.bfoot__legal { color: rgba(20, 16, 18, 0.7); }
@media (max-width: 760px) {
  .post a { grid-template-columns: 1fr; grid-template-areas: "img" "meta" "title" "excerpt" "more"; }
}
.article__share { margin-bottom: 10px; }
