/* 2026-10-02 전국 학교정보 페이지 (/schools, /schools/{시군구}, /school/{코드}/{이름}) */
.ks-head{padding-bottom:4px}
.ks-lead{margin:8px 0 0;color:#6b7280;font-size:15px;line-height:1.5}
.ks-section{padding-top:28px}
.ks-sido{padding:22px 0;border-top:1px solid #eceef2}
.ks-sido:first-child{border-top:0;padding-top:0}
.ks-sido__title,.ks-block__title{margin:0 0 14px;color:#191f28;font-size:18px;font-weight:750;letter-spacing:-.02em}
.ks-sido__title span,.ks-block__title span{margin-left:4px;color:#6B7280;font-size:14px;font-weight:500}
.ks-sgg{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.ks-sgg a{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;padding:0 14px;border:1px solid #e3e6ec;border-radius:10px;background:#fff;color:#2b313b;font-size:14.5px;font-weight:600;text-decoration:none}
.ks-sgg a:hover{border-color:var(--brand,#693BF2);color:var(--brand,#693BF2)}
.ks-sgg small{color:#6B7280;font-size:12.5px;font-weight:500;font-variant-numeric:tabular-nums}
.ks-block{margin-top:32px}
.ks-block:first-child{margin-top:0}
.ks-table-wrap{overflow-x:auto;border:1px solid #e6e9ee;border-radius:12px;background:#fff}
.ks-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.ks-table th,.ks-table td{padding:12px 14px;border-bottom:1px solid #f0f1f4;text-align:right;white-space:nowrap;font-weight:400;color:#2b313b}
.ks-table thead th{background:#f8f9fb;color:#6b7280;font-size:13px;font-weight:600}
.ks-table th:first-child{text-align:left}
.ks-table tbody th a{color:#191f28;font-weight:650;text-decoration:none}
.ks-table tbody th a:hover{color:var(--brand,#693BF2)}
.ks-table tbody tr:last-child th,.ks-table tbody tr:last-child td{border-bottom:0}
.ks-table tfoot th,.ks-table tfoot td{border-top:1px solid #e3e6ec;border-bottom:0;font-weight:650;color:#191f28}
.ks-sub{display:block;margin-top:2px;color:#6B7280;font-size:12.5px;font-weight:400}
.ks-detail{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}
.ks-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 32px;padding:20px 0;border-top:1px solid #eceef2;border-bottom:1px solid #eceef2}
.ks-kpis>div{padding-left:20px;border-left:1px solid #eceef2}
.ks-kpis>div:first-child{padding-left:0;border-left:0}
.ks-kpis dt{color:#6b7280;font-size:13px;margin-bottom:6px}
.ks-kpis dd{margin:0;color:#191f28;font-size:26px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ks-kpis small{margin-left:2px;color:#6b7280;font-size:14px;font-weight:500}
.ks-note{margin:0 0 24px;color:#6b7280;font-size:14px}
.ks-rows{margin:0}
.ks-rows>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid #f0f1f4;font-size:14px;line-height:1.55}
.ks-rows>div:first-child{border-top:0}
.ks-rows dt{color:#6B7280}
.ks-rows dd{margin:0;color:#2b313b;overflow-wrap:anywhere}
.ks-rows a{color:#2b313b;text-decoration:underline;text-decoration-color:#cfd5dd;text-underline-offset:3px}
.ks-near{margin:0;padding:0;list-style:none;border:1px solid #e6e9ee;border-radius:12px;background:#fff}
.ks-near li{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;align-items:baseline;gap:10px;padding:12px 14px;border-top:1px solid #f0f1f4;font-size:14px}
.ks-near li:first-child{border-top:0}
.ks-near strong{color:#191f28;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ks-near span{color:#6B7280;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ks-near em{color:#6b7280;font-size:13px;font-style:normal;font-variant-numeric:tabular-nums}
.ks-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:96px}
.ks-card{padding:20px;border:1px solid #e6e9ee;border-radius:14px;background:#fff}
.ks-card .ks-block__title{font-size:16px;margin-bottom:8px}
.ks-links{margin:0;padding:0;list-style:none}
.ks-links a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #f0f1f4;color:#2b313b;font-size:14px;text-decoration:none}
.ks-links li:first-child a{border-top:0}
.ks-links a:hover span{color:var(--brand,#693BF2)}
.ks-links small{flex:none;color:#6B7280;font-size:12.5px;font-variant-numeric:tabular-nums}
.ks-more{display:inline-block;margin-top:12px;color:#4e5662;font-size:13.5px;text-decoration:underline;text-decoration-color:#cfd5dd;text-underline-offset:3px}
@media(max-width:1023px){.ks-detail{grid-template-columns:1fr;gap:28px}.ks-side{position:static}}
@media(max-width:767px){
  .ks-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}
  .ks-kpis>div:nth-child(odd){padding-left:0;border-left:0}
  .ks-kpis dd{font-size:22px}
  .ks-table th,.ks-table td{padding:10px 10px;font-size:13px}
  .ks-near li{grid-template-columns:minmax(0,1fr) auto}
  .ks-near li span{grid-column:1/-1;order:3}
  .ks-sgg{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* 2026-10-02 학교 위치 지도 */
.ks-map{position:relative;height:340px;border:1px solid #e6e9ee;border-radius:12px;background:#eef1f5;overflow:hidden}
.ks-map>p{margin:0;padding:20px;color:#6B7280;font-size:14px}
.ks-map__zoom{position:absolute;top:10px;right:10px;z-index:3;display:flex;flex-direction:column;border:1px solid #d9dde3;border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(24,33,48,.12);overflow:hidden}
.ks-map__zoom button{width:34px;height:34px;padding:0;border:0;background:#fff;color:#2b313b;font:inherit;font-size:18px;line-height:1;cursor:pointer}
.ks-map__zoom button+button{border-top:1px solid #eceef2}
.ks-map__zoom button:hover{background:#f6f7f9}
.ks-map-foot{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-top:10px;font-size:14px}
.ks-map-foot span{color:#2b313b}
.ks-map-foot a{color:#4e5662;font-size:13.5px;text-decoration:underline;text-decoration-color:#cfd5dd;text-underline-offset:3px}
.ks-pin{position:relative;display:grid;place-items:center;width:26px;height:26px;border:1.5px solid #fff;border-radius:7px 0 0 7px;background:#2f3a4b;color:#fff;box-shadow:0 1px 5px rgba(24,33,48,.35)}
.ks-pin__ico{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ks-pin__name{position:absolute;left:100%;top:50%;height:24px;padding:0 9px 0 7px;border:1px solid #2f3a4b;border-left:0;border-radius:0 7px 7px 0;background:#fff;color:#191f28;font-size:13px;font-weight:650;line-height:22px;white-space:nowrap;box-shadow:0 1px 4px rgba(24,33,48,.16);transform:translateY(-50%)}
.ks-dot{position:relative;display:block;width:12px;height:12px;margin:0;padding:0;border:2px solid #fff;border-radius:50%;background:var(--brand,#693BF2);box-shadow:0 1px 3px rgba(24,33,48,.3);cursor:pointer}
.ks-dot span{position:absolute;left:50%;bottom:calc(100% + 6px);display:none;padding:2px 8px;border:1px solid #d9dde3;border-radius:6px;background:#fff;color:#2b313b;font-size:12px;line-height:18px;white-space:nowrap;box-shadow:0 1px 4px rgba(24,33,48,.14);transform:translateX(-50%)}
.ks-dot:hover,.ks-dot:focus-visible{z-index:2}
.ks-dot:hover span,.ks-dot:focus-visible span,.ks-dot:focus span{display:block}
@media(max-width:767px){.ks-map{height:260px}}
