/* KAMI page-specific layouts. Loaded after the common content stylesheet. */
.sub-about.section .sub-about__visual{display:block;width:100%;height:320px;object-fit:cover;object-position:center;border-radius:8px;margin-bottom:48px}
.sub-about.section .sub-about__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
.sub-about.section .sub-about__grid>*{min-width:0}
.sub-about.section .sub-about__lead{margin:0;font-size:23px;font-weight:600;line-height:1.75;letter-spacing:-.025em;word-break:keep-all}
.sub-about.section .sub-about__facts{grid-template-columns:88px minmax(0,1fr);margin:32px 0 0}
.sub-about.section .sub-about__facts dd{overflow-wrap:anywhere}
.sub-about.section .sub-about__business{padding:32px;background:var(--surface);border-top:3px solid var(--primary);border-radius:0 0 8px 8px}
.sub-about.section .sub-about__business h2{margin:0 0 24px;color:var(--primary)}
.sub-about.section .sub-about__business ul{list-style:none;padding:0;margin:0;counter-reset:business}
.sub-about.section .sub-about__business li{position:relative;counter-increment:business;padding:0 0 24px 42px;margin-bottom:24px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.sub-about.section .sub-about__business li::before{content:counter(business,decimal-leading-zero);position:absolute;left:0;top:1px;color:var(--primary);font-size:14px;font-weight:700}
.sub-about.section .sub-about__business li:last-child{padding-bottom:0;margin-bottom:0;border:0}
.sub-ci__download{margin-top:40px}
/* One line belongs to the whole decade; individual years never restart it. */
.sub-history__decade{padding:0;border:0;margin-top:56px}
.sub-history__banner{position:relative;isolation:isolate;display:flex;align-items:center;min-height:220px;padding:40px 48px;overflow:hidden;border-radius:8px;background:#123a57;color:#fff}
.sub-history__banner img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.sub-history__banner::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,27,54,.85),rgba(5,27,54,.2))}
.sub-history__decade:nth-of-type(even) .sub-history__banner::before{background:linear-gradient(90deg,rgba(5,67,69,.88),rgba(5,45,60,.25))}
.sub .sub-history__banner h2{margin:0;color:#fff;font-size:clamp(48px,6vw,80px);font-weight:700;line-height:1.1;letter-spacing:-.04em}
.sub-history__timeline{position:relative;margin:40px 24px 0}
.sub-history__timeline::before{content:'';position:absolute;left:144px;top:12px;bottom:0;width:2px;background:var(--line)}
.sub-history__year{position:relative;grid-template-columns:120px minmax(0,1fr);gap:56px;padding:0 0 40px}
.sub-history__year::before{content:'';position:absolute;left:139px;top:9px;width:12px;height:12px;border:3px solid var(--bg);border-radius:50%;background:var(--primary);box-shadow:0 0 0 1px var(--primary);box-sizing:border-box}
.sub-history__year:last-child{padding-bottom:8px}
.sub-history__year>h3{position:static;font-size:28px;line-height:1.3}
.sub-history__events{grid-template-columns:84px minmax(0,1fr);gap:16px 24px;padding:0 0 32px;border:0;border-bottom:1px solid var(--line);margin:0;font-size:16px;line-height:1.8}
.sub-history__year:last-child .sub-history__events{border-bottom:0;padding-bottom:0}
.sub-history__events dt{color:var(--primary);font-variant-numeric:tabular-nums}
.sub-members .sub-data-table caption.sr-only{width:1px;height:1px;padding:0;margin:-1px;border:0;clip-path:inset(50%)}
.sub-articles__toc{border-top:4px solid var(--primary)}
.sub .sub-articles__toc h2{font-size:18px;color:var(--primary);margin:0 0 16px}
.sub-articles__toc li+li{border-top:1px solid var(--line)}
.sub-articles__toc a:hover,.sub-articles__toc a:focus-visible{color:var(--primary);text-decoration-thickness:2px}
.sub .sub-articles__chapter>h2{padding:20px 24px;margin:0 0 28px;border:0;border-left:5px solid var(--primary);background:var(--surface);color:var(--primary);font-size:25px;font-weight:700;line-height:1.5}
.sub-articles__chapter{scroll-margin-top:110px}
.sub-articles__chapter article{margin-bottom:28px}
.sub-articles__chapter article h3{margin-bottom:12px}
.sub-location__map{padding:32px;background:var(--bg)}
.sub-location__map>h2{margin:0 0 24px}
.sub-location__map-frame{overflow:hidden;min-width:0;min-height:400px;background:var(--surface);border:1px solid var(--line);border-radius:6px}
.sub-location__map-frame .root_daum_roughmap{width:100%!important;max-width:100%;box-sizing:border-box;padding:0;border:0}
.sub-location__map-frame .root_daum_roughmap .wrap_map{height:400px!important}
.sub-location__map-frame .root_daum_roughmap .wrap_controllers{box-sizing:border-box}
.sub-location__map .sub-location__map-status{font-size:14px;line-height:1.7;color:var(--ink-60);margin:16px 0}
.sub-location__map .sub-location__map-links{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.sub-location__map .btn{margin:0}
.sub-location__transit>h2{margin-bottom:12px}
.sub-location__transit>p{color:var(--ink-60);font-size:14px;line-height:1.7}
.sub-location__transit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px;align-items:start}
.sub-location__transit-card{min-width:0;padding:32px;border:1px solid var(--line);border-top:3px solid var(--primary);border-radius:8px;background:var(--bg)}
.sub-location__transit-card--subway{border-top-color:#d95700}
.sub-location__transit-card h3{display:flex;gap:12px;align-items:center;margin:0 0 28px;font-size:22px;color:var(--ink)}
.sub-location__transit-card svg{width:32px;height:32px;flex-shrink:0;fill:none;stroke:var(--primary);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sub-location__transit-card--subway svg{stroke:#b94800}
.sub-location__transit-card dl{margin:0}
.sub-location__transit-card dt,.sub-location__transit-card h4{font-size:18px;font-weight:700;margin:24px 0 12px}
.sub-location__transit-card dt:first-child{margin-top:0}
.sub-location__transit-card dd{margin:0;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:15px;line-height:2}
.sub-location__transit-card dd:last-child{padding-bottom:0;border:0}
.sub-location__line-chip{display:inline-block;padding:0 10px;margin-right:5px;border-radius:20px;background:#b94800;color:#fff;font-size:13px;font-weight:700;line-height:26px;white-space:nowrap}
.sub-location__transit-card ul{list-style:none;padding:0;margin:0}
.sub-location__transit-card li{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:baseline;gap:12px;margin-top:12px;font-size:15px;line-height:1.9;overflow-wrap:anywhere}
.sub-location__bus-chip{display:inline-block;border-radius:4px;text-align:center;background:var(--surface);color:var(--primary);font-size:12px;font-weight:700;line-height:26px}
@media(max-width:1024px){
 .sub-about.section .sub-about__grid{gap:32px}
 .sub-about.section .sub-about__lead{font-size:21px}
 .sub-history__timeline{margin-inline:0}
 .sub-location__transit-card{padding:24px}
}
@media(max-width:768px){
 .sub-about.section .sub-about__visual{height:220px;margin-bottom:32px}
 .sub-about.section .sub-about__grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .sub-about.section .sub-about__lead{font-size:20px}
 .sub-about.section .sub-about__business{padding:24px}
 .sub-ci__download{margin-top:32px}
 .sub-history__decade{margin-top:40px}
 .sub-history__banner{min-height:160px;padding:24px}
 .sub-history__timeline{margin-top:32px}
 .sub-history__timeline::before{left:8px}
 .sub-history__year{grid-template-columns:minmax(0,1fr);gap:20px;padding:0 0 32px 36px}
 .sub-history__year::before{left:3px;top:8px}
 .sub-history__year>h3{font-size:25px}
 .sub-history__events{grid-template-columns:minmax(0,1fr);gap:6px;font-size:15px;padding-bottom:24px}
 .sub-history__events dd+dt{margin-top:14px}
 .sub .sub-articles__chapter>h2{padding:16px 18px;font-size:21px}
 .sub-location__map{padding:24px 16px}
 .sub-location__map-frame{min-height:320px}
 .sub-location__map-frame .root_daum_roughmap .wrap_map{height:320px!important}
 .sub-location__map-links .btn{max-width:100%;min-width:0;font-size:14px}
 .sub-location__transit-grid{grid-template-columns:minmax(0,1fr)}
 .sub-location__transit-card{padding:24px 20px}
}
