/* =========================================================
   TF HOME PREMIUM NEWSROOM · tf-home-premium-newsroom-v1.css
   Coherente 1:1 con el PHP del shortcode [tf_home_premium_newsroom]
   - Layout + grids usados en PHP (3/6/9)
   - Cat nav + clusters + cards
   - Headings con ritmo vertical real (no “pegados”)
   - Incluye sección "Top decisiones" (tf-nr-section--hot + tf-nr-card--hot)
========================================================= */

/* =========================================================
   ROOT / TOKENS
========================================================= */
.tf-home-newsroom{
  --brand:#c65d3a;
  --bg:#ffffff;
  --ink:#0f172a;
  --muted:rgba(15,23,42,.72);
  --line:rgba(15,23,42,.12);
  --soft:rgba(15,23,42,.06);
  --card:#ffffff;

  --radius:18px;
  --shadow:0 10px 30px rgba(15,23,42,.08);
  --shadow-soft:0 8px 18px rgba(15,23,42,.07);

  /* ancho y ritmo */
  --max:1180px;
  --gap:18px;

  /* ritmo headings (global) */
  --h2-mt: clamp(18px, 1.1vw + 10px, 28px);
  --h3-mt: clamp(14px, 0.9vw + 8px, 22px);
  --h4-mt: clamp(12px, 0.8vw + 6px, 18px);

  /* ritmo cabeceras de sección */
  --head-mt: clamp(18px, 1.3vw + 10px, 30px);

  background:var(--bg);
  color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.tf-home-newsroom *{ box-sizing:border-box; }
.tf-home-newsroom a{ color:inherit; }
.tf-home-newsroom img{ max-width:100%; height:auto; }
.tf-home-newsroom h1,
.tf-home-newsroom h2,
.tf-home-newsroom h3,
.tf-home-newsroom h4,
.tf-home-newsroom p,
.tf-home-newsroom ul,
.tf-home-newsroom ol,
.tf-home-newsroom figure{
  margin:0;
}

/* =========================================================
   BASE LAYOUT
========================================================= */
.tf-home-newsroom .tf-nr-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

.tf-home-newsroom .tf-nr-section{
  padding:34px 0;
}

/* Cabeceras de sección */
.tf-home-newsroom .tf-nr-head{ margin:0 0 14px; }
.tf-home-newsroom * + .tf-nr-head{ margin-top: var(--head-mt); }

.tf-home-newsroom .tf-nr-head--split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
@media (max-width:820px){
  .tf-home-newsroom .tf-nr-head--split{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Títulos de sección */
.tf-home-newsroom .tf-nr-title{
  margin:0;
  font-size:22px;
  letter-spacing:-0.02em;
  line-height:1.18;
}
.tf-home-newsroom .tf-nr-title--sm{ font-size:18px; }

.tf-home-newsroom .tf-nr-sub{
  margin:8px 0 0;
  color:var(--muted);
  max-width:72ch;
  font-size:15px;
  line-height:1.55;
}

/* =========================================================
   HERO
========================================================= */
.tf-home-newsroom .tf-nr-hero{
  padding:34px 0 18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(198,93,58,.06), rgba(255,255,255,1) 65%);
}

/* Kicker + copy */
.tf-home-newsroom .tf-nr-kicker{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  letter-spacing:.02em;
}

.tf-home-newsroom .tf-nr-h1{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.12;
  letter-spacing:-0.03em;
}
@media (max-width:820px){
  .tf-home-newsroom .tf-nr-h1{ font-size:28px; }
}

.tf-home-newsroom .tf-nr-lede{
  margin:0 0 14px;
  color:var(--muted);
  font-size:16px;
  max-width:70ch;
  line-height:1.6;
}

/* Grid HERO: copy + aside */
.tf-home-newsroom .tf-nr-hero__grid{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-hero__grid{ grid-template-columns:1fr; }
}

.tf-home-newsroom .tf-nr-hero__copy{ padding:18px 18px 0; }
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-hero__copy{ padding:10px 0 0; }
}

.tf-home-newsroom .tf-nr-hero__ctas{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 12px;
}

/* HERO MEDIA (cero CLS) */
.tf-home-newsroom .tf-nr-hero-media{ margin:0 0 18px; }
.tf-home-newsroom .tf-nr-hero-media__link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.tf-home-newsroom .tf-nr-hero-media__figure{
  position:relative;
  margin:0;
  border-radius:calc(var(--radius) + 2px);
  overflow:hidden;
  border:1px solid rgba(198,93,58,.18);
  box-shadow:0 18px 44px rgba(15,23,42,.10);
  background:#fff;
}

.tf-home-newsroom .tf-nr-hero-media__frame{
  position:relative;
  width:100%;
  padding-top:46%;
  background:rgba(15,23,42,.03);
}
@media (max-width:820px){
  .tf-home-newsroom .tf-nr-hero-media__frame{ padding-top:56.25%; }
}

.tf-home-newsroom .tf-nr-hero-media__img{
  position:absolute; top:0; left:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.tf-home-newsroom .tf-nr-hero-media__ph{
  position:absolute; top:0; left:0;
  width:100%; height:100%;
}
.tf-home-newsroom .tf-nr-hero-media__ph svg{
  width:100%;
  height:100%;
  display:block;
}

.tf-home-newsroom .tf-nr-hero-media__figure:after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; top:0;
  background:linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,.58) 100%);
  pointer-events:none;
}

.tf-home-newsroom .tf-nr-hero-media__cap{
  position:absolute;
  left:14px; right:14px; bottom:12px;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.22);
}

.tf-home-newsroom .tf-nr-hero-media__tag{
  display:inline-flex;
  align-self:flex-start;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  font-weight:800;
  font-size:12.5px;
  letter-spacing:.02em;
}

.tf-home-newsroom .tf-nr-hero-media__title{
  font-size:18px;
  font-weight:900;
  letter-spacing:-0.01em;
  line-height:1.15;
}
.tf-home-newsroom .tf-nr-hero-media__desc{
  font-size:13.5px;
  font-weight:650;
  opacity:.95;
  max-width:80ch;
  line-height:1.4;
}

.tf-home-newsroom .tf-nr-hero-media__link:focus{ outline:none; }
.tf-home-newsroom .tf-nr-hero-media__link:focus-visible{
  outline:3px solid rgba(198,93,58,.34);
  outline-offset:3px;
  border-radius:calc(var(--radius) + 4px);
}
.tf-home-newsroom .tf-nr-hero-media__figure:hover{
  box-shadow:0 22px 56px rgba(15,23,42,.14);
  border-color:rgba(198,93,58,.28);
}

/* =========================================================
   UI: BUTTONS / CHIPS / PILLS
========================================================= */
.tf-home-newsroom .tf-nr-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  box-shadow:0 4px 12px rgba(15,23,42,.06);
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease, background-color .14s ease;
  will-change:transform;
}

.tf-home-newsroom .tf-nr-btn--primary{
  background:var(--brand);
  border-color:rgba(198,93,58,.35);
  color:#fff;
  box-shadow:0 10px 22px rgba(198,93,58,.20);
}

.tf-home-newsroom .tf-nr-btn--ghost{
  background:#fff;
  border-color:rgba(15,23,42,.14);
}

.tf-home-newsroom .tf-nr-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(15,23,42,.10);
  border-color:rgba(15,23,42,.18);
}
.tf-home-newsroom .tf-nr-btn--primary:hover{
  box-shadow:0 16px 36px rgba(198,93,58,.26);
  border-color:rgba(198,93,58,.55);
}
.tf-home-newsroom .tf-nr-btn:active{ transform:translateY(0); }

.tf-home-newsroom .tf-nr-btn:focus{ outline:none; }
.tf-home-newsroom .tf-nr-btn:focus-visible{
  outline:3px solid rgba(198,93,58,.30);
  outline-offset:2px;
}

/* chips */
.tf-home-newsroom .tf-nr-chips{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0;
  margin:0 0 18px;
}
.tf-home-newsroom .tf-nr-chip{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(198,93,58,.22);
  background:rgba(198,93,58,.06);
  color:#7a2f1b;
  font-size:13px;
  font-weight:600;
}

/* Pills en header (tf-nr-pill) */
.tf-home-newsroom .tf-nr-head__pill{ display:flex; justify-content:flex-end; }

.tf-home-newsroom .tf-nr-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(198,93,58,.24);
  background:rgba(198,93,58,.06);
  color:#7a2f1b;
  text-decoration:none;
  font-weight:750;
  font-size:13px;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  will-change:transform;
}

.tf-home-newsroom .tf-nr-pill:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(15,23,42,.10);
  border-color:rgba(198,93,58,.36);
}

.tf-home-newsroom .tf-nr-pill:focus{ outline:none; }
.tf-home-newsroom .tf-nr-pill:focus-visible{
  outline:3px solid rgba(198,93,58,.30);
  outline-offset:2px;
}

/* mini links (aside) */
.tf-home-newsroom .tf-nr-mini-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.tf-home-newsroom .tf-nr-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  will-change:transform;
}
.tf-home-newsroom .tf-nr-mini:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(15,23,42,.10);
  border-color:rgba(15,23,42,.18);
}
.tf-home-newsroom .tf-nr-mini:focus{ outline:none; }
.tf-home-newsroom .tf-nr-mini:focus-visible{
  outline:3px solid rgba(198,93,58,.30);
  outline-offset:2px;
}

/* =========================================================
   CARDS (base)
========================================================= */
.tf-home-newsroom .tf-nr-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.tf-home-newsroom .tf-nr-card--callout{
  padding:16px;
  border-color:rgba(198,93,58,.18);
  box-shadow:0 12px 34px rgba(15,23,42,.09);
}

.tf-home-newsroom .tf-nr-card--compact{
  padding:16px;
  border-color:rgba(15,23,42,.14);
}

/* Text helpers (en callout / trust) */
.tf-home-newsroom .tf-nr-h2{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:-0.01em;
  line-height:1.2;
}
.tf-home-newsroom .tf-nr-h3{ margin:0 0 8px; font-size:15px; line-height:1.2; }
.tf-home-newsroom .tf-nr-p{ margin:0 0 12px; color:var(--muted); font-size:14px; line-height:1.55; }

.tf-home-newsroom .tf-nr-steps{
  margin:0;
  padding:0 0 0 18px;
  color:var(--ink);
  font-size:14px;
  line-height:1.55;
}
.tf-home-newsroom .tf-nr-steps li{ margin:8px 0; }

/* divisor */
.tf-home-newsroom .tf-nr-divider{
  height:1px;
  background:var(--line);
  margin:12px 0;
}

/* =========================================================
   GRIDS (coherentes con PHP)
========================================================= */
.tf-home-newsroom .tf-nr-grid{ display:grid; gap:var(--gap); }

/* 3 */
.tf-home-newsroom .tf-nr-grid--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-grid--3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .tf-home-newsroom .tf-nr-grid--3{ grid-template-columns:1fr; }
}

/* 6: en PHP se usa para “Top decisiones”, “Hoy te interesa”, y clusters (6 cards) */
.tf-home-newsroom .tf-nr-grid--6{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-grid--6{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .tf-home-newsroom .tf-nr-grid--6{ grid-template-columns:1fr; }
}

/* 9: últimos análisis (9 cards) */
.tf-home-newsroom .tf-nr-grid--9{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-grid--9{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .tf-home-newsroom .tf-nr-grid--9{ grid-template-columns:1fr; }
}

/* Compat (por si existían) */
.tf-home-newsroom .tf-nr-grid--8{ grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-grid--8{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .tf-home-newsroom .tf-nr-grid--8{ grid-template-columns:1fr; }
}
.tf-home-newsroom .tf-nr-grid--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-grid--4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .tf-home-newsroom .tf-nr-grid--4{ grid-template-columns:1fr; }
}

/* =========================================================
   LINK CARDS (Empieza por aquí / Hoy te interesa / Top decisiones)
========================================================= */
.tf-home-newsroom .tf-nr-card--link{
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  will-change:transform;
}

.tf-home-newsroom .tf-nr-card--link .tf-nr-card__link{
  display:flex;
  flex-direction:column;
  padding:14px 14px 12px;
  text-decoration:none;
  color:inherit;
  height:100%;
  min-height:132px; /* coherencia visual */
}

.tf-home-newsroom .tf-nr-card__title{
  margin:0 0 8px;
  font-size:15px;
  line-height:1.25;
  letter-spacing:-0.01em;
}

.tf-home-newsroom .tf-nr-card__desc{
  margin:0 0 12px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.5;
}

.tf-home-newsroom .tf-nr-card__cta{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:750;
  font-size:13px;
  color:var(--brand);
}

.tf-home-newsroom .tf-nr-card--link:hover{
  border-color:rgba(198,93,58,.22);
  box-shadow:0 16px 36px rgba(15,23,42,.10);
  transform:translateY(-1px);
}

.tf-home-newsroom .tf-nr-card--link .tf-nr-card__link:focus{ outline:none; }
.tf-home-newsroom .tf-nr-card--link .tf-nr-card__link:focus-visible{
  outline:3px solid rgba(198,93,58,.30);
  outline-offset:2px;
  border-radius:14px;
}

/* =========================================================
   TOP DECISIONES (sección hot)
   PHP: .tf-nr-section--hot + .tf-nr-card--hot
========================================================= */
.tf-home-newsroom .tf-nr-section--hot{
  position:relative;
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(198,93,58,.10), rgba(255,255,255,0) 58%),
    radial-gradient(900px 420px at 82% 10%, rgba(15,23,42,.05), rgba(255,255,255,0) 55%);
}

.tf-home-newsroom .tf-nr-card--hot{
  border-color:rgba(198,93,58,.18);
  box-shadow:0 10px 26px rgba(15,23,42,.08);
}
.tf-home-newsroom .tf-nr-card--hot:hover{
  border-color:rgba(198,93,58,.28);
  box-shadow:0 18px 44px rgba(15,23,42,.12);
}

/* =========================================================
   POST CARDS (clusters + últimos análisis)
========================================================= */
.tf-home-newsroom .tf-nr-card--post{
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  will-change:transform;
}

.tf-home-newsroom .tf-nr-card--post:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 44px rgba(15,23,42,.12);
  border-color:rgba(15,23,42,.16);
}

.tf-home-newsroom .tf-nr-post{
  display:block;
  text-decoration:none;
  color:inherit;
  height:100%;
}

/* media cuadrado 1:1 */
.tf-home-newsroom .tf-nr-media{
  position:relative;
  width:100%;
  padding-top:100%;
  background:rgba(15,23,42,.03);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}

.tf-home-newsroom .tf-nr-img{
  position:absolute; top:0; left:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition:transform .22s ease;
}
.tf-home-newsroom .tf-nr-card--post:hover .tf-nr-img{ transform:scale(1.03); }

.tf-home-newsroom .tf-nr-img--ph{
  display:flex;
  align-items:center;
  justify-content:center;
}

.tf-home-newsroom .tf-nr-ph{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px; height:56px;
  border-radius:16px;
  border:1px solid rgba(198,93,58,.20);
  background:rgba(198,93,58,.06);
  color:#7a2f1b;
  font-weight:900;
  letter-spacing:.02em;
}

.tf-home-newsroom .tf-nr-post__body{ padding:12px 14px 14px; }

.tf-home-newsroom .tf-nr-brand{
  margin:0 0 6px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  color:rgba(122,47,27,.95);
}

/* =========================================================
   CATEGORÍAS (cat nav)
========================================================= */
.tf-home-newsroom .tf-nr-catnav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 18px;
}

.tf-home-newsroom .tf-nr-catpill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  color:var(--ink);
  text-decoration:none;
  font-weight:750;
  font-size:13px;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  will-change:transform;
}

.tf-home-newsroom .tf-nr-catpill:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(15,23,42,.10);
  border-color:rgba(198,93,58,.28);
}
.tf-home-newsroom .tf-nr-catpill:focus{ outline:none; }
.tf-home-newsroom .tf-nr-catpill:focus-visible{
  outline:3px solid rgba(198,93,58,.30);
  outline-offset:2px;
}

/* =========================================================
   CLUSTERS
========================================================= */
.tf-home-newsroom .tf-nr-section--clusters{ }
.tf-home-newsroom .tf-nr-cluster{ margin-top:18px; }
.tf-home-newsroom .tf-nr-head--cluster{ margin-bottom:12px; }

.tf-home-newsroom .tf-nr-grid--cluster{
  gap:var(--gap);
}

/* Tarjetas de cluster (mismo look, leve ajuste de tipografía) */
.tf-home-newsroom .tf-nr-card--clusterpost .tf-nr-post__body{
  padding:12px 14px 14px;
}
.tf-home-newsroom .tf-nr-card--clusterpost .tf-nr-card__title{
  font-size:14.5px;
  line-height:1.25;
}

/* =========================================================
   EMPTY STATES
========================================================= */
.tf-home-newsroom .tf-nr-empty{
  padding:18px;
  border:1px dashed rgba(198,93,58,.28);
  border-radius:var(--radius);
  background:rgba(198,93,58,.04);
}

.tf-home-newsroom .tf-nr-empty__t{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.tf-home-newsroom .tf-nr-empty__links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.tf-home-newsroom .tf-nr-empty--cluster{ margin:10px 0 0; }

/* =========================================================
   TRUST (Metodología y transparencia)
========================================================= */
.tf-home-newsroom .tf-nr-trust{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:start;
}
@media (max-width:980px){
  .tf-home-newsroom .tf-nr-trust{ grid-template-columns:1fr; }
}

.tf-home-newsroom .tf-nr-trust__links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.tf-home-newsroom .tf-nr-footnote{
  margin:0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.5;
}

/* =========================================================
   FOOTER
========================================================= */
.tf-home-newsroom .tf-nr-footer{
  padding:18px 0 30px;
  border-top:1px solid var(--line);
  background:#fff;
}

.tf-home-newsroom .tf-nr-footer__nav{
  display:flex;
  gap:12px 14px;
  flex-wrap:wrap;
  align-items:center;
}

.tf-home-newsroom .tf-nr-footer__nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  border-bottom:1px solid transparent;
  padding-bottom:2px;
  transition:color .12s ease, border-color .12s ease;
}

.tf-home-newsroom .tf-nr-footer__nav a:hover{
  color:var(--ink);
  border-color:rgba(198,93,58,.35);
}

.tf-home-newsroom .tf-nr-footer__nav a:focus{ outline:none; }
.tf-home-newsroom .tf-nr-footer__nav a:focus-visible{
  outline:3px solid rgba(198,93,58,.30);
  outline-offset:2px;
  border-radius:10px;
}

.tf-home-newsroom .tf-nr-footer__copy{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.5;
}

/* =========================================================
   PREMIUM SCALE OVERRIDE (integrado y coherente)
========================================================= */
.tf-home-newsroom{
  --max: 1280px;
  --gap: 22px;

  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.6;
}

/* wrap con más aire */
.tf-home-newsroom .tf-nr-wrap{
  padding: 0 clamp(18px, 2.4vw, 34px);
}

/* secciones */
.tf-home-newsroom .tf-nr-section{
  padding: clamp(34px, 3.2vw, 54px) 0;
}

/* títulos */
.tf-home-newsroom .tf-nr-title{
  font-size: clamp(24px, 0.6vw + 22px, 30px);
  letter-spacing: -0.02em;
}
.tf-home-newsroom .tf-nr-title--sm{
  font-size: clamp(18px, 0.25vw + 17px, 22px);
}
.tf-home-newsroom .tf-nr-sub{
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  line-height: 1.55;
  max-width: 78ch;
}

/* hero */
.tf-home-newsroom .tf-nr-kicker{
  font-size: clamp(14px, 0.2vw + 13px, 15px);
}
.tf-home-newsroom .tf-nr-h1{
  font-size: clamp(34px, 1.4vw + 28px, 52px);
  line-height: 1.08;
}
.tf-home-newsroom .tf-nr-lede{
  font-size: clamp(18px, 0.45vw + 16px, 22px);
  line-height: 1.55;
  max-width: 75ch;
}

/* botones y chips */
.tf-home-newsroom .tf-nr-btn{
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 16px;
}
.tf-home-newsroom .tf-nr-chip{
  font-size: 14px;
  padding: 8px 12px;
}

/* link cards */
.tf-home-newsroom .tf-nr-card--link .tf-nr-card__link{
  padding: 16px 16px 14px;
  min-height: 148px;
}
.tf-home-newsroom .tf-nr-card__title{
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  line-height: 1.25;
}
.tf-home-newsroom .tf-nr-card__desc{
  font-size: clamp(14.5px, 0.15vw + 14px, 16px);
  line-height: 1.5;
}
.tf-home-newsroom .tf-nr-card__cta{ font-size: 14px; }

/* callout */
.tf-home-newsroom .tf-nr-h2{ font-size: 18px; }
.tf-home-newsroom .tf-nr-h3{ font-size: 16px; }
.tf-home-newsroom .tf-nr-p{ font-size: 15px; line-height: 1.55; }
.tf-home-newsroom .tf-nr-steps{ font-size: 15px; line-height: 1.55; }
.tf-home-newsroom .tf-nr-mini{ font-size: 14px; padding: 9px 12px; }

/* últimos análisis */
.tf-home-newsroom .tf-nr-post__body{ padding: 14px 16px 16px; }
.tf-home-newsroom .tf-nr-brand{ font-size: 13px; }

/* footer */
.tf-home-newsroom .tf-nr-footer__nav a{ font-size: 14px; }
.tf-home-newsroom .tf-nr-footer__copy{ font-size: 13.5px; }

/* desktop grande */
@media (min-width: 1240px){
  .tf-home-newsroom .tf-nr-hero{ padding: 46px 0 22px; }
  .tf-home-newsroom .tf-nr-hero__copy{ padding: 20px 18px 0; }
}

/* =========================================================
   RITMO FINAL DE HEADINGS (distancias correctas sin romper cards)
========================================================= */
.tf-home-newsroom * + .tf-nr-head{ margin-top: var(--head-mt); }

.tf-home-newsroom .tf-nr-card--callout * + h2,
.tf-home-newsroom .tf-nr-card--callout * + h3,
.tf-home-newsroom .tf-nr-card--callout * + h4{
  margin-top: var(--h3-mt);
}

/* aire antes del primer cluster tras el nav de categorías */
.tf-home-newsroom .tf-nr-catnav + .tf-nr-cluster{
  margin-top: clamp(18px, 1.2vw + 10px, 30px);
}

/* =========================================================
   ACCESIBILIDAD / MOTION
========================================================= */
@media (prefers-reduced-motion: reduce){
  .tf-home-newsroom *{
    transition:none !important;
    scroll-behavior:auto !important;
  }
  .tf-home-newsroom .tf-nr-img{ transform:none !important; }
}
/* =========================================================
   FIX MÓVIL · Botón flotante Menú sin solapar comparador
========================================================= */
@media (max-width: 767px){
  body.home .ht-scroll-to-top,
  body.home .scroll-to-top,
  body.home .back-to-top,
  body.home .hfe-scroll-to-top,
  body.home .elementor-widget-theme-site-logo + .scroll-to-top,
  body.home a[href="#top"],
  body.home a[href="#page"],
  body.home button[aria-label*="Menú"],
  body.home a[aria-label*="Menú"]{
    bottom: 112px !important;
    right: 12px !important;
    z-index: 9990 !important;
  }
}

@media (max-width: 767px){
  .tf-smart-floating-menu{
    right:12px !important;
    z-index:9990 !important;
  }
}