/* College pages (/schools and /schools/<id>). Builds on the deal pages' layout (deal.css). */
.sc-pitch { max-width: 62ch; margin: 0 0 16px; color: var(--ink-soft); }

/* The cost breakdown: each part of a year's price, in-state and from other states. */
.sc-scroll { overflow-x: auto; }
.sc-table { width: 100%; max-width: 640px; border-collapse: collapse; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #e3e5ec; font-variant-numeric: tabular-nums; }
.sc-table th, .sc-table td { padding: 10px 16px; text-align: right; border-bottom: 1px solid #eef0f6; vertical-align: top; }
.sc-table th[scope="row"], .sc-table thead th:first-child { text-align: left; font-weight: 400; }
.sc-table thead th { font-size: 14px; color: var(--navy); }
.sc-table td { white-space: nowrap; }
.sc-table .sc-total th, .sc-table .sc-total td { border-bottom: 0; font-weight: 700; color: var(--navy); }
.sc-note { display: block; font-size: 13px; color: var(--ink-soft); }
.sc-none { font-size: 14px; color: var(--ink-soft); white-space: normal; }
.sc-fine { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }
.sc-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-ctas .lp-btn-ghost { padding: 14px 22px; }

/* Every program, in columns. */
.dl-main > .sc-programs { max-width: none; }
.sc-programs h3 { margin: 24px 0 8px; font-size: 18px; color: var(--navy); }
.sc-count { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.sc-programs .sc-progs { columns: 3 260px; column-gap: 32px; padding-left: 1.1em; }
.sc-progs li { break-inside: avoid; margin: 0 0 4px; font-size: 15px; }

/* The list of colleges. */
.sc-list { list-style: none; padding: 0 !important; }
.sc-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid #eef0f6; max-width: none; }
.sc-list a { font-weight: 700; }
.sc-where { font-size: 15px; color: var(--ink-soft); }
.sc-price { margin-left: auto; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .sc-table th, .sc-table td { padding: 8px 10px; }
  .sc-price { margin-left: 0; width: 100%; }
}
/* Wider label column on desktop only; on phones labels stack above values. */
@media (min-width: 601px) { .sc-main .dl-facts dt { flex-basis: 7.5em; } }

/* Program search: matches are highlighted, nothing is hidden. */
.sc-find { position: sticky; top: 72px; z-index: 2; margin: 8px 0 4px; padding: 10px 0; background: var(--paper); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.sc-find input { flex: 0 1 420px; min-width: 0; width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--navy); border-radius: 8px; background: #fff; color: var(--ink); }
.sc-find input:focus-visible { outline: 3px dashed var(--red); outline-offset: 2px; }
.sc-find-count { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.sc-progs li.sc-hit { font-weight: 700; }
.sc-progs a.sc-pname { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--ink-soft); }
.sc-progs a.sc-pname:hover { color: var(--red); border-bottom-color: var(--red); }
.sc-progs span.sc-pname { cursor: help; }

/* Arrow at the bottom of the screen while search matches sit further down. */
.sc-below { position: fixed; left: 50%; bottom: 20px; z-index: 6; transform: translateX(-50%); padding: 12px 20px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-size: 15px; font-weight: 700; box-shadow: 0 6px 20px rgba(27, 42, 92, .3); cursor: pointer; white-space: nowrap; }
.sc-below:hover { background: var(--red); }
.sc-below:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }
.sc-below[hidden] { display: none; }

/* Cost headings link to the college's own published rates. */
.sc-costs h2 a.sc-src { color: inherit; text-decoration: none; border-bottom: 2px dotted currentColor; }
.sc-costs h2 a.sc-src:hover { color: var(--red); }
.sc-costs h2 a.sc-src::after { content: " ↗"; font-size: .7em; vertical-align: super; }

/* The campus photo under the breadcrumb, credited at the bottom right (landing.css). */
.dl-main > .sc-photo { max-width: 820px; aspect-ratio: 3 / 1; margin: 0 0 24px; }
@media (max-width: 600px) { .dl-main > .sc-photo { aspect-ratio: 16 / 9; } }

/* Subject pages (/study): colleges teaching one subject, cheapest first. */
.st-table { max-width: none; }
.st-table thead th:nth-child(2) { text-align: left; }
.st-table td.st-progs { text-align: left; white-space: normal; min-width: 14em; font-size: 15px; }
.st-table th[scope="row"] .sc-note { font-weight: 400; }
.st-table th[scope="row"] a { font-weight: 700; }
.st-links { list-style: none; padding: 0 !important; columns: 3 220px; column-gap: 32px; }
.st-links li { break-inside: avoid; margin: 0 0 6px; }
/* On phones each college is a card: name, programs, then both prices with their labels. */
@media (max-width: 600px) {
  .st-table, .st-table tbody, .st-table tr, .st-table th, .st-table td { display: block; }
  .st-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .st-table tr { padding: 12px 14px; border-bottom: 1px solid #eef0f6; }
  .st-table th[scope="row"], .st-table td { padding: 2px 0; border: 0; text-align: left; }
  .st-table td.st-progs { min-width: 0; margin: 4px 0 6px; }
  .st-table td[data-label] { display: flex; justify-content: space-between; gap: 12px; white-space: normal; }
  .st-table td[data-label] > span { text-align: right; }
  .st-table td[data-label]::before { content: attr(data-label); color: var(--ink-soft); font-size: 14px; }
}

/* Subject pages open with the colleges that offer the subject and their degree levels. */
.st-offers { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.st-offers li { padding: 12px 14px; background: #fff; border: 1px solid #e3e5ec; border-radius: 12px; }
.st-offers li > a { font-weight: 700; color: var(--navy); }
.st-offers .sc-note { display: block; }
.st-lvs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.st-lvs a { padding: 3px 10px; font-size: 14px; font-weight: 600; color: var(--navy); background: #eef0f6; border-radius: 999px; text-decoration: none; }
.st-lvs a:hover, .st-lvs a:focus-visible { background: var(--navy); color: #fff; }
.st-lvs-big { margin: 0 0 8px; }
.st-lvs-big a { padding: 6px 14px; font-size: 15px; }
.st-lvs-big .sc-count { color: inherit; opacity: .7; }
.st-cost-h { margin: 40px 0 12px; color: var(--navy); }
[id^="lv-"] { scroll-margin-top: 90px; }

/* Price tiles: what a year costs, at a glance. */
.st-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 12px; }
.st-stats div { padding: 14px 16px; background: #fff; border: 1px solid #e3e5ec; border-radius: 12px; }
.st-stats dt { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.st-stats dd { margin: 0; }
.st-big { display: block; font-size: 26px; font-weight: 800; line-height: 1.15; color: var(--navy); font-variant-numeric: tabular-nums; }
.st-who { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.st-cover { max-width: 62ch; margin: 0 0 28px; font-size: 15px; color: var(--ink-soft); }
.st-cover a { font-weight: 700; }
@media (max-width: 600px) {
  .st-stats { grid-template-columns: 1fr; gap: 8px; }
  .st-stats div { padding: 10px 14px; }
  .st-big { font-size: 22px; }
}
