.editorial { background: #f7f8f5; color: #17282b; }
.editorial-wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.editorial-hero {
  padding: calc(6.25rem + clamp(1.5rem, 3vw, 3.25rem)) 0 clamp(3rem, 6vw, 5rem);
  background: radial-gradient(ellipse at 85% 0%, #153b3d, transparent 58%), #101e22;
  color: #f6faf8;
}
.editorial-hero .crumbs { color: #bccdcc; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.editorial-hero .crumbs ol { flex-wrap: wrap; }
.editorial-hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.editorial-hero-grid--text { grid-template-columns: minmax(0, 48rem); }
.editorial-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; color: #d4e1df; font-size: .84rem; }
.editorial-meta span { padding: .26rem .65rem; border: 1px solid #69d9cb75; border-radius: 999px; color: #8fefdf; }
.editorial-hero h1 { font-family: var(--font-display, inherit); font-size: clamp(1.85rem, 3.6vw, 3.4rem); line-height: 1.045; letter-spacing: -.055em; font-weight: 650; margin: 1.05rem 0 0; text-wrap: balance; }
.editorial-intro { max-width: 46ch; margin-top: 1.15rem; color: #cadbd8; font-size: clamp(1rem, 1.5vw, 1.19rem); line-height: 1.55; }
.editorial-cover { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #f5f7f5; border: 1px solid #82e9db70; border-radius: 1rem; }
.editorial-cover img { width: 100%; height: 100%; object-fit: contain; }
.editorial-reading { display: grid; grid-template-columns: minmax(13rem, 16rem) minmax(0, 47rem); gap: clamp(2rem, 7vw, 6rem); justify-content: center; padding-block: clamp(2.25rem, 6vw, 5.25rem); }
.editorial-toc { align-self: start; position: sticky; top: 7.5rem; }
.editorial-toc nav { padding: 1.1rem; border: 1px solid #d4e1de; border-radius: .8rem; background: #eef4f0; }
.editorial-toc p { color: #102e31; font-weight: 700; margin-bottom: .65rem; }
.editorial-toc ol { display: grid; gap: .55rem; padding: 0; list-style: none; }
.editorial-toc a { display: block; color: #315453; font-size: .89rem; line-height: 1.4; }
.editorial-toc a:hover, .editorial-related-heading a:hover { text-decoration: underline; }
.editorial-prose { min-width: 0; font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.75; overflow-wrap: anywhere; }
.editorial-prose > p:first-child { font-size: 1.12em; color: #244246; }
.editorial-prose :is(p, ul, ol, figure, details) { margin-block: .75em; }
.editorial-prose :is(h2, h3) { color: #142c30; font-weight: 650; letter-spacing: -.035em; line-height: 1.16; scroll-margin-top: 7.5rem; }
.editorial-prose h2 { font-size: clamp(1.38rem, 2.1vw, 1.95rem); margin: 1.2em 0 .45em; padding-top: .55em; border-top: 1px solid #d8e4df; }
.editorial-prose h3 { font-size: 1.35em; margin-top: 1.1em; }
.editorial-prose ul, .editorial-prose ol { padding-inline-start: 1.3em; }
.editorial-prose ul { list-style: disc; }
.editorial-prose ol { list-style: decimal; }
.editorial-prose li { padding-inline-start: .2em; }
.editorial-prose li::marker { color: #0a7775; }
.editorial-prose a { color: #086762; text-decoration: underline; text-underline-offset: .18em; }
.editorial-prose img { display: block; max-width: 100%; height: auto; border-radius: .65rem; margin-inline: auto; }
.editorial-prose figcaption { color: #526966; font-size: .83em; text-align: center; }
.editorial-prose details { padding: .7rem 1rem; border: 1px solid #d4e1de; border-radius: .6rem; background: #fff; }
.editorial-prose summary { cursor: pointer; font-weight: 650; }
.editorial-related { padding-block: clamp(2.1rem, 5vw, 4rem); background: #e7efeb; }
.editorial-related-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.35rem; }
.editorial-related-heading h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); font-weight: 650; letter-spacing: -.04em; }
.editorial-related-heading a { color: #086762; }
.editorial-related ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.editorial-related li a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #d4e1de; border-radius: .8rem; background: #fff; transition: border-color .2s ease; }
.editorial-related li a:hover { border-color: #258e83; }
.editorial-related img { width: 100%; height: 10rem; object-fit: contain; background: #f4f6f3; }
.editorial-related li a div { padding: .95rem 1rem; flex: 1; }
.editorial-related li p { color: #086762; font-size: .78rem; margin-bottom: .35rem; }
.editorial-related li h3 { font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.26; font-weight: 650; }
.editorial-related li span { display: block; text-align: right; color: #086762; }
@media (max-width: 800px) {
  .editorial-wrap { width: min(100% - 2rem, 47rem); }
  .editorial-hero-grid, .editorial-reading { grid-template-columns: minmax(0, 1fr); }
  .editorial-hero h1 { text-wrap: initial; }
  .editorial-cover { aspect-ratio: 16 / 10; }
  .editorial-toc { position: static; }
}
@media (max-width: 620px) {
  .editorial-related ul { grid-template-columns: minmax(0, 1fr); }
  .editorial-related li a { flex-direction: row; align-items: stretch; }
  .editorial-related img { width: 30%; min-width: 0; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-related li a { transition: none; }
}

.editorial #contacto-articulo h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
.editorial #contacto-articulo .target-hablemos-layout { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.editorial #contacto-articulo .target-hablemos-card { padding: clamp(1rem, 2.4vw, 1.75rem); }
.editorial #contacto-articulo .form { padding: 0; background: transparent; }
.editorial #contacto-articulo .field input:is([type="radio"], [type="checkbox"]) {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  min-height: 1rem;
  padding: 0;
  margin: 0;
  appearance: auto;
}
.editorial #contacto-articulo .target-form-options label { white-space: normal; overflow-wrap: anywhere; }
.editorial-index .editorial-hero { padding-bottom: 3rem; }
.editorial-index .editorial-related { background: #f7f8f5; }
@media (max-width: 800px) {
  .editorial #contacto-articulo .target-hablemos-layout { grid-template-columns: minmax(0, 1fr); }
}
