/* Artículos: estilos editoriales exclusivos. */

/* Prototipo de Artículos: solo afecta .editorial-preview */
.editorial-preview{--ed-blue:#155986;--ed-pale:#f1f7fa;--ed-line:#d5e2e9}
.editorial-preview .editorial-kicker{font-size:.75rem;letter-spacing:.13em;font-weight:700;color:#42718d;margin:0 0 1.1rem}
.editorial-preview .editorial-hero{background:#f2f7fa;padding-block:clamp(3rem,5vw,5.5rem)}
.editorial-preview .editorial-hero::after{display:none}
.editorial-preview .editorial-hero-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.7fr);gap:clamp(2rem,6vw,6rem);align-items:center}
.editorial-preview .editorial-intro{max-width:43rem}
.editorial-preview .editorial-intro h1{max-width:18ch}
.editorial-preview .editorial-manifesto{min-height:280px;background:#14547e;color:#fff;padding:clamp(1.7rem,3.5vw,3.2rem);border-radius:5px;display:flex;flex-direction:column;justify-content:space-between;gap:1.5rem}
.editorial-preview .manifesto-small{letter-spacing:.14em;font-size:.73rem;font-weight:700;color:#c1dbe9}
.editorial-preview .manifesto-large{font-weight:700;font-size:clamp(2rem,3.2vw,3.1rem);line-height:1.15;letter-spacing:-.03em}
.editorial-preview .manifesto-caption{color:#d3e5ee;font-size:.9rem}
.editorial-preview .editorial-latest{padding-block:clamp(3.5rem,6vw,6rem);background:#fff}
.editorial-preview .editorial-heading-row{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2rem}
.editorial-preview .editorial-heading-row h2{margin:0}
.editorial-preview .editorial-demo-warning{max-width:24rem;margin:0;color:#586e7b;font-size:.87rem;line-height:1.5}
.editorial-preview .editorial-feature-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:1.2rem;align-items:stretch}
.editorial-preview .editorial-side{display:grid;grid-template-rows:auto auto;gap:1.2rem}
.editorial-preview .editorial-example{border:1px solid var(--ed-line);border-top:4px solid var(--ed-blue);border-radius:5px;background:#fff;padding:clamp(1.4rem,3vw,2.6rem);display:flex;flex-direction:column;min-width:0}
.editorial-preview .editorial-feature{background:#f1f7fa;min-height:0}
/* La retícula conserva sus columnas vacías para que pocos resultados no ensanchen las tarjetas. */
.editorial-preview .editorial-archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,22rem),1fr));gap:1.2rem}
.editorial-preview .editorial-compact{padding:clamp(1.25rem,2vw,1.8rem)}
.editorial-preview .editorial-compact .editorial-card-top{margin-bottom:1rem}
.editorial-preview .editorial-compact h3{font-size:clamp(1.2rem,1.6vw,1.55rem)}
.editorial-preview .editorial-card-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem 1rem;color:#24678b;letter-spacing:.09em;font-size:.69rem;font-weight:700;margin-bottom:clamp(1.3rem,3vw,2.4rem)}
.editorial-preview .editorial-sample{color:#80642b;background:#f7f0df;padding:.25rem .4rem;border-radius:3px}
.editorial-preview .editorial-example h3{font-size:clamp(1.25rem,2vw,1.9rem);line-height:1.25;margin:0 0 .85rem}
.editorial-preview .editorial-feature h3{font-size:clamp(1.65rem,2.5vw,2.45rem);max-width:19ch}
.editorial-preview .editorial-example p{line-height:1.6}
.editorial-preview .editorial-inert{margin-top:auto;padding-top:.85rem;font-weight:600;font-size:.83rem;color:#536c7b}
.editorial-preview .editorial-implementation-note{font-size:.82rem;color:#617683;margin:1rem 0 0}
.editorial-preview .editorial-topics-section{background:#f1f6f9;padding-block:clamp(3.5rem,6vw,6rem)}
.editorial-preview .editorial-section-heading{margin-bottom:2rem}
.editorial-preview .editorial-topics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.editorial-preview .editorial-topic-item{border-top:2px solid #24678b;padding:1.5rem 0;display:grid;grid-template-columns:2rem minmax(0,1fr);gap:1rem}
.editorial-preview .editorial-topic-item>span{font-size:.75rem;color:#24678b;font-weight:700}
.editorial-preview .editorial-topic-item h3{font-size:1.1rem;margin:0 0 .6rem}
.editorial-preview .editorial-topic-item p{margin:0;line-height:1.6}
.editorial-preview .editorial-perspective{padding-block:clamp(3.5rem,6vw,6rem)}
.editorial-preview .editorial-perspective-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(2rem,7vw,7rem)}
.editorial-preview .editorial-perspective h3{margin-top:2rem;font-size:1.2rem}
@media(max-width:760px){.editorial-preview .editorial-hero-layout,.editorial-preview .editorial-feature-grid,.editorial-preview .editorial-topics-grid,.editorial-preview .editorial-perspective-grid{grid-template-columns:minmax(0,1fr)}.editorial-preview .editorial-heading-row{display:block}.editorial-preview .editorial-demo-warning{margin-top:1rem}.editorial-preview .editorial-manifesto{min-height:240px}.editorial-preview .editorial-feature{min-height:0}.editorial-preview .editorial-side{grid-template-rows:auto}.editorial-preview .editorial-topic-item{padding:1.2rem 0}}

/* Estado vacío hasta disponer del primer artículo aprobado. */
.editorial-preview .editorial-empty{max-width:42rem;border-left:4px solid #24678b;background:#f1f7fa;padding:1.5rem 2rem;margin:0;line-height:1.6}

/* Artículo individual: composición editorial de lectura breve. */
.editorial-preview.article-page{background:#fff}
.editorial-preview .article-publication{padding-block:clamp(2.5rem,5vw,5rem)}
.editorial-preview .article-reading{max-width:820px}
.editorial-preview .article-back{margin-bottom:clamp(2rem,5vw,3.4rem);font-size:.9rem}
.editorial-preview .article-back a,.editorial-preview .article-footer a{color:#155986;text-underline-offset:.2em}
.editorial-preview .article-reading h1{font-size:clamp(2.05rem,4vw,3.25rem);line-height:1.12;letter-spacing:-.025em;margin:0 0 2.1rem;max-width:24ch}
.editorial-preview .article-content{max-width:68ch;font-size:clamp(1.05rem,1.2vw,1.13rem);line-height:1.75}
.editorial-preview .article-content p{margin:0 0 1.25rem}
.editorial-preview .article-content h2{font-size:clamp(1.35rem,2.2vw,1.8rem);line-height:1.25;margin:2.5rem 0 1.15rem}
.editorial-preview .article-content ul{padding-left:1.4rem;margin:0 0 1.5rem}
.editorial-preview .article-content li{margin-bottom:.7rem;overflow-wrap:anywhere}
.editorial-preview .article-content a{overflow-wrap:anywhere;text-underline-offset:.17em}
.editorial-preview .article-footer{border-top:1px solid #d5e2e9;margin-top:2.8rem;padding-top:1.3rem;font-weight:600}
.editorial-preview .editorial-example h3 a{color:inherit;text-decoration:none}
.editorial-preview .editorial-example h3 a:hover,.editorial-preview .editorial-example h3 a:focus-visible{text-decoration:underline;text-underline-offset:.2em}
@media(max-width:760px){.editorial-preview .article-reading h1{max-width:none}}

/* Artículos individuales: aplica context/VISUAL.md.
   Roboto Flex: interfaz; Merriweather Sans: encabezados; Merriweather: lectura. */
.editorial-preview.article-page{background:#fff}
.editorial-preview.article-page .article-publication{padding-block:clamp(3rem,6vw,5.75rem)}
.editorial-preview.article-page .article-reading{max-width:940px}
.editorial-preview.article-page .article-back{
  margin-bottom:clamp(2.5rem,6vw,4.5rem);
  padding-bottom:1.1rem;border-bottom:1px solid #e0e0e0;
  font-family:"Roboto Flex",system-ui,sans-serif;
}
.editorial-preview.article-page .article-reading>.editorial-kicker{
  text-align:center;margin:0 auto 1.4rem;
  letter-spacing:.13em;color:#0c61a2;
}
.editorial-preview.article-page .article-reading>h1{
  max-width:22ch;margin:0 auto clamp(2.8rem,5vw,4rem);
  text-align:center;color:#161616;
  font-family:"Merriweather Sans",system-ui,sans-serif;
  font-size:clamp(2rem,3.9vw,3.8rem);
  font-weight:700;line-height:1.17;letter-spacing:-.025em;
}
.editorial-preview.article-page .article-content{
  width:min(100%,650px);max-width:none;margin-inline:auto;
  font-family:"Merriweather",Georgia,serif;
  font-size:clamp(1rem,1.1vw,1.13rem);line-height:1.85;color:#393939;
}
.editorial-preview.article-page .article-content p{margin:0 0 1.45rem}
.editorial-preview.article-page .article-content>p:first-child{
  font-size:clamp(1.1rem,1.45vw,1.33rem);line-height:1.75;color:#262626;
}
.editorial-preview.article-page .article-content>p:nth-of-type(3){
  margin:2.3rem 0;padding:1.05rem 0 1.05rem 1.4rem;
  border-left:3px solid #fc4902;
  font-size:clamp(1.12rem,1.55vw,1.42rem);line-height:1.6;
}
.editorial-preview.article-page .article-content h2{
  font-family:"Merriweather Sans",system-ui,sans-serif;
  font-size:clamp(1.35rem,1.95vw,1.85rem);
  font-weight:700;line-height:1.35;letter-spacing:-.015em;
  max-width:35ch;margin:3rem 0 1.25rem;
}
.editorial-preview.article-page .article-content h2:last-of-type{
  border-top:1px solid #e0e0e0;padding-top:1.8rem;
  font-family:"Roboto Flex",system-ui,sans-serif;
  font-size:.92rem;line-height:1.4;letter-spacing:.05em;text-transform:uppercase;
}
.editorial-preview.article-page .article-content ul{
  font-family:"Merriweather",Georgia,serif;
  font-size:.88rem;line-height:1.65;
}
.editorial-preview.article-page .article-content>p:has(+ h2:last-of-type){
  margin:2.5rem 0 3rem;text-align:center;font-weight:700;
  font-size:clamp(1.1rem,1.45vw,1.3rem);line-height:1.6;
}
.editorial-preview.article-page .article-content a{color:#0c61a2}
.editorial-preview.article-page .article-footer{
  width:min(100%,650px);margin:3rem auto 0;
  font-family:"Roboto Flex",system-ui,sans-serif;
}
@media(max-width:760px){
  .editorial-preview.article-page .article-reading>h1{max-width:none}
  .editorial-preview.article-page .article-content>p:nth-of-type(3){padding-left:1rem}
}


/* Invitación secundaria, separada de los CTA y del cuerpo editorial aprobado. */
.editorial-preview.article-page .article-newsletter {
  width: min(100%, 650px);
  margin: 3rem auto 0;
  padding-block: 1.5rem;
  border-block-start: 1px solid #d5e2e9;
  font-family: "Roboto Flex", system-ui, sans-serif;
}
.editorial-preview.article-page .article-newsletter p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

/* Cabezote editorial obligatorio: título y ruta conceptual del artículo. */
.editorial-preview.article-page .article-masthead {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-block-start: 3px solid #fc4902;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.editorial-preview.article-page .article-masthead .editorial-kicker {
  text-align: center;
  color: #0c61a2;
}
.editorial-preview.article-page .article-masthead h1 {
  max-width: 22ch;
  margin: 0 auto 2rem;
  text-align: center;
  font-family: "Merriweather Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 3.9vw, 3.8rem);
  line-height: 1.17;
  letter-spacing: -.025em;
}
.editorial-preview.article-page .article-masthead .article-masthead-abstract {
  max-width: 63ch;
  margin: -0.5rem auto 2rem;
  text-align: center;
  font-family: "Roboto Flex", system-ui, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: #393939;
}
.editorial-preview.article-page .article-decision-route {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 1.5rem;
  background: #f1f7fa;
  font-family: "Roboto Flex", system-ui, sans-serif;
  font-weight: 600;
  color: #155986;
}
.editorial-preview.article-page .article-decision-route li {
  position: relative;
  padding: 0 0 1.35rem 1.75rem;
  line-height: 1.45;
}
.editorial-preview.article-page .article-decision-route li:last-child { padding-bottom: 0; }
.editorial-preview.article-page .article-decision-route li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  border: 2px solid #0c61a2;
  background: #f1f7fa;
  z-index: 1;
}
.editorial-preview.article-page .article-decision-route li:first-child::before {
  background: #fc4902;
  border-color: #fc4902;
}
.editorial-preview.article-page .article-decision-route li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: .3rem;
  top: .9rem;
  bottom: -.4rem;
  width: 1px;
  background: #799db5;
}
@media (min-width: 48rem) {
  .editorial-preview.article-page .article-decision-route { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .editorial-preview.article-page .article-decision-route--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editorial-preview.article-page .article-decision-route li,
  .editorial-preview.article-page .article-decision-route li:last-child { padding: 1.5rem 1rem 0 0; }
  .editorial-preview.article-page .article-decision-route li::before { top: 0; }
  .editorial-preview.article-page .article-decision-route li:not(:last-child)::after {
    left: .6rem; right: 0; top: .3rem; bottom: auto; width: auto; height: 1px;
  }
}
/* Ayuda opcional de consulta: una lista semántica, sin controles interactivos. */
.editorial-preview.article-page .article-content .article-checklist {
  margin-block: 2.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #f1f7fa;
  border-block-start: 3px solid #0c61a2;
}
.editorial-preview.article-page .article-content .article-checklist h2 {
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
  font-family: "Merriweather Sans", system-ui, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  text-transform: none;
  letter-spacing: -.015em;
  color: #155986;
}
.editorial-preview.article-page .article-content .article-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.65;
}
.editorial-preview.article-page .article-checklist li {
  position: relative;
  padding-inline-start: 1.7rem;
}
.editorial-preview.article-page .article-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .7rem;
  height: .7rem;
  border: 1.5px solid #0c61a2;
}
.editorial-preview.article-page .article-checklist li:last-child { margin-bottom: 0; }

/* Trabajadores digitales: figuras aprobadas A/B; alcance exclusivo del artículo. */
.editorial-preview.article-digital-workers .article-content h2:last-of-type {
  border: 0;
  padding: 0;
  font-family: "Merriweather Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.95vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -.015em;
  text-transform: none;
}
.editorial-preview.article-digital-workers .article-content > p:has(+ h2:last-of-type) {
  margin: 0 0 1.45rem;
  text-align: start;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}
.editorial-preview.article-digital-workers .digital-figure {
  margin: 2.5rem 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-block-start: 3px solid #0c61a2;
  background: #f1f7fa;
  font-family: "Roboto Flex", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.editorial-preview.article-digital-workers .digital-figure figcaption {
  margin-bottom: 1.5rem;
  font-family: "Merriweather Sans", system-ui, sans-serif;
  color: #155986;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}
.editorial-preview.article-digital-workers .workstation-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.editorial-preview.article-digital-workers .workstation-group {
  min-width: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid #d5e2e9;
}
.editorial-preview.article-digital-workers .workstation-group h3 {
  margin: 0 0 1rem;
  color: #155986;
  font-family: "Merriweather Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
.editorial-preview.article-digital-workers .digital-figure p { margin: 0 0 1rem; }
.editorial-preview.article-digital-workers .digital-figure p:last-child { margin-bottom: 0; }
.editorial-preview.article-digital-workers .workstation-arrow {
  justify-self: center;
  color: #0c61a2;
  font-size: 1.5rem;
  transform: rotate(90deg);
}
.editorial-preview.article-digital-workers .figure-record {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #a5bfd2;
  color: #155986;
}
.editorial-preview.article-digital-workers .digital-figure .figure-note {
  margin-top: 1rem;
  font-size: .9rem;
}
.editorial-preview.article-digital-workers .channel-journey {
  margin: 0;
  padding-left: 1.5rem;
}
.editorial-preview.article-digital-workers .channel-journey li {
  padding: 0 0 1rem .5rem;
  margin: 0;
}
.editorial-preview.article-digital-workers .channel-journey li::marker {
  color: #0c61a2;
  font-weight: 700;
}
.editorial-preview.article-digital-workers .figure-exception {
  padding: 1rem 0 1rem 1rem;
  border-left: 3px solid #fc4902;
}
.editorial-preview.article-digital-workers .article-contact {
  font-family: "Roboto Flex", system-ui, sans-serif;
}
.editorial-preview.article-digital-workers .article-contact .button { color: #161616; }
@media (min-width: 48rem) {
  .editorial-preview.article-digital-workers .workstation-groups {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }
  .editorial-preview.article-digital-workers .workstation-arrow { transform: none; }
}

/* Cointeligencia: adaptación del cabezote entregado, sin afectar otros artículos. */
.editorial-preview.article-cointelligence .cointelligence-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #f8f7f3;
}
.editorial-preview.article-cointelligence .cointelligence-title { min-width: 0; }
.editorial-preview.article-cointelligence .article-masthead h1 {
  max-width: none;
  margin: 0 0 1.5rem;
  text-align: start;
}
.editorial-preview.article-cointelligence .article-masthead .editorial-kicker {
  text-align: start;
}
.editorial-preview.article-cointelligence .article-masthead .article-masthead-abstract {
  margin: 0;
  text-align: start;
}
.editorial-preview.article-cointelligence .cointelligence-concept {
  display: block;
  width: 100%;
  max-width: 14rem;
  height: auto;
  justify-self: center;
}
.editorial-preview.article-cointelligence .article-content h3 {
  margin: 2rem 0 1rem;
  font-family: "Merriweather Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.4;
}
@media (min-width: 48rem) {
  .editorial-preview.article-cointelligence .cointelligence-masthead {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  }
}

/* Cabezote conceptual para artículos con una secuencia editorial de tres ideas. */
.editorial-preview.article-conceptual .article-concept-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #f3f7fa;
}
.editorial-preview.article-conceptual .article-concept-title { min-width: 0; }
.editorial-preview.article-conceptual .article-masthead h1 {
  max-width: none;
  margin: 0 0 1.5rem;
  text-align: start;
}
.editorial-preview.article-conceptual .article-masthead .editorial-kicker { text-align: start; }
.editorial-preview.article-conceptual .article-masthead .article-masthead-abstract {
  margin: 0;
  text-align: start;
  font-family: "Merriweather", Georgia, serif;
}
.editorial-preview.article-conceptual .article-concept-sequence {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #0c61a2;
  font-family: "Roboto Flex", system-ui, sans-serif;
  font-weight: 700;
}
.editorial-preview.article-conceptual .article-concept-sequence li {
  position: relative;
  min-width: 0;
  padding-inline-start: 1.5rem;
}
.editorial-preview.article-conceptual .article-concept-sequence li::before {
  content: "";
  position: absolute;
  inset-block-start: .35em;
  inset-inline-start: 0;
  width: .65rem;
  height: .65rem;
  border: 2px solid #0c61a2;
  background: #f3f7fa;
}
.editorial-preview.article-conceptual .article-concept-sequence li:first-child::before {
  border-color: #fc4902;
  background: #fc4902;
}
@media (min-width: 48rem) {
  .editorial-preview.article-conceptual .article-concept-masthead {
    grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 1fr);
  }
  .editorial-preview.article-conceptual .article-concept-sequence {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
  }
  .editorial-preview.article-conceptual .article-concept-sequence li {
    padding: 2rem .35rem 0;
    text-align: center;
  }
  .editorial-preview.article-conceptual .article-concept-sequence li::before {
    inset-block-start: 0;
    inset-inline-start: calc(50% - .4rem);
  }
  .editorial-preview.article-conceptual .article-concept-sequence li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-block-start: .4rem;
    inset-inline-start: calc(50% + .4rem);
    width: calc(100% - .05rem);
    border-block-start: 2px solid #a5bfd2;
  }
}

/* Portabilidad: conserva la secuencia completa y pasa a horizontal solo con espacio suficiente. */
.editorial-preview.article-portability .article-concept-sequence li {
  white-space: nowrap;
}
@media (min-width: 48rem) and (max-width: 74.999rem) {
  .editorial-preview.article-portability .article-concept-masthead {
    grid-template-columns: minmax(0, 1fr);
  }
  .editorial-preview.article-portability .article-concept-sequence {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .editorial-preview.article-portability .article-concept-sequence li {
    padding: 0 0 0 1.5rem;
    text-align: start;
  }
  .editorial-preview.article-portability .article-concept-sequence li::before {
    inset-block-start: .35em;
    inset-inline-start: 0;
  }
  .editorial-preview.article-portability .article-concept-sequence li:not(:last-child)::after {
    content: none;
  }
}
@media (min-width: 75rem) {
  .editorial-preview.article-portability .article-concept-masthead {
    grid-template-columns: minmax(0, 1.65fr) minmax(24rem, 1fr);
  }
  .editorial-preview.article-portability .article-concept-sequence {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    gap: 1rem;
  }
}

/* ========================================
   Controles y paginación del catálogo
   ======================================== */
.catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin: 0 0 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: #f3f7fa;
  border-block-start: 3px solid #0c61a2;
}
.catalog-controls[hidden] { display: none; }
.catalog-field { display: grid; gap: .4rem; min-width: 0; }
.catalog-field label {
  color: #155986;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.catalog-field input,
.catalog-field select {
  width: 100%;
  min-height: 2.75rem;
  padding: .65rem .75rem;
  border: 1px solid #799db5;
  border-radius: .25rem;
  background: #fff;
  color: #161616;
  font: inherit;
}
.catalog-field input:focus-visible,
.catalog-field select:focus-visible,
.catalog-pagination a:focus-visible,
.catalog-pagination button:focus-visible {
  outline: 3px solid #fc4902;
  outline-offset: 3px;
}
.catalog-status { min-height: 1.5em; margin: 0 0 1rem; color: #393939; }
.catalog-empty { margin: 2rem 0; font-weight: 600; }
.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 2rem;
}
.catalog-pagination a,
.catalog-pagination button {
  display: inline-grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: .5rem;
  border: 1px solid #0c61a2;
  border-radius: .25rem;
  background: #fff;
  color: #0c61a2;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.catalog-pagination [aria-current="page"] {
  background: #0c61a2;
  color: #fff;
}
@media (min-width: 48rem) {
  .catalog-controls { grid-template-columns: minmax(14rem, 2fr) minmax(10rem, 1fr) minmax(10rem, 1fr) auto; }
}
