/* Deltas for the mentorship flow (/doorstops/mentorship).

   The step system, cards and templates come from bathroom-flow.css,
   repainted for the zine by components/flow/flow-css.js, and the mentor
   list is the shared people finder (people-finder.css). This file adds what
   only this page has: the two link-outs above the steps, the safety tiers
   and checklist, the four program models, the field chips and the
   recommended-mentor cards.

   Everything inside a step is drawn with rules, not boxes: the step is
   already the card. */

.mt .bf-title { max-width: 15ch; margin-left: auto; margin-right: auto; }
.mt .mt-hero-sub {
  max-width: 580px;
  margin: 0 auto 26px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--dl-muted);
  text-align: center;
}

/* it only speaks up when the directory fails, so it takes no room otherwise */
#bf-school-status:empty { display: none; }
.mt a { display: inline; }

/* Any class rule with a `display` beats the browser's own `[hidden]`. */
.mt [hidden] { display: none !important; }

/* folds open flush with the text above them, not indented under the caret */
.mt .bf-solution-body { padding-left: 0; }

/* ------------------------------------------------- the two link-outs */

.mt .mt-fork { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 18px; }
.bf-page.mt a.mt-fork-card {
  display: grid; gap: 4px; align-content: start;
  padding: 16px 18px; border: 3px solid #16130f; background: #fff; box-shadow: 5px 5px 0 #16130f;
  color: #16130f; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.bf-page.mt a.mt-fork-card:hover { transform: translateY(-2px); box-shadow: 7px 7px 0 #16130f; background: #FDF3D8; }
.mt .mt-fork-emoji { display: block; font-size: 26px; }
.mt .mt-fork-q { display: block; font-family: var(--dl-font-display); font-size: 18px; font-weight: 700; }
.mt .mt-fork-a { display: block; font-size: 15px; color: #148d75; font-weight: 600; }
@media (max-width: 620px) { .mt .mt-fork { grid-template-columns: 1fr; } }

.mt .mt-lede { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: var(--bf-ink); }

/* ------------------------------------------------------ shared bits */

.mt .mt-part {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px;
  border: 2px solid #16130f; border-radius: 0; background: #E4F6E9;
  color: #16130f; font-size: 14px; font-weight: 700; vertical-align: 1px;
}
.mt .bf-step-body p.mt-note, .mt p.mt-note {
  margin: 12px 0 16px; padding: 10px 14px; background: #E4F6E9;
  color: var(--bf-ink); font-size: 15.5px; line-height: 1.6;
}
.mt .mt-hint { margin: 2px 0 14px; font-size: 14px; line-height: 1.5; color: var(--bf-soft); }
.mt .mt-find { margin: 8px 0 0; font-size: 14px; color: var(--bf-soft); }
.mt .bf-template > .mt-find { margin: -4px 0 0; padding: 0 18px 16px; }
.mt .mt-src { font-size: 13.5px; color: var(--bf-soft); }

.mt .mt-list, .mt .mt-tiers { list-style: none; padding: 0 !important; margin: 6px 0 14px; border-top: 2px solid #16130f; border-bottom: 2px solid #16130f; }
.mt .mt-list li, .mt .mt-tiers li, .mt .bf-solution .mt-list li, .mt .bf-solution .mt-tiers li {
  list-style: none; margin: 0; padding: 11px 0; font-size: 15.5px; line-height: 1.6; color: var(--bf-ink);
}
.mt .mt-list li + li, .mt .mt-tiers li + li { border-top: 1px solid var(--bf-line); }
.mt .mt-list strong, .mt .mt-tiers strong { color: #16130f; }

.mt .mt-name { margin-top: 18px; }
.mt .mt-ally-choices { margin: 6px 0 18px; }
.mt .mt-outcome { margin-top: 24px; padding-top: 14px; border-top: 3px solid #16130f; }
.mt .mt-outcome .bf-h3 { margin-top: 0; }

/* --------------------------------------------------------- checklist */

.mt .mt-checks { list-style: none; padding: 0 !important; margin: 6px 0 18px; border-top: 2px solid #16130f; border-bottom: 2px solid #16130f; }
.mt .mt-checks li { list-style: none; margin: 0; }
.mt .mt-checks li + li { border-top: 1px solid var(--bf-line); }
.mt .mt-check { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: 15.5px; line-height: 1.5; color: var(--bf-ink); cursor: pointer; }
.mt .mt-check span { display: block; }
.mt .mt-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #148d75; }
.mt .mt-check.is-on span { color: var(--bf-soft); text-decoration: line-through; text-decoration-color: rgba(22,19,15,.35); }

/* --------------------------------------------------------- the models */

.mt .mt-research { margin: 0 0 18px; }
.mt .mt-research .bf-h3 { margin-top: 0; }
.mt .mt-models { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 12px; }
.bf-page.mt button.mt-model {
  display: grid; gap: 8px; align-content: start; text-align: left;
  padding: 16px 18px; border: 3px solid #16130f; border-radius: 0; background: #fff;
  box-shadow: 4px 4px 0 #16130f; font: inherit; color: #16130f; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bf-page.mt button.mt-model:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 #16130f; }
.bf-page.mt button.mt-model.is-active { background: #E4F6E9; box-shadow: 2px 2px 0 #16130f; transform: translate(2px, 2px); outline: 3px solid #3ECFB0; outline-offset: -8px; }
.mt .mt-model-head { display: flex; gap: 12px; align-items: center; }
.mt .mt-model-head > span { display: block; }
.mt .mt-model-emoji { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 2px solid #16130f; background: #FDF3D8; font-size: 22px; }
.mt .mt-model-name { display: block; font-family: var(--dl-font-display); font-size: 18px; font-weight: 700; }
.mt .mt-model-like { display: block; font-size: 13px; color: var(--bf-soft); }
.mt .mt-model-how { display: block; font-size: 15px; line-height: 1.5; }
.mt .mt-model-fit { display: block; font-size: 14px; line-height: 1.5; color: var(--bf-soft); }
.mt .mt-model-ev { display: block; padding-top: 8px; border-top: 1px solid var(--bf-line); font-size: 13.5px; line-height: 1.5; color: var(--bf-ink); }
.mt .mt-partner { margin: 4px 0 18px; font-size: 15px; line-height: 1.6; }
@media (max-width: 720px) { .mt .mt-models { grid-template-columns: 1fr; } }

.mt .mt-inputs { display: grid; grid-template-columns: minmax(0, 280px); margin-top: 8px; }
.mt .mt-inputs .bf-field { margin-bottom: 6px; }

.mt .mt-fields { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.bf-page.mt button.mt-field {
  padding: 7px 12px; border: 2px solid #16130f; border-radius: 0; background: #fff;
  font: inherit; font-size: 14.5px; font-weight: 600; color: #16130f; cursor: pointer;
}
.bf-page.mt button.mt-field:hover { background: #FDF3D8; }
.bf-page.mt button.mt-field.is-active { background: #3ECFB0; box-shadow: 3px 3px 0 #16130f; }

/* ------------------------------------------------------- the mentors */

.mt .mt-stat {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  margin: 0 0 16px; padding: 0 0 14px; border-bottom: 2px solid #16130f;
}
.mt .mt-stat-num { font-family: var(--dl-font-display); font-size: 56px; font-weight: 700; line-height: 1; color: #148d75; }
.mt .mt-stat p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--bf-ink); }

.mt .mt-finder { margin: 26px 0 22px; padding-top: 16px; border-top: 3px solid #16130f; }
.mt .mt-finder-title { display: flex; align-items: center; font-family: var(--dl-font-display); font-size: 22px; font-weight: 700; color: #16130f; margin: 0 0 6px; }
.mt .mt-finder > p { margin: 0; max-width: 640px; font-size: 15.5px; line-height: 1.6; color: var(--bf-ink); }

/* the sheet needs room: on a wide screen the mentors step grows past the
   800px column, and its prose stays at reading width */
@media (min-width: 1000px) {
  .mt #step-mentors.is-open {
    --mt-wide: min(1240px, calc(100vw - 64px));
    width: var(--mt-wide);
    margin-left: calc((100% - var(--mt-wide)) / 2);
  }
  .mt #step-mentors.is-open .bf-step-body > :not(.mt-finder) {
    max-width: 752px; margin-left: auto; margin-right: auto;
  }
}

/* ------------------------------------------- recommended mentors nearby */

.mt .mt-recs { list-style: none; padding: 0 !important; margin: 8px 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mt .mt-rec, .mt .bf-solution .mt-rec {
  list-style: none; margin: 0; display: grid; gap: 4px; align-content: start;
  padding: 14px 16px; border: 2px solid #16130f; background: #fff; font-size: 14.5px; line-height: 1.5;
}
.mt .mt-rec.is-placeholder { border-style: dashed; background: #FBF6EC; color: var(--bf-soft); }
.mt .mt-rec span { display: block; }
.mt .mt-rec-soon {
  justify-self: start; padding: 1px 7px; margin-bottom: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #16130f; color: #FBF6EC;
}
.mt .mt-rec-name { font-family: var(--dl-font-display); font-size: 17px; font-weight: 700; color: #16130f; }
.mt .mt-rec.is-placeholder .mt-rec-name { color: var(--bf-soft); }
.mt .mt-rec-role { font-size: 14px; }
.mt .mt-rec-meta { font-size: 13px; color: var(--bf-soft); }
.mt .mt-rec-cta { font-size: 15.5px; }
@media (max-width: 720px) { .mt .mt-recs { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Doorstop Session ending */

.mt .mt-session { margin: 4px 0 18px; padding: 16px 0 22px; border-top: 3px solid #16130f; border-bottom: 2px solid #16130f; }
.mt .mt-session h3 {
  font-family: var(--dl-font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.25; color: #16130f; margin: 0 0 10px;
}
.mt .mt-session p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--bf-ink); }
.mt .mt-session ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.mt .mt-session li { list-style: disc; font-size: 16px; line-height: 1.6; color: var(--bf-ink); margin-bottom: 6px; }
.mt .mt-rules-h { margin-top: 30px; }

/* a Mr. or Ms. guessed from a first name: on screen it's marked for the
   student to check, like a blank; the email itself gets plain text */
.bf-page .bf-guess { background: #E6ECFF; box-shadow: 0 0 0 2px #E6ECFF; border-bottom: 2px dotted #16130f; }
.bf-page .bf-template > .bf-guess-note { margin: -4px 0 0; padding: 0 18px 14px; font-size: 13.5px; color: var(--bf-soft); }
