/* v825 Stanley College — align to the established v821 provider-page design. */
.th-v823-stanley{--stanley-red:#e31e24;--stanley-red-dark:#bd1720;--stanley-ink:#22252a;--stanley-copy:#59636f;--stanley-line:#e7e5e2;--stanley-soft:#f7f6f4}

/* Hero: same visual language and proportions as the approved CHC/provider pages. */
.th-v823-stanley .th-v695-hero{padding:28px 0 76px;background:linear-gradient(135deg,#a9151d 0%,#ca1a23 54%,#e42d35 100%)}
.th-v823-stanley .th-v695-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:52px;align-items:center}
.th-v823-stanley .th-v695-hero h1{max-width:760px;margin:12px 0 23px;font-size:clamp(40px,4.5vw,62px);line-height:1.06}
.th-v823-stanley .th-v695-hero-copy>p{max-width:720px;margin-bottom:13px;color:#fff0f1;font-size:15.5px;line-height:1.76}
.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:24px}

.th-v823-stanley .th-v695-provider{width:auto;max-width:none;justify-self:stretch;padding:30px 29px 16px;border:1px solid rgba(255,255,255,.28);border-radius:26px;background:linear-gradient(150deg,rgba(119,14,22,.58),rgba(128,10,18,.38));color:#fff;box-shadow:0 20px 48px rgba(68,3,9,.13)}
.th-v823-stanley .th-v695-provider-mark{display:grid;width:124px;height:103px;min-height:103px;margin:0 0 24px;padding:0;place-content:center;border-radius:21px;background:#fff;color:var(--stanley-red);font:800 19px/1.2 Poppins,sans-serif;letter-spacing:-.025em;text-align:center}
.th-v823-stanley .stanley-facts-heading{margin:0 0 13px;color:#fff;font:700 13px/1.5 Poppins,sans-serif}
.th-v823-stanley .th-v695-provider-details{margin:0;border-top:1px solid rgba(255,255,255,.23)}
.th-v823-stanley .th-v695-provider-details>div{display:grid;grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr);gap:22px;align-items:center;min-height:56px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.20)}
.th-v823-stanley .th-v695-provider-details>div:last-child{border-bottom:0}
.th-v823-stanley .th-v695-provider-details dt{color:#ffe0e2;font-size:12px;line-height:1.5;font-weight:500}
.th-v823-stanley .th-v695-provider-details dd{max-width:none;margin:0;color:#fff;font-size:13px;line-height:1.55;font-weight:700;text-align:right;overflow-wrap:break-word}

/* Match the established provider-page spacing and card rhythm. */
.th-v823-stanley .th-v695-section{padding:76px 0}
.th-v823-stanley .th-v695-soft{background:var(--stanley-soft)}
.th-v823-stanley .th-v695-section-head{max-width:900px;margin-bottom:32px}
.th-v823-stanley .th-v695-section-head>p{max-width:880px;margin-top:14px}
.th-v823-stanley .th-v695-section-head--split{max-width:none;gap:58px;align-items:end}
.th-v823-stanley .stanley-provider-note{max-width:1120px;margin:24px auto 0;padding:20px 24px;border:1px solid #ead8d8;border-radius:16px;background:#fff;color:#4f5966;box-shadow:none}

.th-v823-stanley .stanley-support-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.th-v823-stanley .th-v695-support-card{min-height:190px;padding:27px;border:1px solid var(--stanley-line);border-radius:22px;background:#fff;box-shadow:none}
.th-v823-stanley .th-v695-support-card h3{margin:6px 0 9px;font-size:18px}
.th-v823-stanley .th-v695-support-card p{font-size:14px;line-height:1.67}

/* Course table mirrors the accepted CHC table treatment. */
.th-v823-stanley .stanley-course-table-wrap{max-width:1080px;margin:28px auto 0;border:1px solid var(--stanley-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 12px 30px rgba(25,31,43,.04)}
.th-v823-stanley .stanley-course-table{width:100%;margin:0;border-collapse:collapse;table-layout:fixed}
.th-v823-stanley .stanley-course-table thead th{padding:14px 18px;background:#1a1a1a;color:#fff;font-size:12px;line-height:1.45;font-weight:700}
.th-v823-stanley .stanley-course-table thead th:nth-child(1){width:34%}
.th-v823-stanley .stanley-course-table thead th:nth-child(2){width:15%}
.th-v823-stanley .stanley-course-table thead th:nth-child(3){width:51%}
.th-v823-stanley .stanley-course-table tbody th,.th-v823-stanley .stanley-course-table tbody td{padding:14px 18px;border-top:1px solid var(--stanley-line);background:#fff;color:var(--stanley-ink);font-size:13.5px;line-height:1.55}

/* Stanley-specific sections reuse the same restrained provider vocabulary. */
.th-v823-stanley .stanley-acs{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:24px;align-items:start}
.th-v823-stanley .stanley-acs-card{padding:28px;border:1px solid var(--stanley-line);border-radius:22px;background:#1c2b42;color:#fff;box-shadow:0 12px 34px rgba(25,31,43,.04)}
.th-v823-stanley .stanley-acs-card h3{margin:0 0 14px;color:#fff;font-size:20px}
.th-v823-stanley .stanley-acs-card li{color:#eef2f7;font-size:14px;line-height:1.65}
.th-v823-stanley .stanley-acs-card strong,.th-v823-stanley .stanley-acs-card b{color:#fff!important}

.th-v823-stanley .stanley-placement-grid{gap:18px;margin-top:28px}
.th-v823-stanley .stanley-placement-card,.th-v823-stanley .stanley-location-card{padding:26px;border:1px solid var(--stanley-line);border-radius:18px;background:#fff;box-shadow:none}
.th-v823-stanley .stanley-fees{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:24px}
.th-v823-stanley .stanley-note{padding:24px 26px;border-radius:18px;background:#1c2b42;color:#fff;border:0}
.th-v823-stanley .stanley-note p,.th-v823-stanley .stanley-note li,.th-v823-stanley .stanley-note strong,.th-v823-stanley .stanley-note b{color:#fff!important}
.th-v823-stanley .stanley-entry-grid{gap:22px}
.th-v823-stanley .stanley-entry-card{padding:30px;border-radius:22px;box-shadow:0 12px 34px rgba(25,31,43,.04)}
.th-v823-stanley .stanley-entry-card.is-vet{background:#1c2b42;border-color:#1c2b42}
.th-v823-stanley .stanley-entry-card.is-vet h3,.th-v823-stanley .stanley-entry-card.is-vet p,.th-v823-stanley .stanley-entry-card.is-vet li,.th-v823-stanley .stanley-entry-card.is-vet strong,.th-v823-stanley .stanley-entry-card.is-vet b{color:#fff!important}

.th-v823-stanley .stanley-intake-layout,.th-v823-stanley .stanley-split-feature{grid-template-columns:minmax(280px,.62fr) minmax(0,1.38fr);gap:clamp(34px,6vw,88px);align-items:start}
.th-v823-stanley .stanley-intake-card{max-width:none;padding:32px;border:1px solid #f0cfd2;border-radius:22px;background:#fff7f7;box-shadow:none}
.th-v823-stanley .stanley-intake-card>strong{display:block;margin:0 0 13px;color:#b01821;font:800 clamp(30px,4vw,48px)/1.1 Poppins,sans-serif;letter-spacing:-.035em}
.th-v823-stanley .stanley-intake-card p{margin:0 0 13px;color:#5c6470;font-size:14px;line-height:1.7}
.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:#22252a!important;font:700 inherit;letter-spacing:normal}

.th-v823-stanley .stanley-location-grid{gap:20px;margin-top:26px}
.th-v823-stanley .stanley-copy p{font-size:15px;line-height:1.78}
.th-v823-stanley .stanley-faqs details{border-radius:16px;background:#fff}
.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:650px;justify-self:start}
  .th-v823-stanley .stanley-support-grid,.th-v823-stanley .stanley-placement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .th-v823-stanley .th-v695-section{padding:54px 0}
  .th-v823-stanley .th-v695-hero{padding-bottom:55px}
  .th-v823-stanley .th-v695-hero h1{font-size:clamp(35px,10vw,46px)}
  .th-v823-stanley .stanley-support-grid,.th-v823-stanley .stanley-placement-grid,.th-v823-stanley .stanley-entry-grid,.th-v823-stanley .stanley-location-grid,.th-v823-stanley .stanley-fee-list,.th-v823-stanley .stanley-list-grid{grid-template-columns:1fr}
  .th-v823-stanley .stanley-course-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .th-v823-stanley .stanley-course-table{min-width:720px}
}
