.schools-page.page-wrapper { padding-top: 0; }
.schools-page > .row { margin: 0; }
.schools-page > .row > .col-md-12 { padding: 0; }
.schools-hero { padding: 34px 20px 26px; color: #172e5e; text-align: center; background: linear-gradient(90deg,#edf5ff20,#edf5ffde 34%,#edf5ffdd 65%,#edf5ff10),url('/images/hero-spring.jpg') center 40% / cover; }
.schools-hero-content { max-width: 650px; margin: auto; }
.schools-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: 1.2px; font-weight: 800; background: #ffffffd9; border: 1px solid white; border-radius: 30px; padding: 8px 13px; }
.schools-eyebrow i { color: #eb4780; font-size: 13px; }
.schools-hero h1 { font-family: 'Caveat',cursive; font-size: clamp(46px,5.2vw,75px); line-height: 1; font-weight: 700; margin: 16px 0 20px; letter-spacing: -1.5px; }
.schools-hero h1::after { content: ''; display: block; width: 235px; height: 5px; border-radius: 50%; background: #fa4487; margin: 7px auto 0; transform: rotate(-2deg); }
.schools-hero p { font-size: 14px; margin-bottom: 21px; }
.schools-hero .directory-search { max-width: 600px; padding-top: 9px; padding-bottom: 9px; }
.schools-hero-links { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 16px; font-size: 11px; }
.schools-hero-links a { color: #172e5e; font-weight: 700; }
.schools-hero-links i { margin-right: 5px; }
.schools-workspace { max-width: 1450px; margin: auto; padding: 28px 28px 36px; display: grid; grid-template-columns: 238px minmax(0,1fr); gap: 27px; align-items: start; }
.schools-sidebar { display: grid; gap: 18px; }
.schools-districts { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.schools-districts summary { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 18px; font-size: 14px; font-weight: 800; list-style: none; }
.schools-districts summary::-webkit-details-marker { display: none; }
.schools-districts summary > i:first-child { color: var(--blue); }
.schools-districts summary > i:last-child { margin-left: auto; font-size: 11px; color: var(--muted); }
.schools-districts[open] summary > i:last-child { transform: rotate(180deg); }
.schools-district-content { padding: 0 13px 13px; }
.district-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 9px 10px; border-radius: 8px; font-size: 12px; margin-bottom: 11px; color: var(--muted); background: var(--page); }
.district-search input { border: 0; background: transparent; color: var(--ink); min-width: 0; width: 100%; font-size: 11px; }
.district-search input::placeholder { color: var(--muted); }
.school-district-links { max-height: 365px; overflow-y: auto; scrollbar-width: thin; }
.school-district-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 9px; margin-bottom: 2px; border-radius: 7px; color: var(--muted); font-size: 12px; }
.school-district-links a i { font-size: 9px; }
.school-district-links a[hidden] { display: none; }
.school-district-links a[aria-current] { background: #fff0f6; color: #d94379; font-weight: 800; }
.school-district-links a:hover { background: var(--page); color: var(--ink); }
#district-search-empty { padding: 8px; color: var(--muted); font-size: 11px; margin: 0; }
.schools-add-card { background: linear-gradient(145deg,#fff0f5,#f8faff); border: 1px solid #f4e1eb; border-radius: 13px; padding: 23px 19px; }
.schools-add-card > span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: #fff; color: #e65289; font-size: 23px; margin-bottom: 17px; }
.schools-add-card h2 { font-size: 15px; font-weight: 800; line-height: 1.5; margin: 0 0 9px; }
.schools-add-card p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.schools-add-card a { color: #df417d; font-size: 12px; font-weight: 800; }
.schools-add-card a i { margin-left: 10px; }
.schools-community-link { color: var(--muted); font-size: 11px; line-height: 1.8; padding: 0 8px; }
.schools-community-link i:first-child { color: #dc7da1; margin-right: 4px; }
.schools-results { min-width: 0; scroll-margin-top: 80px; }
.schools-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.schools-section-label { font-size: 9px; font-weight: 800; letter-spacing: 1.4px; color: #d3618c; }
.schools-results-heading h2 { font-size: 23px; font-weight: 800; letter-spacing: -.4px; margin: 5px 0 4px; }
.schools-results-heading h2 > span { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; vertical-align: middle; margin-left: 5px; }
.schools-results-heading p { font-size: 11px; color: var(--muted); margin: 7px 0 0; }
.schools-sort { flex-shrink: 0; }
.schools-sort label { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.schools-sort > div { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.schools-sort select { font-size: 11px; font-weight: 700; color: var(--ink); background: transparent; border: 0; padding: 10px 6px 10px 11px; }
.schools-sort button { background: var(--surface); color: var(--blue); border: 0; border-left: 1px solid var(--line); width: 32px; }
.schools-type-tabs { display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 7px; margin-bottom: 16px; }
.schools-type-tabs a { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--muted); padding: 9px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; font-size: 11px; font-weight: 700; }
.schools-type-tabs a span { font-size: 9px; opacity: .8; }
.schools-type-tabs a[aria-current] { background: #fff0f6; border-color: #f8d5e3; color: #d94379; }
.school-active-district { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: var(--blue); margin: 0 0 16px; padding: 6px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.schools-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.school-preview { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); overflow: hidden; min-width: 0; display: flex; flex-direction: column; box-shadow: 0 3px 10px #264b7503; }
.school-preview-photo { position: relative; display: block; aspect-ratio: 1.75; overflow: hidden; background: var(--page); }
.school-preview-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.school-preview:hover .school-preview-photo img { transform: scale(1.035); }
.school-preview-photo > span { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 8px; background: #ffffffed; color: #172e5e; border-radius: 6px; font-size: 9px; font-weight: 800; }
.school-preview-photo > span i { margin-right: 4px; }
.school-preview-copy { padding: 16px 15px 12px; display: flex; flex-direction: column; flex: 1; }
.school-preview h3 { font-size: 14px; font-weight: 800; line-height: 1.5; margin: 0 0 8px; overflow-wrap: anywhere; }
.school-preview h3 a { color: var(--ink); }
.school-preview h3 a:hover { color: var(--blue); }
.school-preview-copy > p { color: var(--muted); font-size: 11px; margin: 0 0 16px; }
.school-preview-copy > p i { margin-right: 4px; }
.school-preview-footer { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; }
.school-preview-footer > span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.school-preview-footer > a { font-weight: 800; white-space: nowrap; }
.school-preview-footer > a i { margin-left: 4px; }
.schools-bottom-note { text-align: center; font-size: 11px; color: var(--muted); padding: 27px 12px 0; }
.schools-bottom-note i { color: #e49ab7; margin-right: 5px; }
:root[data-theme=dark] .schools-add-card { background: linear-gradient(145deg,#35283e,#1c2a42); border-color: var(--line); }
:root[data-theme=dark] .schools-add-card > span { background: #4b3044; color: #ff99c0; }
:root[data-theme=dark] .schools-add-card a { color: #ff99c0; }
:root[data-theme=dark] .school-district-links a[aria-current], :root[data-theme=dark] .schools-type-tabs a[aria-current] { background: #432b40; border-color: #654054; color: #ffb1ce; }
@media(max-width:1199px){.schools-workspace { grid-template-columns: 210px minmax(0,1fr); gap: 20px; padding: 24px 20px; }.schools-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }}
@media(max-width:767px){.schools-hero { padding: 26px 16px 23px; }.schools-hero h1 { font-size: 55px; margin-top: 18px; }.schools-hero p { font-size: 12px; line-height: 1.7; max-width: 300px; margin: 0 auto 18px; }.schools-hero .directory-search button { padding: 11px 17px; white-space: nowrap; font-size: 11px; }.schools-workspace { grid-template-columns: minmax(0,1fr); padding: 18px 14px; gap: 20px; }.schools-sidebar { gap: 0; }.schools-add-card,.schools-community-link { display: none; }.schools-districts summary { padding: 15px 17px; font-size: 13px; }.school-district-links { max-height: 240px; }.schools-results-heading { gap: 12px; }.schools-results-heading h2 { font-size: 20px; }.schools-sort select { max-width: 115px; padding-left: 8px; }.schools-grid { gap: 13px; }.schools-type-tabs { margin-bottom: 12px; }.school-preview-copy { padding: 13px; }.school-preview h3 { font-size: 13px; }.school-preview-footer > span { display: none; }.school-preview-footer > a { margin-left: auto; }}
@media(max-width:480px){.schools-grid { grid-template-columns: minmax(0,1fr); }.school-preview-photo { aspect-ratio: 2; }.school-preview-copy { padding: 17px; }.school-preview h3 { font-size: 15px; }.school-preview-footer > span { display: inline; }.schools-hero h1 { font-size: 49px; }.schools-results-heading { flex-wrap: wrap; }.schools-sort { margin-left: auto; }.schools-results-heading h2 > span { font-size: 10px; }.schools-hero .directory-search input { font-size: 12px; }}
@media(prefers-reduced-motion:reduce){.school-preview-photo img { transition: none; }.school-preview:hover .school-preview-photo img { transform: none; }}
