/* ==========================================================================
   AUDANTRA · INSIGHTS  (blog: índice + artículo)
   Se carga solo en las vistas de Insights, después de audantra.css.
   Prefijo ix- en todo (".in" ya es la clase de aparición); portadas: .cv
   Regla de la v2: que se lea como blog. Cabecera, temas, destacado y lista;
   nada de pantallas de producto ni formularios mezclados con los artículos.
   ========================================================================== */
.aud-insights .nav-links a[data-nav="insights"] { color: #fff; }

/* Color por tema: --t acento, --t2 segundo tono de la aurora de la portada */
.ix, [data-tema="normas"] { --t: 149,117,252; --t2: 52,189,226; }
[data-tema="jornada"] { --t: 255,184,77; --t2: 149,117,252; }
[data-tema="inspecciones"] { --t: 255,122,133; --t2: 149,117,252; }
[data-tema="repse"] { --t: 52,189,226; --t2: 79,229,194; }
[data-tema="expediente"] { --t: 79,229,194; --t2: 149,117,252; }
[data-tema="despachos"] { --t: 188,169,255; --t2: 79,229,194; }

/* Aviso de contenido de ejemplo (solo mientras sea propuesta) */
.ix-demo { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 0 0 22px; padding: 8px 14px; border-radius: 99px; border: 1px dashed var(--line-2); font: 400 12px/1.4 var(--fm); color: var(--tx-3); }
.ix-demo .ic { width: 15px; height: 15px; color: var(--amber); }

/* ==========================================================================
   PORTADAS · una sola idea: la cifra o sigla del artículo sobre la aurora
   de su tema. Sin fotos de stock y sin texto que leer. Escala con el ancho.
   ========================================================================== */
.cv { --gs: 46cqw; position: relative; display: block; container-type: inline-size; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; isolation: isolate; background: #0E1022; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.cv::before { content: ""; position: absolute; inset: -30%; z-index: -1; filter: blur(24px);
  background: radial-gradient(40% 48% at 30% 30%, rgba(var(--t), .5), transparent 70%), radial-gradient(34% 40% at 84% 88%, rgba(var(--t2), .3), transparent 70%); transition: transform 1.2s var(--ease); }
.cv-g { position: absolute; left: 6cqw; bottom: -.13em; font: 800 var(--gs)/.8 var(--fd); letter-spacing: -.065em; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(var(--t), .85) 40%, rgba(var(--t), .08) 96%); -webkit-background-clip: text; background-clip: text; transition: transform .7s var(--ease); }
.ix-item:hover .cv-g { transform: translateX(1.4cqw); }
.ix-item:hover .cv::before { transform: scale(1.12); }
.cv-wide { aspect-ratio: 3.6 / 1; --gs: 19cqw; border-radius: var(--r-lg); }
.cv-wide .cv-g { left: 4cqw; }

/* ==========================================================================
   ÍNDICE
   ========================================================================== */
.ix-hero { padding-bottom: clamp(36px, 4.4vw, 56px); overflow: visible; }
.ix-hero .hero-bg { overflow: hidden; height: 640px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.ix-hero .aurora.a1 { opacity: .4; } .ix-hero .aurora.a2 { opacity: .28; }
.ix-hero .display { font-size: clamp(36px, 4.7vw, 62px); }
.ix-hero .hero-sub { margin-top: 20px; }

.ix-lib { position: relative; z-index: 2; padding-bottom: clamp(56px, 7vw, 96px); }

/* Temas y buscador */
.ix-bar { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 3.6vw, 44px); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ix-chips { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.ix-chips::-webkit-scrollbar { display: none; }
.ix-chip { flex: none; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid transparent; background: transparent; font: 500 14.5px/1 var(--fb); color: var(--tx-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ix-chip:hover { color: #fff; background: var(--s2); }
.ix-chip.on { background: #fff; color: #0C0D1C; font-weight: 600; }
.ix-search { position: relative; flex: none; width: 230px; }
.ix-search input { width: 100%; height: 40px; padding: 0 16px 0 40px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--s1); color: #fff; font: 400 14.5px/1 var(--fb); outline: 0; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.ix-search input::placeholder { color: var(--tx-3); }
.ix-search input:focus { border-color: var(--lav); background: rgba(149,117,252,.08); }
.ix-search input::-webkit-search-cancel-button { display: none; }
.ix-search > .ic { position: absolute; left: 13px; top: 11px; width: 18px; height: 18px; color: var(--tx-3); pointer-events: none; }
.ix-sbtn, .ix-sx { display: none; flex: none; width: 40px; height: 40px; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--s1); cursor: pointer; padding: 0; }
.ix-sbtn .ic, .ix-sx .ic { width: 18px; height: 18px; }

/* Lo común a destacado y tarjetas */
.ix-item { position: relative; }
.ix-item[hidden] { display: none; }
.ix-item h2 a, .ix-item h3 a { text-decoration: none; transition: color .2s; }
.ix-item h2 a::after, .ix-item h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.ix-item:hover h2 a, .ix-item:hover h3 a { color: var(--lav-2); }
.ix-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; line-height: 1.2; color: var(--tx-3); }
.ix-meta b { font-weight: 600; color: rgb(var(--t)); }
.ix-meta > * + *::before { content: "·"; margin-right: 10px; font-weight: 400; color: var(--tx-3); }
.ix-auth { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--tx-3); }
.ix-auth b { display: block; font: 600 14.5px/1.3 var(--fd); color: #fff; }
.ix-av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.ix-av img { width: 21px; height: 21px; display: block; }

/* Destacado */
.ix-feat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.ix-feat .cv { border-radius: var(--r-lg); }
.ix-feat-b { display: grid; gap: 16px; }
.ix-tag { width: fit-content; font: 500 11.5px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.ix-feat h2 { font: 600 clamp(27px, 3.1vw, 42px)/1.1 var(--fd); letter-spacing: -.035em; text-wrap: balance; }
.ix-feat p { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--tx-2); text-wrap: pretty; }
.ix-feat .ix-auth { margin-top: 6px; }

/* Lista */
.ix-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: clamp(44px, 5.4vw, 72px) 0 24px; padding-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); }
.ix-sub h2 { font: 600 clamp(22px, 2.3vw, 28px)/1.2 var(--fd); letter-spacing: -.03em; }
.ix-sub span { font-size: 14px; color: var(--tx-3); }
.ix-sub[hidden] { display: none; }
.ix-feat[hidden] + .ix-sub { margin-top: 0; padding-top: 0; border-top: 0; }
.ix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.6vw, 48px) 28px; }
.ix-card { display: flex; flex-direction: column; min-width: 0; }
.ix-card-b { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 2px 0; }
.ix-card h3 { font: 600 20px/1.26 var(--fd); letter-spacing: -.022em; text-wrap: balance; }
.ix-card p { font-size: 15px; line-height: 1.55; color: var(--tx-2); }
.ix-read { margin-top: auto; padding-top: 4px; font-size: 13.5px; color: var(--tx-3); }
.ix-empty { padding: 44px 24px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); text-align: center; color: var(--tx-2); }
.ix-empty b { display: block; font: 600 20px/1.3 var(--fd); color: #fff; margin-bottom: 6px; }

/* Boletín */
.ix-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px 56px; align-items: center; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); border: 1px solid rgba(149,117,252,.3); background: linear-gradient(100deg, rgba(79,229,194,.06), rgba(149,117,252,.11)); }
.ix-news h2 { font: 600 clamp(24px, 2.6vw, 34px)/1.12 var(--fd); letter-spacing: -.03em; text-wrap: balance; }
.ix-news p { margin-top: 10px; font-size: 16px; color: var(--tx-2); max-width: 46ch; }
.ix-news form { display: flex; gap: 8px; padding: 7px; border-radius: 16px; background: rgba(255,255,255,.055); border: 1px solid var(--line-2); }
.ix-news input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; background: transparent; border: 0; outline: 0; color: #fff; font: 500 16px/1 var(--fb); }
.ix-news input::placeholder { color: rgba(255,255,255,.38); }
.ix-news small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--tx-3); }
.ix-news .ok { display: none; align-items: center; gap: 10px; font: 600 16px/1.4 var(--fd); color: var(--mint); }
.ix-news.sent form, .ix-news.sent small { display: none; } .ix-news.sent .ok { display: flex; }

/* ==========================================================================
   ARTÍCULO
   ========================================================================== */
.ix-ph { position: relative; padding: clamp(112px, 13vh, 144px) 0 0; }
.ix-ph .hero-bg { overflow: hidden; height: 680px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.ix-ph .aurora.a1 { opacity: .34; } .ix-ph .aurora.a2 { opacity: .22; }
.ix-ph .wrap { position: relative; z-index: 2; }
.ix-ph-in { max-width: 860px; }
.ix-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--tx-3); }
.ix-crumb a { color: var(--tx-2); text-decoration: none; } .ix-crumb a:hover { color: #fff; }
.ix-crumb i { font-style: normal; opacity: .6; }
.ix-h1 { margin-top: 16px; font: 600 clamp(33px, 4.4vw, 58px)/1.06 var(--fd); letter-spacing: -.04em; text-wrap: balance; }
.ix-dek { margin-top: 20px; font-size: clamp(17.5px, 1.55vw, 20.5px); line-height: 1.55; color: var(--tx-2); text-wrap: pretty; }
.ix-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 28px 0 clamp(28px, 3.4vw, 44px); font-size: 14px; color: var(--tx-3); }
.ix-by .ix-auth { margin-right: auto; }
.ix-by .ix-auth small { display: block; font-size: 13.5px; color: var(--tx-3); }

.ix-lay { display: grid; grid-template-columns: 200px minmax(0, 1fr) 244px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }

/* Índice del artículo */
.ix-toc { position: sticky; top: 104px; }
.ix-toc-btn { display: none; }
.ix-toc-list { position: relative; display: grid; padding-left: 16px; border-left: 1px solid var(--line); }
.ix-toc-t { font: 500 11px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3); padding: 2px 0 10px; }
.ix-toc-list a { padding: 7px 0; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--tx-3); text-decoration: none; transition: color .2s; }
.ix-toc-list a:hover { color: var(--tx-2); } .ix-toc-list a.on { color: #fff; }
.ix-toc-hl { position: absolute; left: -1.5px; top: 0; width: 2px; height: var(--h, 0px); border-radius: 2px; background: linear-gradient(180deg, var(--mint), var(--lav)); transform: translateY(var(--y, 0px)); transition: transform .4s var(--ease), height .4s var(--ease); }

/* Riel derecho */
.ix-side { position: sticky; top: 104px; display: grid; gap: 16px; }
.ix-side-rx { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s1); }
.ix-side-rx b { display: block; font: 600 17px/1.25 var(--fd); letter-spacing: -.02em; margin-bottom: 14px; }
.ix-rx { display: grid; gap: 10px; }
.ix-rx-f { display: flex; flex-direction: column; justify-content: center; height: 56px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); cursor: text; transition: border-color .2s; }
.ix-rx-f:focus-within { border-color: var(--lav); }
.ix-rx-f span { font-size: 12px; line-height: 1.2; color: var(--tx-3); }
.ix-rx-f input { width: 100%; background: transparent; border: 0; outline: 0; color: #fff; font: 600 17px/1.3 var(--fd); padding: 1px 0 0; -moz-appearance: textfield; }
.ix-rx-f input::placeholder { color: rgba(255,255,255,.34); font-weight: 500; }
.ix-rx-f input::-webkit-outer-spin-button, .ix-rx-f input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ix-rx small { font-size: 12.5px; line-height: 1.45; color: var(--tx-3); }
.ix-share { display: flex; align-items: center; gap: 8px; }
.ix-share > span { font-size: 13.5px; color: var(--tx-3); margin-right: 4px; }
.ix-share a, .ix-share button { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--s1); cursor: pointer; padding: 0; color: var(--tx-2); transition: color .2s, border-color .2s, background .2s; }
.ix-share a:hover, .ix-share button:hover { color: #fff; border-color: rgba(255,255,255,.3); background: var(--s2); }
.ix-share svg { width: 17px; height: 17px; }
.ix-share svg.fill { fill: currentColor; }
.ix-share button.done { color: var(--mint); border-color: rgba(79,229,194,.5); }
.ix-share button em { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 6px 9px; border-radius: 8px; background: #fff; color: #0C0D1C; font: 600 12px/1 var(--fb); font-style: normal; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ix-share button.done em { opacity: 1; }

/* Cuerpo: sobre todo texto */
.ix-body { min-width: 0; max-width: 700px; font-size: 18px; line-height: 1.75; color: #D6D7E6; }
.ix-body > * + * { margin-top: 1.25em; }
.ix-body > p { text-wrap: pretty; }
.ix-body strong { font-weight: 600; color: #fff; }
.ix-body a:not(.btn) { color: var(--lav-2); text-underline-offset: 3px; } .ix-body a:not(.btn):hover { color: #fff; }
.ix-body > h2 { margin-top: 2.2em; font: 600 clamp(25px, 2.6vw, 32px)/1.18 var(--fd); letter-spacing: -.03em; color: #fff; text-wrap: balance; scroll-margin-top: 110px; }
.ix-body > h2 + * { margin-top: .8em; }
.ix-body > h3 { margin-top: 1.7em; font: 600 20px/1.35 var(--fd); letter-spacing: -.02em; color: #fff; }
.ix-body > h3 + * { margin-top: .5em; }
.ix-body > ul:not([class]) > li, .ix-body > ul.wp-block-list > li, .ix-key li { position: relative; padding-left: 26px; }
.ix-body > ul:not([class]) > li + li, .ix-body > ul.wp-block-list > li + li, .ix-key li + li { margin-top: .55em; }
.ix-body > ul:not([class]) > li::before, .ix-body > ul.wp-block-list > li::before, .ix-key li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.ix-ref { font-size: .62em; line-height: 0; vertical-align: super; }
.ix-ref a { display: inline-grid; place-items: center; min-width: 1.75em; height: 1.75em; margin-left: 2px; padding: 0 .35em; border-radius: 99px; background: rgba(149,117,252,.18); color: var(--lav-2) !important; font: 600 1em/1 var(--fm); text-decoration: none; transition: background .2s, color .2s; }
.ix-ref a:hover, .ix-ref a:focus-visible { background: var(--lav); color: #fff !important; }
.ix-pop { position: absolute; z-index: 60; max-width: 320px; padding: 12px 14px; border-radius: 12px; background: #fff; color: #1C2024; font: 400 13px/1.5 var(--fb); box-shadow: 0 24px 50px -18px rgba(0,0,0,.8); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .18s, transform .18s; }
.ix-pop.show { opacity: 1; transform: none; }
.ix-pop b { display: block; margin-bottom: 3px; font: 500 10.5px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: #5B45D6; }

/* Contenido escrito en el editor de WordPress */
.ix-body img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.ix-body figure { margin-left: 0; margin-right: 0; }
.ix-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--tx-3); text-align: left; }
.ix-body > ol:not([class]), .ix-body > ol.wp-block-list { padding-left: 26px; list-style: decimal; } .ix-body > ol:not([class]) > li, .ix-body > ol.wp-block-list > li { padding-left: 6px; } .ix-body > ol:not([class]) > li + li, .ix-body > ol.wp-block-list > li + li { margin-top: .55em; }
.ix-body > ol:not([class]) > li::marker, .ix-body > ol.wp-block-list > li::marker { color: var(--mint); font-weight: 600; }
.ix-body li > ul, .ix-body li > ol { margin-top: .5em; padding-left: 22px; } .ix-body li > ul { list-style: disc; } .ix-body li > ol { list-style: decimal; }
.ix-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.ix-body th, .ix-body td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ix-body th { font: 600 13px/1.3 var(--fd); color: #fff; background: var(--s1); }
.ix-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.ix-body code { font-size: .9em; padding: .1em .4em; border-radius: 6px; background: var(--s2); }
.ix-body blockquote:not(.ix-quote) { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--mint), var(--lav)) 1; font: 600 clamp(21px, 2.3vw, 27px)/1.25 var(--fd); letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.ix-body blockquote:not(.ix-quote) p { margin: 0; } .ix-body blockquote:not(.ix-quote) p + p { margin-top: .5em; }
.ix-body blockquote cite { display: block; margin-top: 10px; font: 400 14px/1.4 var(--fb); font-style: normal; color: var(--tx-3); }
.ix-body .wp-block-embed iframe, .ix-body iframe { max-width: 100%; border-radius: 14px; }
.cv-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-img::before { display: none; }
.ix-toc-none { min-height: 1px; }

/* Lo esencial */
.ix-key { padding: 22px 24px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s1); font-size: 16.5px; line-height: 1.6; scroll-margin-top: 120px; }
.ix-key > b { display: block; margin-bottom: 12px; font: 600 17px/1.3 var(--fd); color: #fff; }

/* La única figura interactiva del artículo: exigencias por tamaño */
.ix-tiers { margin-left: 0; margin-right: 0; border-radius: 16px; overflow: hidden; background: var(--b-bg); color: var(--b-tx); font: 400 14.5px/1.5 var(--fb); box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 0 0 7px rgba(255,255,255,.07), 0 50px 100px -50px rgba(0,0,0,.9); }
.ix-tiers-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; padding: 16px 22px 18px; background: var(--b-side); border-bottom: 1px solid var(--b-line); }
.ix-tiers-h label { font: 600 15px/1.3 var(--fd); }
.ix-tiers-n { width: 84px; height: 40px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--b-line2); background: #fff; color: var(--b-tx); font: 700 18px/1 var(--fd); text-align: center; outline: 0; -moz-appearance: textfield; }
.ix-tiers-n:focus { border-color: var(--b-you); box-shadow: 0 0 0 3px var(--b-you-bg); }
.ix-tiers-n::-webkit-outer-spin-button, .ix-tiers-n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ix-tiers input[type="range"] { grid-column: 1 / -1; width: 100%; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ix-tiers input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--b-you) var(--p, 30%), var(--b-track) var(--p, 30%)); }
.ix-tiers input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--b-you) var(--p, 30%), var(--b-track) var(--p, 30%)); }
.ix-tiers input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; border: 5px solid var(--b-you); box-shadow: 0 2px 6px rgba(28,32,36,.25); }
.ix-tiers input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 5px solid var(--b-you); box-shadow: 0 2px 6px rgba(28,32,36,.25); }
.ix-tiers ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.ix-tier { position: relative; padding: 18px 20px 20px; border-right: 1px solid var(--b-line); transition: background .3s, opacity .3s; }
.ix-tier:last-child { border-right: 0; }
.ix-tier-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ix-tier-h b { font: 700 19px/1.2 var(--fd); letter-spacing: -.02em; }
.ix-tier-h i { font-style: normal; font-size: 11.5px; font-weight: 500; line-height: 1; padding: 5px 8px; border-radius: 99px; white-space: nowrap; color: var(--b-tx2); background: var(--b-mut-bg); }
.ix-tier > small { display: block; margin: 2px 0 12px; font-size: 12.5px; color: var(--b-tx3); }
.ix-tier ul { display: grid; gap: 8px; }
.ix-tier li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--b-tx2); }
.ix-tier li svg { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; color: var(--b-tx3); }
.ix-tier.is-on li { color: var(--b-tx); } .ix-tier.is-on li svg { color: var(--b-ok); }
.ix-tier.is-on .ix-tier-h i { color: var(--b-ok); background: var(--b-ok-bg); }
.ix-tier.is-now { background: var(--b-you-bg); } .ix-tier.is-now::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--b-you); }
.ix-tier:not(.is-on) { opacity: .62; }
.ix-tiers figcaption { padding: 14px 22px 16px; border-top: 1px solid var(--b-line); background: var(--b-side); font-size: 14.5px; color: var(--b-tx2); }
.ix-tiers figcaption b { color: var(--b-tx); font-weight: 600; }

/* Cita */
.ix-quote { margin: 2em 0 !important; padding: 4px 0 4px 24px; border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--mint), var(--lav)) 1; font: 600 clamp(23px, 2.6vw, 31px)/1.22 var(--fd); letter-spacing: -.03em; text-wrap: balance; }
.ix-quote span { color: var(--dim); } .ix-quote b { display: block; color: #fff; font-weight: 600; }

/* Llamado dentro del cuerpo: solo cuando el riel derecho no está */
.ix-cta { display: none; padding: 22px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--s1); }
.ix-cta b { display: block; font: 600 20px/1.2 var(--fd); letter-spacing: -.025em; color: #fff; margin-bottom: 14px; }

/* Fuentes y cierre del artículo */
.ix-src { counter-reset: f; display: grid; gap: 10px; padding-top: 4px; }
.ix-src li { counter-increment: f; position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.6; color: var(--tx-2); scroll-margin-top: 120px; }
.ix-src li::before { content: counter(f); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(149,117,252,.18); color: var(--lav-2); font: 600 11px/1 var(--fm); }
.ix-src li:target { color: #fff; } .ix-src li:target::before { background: var(--lav); color: #fff; }
.ix-legal { font-size: 14px; line-height: 1.6; color: var(--tx-3); }
.ix-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 2.2em !important; padding-top: 24px; border-top: 1px solid var(--line); }
.ix-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-tags a { font-size: 13.5px; line-height: 1; color: var(--tx-2) !important; text-decoration: none; padding: 9px 13px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--s1); } .ix-tags a:hover { color: #fff !important; border-color: rgba(255,255,255,.3); }

.ix-more { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.ix-more .ix-sub { margin-top: 0; padding-top: 0; border-top: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .ix-lay { grid-template-columns: 190px minmax(0, 1fr); }
  .ix-side { display: none; }
  .ix-cta { display: block; }
  .ix-body { max-width: 720px; }
}
@media (max-width: 1020px) {
  .ix-chips { padding-right: 30px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); }
  .ix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ix-news { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .ix-lay { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .ix-body { max-width: 720px; margin: 0 auto; padding-top: 30px; }
  /* el índice pasa a barra pegajosa con desplegable, como en Servicios */
  .ix-toc { top: 70px; z-index: 40; margin: 0 calc(var(--gut) * -1); padding: 8px var(--gut); background: rgba(10,11,24,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .ix-toc-btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--s1); cursor: pointer; text-align: left; }
  .ix-toc-btn b { flex: 1; min-width: 0; font: 600 14.5px/1.2 var(--fd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ix-toc-btn em { flex: none; font: 400 11.5px/1 var(--fm); font-style: normal; color: var(--tx-3); } .ix-toc-btn em i { font-style: normal; color: var(--mint); }
  .ix-toc-btn .ic { width: 18px; height: 18px; color: var(--tx-2); transition: transform .25s var(--ease); }
  .ix-toc.open .ix-toc-btn .ic { transform: rotate(180deg); }
  .ix-toc-list { display: none; position: absolute; left: var(--gut); right: var(--gut); top: calc(100% + 6px); padding: 10px 18px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: #12142A; box-shadow: 0 30px 60px -20px rgba(0,0,0,.85); max-height: calc(100vh - 160px); overflow: auto; }
  .ix-toc.open .ix-toc-list { display: grid; }
  .ix-toc-t, .ix-toc-hl { display: none; }
  .ix-toc-list a { padding: 10px 0; font-size: 15.5px; }
  .ix-body > h2 { scroll-margin-top: 140px; }
}
@media (max-width: 720px) {
  .ix-bar { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); }
  .ix-sbtn { display: grid; }
  .ix-search { display: none; }
  .ix-bar.s-open .ix-chips, .ix-bar.s-open .ix-sbtn { display: none; }
  .ix-bar.s-open .ix-search { display: block; flex: 1; width: auto; } .ix-bar.s-open .ix-sx { display: grid; }
  .ix-search input { font-size: 16px; }
  .ix-feat { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ix-feat .cv { border-radius: 16px; }
  /* en móvil la lista es una lista: miniatura a la izquierda, título a la derecha */
  .ix-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ix-card { flex-direction: row; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
  .ix-card:first-child { border-top: 0; padding-top: 0; }
  .ix-card .cv { flex: none; width: 104px; aspect-ratio: 1; border-radius: 14px; }
  /* miniatura: la sigla completa y centrada, sin recorte */
  .ix-card .cv-g, .ix-card:hover .cv-g { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); font-size: calc(var(--gs) * .8); line-height: 1; background-image: linear-gradient(180deg, #fff, rgba(var(--t), .95)); }
  .ix-card-b { padding: 0; gap: 7px; }
  .ix-card h3 { font-size: 17px; line-height: 1.3; }
  .ix-card-b > p:not(.ix-meta) { display: none; }
  .ix-card .ix-meta { font-size: 13px; }
  .ix-read { padding-top: 0; }
  .ix-news form { flex-direction: column; background: none; border: 0; padding: 0; }
  .ix-news input { height: 54px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); }
  .ix-ph { padding-top: 104px; }
  .cv-wide { aspect-ratio: 16 / 9; --gs: 40cqw; border-radius: 16px; }
  .ix-by .ix-auth { flex-basis: 100%; }
  .ix-body { font-size: 17px; line-height: 1.72; }
  .ix-key { padding: 18px 18px 20px; }
  .ix-tiers-h, .ix-tiers figcaption { padding-left: 18px; padding-right: 18px; }
  .ix-tiers ol { grid-template-columns: minmax(0, 1fr); }
  .ix-tier { border-right: 0; border-top: 1px solid var(--b-line); padding: 16px 18px; } .ix-tier:first-child { border-top: 0; }
  .ix-tier.is-now::before { right: auto; bottom: 0; width: 3px; height: auto; }
  .ix-quote { padding-left: 18px; }
}
