/* Markdown-like introduction to the Forge resource library */

.resource-note {
  width: min(820px, calc(100% - 56px));
  margin: 0 auto;
  padding: 54px 0 90px;
  color: #171b19;
  font-size: 15px;
  line-height: 1.8;
}

.resource-note p { margin: 0 0 18px; }
.resource-note a {
  color: #713771;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #c9aeca;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.resource-note a:hover { color: #421f42; text-decoration-color: #713771; }

.resource-note__header { padding-bottom: 31px; border-bottom: 1px solid #dfe0dd; }
.resource-note__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #713771;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.resource-note h1 {
  max-width: 800px;
  margin: 0;
  color: #101615;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.047em;
}
.resource-note__lead {
  margin-top: 20px !important;
  color: #292f2c;
  font-size: 19px;
  line-height: 1.65;
}
.resource-note__header > p:last-child { margin-bottom: 0; }

.resource-note__video { margin: 42px 0 46px; }
.resource-note__video > div:first-child { margin-bottom: 17px; }
.resource-note__video > div:first-child > span { display: block; color: #713771; font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.resource-note__video h2 { margin: 3px 0 5px; color: #101615; font-size: 26px; letter-spacing: -.025em; }
.resource-note__video p { margin: 0; color: #4b524e; font-size: 13px; }
.resource-note__player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #d8d9d6; border-radius: 8px; background: #111; box-shadow: 0 12px 32px rgba(20, 25, 23, .08); }
.resource-note__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.resource-note__contents {
  margin: 30px 0 48px;
  border-left: 3px solid #824182;
  padding: 4px 0 4px 18px;
}
.resource-note__contents strong { display: block; margin-bottom: 6px; color: #171b19; font-size: 13px; }
.resource-note__contents a { display: inline-block; margin: 2px 13px 2px 0; font-size: 13px; font-weight: 600; }

.resource-note__section { scroll-margin-top: 80px; margin-top: 55px; }
.resource-note__section h2 {
  margin: 0 0 16px;
  color: #101615;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.resource-note__section > ol:not(.resource-note__path) { margin: 18px 0 20px; padding-left: 24px; }
.resource-note__section > ol:not(.resource-note__path) li { margin: 9px 0; padding-left: 6px; }

.resource-note blockquote {
  margin: 27px 0;
  border-left: 3px solid #b58db6;
  background: #f5eff5;
  padding: 17px 21px;
  color: #282d2b;
}
.resource-note blockquote p { margin: 0; }

.resource-note__path { margin: 32px 0 0; padding: 0; list-style: none; }
.resource-note__stage {
  scroll-margin-top: 80px;
  border-top: 1px solid #dfe0dd;
  padding: 35px 0 38px;
}
.resource-note__stage:last-child { border-bottom: 1px solid #dfe0dd; }
.resource-note__stage-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.resource-note__stage-heading > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd1cd;
  border-radius: 50%;
  color: #272c29;
  font-size: 11px;
  font-weight: 760;
}
.resource-note__stage:first-child .resource-note__stage-heading > span { border-color: #824182; background: #824182; color: #fff; }
.resource-note__stage-heading h3 { margin: 0; color: #111615; font-size: 22px; line-height: 1.2; }
.resource-note__stage-heading h3 a { color: var(--dash-purple, #824182); text-decoration-color: #c9aeca; }
.resource-note__stage-heading h3 a:hover { color: #421f42; text-decoration-color: var(--dash-purple, #824182); }
.resource-note__stage-heading h3 a:focus-visible { outline: 2px solid var(--dash-purple, #824182); outline-offset: 3px; border-radius: 2px; }
.resource-note__stage-heading small { display: block; margin-top: 2px; color: #59605d; font-size: 11px; }
.resource-note__stage > p { color: #353b38; }
.resource-note__stage > p strong { color: #171b19; }

.resource-note__section--last { margin-top: 62px; }

@media (max-width: 720px) {
  .resource-note { width: min(100% - 36px, 820px); padding: 36px 0 64px; font-size: 14px; }
  .resource-note h1 { font-size: 38px; }
  .resource-note__lead { font-size: 17px; }
  .resource-note__contents { margin-bottom: 40px; }
  .resource-note__section { margin-top: 45px; }
}
