/* Blogs en la misma línea de diseño que el inicio (Noga, 5 dic 2026, captura de "La casa").
   Se carga después de styles.css y maison.css solo en /blog, /es/blog y sus artículos.
   - Títulos: Cormorant Garamond ligero (300), grandes y con poco interlineado, como "A quiet room on a loud coast".
   - Listas con título en negrita: pasan a tarjetas como los pilares de "La casa" (título en Cormorant, texto Inter gris,
     filo de 1 px entre tarjetas, centradas).
   - Texto corrido: Inter gris #4a4a4a como el inicio, a 17-18 px y peso 400 para que se lea bien en celular. */

.tp-hero h1 { font-weight: 300; letter-spacing: -.012em; }

.tp-body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--ink);
  max-width: 18ch;
  margin: clamp(3rem, 7vw, 5rem) auto clamp(1rem, 2vw, 1.4rem);
  text-wrap: balance;
}
.tp-body h2:first-child { margin-top: 0; }
.tp-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink);
}

.tp-body p, .tp-body li { color: var(--text-2); font-weight: 400; }
.tp-body p { max-width: 60ch; }

/* listas con título en negrita => tarjetas tipo "La casa" */
.tp-body ul:not(.tp-facts):has(> li > strong:first-child) {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 44rem;
  margin: clamp(1.4rem, 3vw, 2.2rem) auto;
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.tp-body ul:not(.tp-facts) > li:has(> strong:first-child) {
  background: var(--paper);
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
  margin: 0;
  text-align: center;
  list-style: none;
}
.tp-body ul:not(.tp-facts) > li:has(> strong:first-child)::before,
.tp-body ul:not(.tp-facts) > li:has(> strong:first-child)::marker { content: none; display: none; }
.tp-body ul:not(.tp-facts) > li > strong:first-child {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: .35rem;
}
.tp-body ol > li > strong:first-child {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2em;
  color: var(--ink);
}

/* QA 5 dic: los artículos sin <style> propio quedaban a 15.5 px; ahora todos a 17-18 px y peso 400 */
.tp-body p, .tp-body li, .tp-faq details p, .tp-faq summary, .tp-author p, .tp-author strong, .tp-rel a,
.tp-body figcaption { font-size: clamp(1.0625rem, 1.1vw, 1.125rem); }
.tp-facts li, .tp-facts li strong, .tp-hero .tp-meta, .tp-hero .tp-kicker { font-size: 1.0625rem; }
.tp-hero .tp-meta { font-weight: 400; }
.tp-hero .tp-lede { font-size: clamp(1.0625rem, 1.25vw, 1.28rem); font-weight: 400; }

/* Movimiento en los blogs: títulos y figuras aparecen al bajar (maison.js les pone .in).
   Sin JavaScript se ven completos: solo se esconden cuando la página marcó html.bjs. */
.tp-body .rv { opacity: 1; transform: none; filter: none; }
html.bjs .tp-body .rv:not(.in) { opacity: 0; transform: translateY(22px); filter: none; }
html.bjs .tp-body .rv { transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* 6 dic 2026: los enlaces dentro del texto (al tratamiento, precios y otros artículos) se veían igual que el texto;
   subrayado fino champaña para que se distingan, como pidió Noga ("que cada blog enlace a su tratamiento"). */
.tp-body p a:not(.btn), .tp-body li a:not(.btn) {
  text-decoration: underline; text-decoration-color: var(--champagne, #c9a46a); text-decoration-thickness: 1px;
  text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease;
}
.tp-body p a:not(.btn):hover, .tp-body li a:not(.btn):hover,
.tp-body p a:not(.btn):focus-visible, .tp-body li a:not(.btn):focus-visible { color: var(--ink, #111); text-decoration-color: currentColor; }
