/* 큰 카드 넘기기 (school2_fix) */
.phead.hasw{position:relative;touch-action:pan-y}
@media (min-width:601px){.phead.hasw{padding-left:clamp(76px,7.6vw,108px)!important;padding-right:clamp(76px,7.6vw,108px)!important}}
.hsw{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:clamp(50px,4.6vw,64px);height:clamp(50px,4.6vw,64px);transform:translateY(-50%);border-radius:50%;background:#fff;color:#0F1117;border:2px solid #0F1117;text-decoration:none;box-shadow:0 8px 20px rgba(15,17,23,.16);transition:transform .2s var(--e)}
.hsw.prev{left:clamp(12px,1.5vw,22px)}
.hsw.next{right:clamp(12px,1.5vw,22px)}
.hsw svg{width:48%;height:48%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.hsw:hover{transform:translateY(-50%) scale(1.07)}
.hsw:focus-visible{outline:3px solid var(--lime);outline-offset:3px}
.hdots{position:absolute;left:50%;bottom:clamp(12px,1.6vw,18px);z-index:3;display:flex;gap:7px;transform:translateX(-50%);color:var(--th-tx,#fff)}
.hdots a{display:block;width:8px;height:8px;border-radius:8px;background:currentColor;opacity:.35;transition:width .25s var(--e),opacity .25s}
.hdots a.on{width:26px;opacity:1}
.phead.hsw-in-n{animation:hsw-in-n .38s var(--e)}
.phead.hsw-in-p{animation:hsw-in-p .38s var(--e)}
.phead.hsw-out-n{transition:transform .19s var(--e),opacity .19s;transform:translateX(-56px);opacity:0}
.phead.hsw-out-p{transition:transform .19s var(--e),opacity .19s;transform:translateX(56px);opacity:0}
@keyframes hsw-in-n{from{opacity:0;transform:translateX(56px)}to{opacity:1;transform:none}}
@keyframes hsw-in-p{from{opacity:0;transform:translateX(-56px)}to{opacity:1;transform:none}}
@media (max-width:600px){
  .phead.hasw{padding-bottom:44px!important}
  .hsw{width:44px;height:44px;top:auto;bottom:10px;transform:none}
  .hsw:hover{transform:scale(1.05)}
  .hsw.prev{left:12px}.hsw.next{right:12px}
  .hdots{bottom:26px}
}
/* 학교 랭킹: 전체 · 초등학교 · 중학교 */
.rsw{display:flex;align-items:center;gap:10px;margin-left:auto}
.rsw-t{min-width:5.5em;text-align:center;font-size:clamp(18px,1.6vw,22px);font-weight:900;letter-spacing:-.03em}
.rsw-b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;color:#0F1117;border:2px solid #0F1117;cursor:pointer}
.rsw-b svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.rsw-b:focus-visible{outline:3px solid var(--peri-tx);outline-offset:3px}
#rlist{touch-action:pan-y}
@media (prefers-reduced-motion:reduce){.phead.hsw-in-n,.phead.hsw-in-p{animation:none}}
