.school-editorial,
[class*="school-editorial__"] {
  --school-editorial-accent: var(--blue, #1335b5);
  --school-editorial-ink: var(--ink, #162342);
  --school-editorial-muted: var(--muted, #657087);
  --school-editorial-line: var(--line, #d7dbdf);
}

.school-editorial__thesis,
.school-editorial__stage-lead,
.school-editorial__program-thesis {
  max-width: 68ch;
  color: var(--school-editorial-ink);
  font-size: 1.125rem;
  line-height: 1.8;
}

.school-editorial__roadmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--school-editorial-line);
  list-style: none;
}

.school-editorial--admissions-overview .school-editorial__roadmap-step {
  min-width: 0;
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  background: #fff;
}

.school-editorial--admissions-overview .school-editorial__roadmap-step h3 {
  margin-top: 0.7rem;
}

.school-editorial--admissions-overview .school-editorial__roadmap-step > span {
  color: var(--school-editorial-accent);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.school-editorial--ideario .school-editorial__thesis,
.school-editorial__thesis.school-editorial--ideario {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 0.25rem solid var(--school-editorial-accent);
  background: color-mix(in srgb, var(--school-editorial-accent) 6%, white);
}

.school-editorial__value {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--school-editorial-line);
}

.school-editorial__value strong {
  color: var(--school-editorial-accent);
}

.school-editorial__milestone {
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
  padding-top: 0.85rem;
  border-top: 1px solid var(--school-editorial-line);
  color: var(--school-editorial-accent);
  font-variant-numeric: tabular-nums;
}

.school-editorial__stage-lead {
  margin-top: 1.5rem;
  font-weight: 400;
}

.school-editorial__stage-copy {
  max-width: 76ch;
}

.school-editorial__stage-copy + .school-editorial__stage-copy {
  margin-top: 1rem;
}

.school-editorial--directory {
  padding-top: 0.5rem;
}

.school-editorial__step-title {
  margin-top: 1.75rem;
  padding: 1rem 1.2rem;
  border-left: 0.2rem solid var(--school-editorial-accent);
  background: color-mix(in srgb, var(--school-editorial-accent) 5%, white);
  color: var(--school-editorial-ink);
  font-weight: 750;
}

.school-editorial__step-transition {
  margin-block: 0.4rem 1rem;
  color: var(--school-editorial-muted);
  font-size: 1.125rem;
}

.school-editorial__grade {
  margin-top: 1.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--school-editorial-line);
  color: var(--school-editorial-accent);
}

.school-editorial__session-count {
  display: inline-block;
  margin-block: 0.4rem 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--school-editorial-accent) 8%, white);
  color: var(--school-editorial-accent);
  font-size: 1.125rem;
  font-weight: 700;
}

.school-editorial__session {
  padding-left: 1rem;
  border-left: 1px solid var(--school-editorial-line);
}

.school-editorial__practice,
.school-editorial__learning-outcomes {
  padding: clamp(1rem, 2.6vw, 1.5rem);
  border-radius: 0.35rem;
  background: #f4f6fa;
}

.school-editorial__practice-list {
  padding: 1rem 1.25rem;
  border-block: 1px solid var(--school-editorial-line);
}

.school-editorial__dated-note {
  padding: 0.9rem 1.1rem;
  border-left: 0.2rem solid #c28a28;
  background: #fbf7ed;
}

.school-editorial__activity-context {
  padding: 1rem 1.2rem;
  border-left: 0.2rem solid var(--school-editorial-accent);
  background: color-mix(in srgb, var(--school-editorial-accent) 5%, white);
}

.school-editorial__learning-area {
  padding-block: 0.4rem;
}

.school-editorial__service-definition {
  max-width: 68ch;
  padding: clamp(1rem, 2.6vw, 1.5rem);
  border-left: 0.2rem solid var(--school-editorial-accent);
  background: #f4f6fa;
}

.ce-editorial-intro {
  counter-reset: editorial-project;
}
.ce-rich.imported-content p.school-editorial__project-example {
  position: relative;
  counter-increment: editorial-project;
  margin-block: 1.4rem;
  padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.1rem, 2vw, 1.6rem)
    clamp(1.1rem, 2vw, 1.6rem) clamp(3.5rem, 5vw, 4.5rem);
  border: 1px solid var(--school-editorial-line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--school-editorial-accent) 3%, white);
}
.school-editorial__project-example::before {
  content: counter(editorial-project, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: 1.2rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--school-editorial-accent);
}

.school-editorial__legacy-moment,
.school-editorial__education-milestone {
  max-width: 70ch;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border-inline-start: 0.22rem solid var(--school-editorial-accent);
  background: color-mix(in srgb, var(--school-editorial-accent) 6%, white);
}

.school-editorial__research-finding,
.school-editorial__research-qualification {
  max-width: 72ch;
  margin-block: 0;
  padding: 1rem 1.2rem;
  border-inline-start: 0.2rem solid var(--school-editorial-accent);
  background: color-mix(in srgb, var(--school-editorial-accent) 5%, white);
}

.school-editorial__research-finding {
  padding-bottom: 0.55rem;
  border-top: 1px solid var(--school-editorial-line);
  border-radius: 0.35rem 0.35rem 0 0;
}

.school-editorial__research-qualification {
  padding-top: 0.55rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--school-editorial-line);
  border-radius: 0 0 0.35rem 0.35rem;
}

@media (max-width: 42rem) {
  .school-editorial__value {
    display: block;
  }

  .school-editorial__roadmap {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A finding and its qualification remain one continuous reading surface. */
.ce-rich.imported-content p.school-editorial__research-finding {
  margin-bottom: 0;
}
.ce-rich.imported-content p.school-editorial__research-qualification {
  margin-top: 0;
}

.school-editorial__education-milestone {
  display: block;
  margin-block: 1.25rem;
  border-radius: 0.75rem;
  font-weight: 650;
}

@media (max-width: 42rem) {
  .ce-rich.imported-content p.school-editorial__project-example {
    padding: 1.15rem;
  }
  .school-editorial__project-example::before {
    position: static;
    display: block;
    margin-bottom: 0.65rem;
  }
}
