/* ============================================
   Agencia GEO/SEO — Dark editorial
   Paleta inspirada en Media Power: negro + lima
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #000000;
  --ink: #FFFFFF;
  --dim: #8A8A8A;
  --line: rgba(255, 255, 255, 0.12);
  --lime: #F2FE54;

  --sans: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --max: 1440px;
  --pad: 48px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--lime); color: var(--bg); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

@media (max-width: 760px) {
  :root { --pad: 24px; }
}

/* ============ NAV ============ */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav ul {
  list-style: none;
  display: flex; gap: 36px;
  margin: 0; padding: 0;
  font-size: 14px;
  font-weight: 400;
}
.nav a {
  color: var(--dim);
  transition: color .15s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }

.menu-btn { display: none; background: none; border: 0; padding: 8px; }
.menu-btn span {
  display: block; width: 22px; height: 1px;
  background: var(--ink); margin: 6px 0;
}

@media (max-width: 820px) {
  .nav ul { display: none; }
  .menu-btn { display: block; }
  .nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    padding: 22px var(--pad) 28px;
    gap: 20px;
    font-size: 17px;
  }
}

/* ============ TIPOGRAFÍA ============ */

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.display {
  font-size: clamp(56px, 10vw, 156px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.display strong { font-weight: 700; }

.h2 {
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--dim);
  max-width: 52ch;
  margin: 0;
  font-weight: 300;
}

.lede strong { color: var(--ink); font-weight: 500; }

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-text p {
  margin: 0 0 18px;
  color: var(--dim);
  font-weight: 300;
}
.body-text p:last-child { margin: 0; }
.body-text strong { color: var(--ink); font-weight: 500; }

/* ============ ENLACE FLECHA (único "botón") ============ */

.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding: 4px 0;
  transition: color .2s;
}
.link::after {
  content: '↗';
  color: var(--lime);
  font-size: 20px;
  line-height: 1;
  transition: transform .2s;
}
.link:hover { color: var(--lime); }
.link:hover::after { transform: translate(3px, -3px); }

.link-big {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.link-big::after { font-size: clamp(28px, 3vw, 40px); }

/* ============ HERO ============ */

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
}
.hero-text {
  padding: 80px var(--pad) 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.hero-text .top { display: flex; flex-direction: column; gap: 36px; }
.hero-text .bottom { display: flex; flex-direction: column; gap: 24px; max-width: 44ch; }
.hero-photo {
  background-color: #111;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
/* placeholder photo with subtle vignette */
.hero-photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(60,60,60,0.6) 0%, rgba(20,20,20,0.95) 50%, #000 100%);
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, transparent 1px, transparent 2px, rgba(255,255,255,0.015) 3px);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text {
    padding: 40px 0 50px;
    order: 2;
    gap: 50px;
  }
  .hero-photo {
    order: 1;
    aspect-ratio: 4/3;
    width: 100%;
    margin: 0 calc(-1 * var(--pad));
    width: calc(100% + 2 * var(--pad));
  }
}

/* Hero alternativo: full ancho sin foto */
.hero-full {
  padding: 120px 0 140px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.hero-full .top { display: flex; justify-content: space-between; align-items: baseline; }
.hero-full .bottom { display: flex; gap: 80px; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.hero-full .bottom .lede { max-width: 50ch; }
@media (max-width: 760px) {
  .hero-full { padding: 60px 0 80px; gap: 40px; }
  .hero-full .bottom { flex-direction: column; align-items: flex-start; gap: 30px; }
}

/* ============ SECCIONES ============ */

section { padding: 140px 0; }

.sect {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.sect h2 { max-width: 12ch; }
.sect .body-text { max-width: 54ch; }

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .sect { grid-template-columns: 1fr; gap: 40px; }
}

/* Lista numerada simple, sin líneas */
.items {
  display: grid;
  gap: 80px;
}
.item {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 60px;
  align-items: baseline;
}
.item .n { color: var(--dim); font-size: 14px; font-weight: 400; }
.item h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.item p { color: var(--dim); margin: 0; max-width: 44ch; font-weight: 300; }
@media (max-width: 760px) {
  .item { grid-template-columns: 1fr; gap: 8px; }
  .items { gap: 50px; }
}

/* ============ TABLA DE PAQUETIZACIÓN ============ */

.pack-table {
  margin-top: 80px;
  background: var(--bg);
}
.pack-row {
  display: grid;
  grid-template-columns: 160px 1.3fr 1.5fr 130px 1.4fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.pack-row:last-child { border-bottom: 1px solid var(--line); }
.pack-row > div {
  padding: 32px 22px;
  display: flex; align-items: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
}

.pack-row.head > div {
  padding: 16px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
}

.cell-cat {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lime) !important;
}
.cell-cat.empty { color: transparent !important; }

.cell-svc {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}
.cell-desc { color: var(--dim) !important; }
.cell-price {
  font-size: 32px !important;
  font-weight: 400 !important;
  color: var(--lime) !important;
  justify-content: flex-end !important;
  flex-direction: column;
  align-items: flex-end !important;
  gap: 4px;
  letter-spacing: -0.02em;
}
.cell-price .per {
  font-size: 12px;
  color: var(--dim);
  font-weight: 300;
  letter-spacing: 0;
}
.cell-extra { color: var(--dim) !important; font-size: 14px; }

@media (max-width: 1000px) {
  .pack-row { grid-template-columns: 1fr; }
  .pack-row > div { padding: 14px 0; }
  .pack-row.head { display: none; }
  .cell-cat { padding: 24px 0 4px !important; }
  .cell-price { justify-content: flex-start !important; align-items: flex-start !important; font-size: 28px !important; }
}

.pack-foot {
  margin-top: 32px;
  font-size: 13px;
  color: var(--dim);
  font-weight: 300;
}

/* Calculadora */
.calc {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
.calc-list .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.calc-list .row:last-child { border-bottom: 1px solid var(--line); }
.calc-list label.row { cursor: pointer; }
.calc-list .row-left { display: flex; align-items: center; gap: 18px; }
.calc-list input[type=checkbox] {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--dim);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.calc-list input[type=checkbox]:checked { background: var(--lime); border-color: var(--lime); }
.calc-list input[type=checkbox]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 0px;
  width: 5px; height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.calc-list strong {
  font-size: 18px;
  font-weight: 400;
}
.calc-list .sub { font-size: 12px; color: var(--dim); margin-top: 4px; font-weight: 300; }
.calc-list .pr { font-size: 18px; font-weight: 400; }
.calc-result {
  position: sticky;
  top: 110px;
}
.calc-result .lbl {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.calc-result #total {
  font-size: clamp(72px, 8vw, 120px);
  line-height: 1;
  margin-bottom: 28px;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: -0.04em;
}
.calc-result p {
  color: var(--dim);
  font-size: 14px;
  margin: 0 0 36px;
  max-width: 36ch;
  font-weight: 300;
}
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; gap: 50px; }
  .calc-result { position: static; }
}

/* ============ HUMO ============ */

.qa {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 60px 0;
}
.qa + .qa { border-top: 1px solid var(--line); }
.qa h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.qa .body-text p { font-size: 17px; }
@media (max-width: 820px) {
  .qa { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
}

.verdict {
  margin-top: 120px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.verdict .tag { margin-bottom: 24px; }
.verdict h2 { max-width: 22ch; }
.verdict p {
  margin-top: 32px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  max-width: 55ch;
  color: var(--dim);
  font-weight: 300;
}

/* ============ BLOG ============ */

.posts {
  display: flex;
  flex-direction: column;
}
.post {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  gap: 60px;
  align-items: baseline;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  transition: padding .25s;
  color: var(--ink);
}
.post:last-child { border-bottom: 1px solid var(--line); }
.post:hover { padding-left: 16px; }
.post:hover h3 { color: var(--lime); }
.post .meta {
  font-size: 12px;
  color: var(--dim);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.post .meta .cat { color: var(--lime); display: block; margin-bottom: 4px; }
.post h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color .2s;
}
.post .arr { text-align: right; color: var(--lime); font-size: 22px; }
@media (max-width: 820px) {
  .post { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .post .arr { display: none; }
}

/* ============ EQUIPO ============ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.member { display: flex; flex-direction: column; gap: 18px; }
.member-photo {
  aspect-ratio: 3/4;
  background-color: #0e0e0e;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%) contrast(1.05);
  transition: filter .35s;
}
.member:hover .member-photo { filter: grayscale(0%) contrast(1); }
.member-info { display: flex; flex-direction: column; gap: 6px; }
.member-name {
  font-size: clamp(18px, 1.3vw, 21px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.member-role {
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ============ CONTACTO ============ */

.form-wrap {
  max-width: 760px;
  margin: 60px auto 0;
}
.form-intro {
  margin-bottom: 60px;
  text-align: center;
}
.form-intro .tag { margin-bottom: 18px; }
.form-intro h2 { margin-bottom: 20px; }
.form-intro p {
  color: var(--dim);
  font-size: 16px;
  max-width: 50ch;
  margin: 0 auto;
  font-weight: 300;
}

form.contact {
  display: flex; flex-direction: column;
  gap: 22px;
  padding: 50px;
  border: 1px solid var(--line);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color .2s, background .2s;
  font-weight: 300;
}
.field select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23F2FE54' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: #0a0a0a; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #4a4a4a; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--lime);
  background: rgba(242,254,84,0.03);
}
.field textarea { resize: vertical; min-height: 110px; }

button.submit {
  align-self: flex-start;
  margin-top: 16px;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--sans);
  cursor: pointer;
}

.form-foot {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--dim);
  display: flex; gap: 20px; justify-content: center;
  flex-wrap: wrap;
}
.form-foot a { color: var(--ink); }
.form-foot a:hover { color: var(--lime); }

@media (max-width: 700px) {
  form.contact { padding: 30px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 22px; }
}

/* ============ FOOTER ============ */

.foot {
  padding: 100px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.foot .brand-big {
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin-bottom: 30px;
}
.foot .brand-big strong { color: var(--lime); font-weight: 400; }
.foot p { color: var(--dim); margin: 0; max-width: 32ch; font-weight: 300; }
.foot h4 {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
  margin: 0 0 22px;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 12px; font-size: 15px; }
.foot ul a { color: var(--ink); }
.foot ul a:hover { color: var(--lime); }
.foot-bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--dim);
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================================
   BLOG — añadidos para el tema WP (listado de cards + post individual)
   ===================================================================== */

/* ---------- Listado: grid de cards con imagen destacada ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0 80px;
}
@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts-grid { grid-template-columns: 1fr; gap: 24px; } }

.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: #0a0a0a;
  transition: border-color .2s, transform .2s;
  overflow: hidden;
}
.post-card:hover { border-color: var(--lime); transform: translateY(-2px); }

.post-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.post-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-image-fallback {
  position: absolute; inset: 0;
  background: var(--lime);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}

.post-card-body {
  position: relative;
  padding: 22px 22px 56px;
}
.post-card-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
  margin: 0 0 10px;
  display: flex; gap: 12px; align-items: center;
}
.post-card-meta .cat {
  color: var(--lime);
  text-transform: uppercase;
}
.post-card-title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.post-card .arr {
  position: absolute;
  right: 22px; bottom: 18px;
  font-size: 20px;
  color: var(--dim);
  transition: color .2s, transform .2s;
}
.post-card:hover .arr { color: var(--lime); transform: translate(2px, -2px); }

/* ---------- Paginación ---------- */
.pagination { padding: 0 0 80px; }
.pagination .nav-links {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 14px;
}
.pagination a,
.pagination span.current {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--dim);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.pagination a:hover { color: var(--ink); border-color: var(--ink); }
.pagination span.current { color: var(--bg); background: var(--lime); border-color: var(--lime); }

/* ---------- Post individual ---------- */
.post-hero .display { margin-bottom: 24px; }
.post-featured { padding: 40px 0 0; }
.post-featured-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.post-article { padding: 56px 0 40px; }

/* ---------- Contenido Gutenberg (.entry-content) ---------- */
.entry-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 300;
}
.entry-content > * { margin: 0 0 24px; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content h2 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  color: var(--ink);
}
.entry-content h3 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
}
.entry-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--ink);
}

.entry-content p { margin: 0 0 24px; }
.entry-content p strong { font-weight: 600; color: var(--ink); }

.entry-content a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 254, 84, 0.35);
  transition: border-color .15s;
}
.entry-content a:hover { border-bottom-color: var(--lime); }

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
  margin: 0 0 28px;
}
.entry-content ul li,
.entry-content ol li { margin: 0 0 8px; }
.entry-content ul li::marker { color: var(--lime); }

.entry-content blockquote {
  border-left: 3px solid var(--lime);
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  font-style: normal;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--dim);
  font-style: normal;
}

.entry-content figure,
.entry-content .wp-block-image {
  margin: 40px 0;
}
.entry-content img {
  display: block;
  width: 100%;
  height: auto;
}
.entry-content figcaption,
.entry-content .wp-element-caption {
  font-size: 13px;
  color: var(--dim);
  margin-top: 10px;
  text-align: center;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--lime);
}
.entry-content pre {
  background: #0a0a0a;
  border: 1px solid var(--line);
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
}
.entry-content pre code {
  background: transparent;
  padding: 0;
  color: var(--ink);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}
.entry-content th,
.entry-content td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}
.entry-content th { color: var(--ink); font-weight: 600; }

.entry-content .wp-block-pullquote {
  margin: 56px 0;
  padding: 0;
  border: 0;
  text-align: left;
}
.entry-content .wp-block-pullquote p {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 760px) {
  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 28px; }
  .entry-content h3 { font-size: 22px; }
}

/* ---------- Navegación previa/siguiente bajo el post ---------- */
.post-nav { padding: 24px 0 80px; }
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding: 16px 0;
}
.post-nav-link .lbl {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-nav-link .ttl {
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
  transition: color .15s;
}
.post-nav-link:hover .ttl { color: var(--lime); }
.post-nav-link.next { text-align: right; }

@media (max-width: 620px) {
  .post-nav-grid { grid-template-columns: 1fr; }
  .post-nav-link.next { text-align: left; }
}

