/* The editorial layer shares the public masthead and the existing visual language. */
#cabecera-aiiab .primary-nav { gap: clamp(.7rem, 2vw, 2.25rem); }
#cabecera-aiiab :is(.primary-nav, .mobile-menu) a[aria-current="page"] {
  color: #c2e3df;
  text-decoration: underline;
  text-underline-offset: .45em;
}
@media (max-width: 980px) {
  #cabecera-aiiab .mast-inner { grid-template-columns: 1fr auto; }
  #cabecera-aiiab .primary-nav { display: none; }
  #cabecera-aiiab .mobile-menu { display: block; }
}

.editorial-entry {
  --ed-ink: #18313c;
  --ed-soft: #435b62;
  --ed-line: #c7d5d3;
  --ed-paper: #edf3ef;
  background: var(--ed-paper);
  color: var(--ed-ink);
  font: 1rem/1.65 Manrope, system-ui, sans-serif;
  padding-block: clamp(3rem, 7vw, 7rem);
}
.editorial-entry > .entry-shell {
  width: min(calc(100% - clamp(2.25rem, 10vw, 13rem)), 90rem);
  margin-inline: auto;
}
.entry-label {
  display: block;
  color: #3c6968;
  font-size: .83rem;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 0 0 .7rem;
}
.editorial-entry h2 {
  margin: 0;
  max-width: 21ch;
  line-height: 1.03;
  font-size: clamp(2.5rem, 5.3vw, 5.25rem);
  letter-spacing: -.075em;
  font-weight: 560;
}
.editorial-entry header > p:last-child { color: var(--ed-soft); max-width: 56ch; margin-top: 1rem; }
.entry-gates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.85rem, 2.8vw, 2.4rem);
  margin-top: clamp(1.65rem, 4.4vw, 4rem);
}
.entry-gate {
  min-width: 0;
  min-height: 18rem;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.15rem, 3vw, 2.35rem);
  color: #f0f7f7;
  background-color: #112632;
  text-decoration: none;
  border: 1px solid #47636a;
}
.entry-gate::before, .entry-gate::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.entry-gate::before {
  background: var(--entry-art) right center / cover no-repeat;
  opacity: .73;
}
.entry-gate::after {
  background: linear-gradient(180deg, #10252c25 0%, #10232cd4 69%, #10232c 100%);
}
.entry-gate:hover { border-color: #7baba7; }
.entry-gate:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.entry-gate[data-topic-card="ia"] { --entry-art: url("assets/materiales/area-ia.webp"); }
.entry-gate[data-topic-card="blockchain"] { --entry-art: url("assets/materiales/area-blockchain.webp"); }
.entry-gate h3 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.066em;
  font-weight: 590;
}
.entry-gate p { color: #d2e8e7; margin: .7rem 0 0; max-width: 42ch; }
.entry-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2.7vw, 2.5rem);
  padding: 0;
  margin: clamp(1.6rem, 3.6vw, 3.5rem) 0 0;
  list-style: none;
}
.entry-links li { border-top: 1px solid var(--ed-line); padding-top: 1rem; min-width: 0; }
.entry-links a { color: #1c544f; font-weight: 760; text-underline-offset: .19em; }
.entry-links p { margin: .35rem 0 0; color: var(--ed-soft); }
.entry-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-role { border-top: 1px solid var(--ed-line); padding-top: 1rem; }
.entry-role h3 { margin: 0; font-size: clamp(1.16rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -.033em; }
.entry-role p { margin: .4rem 0; }
.entry-role summary {
  color: #1c544f;
  cursor: pointer;
  font-weight: 750;
  padding-block: .45rem;
}
.entry-steps {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
  display: grid;
  gap: .65rem;
  max-width: 67ch;
}
.entry-copy { max-width: 65ch; margin-block: 1rem 0; }
.entry-copy a { color: #1c544f; font-weight: 720; text-underline-offset: .18em; }

.hero-caption .community-line {
  color: #dfece9;
  max-width: 46ch;
  margin-top: .8rem;
  font-size: .9rem;
}
.hero-caption .community-line a { font-weight: 700; text-underline-offset: .2em; }
.hero-caption .hero-rutas { gap: .55rem 1.1rem; flex-wrap: wrap; }
.public-site .hero-caption[data-act="0"] .hero-rutas a { min-height: 2.6rem; }
@media (max-width: 700px) {
  .hero-caption .community-line { font-size: .87rem; margin-top: .35rem; }
  .hero-caption .hero-rutas { gap: .25rem .85rem; }
  .public-site .hero-caption[data-act="0"] .hero-rutas a { min-height: 2.4rem; }
}
@media (max-width: 600px) {
  .entry-gates, .entry-links { grid-template-columns: minmax(0, 1fr); }
  .entry-gate { min-height: 13.5rem; }
}

@media(max-width:700px){.masthead .architecture-search{display:none}}
.map-entry-link{display:inline-flex;align-items:center;min-height:34px;color:inherit;font-size:.88rem;text-underline-offset:.22em}
.structure-station{display:table;margin-top:.8rem}


/* On the landing page, the six doors are the primary section navigation. */
#cabecera-aiiab .lobby-tools { grid-column: -2 / -1; }
#cabecera-aiiab .lobby-tools a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  white-space: nowrap;
}
#cabecera-aiiab .lobby-return { color: #eef5f7; text-underline-offset: .24em; }
#cabecera-aiiab .lobby-return:hover { text-decoration: underline; }
