.sch .school-search{position:relative}
.sch .school-suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;background:#fff;border:1px solid var(--school-border);border-radius:14px;box-shadow:0 16px 36px #0a0e2266;overflow:hidden;color:#262f56}
.sch .school-suggest[hidden]{display:none}
.sch .school-suggest-list{max-height:min(440px,70vh);overflow-y:auto;overscroll-behavior:contain}
.sch .school-suggest-item{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #eef5fc;text-align:left}
.sch .school-suggest-item:last-child{border-bottom:0}
.sch a.school-suggest-item:hover,.sch .school-suggest-item.is-active{background:#eef6ff}
.sch .school-suggest-item.is-active .school-suggest-title{color:#007f3d}
.sch .school-suggest-thumb{position:relative;flex:none;display:block;width:56px;height:40px;border-radius:8px;overflow:hidden;background:#e6eefb}
.sch .school-suggest-thumb.is-empty{background:linear-gradient(135deg,#e6eefb,#d9eafa)}
.sch .school-suggest-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .2s}
.sch .school-suggest-thumb img.is-loaded{opacity:1}
.sch .school-suggest-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.sch .school-suggest-title{font-size:15px;line-height:20px;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sch .school-suggest-title mark{background:none;color:#00a64f;font-weight:600}
.sch .school-suggest-text small{font-size:12px;line-height:16px;color:#4f5676}
.sch .school-suggest-empty{padding:16px 14px;font-size:14px;line-height:20px;color:#4f5676}
.sch .school-suggest-all{display:block;width:100%;padding:12px 14px;border:0;border-top:1px solid #eef5fc;background:#f7fbff;text-align:left;font-size:14px;font-weight:500;color:#007f3d;cursor:pointer}
.sch .school-suggest-all:hover{background:#eef6ff}
.sch .school-skel{background:linear-gradient(90deg,#e6eefb 25%,#f3f8ff 50%,#e6eefb 75%);background-size:200% 100%;animation:school-skel 1.2s linear infinite}
.sch .school-skel-line{display:block;height:12px;border-radius:6px;width:90%}
.sch .school-skel-line.is-short{width:45%;height:10px}
@keyframes school-skel{to{background-position:-200% 0}}
@media(max-width:600px){.sch .school-suggest{top:calc(100% + 6px)}.sch .school-suggest-thumb{width:48px;height:36px}.sch .school-suggest-title{font-size:14px}}
@media(prefers-reduced-motion:reduce){.sch .school-skel{animation:none}}
.sch .school-hero-copy{position:relative;z-index:6}
.sch .school-results-body{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sch .school-results-body>p,.sch .school-results-body>.school-results-site{grid-column:1/-1}
.sch .school-results-body a.school-result-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--school-border);border-radius:12px;background:#fff;transition:box-shadow .2s,transform .2s}
.sch .school-results-body a.school-result-card:hover{box-shadow:0 8px 22px #262f5622;transform:translateY(-2px)}
.sch .school-result-thumb{position:relative;display:block;aspect-ratio:16/9;background:#e6eefb;overflow:hidden}
.sch .school-result-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s}
.sch .school-result-thumb img.is-loaded{opacity:1}
.sch .school-result-thumb.is-empty{background:linear-gradient(135deg,#e6eefb,#d9eafa)}
.sch .school-result-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;flex:1}
.sch .school-result-title{font-size:14px;line-height:20px;font-weight:500;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sch .school-results-body .school-result-body small{margin:0;font-size:12px;line-height:16px;color:#00a64f;font-weight:500}
.sch .school-results-body div.school-result-card.is-skeleton{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--school-border);border-radius:12px;pointer-events:none}
@media(max-width:990px){.sch .school-results-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:600px){.sch .school-result-title{font-size:13px;line-height:18px}.sch .school-result-body{padding:10px}}
.sch .school-section-heading{z-index:4}
.sch .school-frequent-list{display:flex;align-items:center;gap:8px;min-width:0}
.sch .school-frequent-list>a{background:#ffffff14;border:1px solid #ffffff47;border-radius:16px;height:34px;padding:8px 12px;line-height:16px;flex:none}
.sch .school-frequent-list>a:hover{background:#ffffff26}
@media(min-width:601px) and (max-width:990px){.sch .school-frequent-list{flex-wrap:wrap;gap:6px}.sch .school-frequent-list>a{padding-inline:10px}}
@media(max-width:600px){
.sch .school-frequent{overflow:visible;width:100%;max-width:none;margin:12px 0 0;padding:0;gap:8px;flex-wrap:nowrap}
.sch .school-frequent-list{flex:1;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;margin-right:-16px;padding-right:16px}
.sch .school-frequent-list::-webkit-scrollbar{display:none}
}
/* затухание по краям горизонтальных лент: появляется там, где есть что листать */
.sch [data-fade]{--fl:0px;--fr:0px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%)}
.sch [data-fade~="l"]{--fl:32px}
.sch [data-fade~="r"]{--fr:32px}
