/* Student stories (example journeys). Loaded after site.css on stories/*.html. */

/* "Example journey" disclosure under the title */
.example-note{display:flex;gap:12px;align-items:flex-start;max-width:720px;margin-top:22px;padding:12px 16px;background:#fff;border:1px dashed #cdcdc9;border-radius:12px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.example-note b{color:var(--ink);font-weight:600}
.example-note .i{flex:none;width:22px;height:22px;margin-top:1px;border-radius:50%;background:var(--orange-soft);color:var(--orange-d);display:grid;place-items:center;font:600 12px/1 var(--sans)}
.page-hero .example-note{margin-top:20px}
.article-cover.portrait{max-width:700px}
.article-cover.portrait img{aspect-ratio:4/3;object-position:50% 30%}

/* links styled as buttons inside an article */
.prose a.btn{text-decoration:none;color:var(--ink)}
.prose a.btn-orange,.prose a.btn-dark{color:#fff}

/* profile card */
.profile{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.prose .profile{margin-top:1.4em}
.profile-head{display:flex;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fafaf9}
.profile-head img{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none;border:0}
.profile-head b{display:block;font-size:17px;font-weight:600;color:var(--ink);line-height:1.3}
.profile-head small{display:block;font-size:13px;color:var(--muted);line-height:1.4}
.profile-head .tag{margin-left:auto;flex:none}
.profile dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.profile dl>div{padding:14px 18px;border-bottom:1px solid var(--line)}
.profile dl>div:nth-child(odd){border-right:1px solid var(--line)}
.profile dl>div.wide{grid-column:1/-1;border-right:0}
.profile dl>div:last-child{border-bottom:0}
.profile dt{font:500 11.5px/1.2 var(--mono);text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.profile dd{margin:6px 0 0;font-size:15px;line-height:1.5;color:var(--ink)}

/* shortlist */
.prose .shortlist{list-style:none;padding:0;display:grid;gap:10px}
.prose .shortlist li{margin:0;display:grid;grid-template-columns:104px minmax(0,1fr);gap:4px 14px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;font-size:15.5px;line-height:1.55}
.shortlist li.chosen{border-color:#151515;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.shortlist .uni{font-weight:600;color:var(--ink)}
.prose .shortlist .uni a{color:var(--ink)}
.shortlist .uni small{font-weight:500;font-size:12px;color:var(--orange-d);margin-left:6px;white-space:nowrap}
.shortlist .why{grid-column:2;color:var(--ink-2)}
.odds{display:inline-flex;align-items:center;justify-content:center;font:500 11.5px/1 var(--mono);letter-spacing:.03em;text-transform:uppercase;padding:6px 8px;border-radius:999px;grid-row:span 2;align-self:start}
.odds.safe{background:#e5f5ea;color:#17723d}
.odds.target{background:#e8eeff;color:#2346b5}
.odds.ambitious{background:var(--orange-soft);color:var(--orange-d)}
.odds-key{font-size:13.5px;color:var(--muted)}

/* week-by-week timeline */
.prose .timeline{list-style:none;padding:0;margin-top:1.4em}
.prose .timeline li{position:relative;margin:0;padding:0 0 22px 124px;font-size:16px;line-height:1.6}
.timeline li::before{content:"";position:absolute;left:100px;top:7px;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid var(--orange)}
.timeline li::after{content:"";position:absolute;left:106px;top:22px;bottom:-4px;width:1px;background:var(--line)}
.timeline li:last-child::after{display:none}
.timeline li.key::before{background:var(--orange)}
.timeline .when{position:absolute;left:0;top:3px;width:88px;font:500 12px/1.35 var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.02em}
.timeline b{display:block;color:var(--ink);font-weight:600}

/* document checklist */
.prose .checklist{list-style:none;padding:0}
.prose .checklist li{position:relative;padding-left:32px}
.checklist li::before{content:"✓";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:6px;background:#151515;color:#fff;font-size:12px;line-height:20px;text-align:center}

/* numbered "what made the difference" */
.prose .diff{list-style:none;padding:0;counter-reset:d;display:grid;gap:12px}
.prose .diff li{counter-increment:d;margin:0;position:relative;padding:16px 18px 16px 58px;background:#fff;border:1px solid var(--line);border-radius:12px}
.diff li::before{content:counter(d);position:absolute;left:16px;top:15px;width:28px;height:28px;border-radius:50%;background:var(--orange);color:#fff;font:600 14px/28px var(--sans);text-align:center}
.diff b{display:block;color:var(--ink)}

/* totals row in cost tables */
.prose tr.total td{font-weight:600;color:var(--ink);background:#fafaf9}
.prose td.num,.prose th.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}

/* "Is this you?" */
.prose .isthis{background:#151515;color:#e9e9e9;border-radius:18px;padding:26px 26px 24px;margin-top:2.4em}
.prose .isthis h2{color:#fff;margin-top:0}
.prose .isthis p{color:#cfcfcf}
.prose .isthis ul{margin-top:12px}
.prose .isthis li::marker{color:var(--orange)}
.isthis .hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}

/* stories index */
.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.story-grid .card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.story-grid .card:first-child .card-img{aspect-ratio:auto;min-height:320px}
.story-grid .card:first-child .card-img img{object-position:50% 28%}
.story-grid .card:first-child h3{font-size:26px}
.how-read{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.how-read div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.how-read b{display:block;font-size:17px;font-weight:500;letter-spacing:-.01em;margin-bottom:6px}
.how-read p{font-size:14.5px;line-height:1.55;color:var(--ink-2)}

@media (max-width:1023px){
  .story-grid .card:first-child{grid-template-columns:1fr}
  .story-grid .card:first-child .card-img{min-height:0;aspect-ratio:4/3}
  .how-read{grid-template-columns:1fr}
}
@media (max-width:640px){
  .story-grid{grid-template-columns:1fr}
  .story-grid .card:first-child h3{font-size:21px}
  .profile dl{grid-template-columns:1fr}
  .profile dl>div:nth-child(odd){border-right:0}
  .profile-head{flex-wrap:wrap}
  .profile-head .tag{margin-left:0}
  .prose .shortlist li{grid-template-columns:1fr}
  .shortlist .why{grid-column:1}
  .odds{grid-row:auto;justify-self:start}
  .prose .timeline li{padding-left:28px}
  .timeline li::before{left:0}
  .timeline li::after{left:6px}
  .timeline .when{position:static;display:block;width:auto;margin-bottom:2px}
  .prose .isthis{padding:22px 18px}
  .prose .diff li{padding-left:52px}
}
.prose caption{caption-side:bottom;text-align:left;padding:10px 14px;font-size:13px;line-height:1.5;color:var(--muted);border-top:1px solid var(--line)}
.how-read{margin-top:28px}
.section .disclosure{margin-top:28px}
/* let wide tables scroll inside .table-wrap instead of widening the single-column grid on phones */
.article-layout>*{min-width:0}
