/* v824 Stanley College design refinement only. Loaded after v823. */
.th-v823-stanley{
  --stanley-red:#e31e24;
  --stanley-red-dark:#be1721;
  --stanley-ink:#172238;
  --stanley-copy:#556276;
  --stanley-line:#e5e9ee;
  --stanley-soft:#f7f8fa;
}

/* Hero: keep the brand treatment, but use calmer proportions and a compact facts card. */
.th-v823-stanley .th-v695-hero{padding:26px 0 62px}
.th-v823-stanley .th-v695-hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(340px,390px);
  gap:clamp(34px,4vw,52px);
  align-items:center;
}
.th-v823-stanley .th-v695-hero h1{
  max-width:680px;
  margin:10px 0 18px;
  font-size:clamp(42px,4.1vw,58px);
  line-height:1.05;
}
.th-v823-stanley .th-v695-hero-copy>p{
  max-width:680px;
  margin-bottom:12px;
  color:#fff0f1;
  font-size:15.5px;
  line-height:1.72;
}
.th-v823-stanley .th-v695-hero-copy strong,
.th-v823-stanley .th-v695-hero-copy b{color:#fff!important}
.th-v823-stanley .th-v695-actions{margin-top:27px}

.th-v823-stanley .th-v695-provider{
  width:100%;
  max-width:390px;
  justify-self:end;
  padding:24px 24px 12px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:22px;
  background:#fff;
  color:var(--stanley-ink);
  box-shadow:0 22px 55px rgba(74,3,9,.17);
}
.th-v823-stanley .th-v695-provider-mark{
  display:inline-flex;
  width:auto;
  height:auto;
  min-height:0;
  margin:0 0 17px;
  padding:9px 13px;
  place-content:initial;
  align-items:center;
  border-radius:10px;
  background:var(--stanley-red);
  color:#fff;
  font:800 17px/1.2 Poppins,sans-serif;
  letter-spacing:.01em;
}
.th-v823-stanley .stanley-facts-heading{
  margin:0 0 12px;
  color:var(--stanley-ink);
  font:800 15px/1.4 Poppins,sans-serif;
}
.th-v823-stanley .th-v695-provider-details{border-top:1px solid var(--stanley-line)}
.th-v823-stanley .th-v695-provider-details>div{
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  min-height:46px;
  padding:11px 0;
  border-bottom:1px solid var(--stanley-line);
}
.th-v823-stanley .th-v695-provider-details dt{
  color:#687486;
  font-size:11.5px;
  font-weight:600;
}
.th-v823-stanley .th-v695-provider-details dd{
  max-width:175px;
  color:var(--stanley-ink);
  font-size:12.5px;
  font-weight:800;
  text-align:right;
  overflow-wrap:anywhere;
}

/* Global rhythm on this page. */
.th-v823-stanley .th-v695-section{padding:64px 0}
.th-v823-stanley .th-v695-section-head{max-width:860px;margin-bottom:28px}
.th-v823-stanley .th-v695-section-head>p{max-width:820px}
.th-v823-stanley .th-v695-section-head--split{max-width:none;gap:44px;align-items:start}
.th-v823-stanley .stanley-provider-note{
  max-width:1030px;
  padding:18px 21px;
  border:1px solid #eadfe0;
  border-left:4px solid var(--stanley-red);
  border-radius:14px;
  background:#fff;
  box-shadow:none;
}

/* Application support: lighter and less bulky. */
.th-v823-stanley .stanley-support-grid{gap:16px}
.th-v823-stanley .th-v695-support-card{
  min-height:0;
  padding:23px 21px;
  border-color:var(--stanley-line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 24px rgba(24,34,53,.035);
}
.th-v823-stanley .th-v695-support-card h3{font-size:17px}
.th-v823-stanley .th-v695-support-card p{font-size:13.5px;line-height:1.65}

/* Course table stays readable without dominating the viewport. */
.th-v823-stanley .stanley-course-table-wrap{
  max-width:980px;
  margin-top:24px;
  border-color:var(--stanley-line);
  border-radius:16px;
  box-shadow:0 9px 26px rgba(25,31,43,.035);
}
.th-v823-stanley .stanley-course-table thead th{padding:13px 16px;background:#1d2025}
.th-v823-stanley .stanley-course-table tbody th,
.th-v823-stanley .stanley-course-table tbody td{padding:13px 16px;font-size:13px;line-height:1.5}

/* VET list: keep it functional instead of card-heavy. */
.th-v823-stanley .stanley-list-grid{gap:9px 14px}
.th-v823-stanley .stanley-list-grid li{
  padding:11px 13px 11px 32px;
  border-radius:11px;
  background:#fff;
  font-size:13px;
}
.th-v823-stanley .stanley-list-grid li:before{left:12px;top:11px}

/* ACS Professional Year: replace the heavy dark block with a clean factual panel. */
.th-v823-stanley .stanley-acs{
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);
  gap:34px;
  align-items:stretch;
}
.th-v823-stanley .stanley-acs-card{
  padding:25px 26px;
  border:1px solid var(--stanley-line);
  border-top:4px solid var(--stanley-red);
  border-radius:18px;
  background:#fff;
  color:var(--stanley-ink);
  box-shadow:0 10px 28px rgba(25,34,51,.04);
}
.th-v823-stanley .stanley-acs-card h3{margin:0 0 14px;color:var(--stanley-ink);font-size:20px}
.th-v823-stanley .stanley-acs-card li{margin-bottom:11px;color:#526074;font-size:13.5px;line-height:1.62}
.th-v823-stanley .stanley-acs-card li:before{color:var(--stanley-red)}
.th-v823-stanley .stanley-acs-card strong,
.th-v823-stanley .stanley-acs-card b{color:var(--stanley-ink)!important;font-weight:800}

/* Practical placement and fees. */
.th-v823-stanley .stanley-placement-grid{gap:15px;margin-top:24px}
.th-v823-stanley .stanley-placement-card{padding:23px;border-radius:16px;box-shadow:0 8px 22px rgba(25,31,43,.025)}
.th-v823-stanley .stanley-placement-card strong{font-size:17px}
.th-v823-stanley .stanley-fees{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:22px}
.th-v823-stanley .stanley-fee-list{gap:9px}
.th-v823-stanley .stanley-fee-list li{padding:13px 14px;border-radius:11px;font-size:13px}
.th-v823-stanley .stanley-note{
  padding:22px 23px;
  border:1px solid #eadfe0;
  border-left:4px solid var(--stanley-red);
  border-radius:14px;
  background:#fff;
  color:var(--stanley-copy);
}
.th-v823-stanley .stanley-note p,
.th-v823-stanley .stanley-note li{color:var(--stanley-copy)}
.th-v823-stanley .stanley-note strong,
.th-v823-stanley .stanley-note b{color:var(--stanley-ink)!important}

/* Entry cards: keep contrast, but reduce the visual weight. */
.th-v823-stanley .stanley-entry-grid{gap:18px}
.th-v823-stanley .stanley-entry-card{padding:26px;border-radius:18px;box-shadow:0 9px 28px rgba(25,31,43,.035)}
.th-v823-stanley .stanley-entry-card h3{font-size:20px}
.th-v823-stanley .stanley-entry-card.is-vet{background:#1f2d42}
.th-v823-stanley .stanley-entry-card.is-vet strong,
.th-v823-stanley .stanley-entry-card.is-vet b{color:#fff!important}

/* Intakes: only the lead date is a display element. Inline emphasis stays inline. */
.th-v823-stanley .stanley-intake-layout{
  grid-template-columns:minmax(250px,.55fr) minmax(0,1fr);
  gap:46px;
  align-items:center;
}
.th-v823-stanley .stanley-intake-card{
  max-width:720px;
  padding:26px 28px;
  border:1px solid #efd7d9;
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 24px rgba(25,31,43,.025);
}
.th-v823-stanley .stanley-intake-card>strong{
  display:block;
  margin:0 0 13px;
  color:var(--stanley-red-dark);
  font:800 clamp(25px,2.7vw,34px)/1.15 Poppins,sans-serif;
  letter-spacing:-.025em;
}
.th-v823-stanley .stanley-intake-card p{
  margin:0 0 13px;
  color:var(--stanley-copy);
  font-size:14px;
  line-height:1.72;
}
.th-v823-stanley .stanley-intake-card p:last-child{margin-bottom:0}
.th-v823-stanley .stanley-intake-card p strong,
.th-v823-stanley .stanley-intake-card p b{
  display:inline;
  margin:0;
  color:var(--stanley-ink)!important;
  font:700 inherit;
  letter-spacing:normal;
}

/* Locations and split sections. */
.th-v823-stanley .stanley-location-grid{gap:16px;margin-top:22px}
.th-v823-stanley .stanley-location-card{padding:23px;border-radius:16px;box-shadow:0 8px 22px rgba(25,31,43,.025)}
.th-v823-stanley .stanley-location-card h3{font-size:18px}
.th-v823-stanley .stanley-split-feature{
  grid-template-columns:minmax(250px,.5fr) minmax(0,1fr);
  gap:clamp(32px,5vw,64px);
  align-items:start;
}
.th-v823-stanley .stanley-copy p{font-size:14.5px;line-height:1.74}

/* FAQ and CTA retain the established provider system, just tighten the rhythm. */
.th-v823-stanley .stanley-faqs details{border-radius:14px}
.th-v823-stanley .stanley-network-link:hover{color:#fff;text-decoration:underline}

@media(max-width:1020px){
  .th-v823-stanley .th-v695-hero-grid,
  .th-v823-stanley .stanley-acs,
  .th-v823-stanley .stanley-fees,
  .th-v823-stanley .stanley-intake-layout,
  .th-v823-stanley .stanley-split-feature{grid-template-columns:1fr}
  .th-v823-stanley .th-v695-provider{max-width:620px;justify-self:start}
  .th-v823-stanley .stanley-intake-card{max-width:none}
}
@media(max-width:720px){
  .th-v823-stanley .th-v695-section{padding:50px 0}
  .th-v823-stanley .th-v695-hero{padding-bottom:48px}
  .th-v823-stanley .th-v695-hero h1{font-size:clamp(36px,10vw,46px)}
  .th-v823-stanley .th-v695-provider{padding:20px 20px 10px}
  .th-v823-stanley .stanley-intake-card{padding:22px}
}
