/* Teacher district pages | Bootstrap 5 | Sandstrom & Associates
   Keep BSS component classes editable. Colors and spacing live here. */

:root {
  --tp-navy: #102b43;
  --tp-navy-deep: #0c2236;
  --tp-blue: #087bcd;
  --tp-blue-dark: #0566b0;
  --tp-paper: #fbfaf7;
  --tp-surface: #ffffff;
  --tp-slate: #52667a;
  --tp-border: #e1e8ef;
  --tp-soft: #f1f6fa;
  --tp-radius: 16px;
  --tp-shadow: 0 18px 55px rgb(16 43 67 / 7%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body.tp-page {
  background: var(--tp-paper);
  /*color: var(--tp-navy);*/
  font-family: 'Montserrat';
  line-height: 1.65;
}

.tp-page a {
  text-underline-offset: 3px;
}

.tp-page a:focus-visible, .tp-page input:focus-visible, .tp-page summary:focus-visible {
  outline: 3px solid #5babed;
  outline-offset: 4px;
}

.tp-page h1, .tp-page h2, .tp-page h3 {
  font-family: Montserrat, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--tp-navy);
  letter-spacing: -.034em;
  line-height: 1.2;
}

.tp-page h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 1.1;
  font-weight: 750;
  max-width: 790px;
}

.tp-page h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 720;
  max-width: 860px;
}

.tp-page h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  font-weight: 690;
}

.tp-page p {
  margin-bottom: 1rem;
}

.tp-page .btn-primary {
  --bs-btn-bg: var(--tp-blue);
  --bs-btn-border-color: var(--tp-blue);
  --bs-btn-hover-bg: var(--tp-blue-dark);
  --bs-btn-hover-border-color: var(--tp-blue-dark);
  --bs-btn-active-bg: var(--tp-blue-dark);
  --bs-btn-active-border-color: var(--tp-blue-dark);
  font-size: .98rem;
  font-weight: 680;
  line-height: 1.4;
  padding: .88rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 7px 16px rgb(8 123 205 / 12%);
}

.tp-page .btn-primary.btn-sm {
  padding: .68rem 1rem;
  font-size: .86rem;
}

.tp-header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--tp-border);
}

.tp-header .container {
  min-height: 84px;
}

.tp-brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--tp-navy);
  font: 780 1.25rem/1.05 Montserrat, Inter, sans-serif;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}

.tp-brand span {
  margin-top: .26rem;
  color: var(--tp-blue);
  font-size: .57rem;
  font-weight: 730;
  letter-spacing: .2em;
}

.tp-brand:hover {
  color: var(--tp-navy);
}

.tp-nav {
  align-items: center;
  gap: clamp(.8rem, 2vw, 2rem);
}

.tp-nav a {
  color: var(--tp-slate);
  font-size: .91rem;
  font-weight: 620;
  text-decoration: none;
}

.tp-nav a:hover {
  color: var(--tp-blue);
}

.tp-breadcrumb {
  margin: 0;
  font-size: .84rem;
}

.tp-breadcrumb .breadcrumb-item a {
  color: var(--tp-slate);
}

.tp-breadcrumb .breadcrumb-item.active {
  color: var(--tp-navy);
}

.tp-hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  background: radial-gradient(ellipse at 85% 5%, #e7f4fd, transparent 45%), var(--tp-paper);
}

.tp-hero .lead {
  max-width: 650px;
  color: var(--tp-slate);
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  line-height: 1.65;
}

.tp-kicker {
  margin-bottom: 1rem;
  color: var(--tp-blue);
  font-size: .75rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: .145em;
}

.tp-inline-link {
  font-weight: 690;
  color: var(--tp-blue);
  text-decoration-thickness: 1px;
}

.tp-inline-link:hover {
  color: var(--tp-blue-dark);
}

.tp-hero-aside {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: 22px;
  box-shadow: var(--tp-shadow);
  padding: clamp(1.6rem, 3vw, 2.65rem);
}

.tp-aside-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem) !important;
}

.tp-plan-row {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--tp-border);
}

.tp-plan-row:last-child {
  padding-bottom: 0;
}

.tp-plan-row strong {
  display: block;
  margin-bottom: .15rem;
  font-size: .99rem;
}

.tp-plan-row p {
  margin: 0;
  color: var(--tp-slate);
  font-size: .92rem;
}

.tp-step-number {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 9px;
  background: #e8f3fb;
  color: var(--tp-blue);
  font-size: .8rem;
  font-weight: 800;
}

.tp-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.tp-section-border {
  /*border-top: 1px solid var(--tp-border);*/
}

.tp-intro {
  max-width: 780px;
  color: var(--tp-slate);
  font-size: 1.04rem;
}

.tp-timeline {
  margin-top: 2.3rem;
}

.tp-option {
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 102px;
  padding: 1.2rem .8rem;
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--tp-border);
  border-radius: var(--tp-radius);
  font-weight: 680;
  box-shadow: 0 4px 16px rgb(16 43 67 / 2%);
  transition: border-color .15s,box-shadow .15s,transform .15s;
}

.tp-option:has(input:checked) {
  background: #eef8ff;
  border-color: var(--tp-blue);
  box-shadow: 0 0 0 3px rgb(8 123 205 / 10%);
}

.tp-option:hover {
  border-color: #8bbfe0;
  transform: translateY(-1px);
}

.tp-option:focus-within {
  outline: 3px solid #86c8f6;
  outline-offset: 2px;
}

.tp-option input {
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
}

.tp-timeline-result {
  margin-top: 1.2rem;
  border: 1px solid #cfe1ef;
  background: #f3faff;
  border-radius: var(--tp-radius);
  padding: clamp(1.3rem, 2.8vw, 2.4rem);
}

.tp-timeline-result > [data-timeline-panel] {
  display: none;
}

.tp-timeline-result > [data-timeline-panel].is-active {
  display: block;
}

.tp-timeline-result h3 {
  margin-bottom: .6rem;
}

.tp-timeline-result p {
  max-width: 820px;
  color: var(--tp-slate);
}

.tp-housing {
  background: #f2f6f9;
}

.tp-data-caption {
  color: var(--tp-slate);
  font-size: .83rem;
  line-height: 1.65;
}

.tp-metric {
  padding: 1.7rem;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  box-shadow: 0 5px 24px rgb(16 43 67 / 4%);
}

.tp-metric-label {
  font-size: .89rem;
  color: var(--tp-slate);
  font-weight: 650;
}

.tp-metric-value {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -.04em;
  font-weight: 780;
  color: var(--tp-navy);
}

.tp-metric-source {
  margin-top: auto;
  font-size: .86rem;
  font-weight: 700;
}

.tp-question {
  height: 100%;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  border-radius: var(--tp-radius);
  background: #fff;
  border: 1px solid var(--tp-border);
}

.tp-question p {
  color: var(--tp-slate);
  margin-bottom: 0;
}

.tp-review {
  padding: clamp(1.7rem,4vw,3.5rem);
  border-radius: 22px;
  background: var(--tp-navy);
  color: #fff;
}

.tp-review h2, .tp-review h3 {
  color: #fff;
}

.tp-review p {
  color: #d5e0e9;
}

.tp-review .tp-kicker {
  color: #75cdfa;
}

.tp-review .tp-inline-link {
  color: #b7e6ff;
}

.tp-review-step {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.tp-review-step h3 {
  margin-top: 1rem;
}

.tp-review-step p {
  margin-bottom: 0;
  font-size: .94rem;
}

.tp-review-step .tp-step-number {
  background: rgb(255 255 255 / 13%);
  color: #fff;
}

.tp-facts {
  display: grid;
  grid-template-columns: minmax(100px, .7fr) 1.3fr;
  gap: .6rem 1rem;
}

.tp-facts dt {
  font-size: .87rem;
  color: var(--tp-slate);
  font-weight: 600;
}

.tp-facts dd {
  font-size: .91rem;
  margin-bottom: .4rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.tp-school {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--tp-border);
}

.tp-school strong {
  display: block;
  font-size: .95rem;
}

.tp-school small {
  color: var(--tp-slate);
}

.tp-school-list {
  max-height: 330px;
  overflow: auto;
  padding-left: 1.25rem;
  margin-top: 1rem;
}

.tp-school-list li {
  padding: .45rem 0;
}

.tp-school-list small {
  margin-left: .5rem;
  color: var(--tp-slate);
}

.tp-page details {
  border-bottom: 1px solid var(--tp-border);
  padding: 1.1rem 0;
}

.tp-page details summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 680;
}

.tp-page details[open] summary {
  color: var(--tp-blue);
  margin-bottom: .65rem;
}

.tp-page details p {
  color: var(--tp-slate);
}

.tp-closing {
  background: #eef5fa;
  text-align: center;
}

.tp-closing h2, .tp-closing .tp-intro {
  margin-left: auto;
  margin-right: auto;
}

.tp-footer {
  padding: 3.2rem 0;
  background: #fff;
  border-top: 1px solid var(--tp-border);
}

.tp-footer p {
  color: var(--tp-slate);
  font-size: .88rem;
}

.tp-footer a:not(.tp-brand) {
  font-weight: 660;
  font-size: .9rem;
}

@media (max-width: 991.98px) {
  .tp-header .container {
    min-height: 72px;
  }
}

@media (max-width: 991.98px) {
  .tp-hero {
    padding-top: 3.7rem;
  }
}

@media (max-width: 575.98px) {
  .tp-header .container {
    gap: .7rem !important;
  }
}

@media (max-width: 575.98px) {
  .tp-brand {
    font-size: 1.02rem;
  }
}

@media (max-width: 575.98px) {
  .tp-brand span {
    font-size: .48rem;
  }
}

@media (max-width: 575.98px) {
  .tp-header .btn {
    padding: .6rem .65rem !important;
    font-size: .72rem !important;
  }
}

@media (max-width: 575.98px) {
  .tp-option {
    min-height: 94px;
  }
}

@media (max-width: 575.98px) {
  .tp-timeline-result {
    padding: 1.4rem;
  }
}

@media (max-width: 575.98px) {
  .tp-metric {
    padding: 1.4rem;
  }
}

@media (max-width: 575.98px) {
  .tp-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 575.98px) {
  .tp-facts dt {
    margin-top: .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
  }
}

/* District landing page refinements: scoped to selected main content. */

body.tp-page #main {
  --district-ink: #102b43;
  --district-blue: #087bcd;
  --district-muted: #52667a;
  --district-line: #dfe7ed;
  --district-paper: #fbfaf7;
  color: var(--district-ink);
  font-family: Montserrat, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.tp-page #main > .container, body.tp-page #main section > .container {
  max-width: 1180px;
}

body.tp-page #main p {
  line-height: 1.72;
}

body.tp-page #main h1, body.tp-page #main h2, body.tp-page #main h3 {
  color: var(--district-ink);
  font-family: Montserrat, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-wrap: balance;
}

body.tp-page #main h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.3rem, 4.25vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
}

body.tp-page #main h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
}

body.tp-page #main h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}

body.tp-page #main .tp-kicker {
  margin-bottom: .7rem;
  color: #08699e;
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
}

body.tp-page #main .tp-breadcrumb {
  padding-top: .15rem;
  padding-bottom: .15rem;
}

body.tp-page #main .tp-breadcrumb a {
  color: #52667a;
}

body.tp-page #main .tp-breadcrumb .active {
  color: #102b43;
  font-weight: 600;
}

body.tp-page #main .tp-hero {
  padding: clamp(2.25rem, 3.6vw, 3.25rem) 0 clamp(3.5rem, 6.5vw, 6rem);
  background: #f2f6f8;
}

body.tp-page #main .tp-hero .lead {
  max-width: 590px;
  margin-bottom: 1.65rem !important;
  color: #435a6d;
  font-size: clamp(1.08rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

body.tp-page #main .tp-hero .btn-primary, body.tp-page #main .tp-review .btn-primary, body.tp-page #main .tp-closing .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .88rem 1.45rem;
  border: 1px solid #087bcd;
  border-radius: 7px;
  background: #087bcd;
  color: #fff;
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 5px 14px rgb(8 123 205 / 18%);
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.tp-page #main .tp-hero .btn-primary:hover, body.tp-page #main .tp-review .btn-primary:hover, body.tp-page #main .tp-closing .btn-primary:hover {
  border-color: #0566b0;
  background: #0566b0;
  color: #fff;
  box-shadow: 0 7px 18px rgb(8 123 205 / 24%);
}

body.tp-page #main .tp-hero .btn-primary:active, body.tp-page #main .tp-review .btn-primary:active, body.tp-page #main .tp-closing .btn-primary:active {
  border-color: #04578f;
  background: #04578f;
  color: #fff;
  box-shadow: 0 2px 6px rgb(8 123 205 / 18%);
}

body.tp-page #main .tp-hero .btn-primary:focus-visible, body.tp-page #main .tp-review .btn-primary:focus-visible, body.tp-page #main .tp-closing .btn-primary:focus-visible {
  color: #fff;
  outline: 3px solid #5babed;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgb(91 171 237 / 18%);
}

body.tp-page #main .tp-hero-aside {
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  border: 1px solid #dfe7ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgb(16 43 67 / 6%);
}

body.tp-page #main .tp-aside-title {
  margin-bottom: 1.1rem !important;
  font-size: clamp(1.45rem, 2vw, 1.8rem) !important;
}

body.tp-page #main .tp-plan-row {
  gap: .9rem;
  padding: 1rem 0;
  border-top-color: #e5ebef;
}

body.tp-page #main .tp-step-number {
  flex: 0 0 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #d5e8f4;
  border-radius: 7px;
  background: #eff7fb;
  color: #08699e;
}

body.tp-page #main .tp-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

body.tp-page #main .tp-section-border {
  /*border-top-color: var(--district-line);*/
}

body.tp-page #main .tp-intro {
  max-width: 740px;
  color: var(--district-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

body.tp-page #main .tp-timeline {
  max-width: none;
  margin-top: 1.75rem;
}

body.tp-page #main .tp-option {
  justify-content: flex-start;
  min-height: 78px;
  padding: 1rem 1.1rem;
  border: 1px solid #cbd8e1;
  border-radius: 8px;
  background: #fff;
  color: #243f54;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: left;
  box-shadow: none;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

body.tp-page #main .tp-option:hover {
  border-color: #7eacc9;
  background: #f8fbfd;
  transform: none;
}

body.tp-page #main .tp-option input {
  position: static;
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  opacity: 1;
  accent-color: #087bcd;
}

body.tp-page #main .tp-option:has(input:checked) {
  border-color: #087bcd;
  background: #edf6fb;
  color: #102b43;
  box-shadow: inset 0 0 0 1px #087bcd;
}

body.tp-page #main .tp-option:focus-within {
  outline: 3px solid #5babed;
  outline-offset: 3px;
}

body.tp-page #main .tp-timeline-result {
  min-height: 0;
  margin-top: 1rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid #d6e4ed;
  border-radius: 10px;
  background: #f5f9fb;
}

body.tp-page #main .tp-timeline-result h3 {
  margin-bottom: .55rem !important;
}

body.tp-page #main .tp-timeline-result p {
  max-width: 760px;
  color: #435a6d;
}

body.tp-page #main .tp-housing {
  background: #f3f6f7;
}

body.tp-page #main .tp-data-caption {
  color: #52667a;
  font-size: .8rem;
  line-height: 1.65;
}

body.tp-page #main .tp-metric {
  padding: 1.45rem;
  border: 1px solid #dfe7ed;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(16 43 67 / 4%);
}

body.tp-page #main .tp-metric-label {
  color: #52667a;
  font-size: .86rem;
  font-weight: 650;
}

body.tp-page #main .tp-metric-value {
  color: #102b43;
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
  font-weight: 700;
}

body.tp-page #main .tp-metric-source {
  font-size: .86rem;
  font-weight: 650;
}

body.tp-page #main .tp-question {
  padding: clamp(1.35rem, 2.2vw, 1.8rem);
  border: 1px solid #dfe7ed;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(16 43 67 / 3%);
}

body.tp-page #main .tp-question h3 {
  margin-bottom: .65rem;
}

body.tp-page #main .tp-question p {
  color: #52667a;
  line-height: 1.7;
}

body.tp-page #main .tp-review {
  padding: clamp(1.6rem, 3.5vw, 3rem);
  border: 1px solid #0c2236;
  border-radius: 12px;
  background: radial-gradient(ellipse at 100% 0%, #235976, transparent 65%), #142e44;
  box-shadow: 0 12px 32px rgb(16 43 67 / 9%);
}

body.tp-page #main .tp-review h2, body.tp-page #main .tp-review h3 {
  color: #fff;
}

body.tp-page #main .tp-review p {
  color: #e0e9ef;
}

body.tp-page #main .tp-review .tp-kicker {
  color: #a9dcf5;
}

body.tp-page #main .tp-review .tp-inline-link {
  color: #d5edfb;
}

body.tp-page #main .tp-review-step {
  padding-top: 1.2rem;
  border-top-color: rgb(255 255 255 / 24%);
}

body.tp-page #main .tp-review-step .tp-step-number {
  border-color: rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

body.tp-page #main .tp-facts {
  gap: .55rem .85rem;
}

body.tp-page #main .tp-facts dt {
  color: #52667a;
  font-size: .82rem;
  line-height: 1.55;
}

body.tp-page #main .tp-facts dd {
  color: #203c52;
  font-size: .88rem;
  line-height: 1.55;
}

body.tp-page #main .tp-school {
  padding: .85rem 0;
  border-bottom-color: #e2e9ee;
}

body.tp-page #main .tp-school strong {
  color: #203c52;
  font-size: .92rem;
  line-height: 1.55;
}

body.tp-page #main .tp-school-list {
  max-height: 340px;
  padding-left: 1.2rem;
  color: #344d60;
}

body.tp-page #main details {
  padding: 1rem 0;
  border-bottom-color: #dfe7ed;
}

body.tp-page #main details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #17364d;
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.5;
}

body.tp-page #main details summary:hover {
  color: #087bcd;
}

body.tp-page #main details[open] summary {
  margin-bottom: .5rem;
  color: #087bcd;
}

body.tp-page #main details p {
  color: #52667a;
  line-height: 1.7;
}

body.tp-page #main .tp-closing {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  border-top: 1px solid #e1e8ed;
  background: #f2f6f8;
}

body.tp-page #main .tp-closing h2 {
  max-width: 760px;
}

body.tp-page #main .tp-closing .tp-intro {
  max-width: 690px;
}

body.tp-page #main a:focus-visible, body.tp-page #main input:focus-visible, body.tp-page #main summary:focus-visible {
  outline: 3px solid #5babed;
  outline-offset: 4px;
}

@media (max-width: 767.98px) {
  body.tp-page #main .tp-hero {
    padding: 3.25rem 0;
  }
}

@media (max-width: 767.98px) {
  body.tp-page #main .tp-section {
    padding: 3.25rem 0;
  }
}

@media (max-width: 767.98px) {
  body.tp-page #main .tp-option {
    min-height: 72px;
    padding: .85rem;
  }
}

@media (max-width: 767.98px) {
  body.tp-page #main .tp-review {
    border-radius: 10px;
  }
}

@media (max-width: 575.98px) {
  body.tp-page #main .tp-hero .btn-primary, body.tp-page #main .tp-review .btn-primary, body.tp-page #main .tp-closing .btn-primary {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  body.tp-page #main .tp-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 575.98px) {
  body.tp-page #main .tp-facts dt {
    margin-top: .65rem;
  }
}

@media (max-width: 575.98px) {
  body.tp-page #main .tp-option {
    min-height: 70px;
    gap: .55rem;
    font-size: .85rem;
  }
}

