/*
Theme Name: Factum365
Theme URI: https://factum365.com
Author: Diego René Martín / The Burboh Group
Author URI: https://burboh.com.ar
Description: Tema oficial de Factum365 — Hechos, no relato. Portal de periodismo político argentino e internacional. v2: reconstrucción con foco en indexación y SEO técnico.
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: factum365
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bk: #0a0a0a;
  --wh: #f7f7f5;
  --g1: #ebebeb;
  --g2: #d0d0cc;
  --g3: #a0a09c;
  --g4: #606060;
  --ft: 'M PLUS Rounded 1c', sans-serif;
  --fb: 'Source Serif 4', Georgia, serif;
}

body {
  font-family: var(--fb);
  background: var(--wh);
  color: var(--bk);
  font-size: 15px;
}

/* Barra de administración WordPress */
body.admin-bar { margin-top: 0 !important; }
html body.admin-bar .main-nav { position: relative; }

a { text-decoration: none; color: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }

/* =====================
   TOP BAR
   ===================== */
.tb {
  display: flex !important;
  background: var(--bk);
  color: var(--g2);
  font-family: var(--ft);
  font-size: 10.5px;
  letter-spacing: .1em;
  padding: 5px 24px;
  justify-content: space-between;
  align-items: center;
}
.tb a { color: var(--g3); margin: 0 8px; transition: color .15s; }
.tb a:hover { color: var(--wh); }
.tb-ig { display: inline-flex; align-items: center; gap: 5px; }
.ig-svg { width: 13px; height: 13px; fill: currentColor; vertical-align: middle; }
.tb-nav a:first-child { margin-left: 0; }

/* =====================
   HEADER
   ===================== */
.site-header { border-bottom: 3px solid var(--bk); padding: 0 24px; }
.hi {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 0 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.site-logo { font-family: var(--ft); font-weight: 900; font-size: 50px; letter-spacing: -2px; line-height: 1; color: var(--bk); }
.site-logo sup { font-size: 16px; vertical-align: super; letter-spacing: 0; font-weight: 700; }
.site-claim { font-family: var(--ft); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--g3); margin-top: 3px; }
.hdate { font-family: var(--ft); font-size: 11px; color: var(--g3); text-align: right; line-height: 1.7; }

/* =====================
   NAV
   ===================== */
nav.main-nav { background: var(--bk); }
.nav-inner { max-width: 1160px; margin: 0 auto; display: flex; overflow-x: auto; }
.main-nav a {
  font-family: var(--ft);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--g3);
  padding: 12px 18px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  display: block;
}
.main-nav a:hover,
.main-nav a.current-menu-item,
.main-nav a.current-category { color: var(--wh); border-bottom-color: var(--wh); }

/* =====================
   MAIN WRAP
   ===================== */
.mw { max-width: 1160px; margin: 0 auto; padding: 30px 24px; }

/* =====================
   SECTION LABEL
   ===================== */
.sl {
  font-family: var(--ft);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-top: 2.5px solid var(--bk);
  padding-top: 7px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sl::after { content: ''; flex: 1; height: 1px; background: var(--g1); }
.sl.inv { color: var(--wh); border-top-color: var(--wh); }
.sl.inv::after { background: var(--g4); }

/* =====================
   GRAYSCALE → COLOR EN HOVER
   ===================== */
.gimg {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter .45s ease;
}
.gimg:hover { filter: grayscale(0%) contrast(1); }

/* =====================
   TAG / BADGE
   ===================== */
.tag {
  font-family: var(--ft);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--bk);
  color: var(--wh);
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 8px;
}

/* =====================
   FEATURED GRID (HOME)
   ===================== */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--bk);
  border: 1px solid var(--bk);
  margin-bottom: 40px;
}
.fc { background: var(--wh); display: flex; flex-direction: column; overflow: hidden; }
.fc:first-child { grid-column: span 2; }
.fc-img { overflow: hidden; flex-shrink: 0; }
.fc:first-child .fc-img { height: 300px; }
.fc:not(:first-child) .fc-img { height: 185px; }
.fc:first-child .gimg { height: 300px; }
.fc:not(:first-child) .gimg { height: 185px; }
/* Sin imagen: el fc-img no ocupa espacio */
.fc .fc-img:empty { display: none; height: 0; }
.fc-body { padding: 14px 18px 18px; }
.fc-t1 { font-family: var(--ft); font-weight: 700; font-size: 22px; line-height: 1.22; margin-bottom: 8px; }
.fc-t2 { font-family: var(--ft); font-weight: 700; font-size: 15.5px; line-height: 1.25; margin-bottom: 6px; }
.fc-ex { font-size: 13.5px; color: var(--g4); line-height: 1.55; }
.fc-meta { font-family: var(--ft); font-size: 10px; color: var(--g3); margin-top: 10px; }

/* =====================
   TWO COLUMNS
   ===================== */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}

/* =====================
   NEWS LEAD
   ===================== */
.nl { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--g1); }
.nl-img { overflow: hidden; margin-bottom: 10px; }
.nl .gimg { height: 210px; }
.nl-cat { font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--g3); margin-bottom: 5px; }
.nl-t { font-family: var(--ft); font-weight: 700; font-size: 18px; line-height: 1.26; margin-bottom: 7px; }
.nl-ex { font-size: 13px; color: var(--g4); line-height: 1.55; margin-bottom: 7px; }
.nl-mt { font-family: var(--ft); font-size: 10px; color: var(--g3); }

/* =====================
   NEWS LIST (pequeñas)
   ===================== */
.ni {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--g1);
}
.ni:first-child { padding-top: 0; }
.ni .gimg { width: 84px; height: 62px; }
.ni-cat { font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g3); margin-bottom: 3px; }
.ni-t { font-family: var(--ft); font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--bk); }
.ni-mt { font-family: var(--ft); font-size: 10px; color: var(--g3); margin-top: 3px; }

/* =====================
   SIDEBAR
   ===================== */
.sb-item { padding: 11px 0; border-bottom: 1px solid var(--g1); overflow: hidden; }
.sb-item:last-child { border-bottom: none; }
.sb-cat { font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g3); margin-bottom: 3px; }
.sb-t { font-family: var(--ft); font-weight: 700; font-size: 13px; line-height: 1.3; }
.rankn { font-family: var(--ft); font-weight: 900; font-size: 30px; color: var(--g1); float: left; margin-right: 10px; line-height: 1.05; }

/* =====================
   ELECCIONES BAND
   ===================== */
.elex-band { background: var(--bk); padding: 22px 26px; margin-bottom: 36px; }
.elex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--g4); margin-top: 16px; }
.elex-item { background: var(--bk); padding: 15px 16px; }
.elex-place { font-family: var(--ft); font-weight: 900; font-size: 13px; color: var(--wh); margin-bottom: 5px; }
.elex-detail { font-family: var(--ft); font-size: 11px; color: var(--g3); line-height: 1.5; }
.elex-date { font-family: var(--ft); font-size: 10px; color: var(--g4); margin-top: 6px; letter-spacing: .08em; }

/* =====================
   PASILLOS
   ===================== */
.pasillos { background: var(--bk); padding: 22px 26px; margin-bottom: 36px; }
.pas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--g4); margin-top: 16px; }
.pas-item { background: var(--bk); padding: 15px 16px; }
.pas-tag { font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--g4); margin-bottom: 6px; }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--wh); margin-right: 5px; vertical-align: middle; }
.pas-t { font-family: var(--ft); font-weight: 700; font-size: 13px; color: var(--g2); line-height: 1.4; }

/* =====================
   SINGLE (nota individual)
   ===================== */
.single-wrap { max-width: 780px; margin: 0 auto; padding: 30px 24px; }
.single-cat { font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--g3); margin-bottom: 10px; }
.single-title { font-family: var(--ft); font-weight: 900; font-size: 36px; line-height: 1.15; margin-bottom: 14px; }
.single-excerpt { font-size: 18px; color: var(--g4); line-height: 1.55; border-left: 3px solid var(--bk); padding-left: 16px; margin-bottom: 20px; font-style: italic; }
.single-meta { font-family: var(--ft); font-size: 11px; color: var(--g3); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--g1); display: flex; gap: 16px; align-items: center; }
.single-img-wrap { margin-bottom: 28px; overflow: hidden; }
.single-img-wrap img { width: 100%; max-height: 480px; object-fit: cover; }
.single-body { font-size: 17px; line-height: 1.75; }
.single-body p { margin-bottom: 1.4em; }
.single-body h2 { font-family: var(--ft); font-weight: 700; font-size: 22px; margin: 1.6em 0 .6em; }
.single-body h3 { font-family: var(--ft); font-weight: 700; font-size: 18px; margin: 1.4em 0 .5em; }
.single-body blockquote { border-left: 3px solid var(--bk); padding-left: 18px; margin: 1.5em 0; font-style: italic; color: var(--g4); }
.single-body a { border-bottom: 1px solid var(--g2); transition: border-color .15s; }
.single-body a:hover { border-bottom-color: var(--bk); }

/* =====================
   CATEGORY PAGE
   ===================== */
.cat-header { border-bottom: 3px solid var(--bk); margin-bottom: 28px; padding-bottom: 10px; }
.cat-header h1 { font-family: var(--ft); font-weight: 900; font-size: 32px; letter-spacing: -1px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.cat-card { display: flex; flex-direction: column; border-bottom: 1px solid var(--g1); padding-bottom: 16px; }
.cat-card-img { overflow: hidden; margin-bottom: 10px; }
.cat-card-img .gimg { height: 180px; }
.cat-card-cat { font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g3); margin-bottom: 5px; }
.cat-card-title { font-family: var(--ft); font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.cat-card-meta { font-family: var(--ft); font-size: 10px; color: var(--g3); margin-top: auto; padding-top: 8px; }

/* =====================
   PAGINATION
   ===================== */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 20px 0 10px; }
.pagination a, .pagination span {
  font-family: var(--ft);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--g2);
  color: var(--g4);
  transition: all .15s;
}
.pagination a:hover { background: var(--bk); color: var(--wh); border-color: var(--bk); }
.pagination .current { background: var(--bk); color: var(--wh); border-color: var(--bk); }

/* =====================
   FOOTER
   ===================== */
footer.site-footer { background: var(--bk); color: var(--g3); padding: 32px 24px; border-top: 3px solid var(--bk); margin-top: 8px; }
.fi { max-width: 1160px; margin: 0 auto; }
.fg { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; margin-bottom: 22px; }
.fl { font-family: var(--ft); font-weight: 900; font-size: 28px; color: var(--wh); letter-spacing: -1px; margin-bottom: 4px; }
.fc2 { font-family: var(--ft); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--g3); margin-bottom: 10px; }
.fd { font-size: 13px; line-height: 1.65; }
.ftt { font-family: var(--ft); font-weight: 700; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--wh); margin-bottom: 10px; border-bottom: 1px solid var(--g4); padding-bottom: 5px; }
.flinks { list-style: none; }
.flinks li { margin-bottom: 5px; }
.flinks a { font-family: var(--ft); font-size: 12.5px; color: var(--g3); transition: color .15s; }
.flinks a:hover { color: var(--wh); }
.fbot { border-top: 1px solid var(--g4); padding-top: 20px; margin-top: 4px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.fbot-logo { display: flex; align-items: center; gap: 16px; }
.fbot-logo a { display: block; background: #fff; padding: 10px; opacity: .9; transition: opacity .2s; }
.fbot-logo a:hover { opacity: 1; }
.fbot-logo img { display: block; height: 40px; width: auto; }
.fbot-credits { font-family: var(--ft); font-size: 11px; line-height: 1.7; color: var(--g2); }
.fbot-credits .label { color: var(--g2); display: block; }
.fbot-credits .director { color: var(--g3); display: block; }
.fbot-credits .misiones { font-family: var(--ft); font-size: 10px; color: var(--g4); letter-spacing: .05em; display: block; margin-top: 2px; }

/* Reset defensivo: evita que WP o plugins conviertan links del footer en botones/inputs */
.fbot-credits a,
.fbot-credits a:link,
.fbot-credits a:visited {
  display: inline !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--g4) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: var(--ft) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--wh) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
}
.fbot-credits a:hover {
  border-bottom-color: var(--wh) !important;
  background: transparent !important;
}
.fbot-credits .director a,
.fbot-credits .director a:link,
.fbot-credits .director a:visited {
  color: var(--g2) !important;
  font-weight: 400 !important;
  border-bottom: none !important;
}
.fbot-credits .director a:hover {
  color: var(--wh) !important;
}
.fbot-right { text-align: right; }
.fbot-copy { font-family: var(--ft); font-size: 10px; color: var(--g4); margin-bottom: 6px; }
.fbot-ig { color: var(--g3); display: inline-flex; align-items: center; gap: 5px; font-family: var(--ft); font-size: 11px; transition: color .15s; }
.fbot-ig:hover { color: var(--wh); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; }
  .fc:first-child { grid-column: span 1; }
  .cols { grid-template-columns: 1fr; }
  .elex-grid, .pas-grid { grid-template-columns: 1fr 1fr; }
  .fg { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .hi { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-header .logo { max-height: 50px; max-width: 220px; }
  .hdate { display: none; }
}
@media (max-width: 560px) {
  .site-logo { font-size: 36px; }
  .elex-grid, .pas-grid, .cat-grid { grid-template-columns: 1fr; }
  .tb .tb-nav { display: none; }
  .single-title { font-size: 26px; }
  .site-header .logo { max-height: 40px; max-width: 180px; }
}

/* Imágenes dentro del cuerpo de la nota */
.single-body img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 1.2em auto;
}
.single-body figure {
  max-width: 100% !important;
  margin: 1.5em 0;
}
.single-body figcaption {
  font-family: var(--ft);
  font-size: 13px;
  color: var(--g4);
  margin-top: 6px;
  text-align: left;
}
.single-body .wp-block-image,
.single-body .wp-caption {
  max-width: 100% !important;
}
.single-body .wp-caption-text,
.single-body .wp-element-caption,
.wp-caption-text,
.wp-element-caption,
figcaption {
  display: block;
  font-family: var(--fb);
  font-size: 13px;
  font-style: italic;
  color: var(--g4);
  margin-top: 6px;
  line-height: 1.5;
  border-left: 2px solid var(--g2);
  padding-left: 8px;
}
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--g1); }
::-webkit-scrollbar-thumb { background: var(--bk); }


/* =====================================================================
   v2 — clases que reemplazan los estilos inline del theme anterior
   ===================================================================== */
.skip { position: absolute; left: -9999px; top: 0; background: var(--bk); color: var(--wh); padding: 8px 14px; z-index: 1000; font-family: var(--ft); }
.skip:focus { left: 8px; top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.brand { margin: 0; font-size: inherit; line-height: 0; }
.brand a { display: block; text-decoration: none; }
.logo { max-height: 70px; width: auto; height: auto; max-width: 100%; display: block; }

/* Hero (Destacadas) */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 1px; background: var(--bk); border: 1px solid var(--bk); margin-bottom: 40px; }
.hero-main { background: var(--wh); display: flex; flex-direction: column; }
.hero-side { display: flex; flex-direction: column; gap: 1px; background: var(--bk); }
.hero-item { background: var(--wh); flex: 1; display: flex; flex-direction: column; }
.hero-img { overflow: hidden; flex-shrink: 0; }
.hero-main .gimg { height: 380px; width: 100%; object-fit: cover; }
.hero-item .gimg { height: 185px; width: 100%; object-fit: cover; }
.hero-body { padding: 14px 18px 18px; }
.hero-item .hero-body { padding: 12px 16px 16px; }
.hero .fc-t2 { margin-bottom: 6px; }

/* Secciones */
.grid-b6 { margin-bottom: 40px; }
.sec { margin-bottom: 36px; }
.sec .cat-grid { margin-bottom: 0; }
.sl a { color: inherit; }
.sec-dark { background: var(--bk); padding: 22px 26px; }
.cat-card.is-dark { background: #1a1a1a; border-bottom: 1px solid #333; }
.cat-card.is-dark .cat-card-body { padding: 8px 0 12px; }
.cat-card.is-dark .cat-card-cat, .cat-card.is-dark .cat-card-cat a { color: var(--g3); }
.cat-card.is-dark .cat-card-title, .cat-card.is-dark .cat-card-title a { color: var(--wh); }
.cat-card.is-dark .cat-card-meta { color: var(--g4); }
.cat-card-body { display: flex; flex-direction: column; flex: 1; }
p.nl-ex { margin-bottom: 7px; }

/* Opiniones */
.op-card { background: #fff; border: 1px solid #e0e0e0; padding: 24px 20px; display: flex; flex-direction: column; align-items: flex-start; }
.op-foto-wrap { margin-bottom: 14px; }
.op-foto { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid #111; }
.op-foto-vacia { background: #111; display: flex; align-items: center; justify-content: center; }
.op-foto-vacia span { color: #FFFF00; font-size: 28px; font-weight: 900; font-family: var(--ft); }
.op-nombre { font-family: var(--ft); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g4); margin-bottom: 8px; }
.op-t { font-family: var(--ft); font-size: 17px; font-weight: 700; color: #111; line-height: 1.3; margin: 0 0 12px; }
.op-t a { color: #111; }
.op-barra { width: 32px; height: 3px; background: #FFFF00; margin-bottom: 14px; }
.op-leer { font-family: var(--ft); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; color: #111; border-bottom: 2px solid #111; padding-bottom: 2px; margin-top: auto; }

/* Pasillos */
.sec-pasillos { background: #ECE5DD; padding: 22px 26px; }
.sl-pasillos { border-top-color: #075E54; color: #075E54; }
.sl-pasillos a { color: #075E54; }
.sl-sub { font-size: 9px; letter-spacing: .1em; color: #555; font-weight: 400; text-transform: none; }
.pas-list { display: flex; flex-direction: column; gap: 12px; }
.pas-b { display: block; max-width: 85%; background: #fff; border-radius: 0 12px 12px 12px; padding: 12px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pas-b-tag { display: block; font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #075E54; margin-bottom: 6px; }
.pas-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #25D366; margin-right: 5px; vertical-align: middle; }
.pas-b-t { font-family: var(--ft); font-size: 16px; font-weight: 700; color: #111; line-height: 1.3; }
.pas-b-mt { display: block; font-family: var(--ft); font-size: 10px; color: #999; margin-top: 6px; text-align: right; }

/* Listados */
.cat-header .cat-page { font-weight: 400; font-size: .6em; color: var(--g3); letter-spacing: 0; }
.cat-header em { font-style: italic; font-weight: 400; }
.cat-desc { font-family: var(--ft); font-size: 12px; color: var(--g3); margin-top: 6px; }
.vacio { font-family: var(--ft); color: var(--g4); padding: 30px 0; font-size: 15px; }
.pagination { flex-wrap: wrap; }

/* Búsqueda */
.sform { margin: 0 0 32px; display: flex; max-width: 600px; }
.sform input[type="search"] { flex: 1; min-width: 0; padding: 10px 16px; font-family: var(--ft); font-size: 13px; border: 2px solid var(--bk); background: var(--wh); color: var(--bk); outline: none; border-radius: 0; }
.sform button { padding: 10px 20px; background: var(--bk); color: var(--wh); font-family: var(--ft); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--bk); cursor: pointer; border-radius: 0; }

/* 404 */
.e404 { max-width: 640px; margin: 40px auto 60px; text-align: center; }
.e404-n { font-family: var(--ft); font-weight: 900; font-size: 120px; line-height: 1; color: var(--g1); letter-spacing: -4px; }
.e404-t { font-family: var(--ft); font-weight: 900; font-size: 22px; margin: -10px 0 12px; }
.e404-p { font-size: 15px; color: var(--g4); line-height: 1.65; margin-bottom: 32px; }
.e404 .sform { margin: 0 auto 32px; max-width: 480px; }
.e404-btn { font-family: var(--ft); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 24px; border: 2px solid var(--bk); color: var(--bk); display: inline-block; transition: all .15s; }
.e404-btn:hover { background: var(--bk); color: var(--wh); }

/* Nota */
.single-cat a { color: inherit; }
.single-meta { flex-wrap: wrap; gap: 6px 16px; }
.single-meta .upd, .single-meta .byline { color: var(--g4); }
.single-img-wrap { margin: 0 0 28px; }
.single-img { width: 100%; height: auto; max-height: 480px; object-fit: cover; display: block; }
.single-img-wrap figcaption { font-family: var(--ft); font-style: normal; font-size: 12px; color: var(--g4); border: 0; padding: 0; margin-top: 6px; }
.op-autor { display: flex; align-items: center; gap: 14px; margin: 20px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--g1); }
.op-autor-foto { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #111; }
.op-autor-l { font-family: var(--ft); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--g4); margin-bottom: 3px; }
.op-autor-n { font-family: Georgia, serif; font-size: 15px; font-weight: 700; color: #111; }
.single-body ul, .single-body ol { margin: 0 0 1.4em 1.4em; }
.single-body li { margin-bottom: .4em; }
.single-body iframe, .single-body embed, .single-body video { max-width: 100%; }
.single-body iframe[src*="youtube"], .single-body iframe[src*="youtu.be"], .single-body iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.single-body .wp-caption, .single-body .f365-autocaption { margin: 1.5em 0; }
.single-body .wp-caption img, .single-body .f365-autocaption img { margin: 0 auto; }
.single-body .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.single-body .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.single-body .aligncenter { margin-left: auto; margin-right: auto; }
.single-body::after { content: ''; display: table; clear: both; }

/* Compartir */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 24px; }
.share-bottom { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--g1); }
.share-l { font-family: var(--ft); font-size: 9px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--g4); margin-right: 4px; }
.share-b { font-family: var(--ft); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border: 1.5px solid var(--bk); background: var(--wh); color: var(--bk); cursor: pointer; line-height: 1.2; border-radius: 0; transition: background .15s, color .15s; }
.share-b:hover, .share-b:focus-visible { background: var(--bk); color: var(--wh); }
.share-wa:hover { background: #FFFF00; color: var(--bk); }
.share-b[hidden] { display: none; }

/* Banner WhatsApp */
.wa-banner { margin: 32px 0; padding-top: 28px; border-top: 2px solid #111; }
.wa-banner a { display: flex; align-items: center; gap: 20px; background: #fff; border: 2px solid #111; padding: 20px 24px; }
.wa-ico { font-size: 34px; line-height: 1; flex-shrink: 0; }
.wa-txt { flex: 1; display: block; }
.wa-k { display: block; font-size: 10px; font-weight: 900; color: #111; text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 5px; }
.wa-t { display: block; font-size: 18px; font-weight: 900; color: #111; line-height: 1.2; margin-bottom: 4px; font-family: Georgia, serif; }
.wa-t span { background: #FFFF00; padding: 0 3px; }
.wa-d { display: block; font-size: 12px; color: #555; font-weight: 500; }
.wa-cta { background: #111; color: #fff; padding: 10px 20px; font-size: 11px; font-weight: 900; white-space: nowrap; flex-shrink: 0; letter-spacing: .1em; text-transform: uppercase; }

/* Etiquetas */
.single-tags { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--g1); display: flex; flex-wrap: wrap; gap: 6px; }
.single-tags a { font-family: var(--ft); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--g2); color: var(--g4); transition: all .15s; }
.single-tags a:hover { background: var(--bk); color: var(--wh); border-color: var(--bk); }
.related { padding-top: 0; }

/* Footer */
.f-logo { display: block; margin-bottom: 10px; }
.f-logo img { height: 55px; width: auto; display: block; }
.fcr { font-family: var(--ft); font-size: 10px; color: var(--g4); line-height: 1.8; letter-spacing: .05em; }
.fbot-ig svg { display: block; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-main .gimg { height: 260px; }
}
@media (max-width: 560px) {
  .wa-banner a { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .wa-cta { width: 100%; text-align: center; }
  .sec-dark, .sec-pasillos { padding: 18px 16px; }
  .pas-b { max-width: 100%; }
  .single-body .alignleft, .single-body .alignright { float: none; margin: 1em auto; max-width: 100%; }
}
