#skoly { scroll-margin-top: 110px; }
#skoly h2 { margin-top: 12px; }
#skoly [hidden] { display: none !important; }
.school-filters { display: flex; align-items: end; gap: 16px; margin: 28px 0 20px; }
.school-filters label { display: grid; gap: 8px; flex: 1; color: var(--muted); font-size: .9rem; }
.school-filters label:first-child { flex: 2; }
.school-filters input, .school-filters select { width: 100%; min-width: 0; min-height: 54px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; background: #21162f; color: white; font: inherit; }
.school-filters input::placeholder { color: #b5a9c3; }
#skoly button { font: inherit; cursor: pointer; }
#skoly :focus-visible { outline: 3px solid #dcb6ff; outline-offset: 4px; }
.school-map-wrap { border-radius: 22px; overflow: hidden; margin-top: 24px; }
#school-map { height: 420px; background: #e4e1e9; isolation: isolate; z-index: 0; }
#school-map-status, .school-map-wrap .school-map-note { margin: 0; padding: 14px 20px; }
.school-map-note, .school-source { color: var(--muted); font-size: .86rem; }
#school-count { margin: 26px 0 16px; color: var(--muted); }
.school-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.school-card { padding: 28px; border-radius: 22px; display: flex; flex-direction: column; align-items: start; }
.school-card h3 { margin: 8px 0 12px; font-size: 1.5rem; }
.school-cities { color: #dcbbff; font-size: .9rem; }
.school-teachers { margin: 0; }
.school-description { color: var(--muted); margin-bottom: 24px; flex: 1; }
.school-source { margin: 16px 0 0; font-size: .78rem; }
.school-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.school-socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 12px; color: #dcbbff; background: rgba(255,255,255,.04); }
.school-socials a:hover { background: rgba(255,255,255,.1); text-decoration: underline; text-underline-offset: 3px; }
.school-source a { text-decoration: underline; text-underline-offset: 3px; }
.school-empty { padding: 28px; border-radius: 18px; }
.school-suggest { display: flex; align-items: center; gap: 28px; padding: 26px; margin-top: 24px; border-radius: 22px; }
.school-suggest h3 { margin: 0 0 8px; }
.school-suggest p { margin: 0; color: var(--muted); }
.school-suggest .btn { flex-shrink: 0; }
.school-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.school-marker { border: 2px solid white; border-radius: 50%; background: #713ca5; color: white; text-align: center; line-height: 30px; font-weight: bold; box-shadow: 0 2px 10px #0005; }
@media (max-width: 760px) {
    .school-filters, .school-suggest { flex-direction: column; align-items: stretch; }
    .school-grid { grid-template-columns: 1fr; }
    #school-map { height: 320px; }
    .school-card { padding: 22px; }
}
