/* ConsultOrg — sistema editorial para páginas internas */
:root {
  --editorial-navy: #0b2a45;
  --editorial-navy-deep: #061b2c;
  --editorial-red: #c41230;
  --editorial-red-dark: #9e0e27;
  --editorial-gold: #d39a2c;
  --editorial-paper: #f7f4ee;
  --editorial-ink: #10283d;
  --editorial-muted: #607080;
  --editorial-line: #d9d5cd;
  --editorial-soft: #eef1f3;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', Arial, sans-serif;
  --radio: 4px;
  --sombra-sm: none;
  --sombra-md: 0 18px 48px rgba(6, 27, 44, .10);
  --sombra-lg: 0 26px 70px rgba(6, 27, 44, .15);
}

html { scroll-padding-top: 94px; }

body.site-redesign {
  overflow-x: hidden;
  color: var(--editorial-ink);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}

body.site-redesign h1,
body.site-redesign h2,
body.site-redesign h3,
body.site-redesign .footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.025em;
}

body.site-redesign p,
body.site-redesign li {
  text-wrap: pretty;
}

body.site-redesign .kicker {
  color: var(--editorial-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

/* Header */
body.site-redesign header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e8e3da;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
}

body.site-redesign .header-inner {
  max-width: 1440px;
  min-height: 88px;
  padding: 12px clamp(28px, 5vw, 76px);
}

body.site-redesign .logo img {
  height: 58px;
}

body.site-redesign header.site-header nav > ul {
  gap: clamp(2px, .6vw, 10px);
}

body.site-redesign header.site-header nav > ul > li > a {
  position: relative;
  padding: 13px 8px;
  border-radius: 0;
  color: var(--editorial-ink);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
}

body.site-redesign header.site-header nav > ul > li > a::before {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 6px;
  left: 8px;
  height: 2px;
  background: transparent;
}

body.site-redesign header.site-header nav > ul > li > a:hover,
body.site-redesign header.site-header nav > ul > li > a.active {
  color: var(--editorial-red);
  background: transparent;
}

body.site-redesign header.site-header nav > ul > li > a:hover::before,
body.site-redesign header.site-header nav > ul > li > a.active::before {
  background: var(--editorial-red);
}

body.site-redesign .submenu {
  top: calc(100% + 4px);
  left: 0;
  min-width: 245px;
  padding: 10px;
  border: 1px solid #e5e0d8;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(6, 27, 44, .12);
}

body.site-redesign .submenu a {
  padding: 10px 12px;
  border-radius: 2px;
  color: var(--editorial-muted);
  font-size: 13px;
}

body.site-redesign .submenu a:hover,
body.site-redesign .submenu a.active {
  color: var(--editorial-red);
  background: var(--editorial-paper);
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--editorial-line);
  border-radius: 2px;
  color: var(--editorial-navy);
  background: #fff;
  font-size: 19px;
  cursor: pointer;
}

/* Hero interior */
body.site-redesign .page-band {
  position: relative;
  min-height: 430px;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 90px clamp(28px, 7vw, 112px) 70px;
  text-align: left;
  background: url('assets/hero-servicios.jpg') center 52% / cover no-repeat;
  isolation: isolate;
}

body.site-redesign .page-band::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(5, 25, 43, .66);
}

body.page-nosotros .page-band,
body.page-contacto .page-band,
body.page-publicaciones .page-band {
  background-image: url('assets/hero-home.jpg');
}

body.page-herramientas .page-band {
  background-image: url('assets/merida-monumento-patria.png');
}

/* Publicaciones: banda compacta para que el contenido aparezca antes */
body.page-publicaciones .page-band {
  min-height: 0;
  padding: 44px clamp(28px, 7vw, 112px) 36px;
}

body.page-publicaciones .page-band h1 {
  font-size: clamp(34px, 3.6vw, 52px);
}

body.page-publicaciones .page-band p.lema {
  margin-top: 12px;
}

body.site-redesign .page-band h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(54px, 6.3vw, 92px);
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: none;
  text-shadow: none;
}

body.site-redesign .page-band p.lema {
  margin-top: 22px;
  color: var(--editorial-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: none;
}

body.site-redesign .page-band-compacta {
  min-height: 360px;
}

/* Botones */
body.site-redesign .btn-primario,
body.site-redesign .btn-secundario,
body.site-redesign .btn-claro,
body.site-redesign .servicio-card .btn,
body.site-redesign .compra .btn-carrito,
body.site-redesign .compra .btn-comprar,
body.site-redesign .form-card .btn-enviar,
body.site-redesign .form-card .btn-enviar-correo {
  min-height: 50px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
}

body.site-redesign .btn-primario,
body.site-redesign .compra .btn-comprar,
body.site-redesign .form-card .btn-enviar {
  border-color: var(--editorial-red);
  background: var(--editorial-red);
}

body.site-redesign .btn-primario:hover,
body.site-redesign .compra .btn-comprar:hover,
body.site-redesign .form-card .btn-enviar:hover {
  border-color: var(--editorial-red-dark);
  background: var(--editorial-red-dark);
}

/* Servicios */
body.site-redesign .servicios-grid {
  max-width: 1440px;
  padding: 96px clamp(24px, 5vw, 72px) 120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

body.site-redesign .servicio-card {
  min-width: 0;
  border: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

body.site-redesign .servicio-card:hover {
  z-index: 1;
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--sombra-lg);
}

body.site-redesign .servicio-card img {
  display: block;
  height: 260px;
  transition: transform .35s ease;
}

body.site-redesign .service-image-link {
  display: block;
  overflow: hidden;
}

body.site-redesign .service-image-link:hover img {
  transform: scale(1.025);
}

body.site-redesign .service-image-link:focus-visible {
  outline: 3px solid var(--editorial-red);
  outline-offset: -3px;
}

body.site-redesign .servicio-card .card-body {
  padding: 34px 32px 38px;
}

body.site-redesign .servicio-card h3 {
  color: var(--editorial-navy);
  font-size: 31px;
  line-height: 1.02;
}

body.site-redesign .servicio-card p {
  color: var(--editorial-muted);
  font-weight: 400;
}

body.site-redesign .servicio-card .btn {
  align-self: flex-start;
  color: var(--editorial-red);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 10px 0 6px;
  min-height: 0;
}

/* Detalles de servicio */
body.site-redesign .detalle {
  max-width: 1440px;
  padding: 100px clamp(24px, 5vw, 72px) 120px;
  grid-template-columns: minmax(240px, .78fr) minmax(360px, 1.28fr) minmax(240px, .78fr);
  gap: clamp(28px, 4vw, 64px);
}

body.site-redesign .detalle .col-img {
  min-height: 520px;
  border-radius: 0;
  box-shadow: none;
}

body.site-redesign .detalle .col-texto {
  align-self: center;
}

body.site-redesign .detalle .col-texto h2 {
  color: var(--editorial-navy);
  font-size: 38px;
}

body.site-redesign .detalle .col-texto .sub {
  color: var(--editorial-red);
  font-weight: 700;
}

body.site-redesign .detalle .col-texto .parrafo,
body.site-redesign .detalle ul li {
  color: var(--editorial-muted);
  font-weight: 400;
}

body.site-redesign .detalle ul li {
  padding: 13px 0 13px 28px;
  border-bottom-color: var(--editorial-line);
}

body.site-redesign .detalle ul li::before {
  content: '—';
  top: 12px;
  width: auto;
  height: auto;
  color: var(--editorial-gold);
  background: transparent;
  font-size: 16px;
}

/* Nosotros */
body.site-redesign .nosotros-intro {
  max-width: 1120px;
  padding: 100px 24px 48px;
  text-align: left;
}

body.site-redesign .nosotros-intro h2 {
  max-width: 760px;
  color: var(--editorial-navy);
  font-size: clamp(44px, 5vw, 68px);
  line-height: .98;
}

body.site-redesign .nosotros-intro p {
  max-width: 900px;
  color: var(--editorial-muted);
  font-size: 17px;
  font-weight: 400;
}

body.site-redesign .nosotros-cols {
  max-width: 1280px;
  padding: 36px 24px 80px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

body.site-redesign .nosotros-card {
  min-height: 300px;
  padding: 38px 34px;
  border: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
}

body.site-redesign .nosotros-card:hover {
  transform: none;
  color: #fff;
  border-color: var(--editorial-navy);
  background: var(--editorial-navy);
  box-shadow: none;
}

body.site-redesign .nosotros-card .icono {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--editorial-red);
  background: var(--editorial-paper);
  font-size: 19px;
}

body.site-redesign .nosotros-card h3 {
  color: var(--editorial-navy);
  font-size: 30px;
}

body.site-redesign .nosotros-card p {
  color: var(--editorial-muted);
  font-weight: 400;
}

body.site-redesign .nosotros-card:hover h3,
body.site-redesign .nosotros-card:hover p {
  color: #fff;
}

body.site-redesign .responsable {
  max-width: 1120px;
  margin: 0 auto 110px;
}

body.site-redesign .responsable-inner {
  padding: 48px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--editorial-navy);
}

body.site-redesign .responsable .avatar-lg {
  width: 190px;
  height: 230px;
  border-radius: 2px;
  object-fit: cover;
  object-position: center 12%;
  background: #fff;
}

body.site-redesign .responsable h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 30px;
}

body.site-redesign .responsable .cargo {
  color: var(--editorial-gold);
}

body.site-redesign .responsable p {
  color: #dce4ea;
}

/* Contacto */
body.site-redesign .contacto-wrap {
  max-width: 1280px;
  padding: 100px 24px 120px;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 8vw, 110px);
}

body.site-redesign .contacto-info h2 {
  color: var(--editorial-navy);
  font-size: 48px;
  line-height: 1;
}

body.site-redesign .contacto-info > p,
body.site-redesign .contacto-item .dato a,
body.site-redesign .contacto-item .dato span {
  color: var(--editorial-muted);
  font-weight: 400;
}

body.site-redesign .contacto-item .ic {
  border-radius: 50%;
  color: var(--editorial-red);
  background: var(--editorial-paper);
}

body.site-redesign .form-card {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
  background: var(--editorial-paper);
}

body.site-redesign .form-card h3 {
  color: var(--editorial-navy);
  font-size: 36px;
}

body.site-redesign .form-field input,
body.site-redesign .form-field textarea {
  border-radius: 2px;
  background: #fff;
}

/* Cursos */
body.site-redesign .tienda {
  max-width: 1440px;
  padding: 90px clamp(24px, 5vw, 72px) 120px;
  grid-template-columns: 250px 1fr;
  gap: 56px;
}

body.site-redesign .filtros {
  top: 116px;
  border: 1px solid var(--editorial-line);
  border-radius: 0;
  background: var(--editorial-paper);
}

body.site-redesign .productos-grid {
  gap: 1px;
  background: var(--editorial-line);
}

body.site-redesign .producto {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

body.site-redesign .producto:hover {
  transform: none;
  box-shadow: none;
}

body.site-redesign .producto h3 {
  color: var(--editorial-navy);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

body.site-redesign .producto-detalle {
  max-width: 1200px;
  padding: 56px 24px 76px;
  gap: 72px;
}

body.site-redesign .producto-detalle .foto,
body.site-redesign .compra {
  border-radius: 0;
  box-shadow: none;
}

body.site-redesign .compra {
  padding: 40px;
  border-color: var(--editorial-line);
  background: var(--editorial-paper);
}

body.site-redesign .compra h1 {
  color: var(--editorial-navy);
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.05;
}

body.site-redesign .desc-curso,
body.site-redesign .acordeon {
  max-width: 1000px;
}

body.site-redesign .desc-curso h2,
body.site-redesign .post-full h2,
body.site-redesign .legal h2 {
  padding-left: 0;
  border-left: 0;
  color: var(--editorial-navy);
  font-size: 30px;
}

body.site-redesign .acordeon details {
  border-radius: 0;
  background: #fff;
}

/* Publicaciones */
body.site-redesign .blog-wrap {
  max-width: 1120px;
  padding: 80px 24px 120px;
}

body.site-redesign .blog-tabs a {
  border-radius: 999px;
  font-weight: 700;
}

body.site-redesign .blog-tabs a.active {
  border-color: var(--editorial-navy);
  background: var(--editorial-navy);
}

body.site-redesign .post {
  padding: 46px 48px;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
}

body.site-redesign .post:hover {
  transform: none;
  box-shadow: none;
}

body.site-redesign .post-featured-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: 0 0 34px;
  overflow: hidden;
  background: var(--editorial-navy);
}

body.site-redesign .post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.site-redesign .post h2 {
  color: var(--editorial-navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

body.site-redesign .post-author-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 14px 0 18px;
}

body.site-redesign .post-author-meta img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--editorial-line);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 14%;
  background: #fff;
}

body.site-redesign .post-author-meta .meta {
  margin: 0;
}

body.site-redesign .post p,
body.site-redesign .post-full p,
body.site-redesign .post-full li {
  color: var(--editorial-muted);
  font-weight: 400;
}

body.site-redesign .post > p {
  font-size: 16px;
}

body.site-redesign .post-full p:not(.meta),
body.site-redesign .post-full li {
  font-size: 18px;
  line-height: 1.82;
}

body.site-redesign .post-full {
  max-width: 900px;
  padding: 100px 24px 72px;
}

body.site-redesign .post-full h1 {
  color: var(--editorial-navy);
  font-size: clamp(46px, 6vw, 72px);
  line-height: .98;
}

body.site-redesign .post-full h3 {
  margin: 30px 0 10px;
  color: var(--editorial-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.12;
}

body.site-redesign .post-full ol {
  margin: 12px 0 22px;
  padding-left: 28px;
}

body.site-redesign .post-full ol li {
  margin-bottom: 9px;
  padding-left: 5px;
  line-height: 1.75;
}

body.site-redesign .post-full code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #edf1f3;
  color: var(--editorial-navy);
  font-size: .92em;
}

body.site-redesign .post-full hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--editorial-line);
}

body.site-redesign .article-hero {
  margin: 42px 0 46px;
}

body.site-redesign .article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body.site-redesign .article-hero figcaption {
  padding-top: 10px;
  color: var(--editorial-muted);
  font-size: 12px;
}

body.site-redesign .article-intro {
  color: var(--editorial-navy) !important;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

body.site-redesign .article-highlight {
  margin: 34px 0;
  padding: 30px 34px;
  border-left: 4px solid var(--editorial-gold);
  background: #f5f1e9;
}

body.site-redesign .article-highlight p:last-child {
  margin-bottom: 0;
}

body.site-redesign .article-checklist {
  margin: 36px 0;
  padding: 34px;
  background: var(--editorial-navy);
}

body.site-redesign .article-checklist h2,
body.site-redesign .article-checklist p,
body.site-redesign .article-checklist li {
  color: #fff;
}

body.site-redesign .article-checklist li::before {
  color: var(--editorial-gold);
}

body.site-redesign .post-full table {
  border-color: var(--editorial-line);
}

body.site-redesign .article-table-wrap {
  width: 100%;
  margin: 28px 0 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.site-redesign .article-table-wrap table {
  min-width: 680px;
  margin: 0;
}

body.site-redesign .post-full th {
  background: var(--editorial-navy);
}

body.site-redesign .article-author {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 54px;
  padding: 28px;
  border-top: 3px solid var(--editorial-gold);
  background: var(--editorial-navy);
}

body.site-redesign .article-author img {
  width: 116px;
  height: 138px;
  object-fit: cover;
  object-position: center 12%;
  background: #fff;
}

body.site-redesign .article-author-label {
  display: block;
  margin-bottom: 4px;
  color: var(--editorial-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.site-redesign .article-author h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
}

body.site-redesign .article-author p {
  margin: 0 0 10px;
  color: #dce4ea;
  font-size: 14px;
}

body.site-redesign .article-author a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration-color: var(--editorial-gold);
  text-underline-offset: 4px;
}

/* Legal, herramientas y catálogos */
body.site-redesign .legal {
  max-width: 900px;
  padding: 100px 24px 120px;
}

body.site-redesign .legal h1 {
  color: var(--editorial-navy);
  font-size: 64px;
  text-align: left;
}

body.site-redesign .tools-wrap,
body.site-redesign .catalogos-tool {
  max-width: 1320px;
  padding-top: 84px;
  padding-bottom: 110px;
}

body.site-redesign .tools-intro {
  max-width: 820px;
  color: var(--editorial-muted);
  font-weight: 400;
}

body.site-redesign .tool-card,
body.site-redesign .catalogos-panel {
  border-radius: 0;
  border-color: var(--editorial-line);
  box-shadow: none;
}

body.site-redesign .tool-card:hover {
  box-shadow: var(--sombra-md);
}

/* CTA */
body.site-redesign .cta-band {
  padding: 100px 24px;
  color: #fff;
  background: var(--editorial-navy);
}

body.site-redesign .cta-band h2 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: .98;
}

body.site-redesign .cta-band p {
  color: #dce4ea;
  font-weight: 400;
}

/* Footer */
body.site-redesign footer.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(260px, .9fr) auto;
  gap: 18px 64px;
  align-items: start;
  padding: 72px clamp(28px, 6vw, 92px) 36px;
  text-align: left;
  color: #bcc8d2;
  background: var(--editorial-navy-deep);
}

body.site-redesign .footer-tagline {
  margin: 0;
  color: #fff;
  font-size: 32px;
}

body.site-redesign .footer-triad {
  grid-column: 1;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--editorial-gold);
}

body.site-redesign footer.site-footer .contacto {
  grid-column: 2;
  grid-row: 1 / span 2;
}

body.site-redesign footer.site-footer .contacto p {
  margin-bottom: 10px;
}

body.site-redesign footer.site-footer .social {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
}

body.site-redesign footer.site-footer .copy {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin-top: 34px;
  padding-top: 24px;
  color: #7f92a3;
}

body.site-redesign .social a {
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 1100px) {
  body.site-redesign .servicios-grid,
  body.site-redesign .nosotros-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-redesign .detalle {
    grid-template-columns: minmax(240px, .8fr) minmax(380px, 1.2fr);
  }

  body.site-redesign .detalle .col-img:last-child {
    display: none;
  }

  body.site-redesign .site-nav-toggle {
    display: inline-flex;
  }

  body.site-redesign header.site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 18px 28px 28px;
    border-bottom: 1px solid var(--editorial-line);
    background: #fff;
    box-shadow: 0 18px 32px rgba(6, 27, 44, .10);
  }

  body.site-redesign header.site-header nav.is-open {
    display: block;
  }

  body.site-redesign header.site-header nav > ul {
    display: block;
  }

  body.site-redesign header.site-header nav > ul > li > a {
    display: block;
    padding: 12px 0;
  }

  body.site-redesign .submenu {
    display: block;
    position: static;
    margin: 0 0 8px 12px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--editorial-line);
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  body.site-redesign .header-inner {
    min-height: 74px;
    padding: 10px 20px;
    flex-wrap: nowrap;
  }

  body.site-redesign .logo img {
    height: 46px;
  }

  body.site-redesign .page-band,
  body.site-redesign .page-band-compacta {
    min-height: 380px;
    padding: 82px 24px 48px;
  }

  body.site-redesign .page-band h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  body.page-publicaciones .page-band {
    min-height: 0;
    padding: 36px 24px 28px;
  }

  body.page-publicaciones .page-band h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  body.site-redesign .servicios-grid,
  body.site-redesign .nosotros-cols {
    grid-template-columns: 1fr;
    padding: 60px 20px 80px;
  }

  body.site-redesign .detalle {
    grid-template-columns: 1fr;
    padding: 64px 20px 84px;
  }

  body.site-redesign .detalle .col-img {
    min-height: 320px;
    max-height: 380px;
  }

  body.site-redesign .detalle .col-img:last-child {
    display: block;
  }

  body.site-redesign .contacto-wrap,
  body.site-redesign .producto-detalle {
    grid-template-columns: 1fr;
    padding: 64px 20px 84px;
    gap: 40px;
  }

  body.site-redesign .tienda {
    grid-template-columns: 1fr;
    padding: 60px 20px 84px;
  }

  body.site-redesign .post {
    padding: 34px 0;
  }

  body.site-redesign .post-featured-image {
    margin-bottom: 24px;
  }

  body.site-redesign .post-full {
    padding: 64px 20px;
  }

  body.site-redesign .post-full h1 {
    font-size: 44px;
  }

  body.site-redesign .article-highlight,
  body.site-redesign .article-checklist {
    padding: 24px;
  }

  body.site-redesign footer.site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 58px 24px 34px;
  }

  body.site-redesign footer.site-footer .contacto,
  body.site-redesign footer.site-footer .social,
  body.site-redesign footer.site-footer .copy {
    grid-column: 1;
    grid-row: auto;
  }

  body.site-redesign footer.site-footer .social {
    justify-content: flex-start;
    margin-top: 14px;
  }

  body.site-redesign .responsable-inner {
    padding: 36px 28px;
  }

  body.site-redesign .responsable .avatar-lg {
    width: 156px;
    height: 188px;
  }

  body.site-redesign .article-author {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  body.site-redesign .article-author img {
    width: 96px;
    height: 116px;
  }

  body.site-redesign .article-author h2 {
    font-size: 23px;
  }
}

/* Publicaciones: cuadrícula de tarjetas con barra lateral */
body.page-publicaciones .blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px clamp(20px, 3vw, 40px) 110px;
}

body.page-publicaciones .blog-tabs {
  margin-bottom: 28px;
}

body.page-publicaciones .blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

body.page-publicaciones .post-card {
  overflow: hidden;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(11, 42, 69, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

body.page-publicaciones .post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(11, 42, 69, .13);
}

body.page-publicaciones .post-card__img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--editorial-navy);
}

body.page-publicaciones .post-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-publicaciones .post-card__body {
  padding: 22px 26px 28px;
}

body.page-publicaciones .post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 14px;
  color: var(--editorial-muted);
  font-size: 14px;
}

body.page-publicaciones .post-card__tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: #fbe9ec;
  color: var(--editorial-red-dark);
  font-size: 12px;
  font-weight: 800;
}

body.page-publicaciones .post-card__tag.articulo {
  background: #e4eef6;
  color: var(--editorial-navy);
}

body.page-publicaciones .post-card h2 {
  margin: 0 0 12px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.01em;
}

body.page-publicaciones .post-card h2 a {
  color: var(--editorial-navy);
  text-decoration: none;
}

body.page-publicaciones .post-card h2 a:hover {
  color: var(--editorial-red);
}

body.page-publicaciones .post-card p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

body.page-publicaciones .blog-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
}

body.page-publicaciones .aside-promo {
  padding: 28px 26px;
  border-radius: 16px;
  background: var(--editorial-navy);
  color: #fff;
}

body.page-publicaciones .aside-promo__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--editorial-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.page-publicaciones .aside-promo h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

body.page-publicaciones .aside-promo p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

body.page-publicaciones .aside-promo__btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--editorial-gold);
  color: var(--editorial-navy-deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

body.page-publicaciones .aside-promo__btn:hover {
  background: #e3ad45;
}

body.page-publicaciones .aside-card {
  padding: 26px;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  background: var(--editorial-soft);
}

body.page-publicaciones .aside-card h3 {
  margin: 0 0 8px;
  color: var(--editorial-navy);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

body.page-publicaciones .aside-card > p {
  margin: 0 0 16px;
  color: var(--editorial-muted);
  font-size: 15px;
  line-height: 1.55;
}

body.page-publicaciones .aside-card label {
  display: block;
  margin-bottom: 6px;
  color: var(--editorial-navy);
  font-size: 14px;
  font-weight: 700;
}

body.page-publicaciones .aside-card input[type='email'] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--editorial-line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

body.page-publicaciones .aside-card .aside-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0;
  color: var(--editorial-muted);
  font-size: 14px;
  font-weight: 400;
}

body.page-publicaciones .aside-card .aside-check input {
  margin-top: 3px;
}

body.page-publicaciones .aside-card .aside-check a {
  color: var(--editorial-navy);
  text-decoration: underline;
}

body.page-publicaciones .aside-card button {
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--editorial-navy);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

body.page-publicaciones .aside-card button:hover {
  background: var(--editorial-navy-deep);
}

body.page-publicaciones #boletin-estado {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

body.page-publicaciones #boletin-estado.ok { background: #e8f5ec; color: #1d5b32; }
body.page-publicaciones #boletin-estado.error { background: #fdecec; color: #8a1c1c; }

body.page-publicaciones .aside-cats {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-publicaciones .aside-cats a {
  color: var(--editorial-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-publicaciones .aside-cats span {
  color: var(--editorial-muted);
  font-weight: 400;
}

@media (max-width: 1040px) {
  body.page-publicaciones .blog-layout {
    grid-template-columns: 1fr;
  }

  body.page-publicaciones .blog-aside {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 680px) {
  body.page-publicaciones .blog-grid {
    grid-template-columns: 1fr;
  }

  body.page-publicaciones .blog-layout {
    padding-top: 28px;
  }
}

body.page-publicaciones .post-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--editorial-line);
}

body.page-publicaciones .post-card__author img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--editorial-line);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 14%;
  background: #fff;
}

body.page-publicaciones .post-card__author span {
  display: block;
  color: var(--editorial-muted);
  font-size: 14.5px;
  line-height: 1.3;
}

body.page-publicaciones .post-card__author strong {
  color: var(--editorial-navy);
  font-weight: 800;
}

body.page-publicaciones .post-card__author small {
  display: block;
  margin-top: 2px;
  color: var(--editorial-muted);
  font-size: 13px;
  line-height: 1.3;
}

/* Publicación: columna principal + barra lateral */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px clamp(20px, 3vw, 40px) 100px;
}

.post-layout__main {
  min-width: 0;
}

body.site-redesign .post-layout .post-full {
  max-width: none;
  margin: 0;
  padding: 0;
}

.post-layout .post-head {
  margin-bottom: 30px;
}

body.site-redesign .post-layout .post-full h1 {
  margin: 14px 0 22px;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.08;
}

.post-layout .post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--editorial-muted);
  font-size: 15.5px;
}

.post-layout .post-byline img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--editorial-line);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 14%;
  background: #fff;
}

.post-layout .post-byline strong {
  color: var(--editorial-navy);
  font-weight: 800;
}

.post-layout .post-byline i {
  color: var(--editorial-line);
  font-style: normal;
}

body.site-redesign .post-layout .article-hero {
  margin: 0 0 38px;
}

body.site-redesign .post-layout .article-hero img {
  border-radius: 4px;
}

.post-layout .share {
  max-width: none;
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--editorial-line);
}

.post-layout .rule-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  color: var(--editorial-navy);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.post-layout .rule-title::before,
.post-layout .rule-title::after {
  content: '';
  flex: 1 1 0;
  height: 1px;
  background: var(--editorial-line);
}

.post-layout .rule-title::before {
  max-width: 24px;
}

.post-layout .post-aside {
  display: grid;
  gap: 38px;
}

.post-layout .side-card {
  margin-bottom: 30px;
}

.post-layout .side-card__img,
.post-layout .more-card__img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--editorial-navy);
}

.post-layout .side-card__img img,
.post-layout .more-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-layout .side-card__tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--editorial-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.post-layout .side-card__tag.articulo {
  background: var(--editorial-navy);
}

.post-layout .side-card__img .side-card__tag {
  position: absolute;
  left: 0;
  bottom: 0;
}

.post-layout .side-card h4,
.post-layout .more-card h4 {
  margin: 14px 0 8px;
  color: var(--editorial-navy);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
}

.post-layout .more-card h4 {
  margin-top: 10px;
  font-size: 20px;
}

.post-layout .side-card h4 a,
.post-layout .more-card h4 a,
.post-layout .side-item__t {
  color: inherit;
  text-decoration: none;
}

.post-layout .side-card h4 a:hover,
.post-layout .more-card h4 a:hover,
.post-layout .side-item__t:hover {
  color: var(--editorial-red);
}

.post-layout .side-card p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 15px;
  line-height: 1.6;
}

.post-layout .side-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-layout .side-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.post-layout .side-list li::before {
  content: none;
}

.post-layout .side-item__img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--editorial-navy);
}

.post-layout .side-item__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-layout .side-item__t {
  display: block;
  color: var(--editorial-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.post-layout .side-list time,
.post-layout .more-card time {
  display: block;
  margin-top: 4px;
  color: var(--editorial-muted);
  font-size: 13px;
}

.post-layout .post-more {
  margin-top: 64px;
}

.post-layout .post-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-layout .more-card .side-card__tag.inline {
  margin-top: 12px;
  padding: 4px 10px;
  font-size: 11px;
}

@media (max-width: 1040px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .post-layout .post-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .post-layout {
    padding-top: 32px;
  }

  .post-layout .post-byline i {
    display: none;
  }

  .post-layout .post-more__grid {
    grid-template-columns: 1fr;
  }
}

/* Firma del autor en la cabecera de la publicación */
.post-layout .post-byline {
  gap: 14px 36px;
}

.post-layout .post-byline__autor {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post-layout .post-byline__autor img {
  width: 56px;
  height: 56px;
}

.post-layout .post-byline__autor span {
  display: block;
  color: var(--editorial-muted);
  font-size: 19px;
  line-height: 1.25;
}

.post-layout .post-byline__autor strong {
  color: var(--editorial-navy);
}

.post-layout .post-byline__autor small {
  display: block;
  margin-top: 3px;
  color: var(--editorial-muted);
  font-size: 15px;
  line-height: 1.3;
}

.post-layout .post-byline__fecha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 15px;
}

/* Tipografía de los artículos: Poppins, igual que el blog de BI Data */
body.site-redesign .post-layout,
body.site-redesign .post-layout :not(.fa):not(.fas):not(.far):not(.fab) {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body.site-redesign .post-layout .post-full h1 {
  font-size: clamp(27px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
}

body.site-redesign .post-layout .post-full h2 {
  font-size: clamp(21px, 2.1vw, 24px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}

body.site-redesign .post-layout .post-full h3 {
  font-size: 18.4px;
  font-weight: 700;
  line-height: 1.25;
}

body.site-redesign .post-layout .post-full p:not(.meta),
body.site-redesign .post-layout .post-full li {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

body.site-redesign .post-layout .post-full > p,
body.site-redesign .post-layout .post-full > ul li,
body.site-redesign .post-layout .post-full > ol li,
body.site-redesign .post-layout .post-full .article-highlight p,
body.site-redesign .post-layout .post-full .article-highlight li {
  color: #262626;
}

body.site-redesign .post-layout .post-full .article-author h2 {
  font-size: 20px;
  line-height: 1.25;
}

body.site-redesign .post-layout .post-full .article-author p {
  font-size: 14px;
  line-height: 1.55;
}

body.site-redesign .post-layout .post-byline__autor span {
  font-size: 17px;
}

body.site-redesign .post-layout .post-byline__autor small {
  font-size: 13.5px;
}

body.site-redesign .post-layout .rule-title {
  font-size: 16px;
  letter-spacing: .04em;
}

body.site-redesign .post-layout .side-card h4,
body.site-redesign .post-layout .more-card h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.005em;
}

body.site-redesign .post-layout .side-card p {
  font-size: 14px;
  line-height: 1.6;
}

body.site-redesign .post-layout .side-item__t {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

/* Publicaciones: tipografía Poppins, igual que en los artículos */
body.page-publicaciones .blog-layout,
body.page-publicaciones .blog-layout :not(.fa):not(.fas):not(.far):not(.fab) {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body.page-publicaciones .blog-tabs a {
  font-size: 14px;
  font-weight: 600;
}

body.page-publicaciones .post-card h2 {
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

body.page-publicaciones .post-card p {
  color: #4a5766;
  font-size: 14.5px;
  line-height: 1.65;
}

body.page-publicaciones .post-card__meta {
  font-size: 13px;
}

body.page-publicaciones .post-card__tag {
  font-size: 11.5px;
  font-weight: 600;
}

body.page-publicaciones .post-card__author span {
  font-size: 13.5px;
}

body.page-publicaciones .post-card__author small {
  font-size: 12.5px;
}

body.page-publicaciones .aside-card h3,
body.page-publicaciones .aside-promo h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

body.page-publicaciones .aside-card > p,
body.page-publicaciones .aside-promo p {
  font-size: 14px;
  line-height: 1.6;
}

body.page-publicaciones .aside-card label {
  font-size: 13.5px;
  font-weight: 600;
}

body.page-publicaciones .aside-card .aside-check {
  font-size: 13px;
}

body.page-publicaciones .aside-cats a {
  font-size: 14.5px;
  font-weight: 500;
}

/* Componentes editoriales de los artículos (sumario, notas, flujo, simulador, gráficas, checklist) */
body.site-redesign .post-layout .art-label {
  display: block;
  margin-bottom: 8px;
  color: var(--editorial-gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.site-redesign .post-layout .art-summary {
  margin: 0 0 36px;
  padding: 26px 30px;
  border-left: 4px solid var(--editorial-navy);
  background: var(--editorial-soft);
}

body.site-redesign .post-layout .post-full .art-summary p {
  margin: 0;
  color: var(--editorial-navy);
  font-size: 17.5px;
  line-height: 1.7;
}

body.site-redesign .post-layout .art-cite {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 9px;
  border: 1px solid var(--editorial-line);
  border-radius: 999px;
  background: #fff;
  color: var(--editorial-navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  vertical-align: 2px;
}

body.site-redesign .post-layout .art-cite:hover {
  border-color: var(--editorial-navy);
  text-decoration: none;
}

body.site-redesign .post-layout .post-full p.art-source {
  margin-top: -18px;
  color: var(--editorial-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

body.site-redesign .post-layout .art-note {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--editorial-gold);
  border-radius: 0 10px 10px 0;
  background: #f7f1e4;
}

body.site-redesign .post-layout .art-note--warn {
  border-left-color: var(--editorial-red);
  background: #fbecee;
}

body.site-redesign .post-layout .art-note--opinion {
  border-left-color: var(--editorial-navy);
  background: #e9eff5;
}

body.site-redesign .post-layout .post-full .art-note p {
  margin: 0;
  color: var(--editorial-ink);
}

body.site-redesign .post-layout .art-positions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 8px;
}

body.site-redesign .post-layout .art-position {
  padding: 20px 22px;
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  background: #fff;
}

body.site-redesign .post-layout .post-full .art-position p {
  margin: 0;
  font-size: 15.5px;
}

body.site-redesign .post-layout .art-flow {
  margin: 30px 0;
}

body.site-redesign .post-layout .art-flow figcaption {
  margin-bottom: 14px;
  color: var(--editorial-navy);
  font-size: 16px;
  font-weight: 700;
}

body.site-redesign .post-layout .post-full .art-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}

body.site-redesign .post-layout .post-full .art-flow li {
  position: relative;
  margin: 0;
  padding: 18px 16px;
  border-top: 4px solid var(--editorial-gold);
  border-radius: 10px;
  background: var(--editorial-navy);
  color: #fff;
  counter-increment: paso;
}

body.site-redesign .post-layout .post-full .art-flow li::before {
  content: counter(paso);
  position: static;
  display: block;
  margin-bottom: 6px;
  color: var(--editorial-gold);
  font-size: 13px;
  font-weight: 700;
}

body.site-redesign .post-layout .post-full .art-flow li:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -21px;
  color: var(--editorial-navy);
  font-size: 18px;
  font-weight: 700;
  transform: translateY(-50%);
}

body.site-redesign .post-layout .art-flow li strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}

body.site-redesign .post-layout .art-flow li span {
  display: block;
  margin-top: 6px;
  color: #dce4ea;
  font-size: 13.5px;
  line-height: 1.45;
}

body.site-redesign .post-layout .art-flow li small {
  display: block;
  margin-top: 6px;
  color: var(--editorial-gold);
  font-size: 12px;
}

body.site-redesign .post-layout .art-sim {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(11, 42, 69, .08);
}

body.site-redesign .post-layout .post-full .art-sim h3 {
  margin: 0 0 4px;
}

body.site-redesign .post-layout .post-full p.art-sim__intro {
  margin: 0 0 20px;
  color: var(--editorial-muted);
  font-size: 15px;
}

body.site-redesign .post-layout .art-sim__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

body.site-redesign .post-layout .art-sim__inputs label {
  display: block;
  margin-bottom: 16px;
  color: var(--editorial-navy);
  font-size: 14px;
  font-weight: 600;
}

body.site-redesign .post-layout .art-sim__inputs output {
  float: right;
  color: var(--editorial-red);
  font-weight: 700;
}

body.site-redesign .post-layout .art-sim__inputs input[type='number'] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--editorial-line);
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
}

body.site-redesign .post-layout .art-sim__inputs input[type='range'] {
  display: block;
  width: 100%;
  margin-top: 10px;
  accent-color: var(--editorial-navy);
}

body.site-redesign .post-layout .art-sim__out dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

body.site-redesign .post-layout .art-sim__out dl div {
  padding: 14px;
  border-radius: 10px;
  background: var(--editorial-soft);
}

body.site-redesign .post-layout .art-sim__out dt {
  color: var(--editorial-muted);
  font-size: 12.5px;
}

body.site-redesign .post-layout .art-sim__out dd {
  margin: 4px 0 0;
  color: var(--editorial-navy);
  font-size: 18px;
  font-weight: 700;
}

body.site-redesign .post-layout .art-sim__bars-title {
  display: block;
  margin-bottom: 8px;
  color: var(--editorial-navy);
  font-size: 13.5px;
  font-weight: 700;
}

body.site-redesign .post-layout .art-sim__bar {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

body.site-redesign .post-layout .art-sim__bar > div {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecf0;
}

body.site-redesign .post-layout .art-sim__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--editorial-navy);
  transition: width .25s ease;
}

body.site-redesign .post-layout .art-sim__bar--despues i {
  background: var(--editorial-gold);
}

body.site-redesign .post-layout .art-sim__bar b {
  color: var(--editorial-navy);
}

body.site-redesign .post-layout .art-bars {
  margin: 30px 0;
  padding: 26px 28px;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  background: #fff;
}

body.site-redesign .post-layout .art-bars figcaption strong {
  display: block;
  color: var(--editorial-navy);
  font-size: 17px;
}

body.site-redesign .post-layout .art-bars figcaption span {
  color: var(--editorial-muted);
  font-size: 14px;
}

body.site-redesign .post-layout .art-bars__legend {
  display: flex;
  gap: 18px;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 600;
}

body.site-redesign .post-layout .art-bars__legend span::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 3px;
  vertical-align: -1px;
}

body.site-redesign .post-layout .art-bars__legend .y2021::before,
body.site-redesign .post-layout .art-bars__row.y2021 i {
  background: #9fb3c6;
}

body.site-redesign .post-layout .art-bars__legend .y2024::before,
body.site-redesign .post-layout .art-bars__row.y2024 i {
  background: var(--editorial-navy);
}

body.site-redesign .post-layout .post-full p.art-bars__label {
  margin: 18px 0 6px;
  color: var(--editorial-navy);
  font-size: 14.5px;
  font-weight: 600;
}

body.site-redesign .post-layout .art-bars__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

body.site-redesign .post-layout .art-bars__row > div {
  height: 18px;
  overflow: hidden;
  border-radius: 4px;
  background: #eef1f4;
}

body.site-redesign .post-layout .art-bars__row i {
  display: block;
  height: 100%;
  border-radius: 4px;
}

body.site-redesign .post-layout .art-bars__row b {
  color: var(--editorial-navy);
  font-size: 14px;
}

body.site-redesign .post-layout .post-full p.art-bars__delta {
  margin: 2px 0 0;
  color: var(--editorial-red);
  font-size: 13px;
}

body.site-redesign .post-layout .post-full .art-bars p.art-source {
  margin: 18px 0 0;
}

body.site-redesign .post-layout .art-donut {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 30px 0;
  padding: 24px 28px;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  background: #fff;
}

body.site-redesign .post-layout .art-donut__ring {
  position: relative;
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--editorial-navy) calc(var(--valor) * 1%), #d8dee5 0);
}

body.site-redesign .post-layout .art-donut__ring span {
  position: absolute;
  inset: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--editorial-muted);
  font-size: 12px;
}

body.site-redesign .post-layout .art-donut__ring b {
  color: var(--editorial-navy);
  font-size: 26px;
  line-height: 1.1;
}

body.site-redesign .post-layout .art-donut__text strong {
  display: block;
  margin-bottom: 8px;
  color: var(--editorial-navy);
  font-size: 17px;
}

body.site-redesign .post-layout .post-full .art-donut__text ul {
  margin: 0 0 8px;
  padding: 0;
}

body.site-redesign .post-layout .post-full .art-donut__text li {
  margin: 0 0 4px;
  padding-left: 22px;
  font-size: 15px;
}

body.site-redesign .post-layout .post-full .art-donut__text li::before {
  content: '';
  top: 7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--editorial-navy);
}

body.site-redesign .post-layout .post-full .art-donut__text li.no::before {
  background: #d8dee5;
}

body.site-redesign .post-layout .art-donut__text > span {
  color: var(--editorial-muted);
  font-size: 13px;
}

body.site-redesign .post-layout .art-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 30px;
}

body.site-redesign .post-layout .art-card {
  padding: 20px;
  border-top: 4px solid var(--editorial-gold);
  border-radius: 12px;
  background: var(--editorial-navy);
  color: #fff;
}

body.site-redesign .post-layout .art-card strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

body.site-redesign .post-layout .art-card span {
  display: block;
  margin: 2px 0 10px;
  color: var(--editorial-gold);
  font-size: 13px;
  font-weight: 600;
}

body.site-redesign .post-layout .post-full .art-card p {
  margin: 0;
  color: #dce4ea;
  font-size: 14.5px;
  line-height: 1.55;
}

body.site-redesign .post-layout .art-check {
  margin: 34px 0;
  padding: 28px;
  border-top: 4px solid var(--editorial-gold);
  border-radius: 14px;
  background: var(--editorial-navy);
  color: #fff;
}

body.site-redesign .post-layout .post-full .art-check h3 {
  margin: 0 0 12px;
  color: #fff;
}

body.site-redesign .post-layout .art-check__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dce4ea;
  font-size: 14px;
}

body.site-redesign .post-layout .art-check__count b {
  color: var(--editorial-gold);
}

body.site-redesign .post-layout .art-check__bar {
  height: 10px;
  margin: 10px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

body.site-redesign .post-layout .art-check__bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--editorial-gold);
  transition: width .25s ease;
}

body.site-redesign .post-layout .post-full p.art-check__pct {
  margin: 0 0 14px;
  color: #dce4ea;
  font-size: 13.5px;
}

body.site-redesign .post-layout .post-full .art-check ul {
  margin: 0 0 18px;
  padding: 0;
}

body.site-redesign .post-layout .post-full .art-check li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 15.5px;
}

body.site-redesign .post-layout .post-full .art-check li::before {
  content: none;
}

body.site-redesign .post-layout .art-check label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
}

body.site-redesign .post-layout .art-check input[type='checkbox'] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--editorial-gold);
}

body.site-redesign .post-layout .art-check button {
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--editorial-gold);
  color: var(--editorial-navy-deep);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

body.site-redesign .post-layout .art-check__copiado {
  margin-left: 12px;
  color: #dce4ea;
  font-size: 13.5px;
}

@media (max-width: 760px) {
  body.site-redesign .post-layout .art-positions,
  body.site-redesign .post-layout .art-sim__grid,
  body.site-redesign .post-layout .art-cards {
    grid-template-columns: 1fr;
  }

  body.site-redesign .post-layout .post-full .art-flow ol {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.site-redesign .post-layout .post-full .art-flow li:not(:last-child)::after {
    content: '↓';
    top: auto;
    right: 50%;
    bottom: -21px;
    transform: translateX(50%);
  }

  body.site-redesign .post-layout .art-donut {
    flex-direction: column;
    align-items: flex-start;
  }

  body.site-redesign .post-layout .art-sim,
  body.site-redesign .post-layout .art-bars,
  body.site-redesign .post-layout .art-check {
    padding: 20px;
  }
}

/* Componentes editoriales, segunda parte: línea de tiempo, calculadora de plazos, rangos */
body.site-redesign .post-layout .art-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.site-redesign .post-layout .post-full ol.art-timeline {
  position: relative;
  margin: 26px 0 30px;
  padding: 0 0 0 30px;
  list-style: none;
}

body.site-redesign .post-layout .post-full ol.art-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 2px;
  background: var(--editorial-line);
}

body.site-redesign .post-layout .post-full .art-timeline li {
  position: relative;
  margin: 0 0 18px;
  padding: 0;
}

body.site-redesign .post-layout .post-full .art-timeline li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -28px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--editorial-navy);
  box-shadow: 0 0 0 2px var(--editorial-navy);
}

body.site-redesign .post-layout .post-full .art-timeline li.pendiente::before {
  background: var(--editorial-gold);
  box-shadow: 0 0 0 2px var(--editorial-gold);
}

body.site-redesign .post-layout .art-timeline b {
  display: block;
  color: var(--editorial-navy);
  font-size: 16px;
}

body.site-redesign .post-layout .art-timeline span {
  display: block;
  color: #262626;
  font-size: 15.5px;
  line-height: 1.5;
}

body.site-redesign .post-layout .art-calc input[type='date'],
body.site-redesign .post-layout .art-calc input[type='text'] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--editorial-line);
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
}

body.site-redesign .post-layout .art-calc .art-sim__out dl {
  grid-template-columns: 1fr;
}

body.site-redesign .post-layout .art-calc__venc dd {
  font-size: 22px;
}

body.site-redesign .post-layout .art-calc__detalle summary {
  color: var(--editorial-navy);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

body.site-redesign .post-layout .post-full .art-calc__detalle ol {
  max-height: 240px;
  margin: 10px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

body.site-redesign .post-layout .post-full .art-calc__detalle li {
  margin: 0;
  padding: 4px 0;
  border-bottom: 1px solid #eef1f4;
  font-size: 13.5px;
  line-height: 1.4;
}

body.site-redesign .post-layout .post-full .art-calc__detalle li::before {
  content: none;
}

body.site-redesign .post-layout .art-calc__detalle li b {
  display: inline-block;
  min-width: 58px;
  color: var(--editorial-navy);
}

body.site-redesign .post-layout .art-sim__reset {
  margin-top: 6px;
  padding: 9px 18px;
  border: 1px solid var(--editorial-navy);
  border-radius: 999px;
  background: #fff;
  color: var(--editorial-navy);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

body.site-redesign .post-layout .art-sim__reset:hover {
  background: var(--editorial-navy);
  color: #fff;
}

body.site-redesign .post-layout .art-range {
  margin: 28px 0;
  padding: 24px 28px;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  background: #fff;
}

body.site-redesign .post-layout .art-range figcaption strong {
  display: block;
  color: var(--editorial-navy);
  font-size: 17px;
}

body.site-redesign .post-layout .art-range figcaption span {
  color: var(--editorial-muted);
  font-size: 14px;
}

body.site-redesign .post-layout .art-range__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

body.site-redesign .post-layout .art-range__label {
  color: var(--editorial-navy);
  font-size: 14px;
  font-weight: 600;
}

body.site-redesign .post-layout .art-range__track {
  position: relative;
  height: 20px;
  border-radius: 4px;
  background: #eef1f4;
}

body.site-redesign .post-layout .art-range__track i {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 4px;
}

body.site-redesign .post-layout .art-range__track i.base {
  background: #c9d3dd;
}

body.site-redesign .post-layout .art-range__track i.rango {
  background: var(--editorial-navy);
}

body.site-redesign .post-layout .art-range__track i.rango.alto {
  background: var(--editorial-gold);
}

body.site-redesign .post-layout .art-range__row b {
  color: var(--editorial-navy);
  font-size: 14px;
}

body.site-redesign .post-layout .art-range__escala {
  display: flex;
  justify-content: space-between;
  margin: 6px 96px 0 202px;
  color: var(--editorial-muted);
  font-size: 12px;
}

body.site-redesign .post-layout .art-range .art-source {
  margin: 16px 0 0;
}

body.site-redesign .post-layout .post-full p.art-check__nota {
  margin: 14px 0 0;
  font-size: 12.5px;
}

@media (max-width: 760px) {
  body.site-redesign .post-layout .art-cards--2 {
    grid-template-columns: 1fr;
  }

  body.site-redesign .post-layout .art-range {
    padding: 20px;
  }

  body.site-redesign .post-layout .art-range__row {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  body.site-redesign .post-layout .art-range__label {
    grid-column: 1 / -1;
  }

  body.site-redesign .post-layout .art-range__escala {
    margin: 6px 88px 0 0;
  }
}

body.site-redesign .post-layout .post-full .art-note p + p {
  margin-top: 10px;
}

body.site-redesign .post-layout .art-sim__fmt {
  display: block;
  margin-top: 4px;
  color: var(--editorial-muted);
  font-size: 12.5px;
  font-weight: 500;
}

body.site-redesign .post-layout .art-sim__inputs input[type='text'],
body.site-redesign .post-layout .art-sim__inputs select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--editorial-line);
  border-radius: 10px;
  background: #fff;
  color: var(--editorial-ink);
  font: inherit;
  font-weight: 500;
}

body.site-redesign .article-table-wrap--compacta table {
  min-width: 0;
}

body.site-redesign .article-table-wrap--compacta td:not(:first-child),
body.site-redesign .article-table-wrap--compacta th:not(:first-child) {
  text-align: right;
}

body.site-redesign .article-table-wrap--compacta td:not(:first-child) {
  white-space: nowrap;
}

@media (max-width: 680px) {
  body.site-redesign .article-table-wrap--compacta th,
  body.site-redesign .article-table-wrap--compacta td {
    padding: 10px 8px;
    font-size: 14px;
  }
}

body.site-redesign .post-layout .post-full td strong {
  color: var(--editorial-navy);
  font-weight: 700;
}
