/* =========================================================
   Long Term Study page (term-study.html) — parts only this page uses.
   Shared parts (hero, cards, gallery, FAQ, form) come from home.css + camp.css.
   ========================================================= */
.mu-hero--term .mu-hero__content { padding-bottom: 196px; }
.mu-hero--term .mu-hero__photo > img { object-position: 40% 35%; }

/* Key facts strip under the hero */
.t-facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: stretch; background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.t-facts > div { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); min-width: 0; }
.t-facts dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--gold-text, #8A6A1E); }
.t-facts dd { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.t-facts dd small { display: block; font-size: 13px; font-weight: 500; color: var(--body); margin-top: 2px; }
.t-facts__cta { display: flex; align-items: center; padding: 20px 24px; background: var(--gold-wash, #FBF6E8); }

/* Camp vs long-term */
.t-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: stretch; }
.t-why__card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); background: #fff; }
.t-why__card h3 { font-size: 20px; font-weight: 900; }
.t-why__card p { margin: 0; color: var(--body); }
.t-why__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-why__card li { position: relative; padding-left: 28px; }
.t-why__card li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2F5E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.t-why__label { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--body); }
.t-why__card--main { background: var(--navy); color: #fff; border-color: var(--navy); }
.t-why__card--main p { color: var(--muted-on-dark); }
.t-why__card--main .t-why__label { background: var(--gold); color: var(--ink); }
.t-why__card--main li::before { background-color: var(--gold); }
.t-why__card .mu-link { margin-top: auto; }

/* 5 steps (a real sequence, so they are numbered) */
.t-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.t-steps::before { content: ""; position: absolute; left: 28px; right: calc(20% - 44px); /* first circle centre → last circle centre */ top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.t-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.t-steps li::before { content: counter(step); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 900; font-size: 22px; box-shadow: 0 8px 20px rgba(27, 47, 94, .1); position: relative; }
.t-steps li:first-child::before { background: var(--gold); }
.t-steps b { font-size: 17px; margin-top: 6px; }
.t-steps span { font-size: 14px; color: var(--body); }

/* Level tracks: "who it's for" line */
.t-for { font-size: 14px; color: var(--body); margin: 0; }
.t-for b { color: var(--ink); }
.mu-batch--online .t-for, .mu-batch--online .t-for b { color: var(--muted-on-dark); }
.mu-batch__badge { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); }

@media (max-width: 1080px) {
  .t-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-facts > div:nth-child(2n) { border-right: 0; }
  .t-facts > div { border-bottom: 1px solid var(--line); }
  .t-facts__cta { grid-column: 1 / -1; justify-content: center; }
  .t-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-steps::before { display: none; }
}
@media (max-width: 900px) {
  .mu-hero--term .mu-hero__content { padding-bottom: 130px; }
  .t-why { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .t-facts > div { padding: 18px 16px; }
  .t-facts dd { font-size: 16px; }
  .t-steps { grid-template-columns: 1fr; gap: 0; }
  .t-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding-bottom: 22px; }
  .t-steps li::before { grid-row: 1 / span 2; }
  .t-steps li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px; background: var(--gold-soft); }
  .t-steps b { margin-top: 4px; }
  .t-why__card { padding: 22px; }
}
