/* 하위 페이지 공통 스타일 (style.css의 토큰을 그대로 사용) */
body.sub{background:var(--ivory)}
.wrap{width:min(var(--wrap),100% - 40px);margin-inline:auto}

/* ===== 서브 히어로 ===== */
.subhero{background:var(--bg);color:var(--fg);padding:calc(var(--hh) + 46px) 0 54px;overflow:hidden}
.subhero-in{width:min(1480px,100% - 40px);margin-inline:auto;display:grid;grid-template-columns:1.25fr .75fr;gap:30px;align-items:center}
.crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;opacity:.8;margin-bottom:18px}
.crumb .ic{width:14px;height:14px}
.crumb a:hover{text-decoration:underline}
.subhero-en{font-family:var(--display);text-transform:uppercase;font-size:clamp(64px,10.5vw,168px);line-height:.86;letter-spacing:.01em;transform:skewX(-8deg);transform-origin:left bottom;color:var(--accent);padding-left:.08em;animation:subrise .9s var(--ease) both}
.subhero h1{margin-top:18px;font-size:clamp(28px,3.2vw,44px);line-height:1.25;font-weight:800;letter-spacing:-.02em}
.subhero-lede{margin-top:12px;max-width:34em;font-size:clamp(15px,1.25vw,18px);opacity:.9}
@keyframes subrise{from{opacity:0;transform:translateY(24px) skewX(-8deg)}to{opacity:1;transform:skewX(-8deg)}}
.subhero-art{position:relative;justify-self:end;width:min(100%,340px);aspect-ratio:1/1.1}
.subhero-art .ph{position:absolute;inset:0;background:var(--img) var(--x) 50%/auto 100% no-repeat;transform:scale(1.08);animation:subzoom 2.4s var(--ease) forwards}
@keyframes subzoom{to{transform:none}}

/* ===== 서브 메뉴 ===== */
.subnav{position:sticky;top:var(--hh);z-index:40;background:rgba(247,241,236,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(42,35,34,.1);transition:top .45s var(--ease)}
body.hd-hidden .subnav{top:0}
.subnav-in{width:min(1480px,100% - 40px);margin-inline:auto;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:10px 0}
.subnav a{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;font-weight:700;font-size:15px;color:#4a3f3b;transition:background .3s,color .3s,transform .3s var(--ease)}
.subnav .ic{width:20px;height:20px;color:var(--rouge);transition:color .3s,transform .4s var(--ease)}
.subnav a:hover{background:rgba(168,53,63,.08);transform:translateY(-1px)}
.subnav a[aria-current="page"]{background:var(--espresso);color:var(--ivory)}
.subnav a[aria-current="page"] .ic{color:var(--blush)}

/* ===== 섹션 ===== */
.sub-sec{padding:clamp(48px,6.5vw,92px) 0}
.sub-sec.tint{background:var(--nude)}
.sub-sec .h2{font-size:clamp(24px,2.8vw,36px)}
.sec-title{margin-bottom:32px}
.sec-title p{margin-top:10px;color:#5a4d48;max-width:46em}
.kicker,.two p.kicker,.intro-top p.kicker{display:inline-block;margin:14px 0 6px;padding:6px 14px;border-radius:999px;background:var(--espresso);color:var(--ivory);font-size:14px;font-weight:700}
.intro-top{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,76px);align-items:start;margin-bottom:46px}
.intro-top p{margin-top:14px;max-width:36em;color:#4a3f3b}
.timeline{list-style:none}
.two{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,76px);align-items:center}
.two.rev>:first-child{order:0}
.two p{margin-top:16px;max-width:36em;color:#4a3f3b}
.fine{margin-top:18px;font-size:13.5px;color:#6d5f59}
small{font-size:.88em;color:#6d5f59}

/* 이미지 크롭 */
.crop{background-repeat:no-repeat;border-radius:16px;background-color:var(--nude);overflow:hidden;transition:transform .6s var(--ease),filter .6s}
.photo-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;align-items:end}
.photo-row .crop{border-radius:999px 999px 14px 14px}
.photo-row .crop:nth-child(2n){margin-bottom:26px}
.photo-row .crop:hover{transform:translateY(-8px)}
.paris .crop{border-radius:999px 999px 24px 24px;aspect-ratio:530/292}
.paris .crop.wide{border-radius:24px}

/* 연혁 */
.timeline{position:relative;display:grid;grid-template-columns:repeat(2,1fr);gap:0 clamp(24px,5vw,70px);counter-reset:none}
.timeline>li{position:relative;padding:0 0 26px 34px;border-left:2px solid rgba(42,35,34,.18)}
.timeline>li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--rouge);box-shadow:0 0 0 4px var(--ivory)}
.timeline h3{font-family:var(--display);font-weight:400;font-size:40px;line-height:1;letter-spacing:.02em;color:var(--rouge);transform:skewX(-8deg);transform-origin:left;margin-bottom:8px}
.timeline li li{display:flex;gap:12px;padding:4px 0;font-size:15px;line-height:1.55}
.timeline li li b{flex:none;width:36px;font-weight:700;color:#8a7a72;font-size:13.5px;padding-top:1px}

/* 강사진 */
.tgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.tcard{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 16px 20px;border-radius:22px;background:#fff;border:1px solid rgba(42,35,34,.1);transition:transform .45s var(--ease),box-shadow .45s,border-color .3s}
.tcard:hover{transform:translateY(-8px);box-shadow:0 26px 40px -24px rgba(42,35,34,.45);border-color:var(--rouge)}
.tphoto{display:block;width:100%;aspect-ratio:3/4;border-radius:999px 999px 14px 14px;overflow:hidden;background:var(--nude)}
.tphoto img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.tcard:hover .tphoto img{transform:scale(1.07)}
.tname{margin-top:14px;font-size:20px;font-weight:800}
.trole{margin-top:2px;font-size:14px;font-weight:700;color:var(--rouge)}
.tquote{margin:10px 0 14px;font-size:13.5px;line-height:1.6;color:#5a4d48;flex:1}
.tbtn{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700}
.tbtn .ic{width:16px;height:16px;transition:transform .3s var(--ease)}
.tcard:hover .tbtn .ic{transform:translateX(4px)}
.tmodal{border:0;border-radius:26px;padding:0;width:min(640px,calc(100% - 32px));max-height:min(86vh,760px);background:var(--ivory);color:var(--ink);box-shadow:0 40px 90px -20px rgba(0,0,0,.5)}
.tmodal::backdrop{background:rgba(35,28,26,.6);backdrop-filter:blur(3px)}
.tm-in{padding:34px 32px 30px;overflow-y:auto;max-height:inherit}
.tm-in h3{font-size:26px;font-weight:800;margin-bottom:14px}
.tm-in h3 small{font-size:15px;font-weight:700;color:var(--rouge);margin-left:8px}
.tm-x{position:absolute;top:14px;right:14px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(42,35,34,.08)}
.tm-x:hover{background:var(--rouge);color:#fff}
.career{margin-bottom:22px;columns:2;column-gap:28px}
.career li{break-inside:avoid;position:relative;padding:5px 0 5px 16px;font-size:14px;line-height:1.5}
.career li::before{content:"";position:absolute;left:0;top:13px;width:6px;height:6px;border-radius:50%;background:var(--rouge)}

/* 시설 콜라주 */
.collage{columns:3;column-gap:14px}
.collage figure{break-inside:avoid;margin-bottom:14px}
.collage figure.span{column-span:all}
.collage .crop{width:100%;border-radius:18px}
.collage .crop:hover{transform:scale(1.02);filter:saturate(1.08)}

/* 오시는 길 */
.mapbox{overflow-x:auto;border-radius:22px;border:1px solid rgba(42,35,34,.12);background:#fff}
.mapbox img{min-width:900px;width:100%;height:auto}
.campus-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.campus{padding:28px;border-radius:22px;background:#fff;border:1px solid rgba(42,35,34,.1)}
.campus.main{background:var(--rouge);color:#fff;border-color:var(--rouge)}
.campus.sub2{background:var(--espresso);color:var(--ivory);border-color:var(--espresso)}
.campus h3{font-size:20px;font-weight:800;margin-bottom:14px}
.campus li{display:flex;gap:14px;padding:7px 0;line-height:1.6;font-size:15px}
.campus li .ic{margin-top:3px;opacity:.85}
.campus a[href^="tel"]{font-family:var(--display);font-size:34px;line-height:1;letter-spacing:.03em}
.campus small{margin-left:12px;color:inherit;opacity:.7}
.bus{margin-top:16px;padding:26px 28px;border-radius:22px;background:var(--nude)}
.bus h3{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;margin-bottom:12px}
.bus h3 .ic{color:var(--rouge)}
.bus dl{display:grid;grid-template-columns:auto 1fr;gap:8px 22px;font-size:14.5px}
.bus dt{font-weight:700;color:var(--rouge)}

/* ===== 교육과정 ===== */
.pq-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;align-items:start}
.pq-row .crop.pq{border-radius:999px 999px 16px 16px}
.pq-row .crop.pq:nth-child(2){margin-top:34px}
.pq-row .crop.pq:nth-child(3){margin-top:-12px}
.pq-row .crop.pq:nth-child(4){margin-top:22px}
.pq-row .crop.pq:hover{transform:translateY(-8px)}
.def{max-width:60em;margin:46px auto 0}
.def .bar{width:38px;height:3px;background:var(--rouge);margin:14px 0 18px}
.def p{margin-top:14px;color:#3f3532;line-height:1.85}
.chips-box{margin-top:34px;padding:26px 28px;border:1px solid rgba(42,35,34,.15);border-radius:20px;background:#fff}
.chips-box h3{font-size:17px;font-weight:800;margin-bottom:12px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips li{padding:8px 14px;border-radius:999px;background:rgba(168,53,63,.08);color:var(--rouge);font-size:14px;font-weight:700}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cards4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.card{position:relative;padding:28px 26px;border-radius:22px;background:#fff;border:1px solid rgba(42,35,34,.1)}
.card>b{display:block;font-family:var(--display);font-weight:400;font-size:44px;line-height:1;color:var(--rouge);transform:skewX(-8deg);transform-origin:left;margin-bottom:8px}
.card h3{font-size:19px;font-weight:800;line-height:1.4;margin-bottom:12px}
.card ol{list-style:decimal;padding-left:20px;font-size:14.5px;line-height:1.7;color:#4a3f3b}
.card ol li{padding:3px 0}
.card.dark{background:var(--espresso);color:var(--ivory);border-color:var(--espresso)}
.card.dark>b{color:var(--blush)}
.card .u{font-weight:800;font-size:17px;margin-bottom:10px}
.card dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:14px}
.card dt{opacity:.7}

/* 표/탭 */
.tabs{margin-top:6px}
.tab-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.tab-list button{padding:12px 20px;border-radius:999px;border:1.5px solid rgba(42,35,34,.25);font-weight:700;font-size:15px;transition:background .3s,color .3s,border-color .3s,transform .3s var(--ease)}
.tab-list button:hover{border-color:var(--rouge);transform:translateY(-1px)}
.tab-list button[aria-selected="true"]{background:var(--espresso);color:var(--ivory);border-color:var(--espresso)}
.tbl{overflow-x:auto;border-radius:18px;border:1px solid rgba(42,35,34,.14);background:#fff;margin-bottom:18px}
.tbl table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.55;min-width:560px}
.tbl th{background:var(--espresso);color:var(--ivory);font-weight:700;padding:13px 14px;text-align:center;white-space:nowrap}
.tbl td{padding:11px 14px;border-top:1px solid rgba(42,35,34,.1);vertical-align:top}
.tbl td.m{background:rgba(168,53,63,.08);color:var(--rouge);font-weight:800;text-align:center;white-space:nowrap}
.tbl tbody tr:hover td:not(.m){background:rgba(228,211,199,.28)}
.tbl-cap{font-size:18px;font-weight:800;margin:22px 0 10px}

/* 대학 목록 */
.uni-tools{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}
.search{display:flex;align-items:center;gap:10px;max-width:420px;padding:0 18px;height:50px;border-radius:999px;background:#fff;border:1.5px solid rgba(42,35,34,.2);transition:border-color .3s,box-shadow .3s}
.search:focus-within{border-color:var(--rouge);box-shadow:0 0 0 4px rgba(168,53,63,.12)}
.search input{flex:1;border:0;background:none;font:inherit;outline:0;min-width:0}
.chips-filter{display:flex;flex-wrap:wrap;gap:8px}
.chips-filter button{padding:9px 16px;border-radius:999px;background:#fff;border:1.5px solid rgba(42,35,34,.18);font-size:14px;font-weight:700;transition:.3s}
.chips-filter button:hover{border-color:var(--rouge)}
.chips-filter button.on{background:var(--rouge);border-color:var(--rouge);color:#fff}
.utbl td:first-child{font-weight:700;color:var(--rouge);white-space:nowrap}
.vis{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:var(--espresso);color:var(--ivory);font-size:13px;font-weight:700;white-space:nowrap;transition:background .3s}
.vis .ic{width:14px;height:14px}
.vis:hover{background:var(--rouge)}
.empty{padding:34px;text-align:center;color:#6d5f59}

/* ===== 국비지원 ===== */
.strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:46px}
.strip .crop.st{border-radius:16px}
.strip .crop.st:hover{transform:scale(1.03)}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;counter-reset:s}
.steps li{position:relative;display:flex;flex-direction:column;gap:6px;padding:22px 18px 20px;border-radius:22px;background:#fff;border:1.5px solid rgba(168,53,63,.35);font-size:15px;line-height:1.45;transition:transform .4s var(--ease),background .3s,color .3s}
.steps li:hover{transform:translateY(-6px);background:var(--rouge);color:#fff}
.steps li:hover small{color:rgba(255,255,255,.85)}
.steps .n{font-family:var(--display);font-size:34px;line-height:1;color:var(--rouge);transform:skewX(-8deg);transform-origin:left}
.steps li:hover .n{color:var(--blush)}
.steps li b{font-weight:800}
.steps small{line-height:1.5}
.note{margin-top:22px;padding:20px 24px;border-radius:18px;background:#fff;border-left:5px solid var(--rouge)}
.note b{display:block;margin-bottom:6px}
.note p{margin-top:6px;color:#4a3f3b}
.note a{color:var(--rouge);font-weight:700}
.benefit{display:flex;flex-direction:column;gap:4px;justify-content:center;min-height:150px;padding:24px;border-radius:22px;background:var(--espresso);color:var(--ivory);position:relative;overflow:hidden;transition:transform .4s var(--ease)}
.benefit::after{content:"";position:absolute;right:-26px;top:-26px;width:70px;height:70px;background:var(--rouge);transform:rotate(45deg)}
.benefit:hover{transform:translateY(-6px)}
.benefit span{opacity:.8;font-size:15px}
.benefit b{font-size:24px;font-weight:800;line-height:1.25}
.benefit small{color:var(--blush)}
.doc h2{display:flex;align-items:baseline;gap:12px;font-size:clamp(22px,2.4vw,30px);font-weight:800;margin-bottom:12px}
.doc h2 i{font-style:normal;font-family:var(--display);font-weight:400;font-size:1.5em;color:var(--rouge);transform:skewX(-8deg);display:inline-block}
.doc h3{margin:26px 0 10px;font-size:17px;font-weight:800}
.doc h3::before{content:"";display:inline-block;width:8px;height:8px;margin-right:9px;border-radius:50%;background:var(--rouge)}
.doc>p,.doc li{line-height:1.8;color:#3f3532}
.doc ul:not(.chips):not(.check){padding-left:6px}
.doc ul:not(.chips):not(.check)>li{position:relative;padding:3px 0 3px 18px}
.doc ul:not(.chips):not(.check)>li::before{content:"–";position:absolute;left:0;color:var(--rouge)}
.hl{color:var(--rouge);font-weight:800}
.flow{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.flow li{position:relative;padding:16px 22px;border-radius:18px;background:#fff;border:1.5px solid var(--rouge);color:var(--rouge);font-weight:700;font-size:15px;text-align:center}
.flow li:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:0;height:0;border-left:8px solid var(--rouge);border-top:6px solid transparent;border-bottom:6px solid transparent;transform:translateY(-50%)}
.flow li:not(:last-child){margin-right:8px}
.eq{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 26px;padding:28px 20px;border:3px solid var(--ink);border-radius:20px;background:#fff;margin:6px 0}
.eq div{text-align:center}
.eq small{display:block;font-size:15px;color:#3f3532}
.eq b{font-size:clamp(28px,3.6vw,44px);font-weight:800;line-height:1.2}
.eq i{font-style:normal;font-size:26px;color:#8a7a72}
.two-box{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.two-box article{padding:22px 24px;border-radius:20px;background:#fff;border:1px solid rgba(42,35,34,.12)}
.two-box article.boxed{border:2.5px solid var(--ink)}
.two-box h4{font-size:17px;font-weight:800;line-height:1.5;margin-bottom:10px}
.tag{display:inline-block;margin-bottom:10px;padding:7px 14px;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;line-height:1.4}
.circ{list-style:none !important;counter-reset:c;padding:0 !important}
.circ li{counter-increment:c;position:relative;padding:4px 0 4px 28px !important;font-size:14.5px}
.circ li::before{content:counter(c);position:absolute !important;left:0 !important;top:6px;width:20px;height:20px;border-radius:50%;background:var(--rouge);color:#fff !important;font-size:12px;display:flex;align-items:center;justify-content:center}
.warn{margin-top:12px;color:#c0262f;font-size:14px;line-height:1.7}
.defs{display:grid;grid-template-columns:150px 1fr;gap:0;margin-top:26px;border-top:2px solid var(--ink)}
.defs dt,.defs dd{padding:16px 6px;border-bottom:1px solid rgba(42,35,34,.14);line-height:1.75}
.defs dt{font-weight:800}
.defs a{color:#1b5fb5;font-weight:700;text-decoration:underline}
.stage3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.stage3 article{text-align:center;border-radius:6px;background:#fff;overflow:hidden;border:1px solid rgba(42,35,34,.1)}
.stage3 h4{padding:16px;background:linear-gradient(135deg,var(--rouge),#7b232c);color:#fff;font-size:19px}
.stage3 p{padding:22px 16px;min-height:90px;display:flex;align-items:center;justify-content:center;font-size:14.5px;color:#3f3532}
.stage3 b{display:block;padding:14px;background:var(--rouge);color:#fff;font-size:15px}
.check li{position:relative;padding:6px 0 6px 30px;font-size:16px}
.check li::before{content:"";position:absolute;left:0;top:11px;width:18px;height:18px;border-radius:50%;background:var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}

/* ===== 게시판 ===== */
.gal{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}
.gal a{display:flex;flex-direction:column;gap:8px;height:100%}
.gimg{position:relative;display:block;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:var(--nude)}
.gimg img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.gimg em{position:absolute;left:10px;top:10px;padding:4px 11px;border-radius:999px;background:rgba(35,28,26,.82);color:#fff;font-style:normal;font-size:12.5px;font-weight:700}
.gal a:hover .gimg img{transform:scale(1.08)}
.gtt{font-weight:700;font-size:15px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .25s}
.gal a:hover .gtt{color:var(--rouge)}
.gal time,.blist time,.webzin time{font-size:13px;color:#8a7a72}
.webzin li a{display:grid;grid-template-columns:260px 1fr;gap:24px;padding:22px 0;border-bottom:1px solid rgba(42,35,34,.14);transition:padding .35s var(--ease)}
.webzin li:first-child a{border-top:1px solid rgba(42,35,34,.14)}
.wimg{aspect-ratio:174/124;border-radius:16px;overflow:hidden;background:var(--nude)}
.wimg img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.webzin a:hover .wimg img{transform:scale(1.08)}
.wtx{display:flex;flex-direction:column;gap:8px;justify-content:center;min-width:0}
.wtx b{font-size:19px;line-height:1.45;font-weight:800}
.webzin a:hover .wtx b{color:var(--rouge)}
.wtx>span{color:#5a4d48;font-size:14.5px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.blist{border-top:2px solid var(--ink)}
.blist a{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:18px;padding:18px 8px;border-bottom:1px solid rgba(42,35,34,.14);transition:background .3s,padding .35s var(--ease)}
.blist a:hover{background:rgba(228,211,199,.4);padding-left:18px}
.blist em{font-style:normal;padding:4px 11px;border-radius:999px;background:var(--rouge);color:#fff;font-size:12.5px;font-weight:700}
.blist li:not(.is-top) a{grid-template-columns:1fr auto auto}
.btt{font-size:16px;font-weight:600;line-height:1.5}
.blist .is-top .btt{font-weight:800}
.bh{font-size:13px;color:#8a7a72;white-space:nowrap}
.board-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:34px;padding:22px 26px;border-radius:20px;background:var(--nude)}
.board-more p{color:#4a3f3b;font-size:15px}
.contact .ci{display:inline-flex;width:54px;height:54px;border-radius:50%;align-items:center;justify-content:center;background:rgba(168,53,63,.1);color:var(--rouge);margin-bottom:14px}
.contact .card.dark .ci{background:rgba(233,184,176,.18);color:var(--blush)}
.contact .ci .ic{width:26px;height:26px}
.contact .tel{display:block;font-family:var(--display);font-size:40px;line-height:1;letter-spacing:.03em;margin:4px 0 10px;color:var(--rouge)}
.contact p{color:#4a3f3b;font-size:14.5px;margin-bottom:14px}
.contact .card.dark p{color:rgba(247,241,236,.8)}
.contact .card.dark .btn{--hfg:var(--ivory);--hbg:var(--espresso);background:var(--rouge);color:#fff}

/* ===== 반응형 ===== */
@media (max-width:1100px){
  .tgrid{grid-template-columns:repeat(3,1fr)}
  .gal{grid-template-columns:repeat(3,1fr)}
  .cards4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:980px){
  .subhero{padding-top:calc(var(--hh) + 26px);padding-bottom:36px}
  .subhero-in{grid-template-columns:1fr}
  .subhero-art{display:none}
  .subhero-en{font-size:clamp(56px,17vw,110px)}
  .two,.campus-grid,.two-box,.cards3,.stage3,.intro-top{grid-template-columns:1fr}
  .photo-row{gap:6px}
  .photo-row .crop:nth-child(2n){margin-bottom:12px}
  .timeline{grid-template-columns:1fr}
  .collage{columns:2}
  .pq-row{grid-template-columns:repeat(2,1fr)}
  .pq-row .crop.pq:nth-child(n){margin-top:0}
  .defs{grid-template-columns:1fr}
  .defs dt{border-bottom:0;padding-bottom:0;color:var(--rouge)}
  .webzin li a{grid-template-columns:150px 1fr;gap:16px}
}
@media (max-width:640px){
  .tgrid{grid-template-columns:repeat(2,1fr);gap:12px}
  .tcard{padding:12px 10px 16px}
  .gal{grid-template-columns:repeat(2,1fr);gap:14px}
  .strip{grid-template-columns:repeat(2,1fr)}
  .cards4{grid-template-columns:1fr}
  .career{columns:1}
  .collage{columns:1}
  .webzin li a{grid-template-columns:1fr}
  .blist a,.blist li:not(.is-top) a{grid-template-columns:1fr auto;row-gap:4px}
  .blist em{justify-self:start}
  .blist time{grid-column:1}
  .blist .bh{grid-column:2;grid-row:2}
  .bus dl{grid-template-columns:1fr;gap:2px}
  .bus dd{margin-bottom:8px}
  .flow li:not(:last-child)::after{display:none}
  .sub-sec{padding:44px 0}
}
@media (prefers-reduced-motion:reduce){.subhero-en,.subhero-art .ph{animation:none}}

/* ===== 약도 ===== */
.map{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);gap:22px;align-items:start}
.map-stage{position:relative;aspect-ratio:5/3.2;border-radius:28px;overflow:hidden;border:1px solid rgba(42,35,34,.14);background:#f1e8e0;box-shadow:0 34px 54px -36px rgba(42,35,34,.55)}
.map-svg{position:absolute;inset:0;width:100%;height:100%}
.map-svg .lm text{font:600 12.5px var(--sans);fill:#5a4d48;paint-order:stroke;stroke:#f6efe9;stroke-width:3.5px;stroke-linejoin:round}
.map-svg .lm circle{fill:#b9a79b}
.map-svg .road{font:700 13px var(--sans);fill:#a08b7f;letter-spacing:.16em}
.map-svg .plaza{font:700 12px var(--sans);fill:#4f6b43}
.map-svg .walk{stroke:#2a2322;stroke-width:2.5;stroke-dasharray:4 5;fill:none}
.map-svg .stop{font:700 12px var(--sans);fill:#2a2322;paint-order:stroke;stroke:#f6efe9;stroke-width:3.5px}
.map-svg .n{font:700 12px var(--sans);fill:#a8353f}
.map-note{position:absolute;left:14px;bottom:12px;max-width:min(420px,calc(100% - 28px));padding:7px 13px;border-radius:12px;background:rgba(255,250,245,.92);font-size:12.5px;line-height:1.5;color:#5a4d48;backdrop-filter:blur(4px)}
.map-side{display:flex;flex-direction:column;gap:14px}
.map-tabs{display:flex;gap:8px}
.map-tabs button{flex:1;padding:12px;border-radius:999px;border:1.5px solid rgba(42,35,34,.25);font-weight:800;transition:.3s}
.map-tabs button.on{background:var(--espresso);color:var(--ivory);border-color:var(--espresso)}
.mcard{padding:24px 24px 22px;border-radius:22px;background:#fff;border:1.5px solid rgba(42,35,34,.12);transition:border-color .35s,box-shadow .35s,transform .45s var(--ease)}
.mcard.on{border-color:var(--rouge);box-shadow:0 26px 40px -28px rgba(168,53,63,.55);transform:translateY(-2px)}
.mcard.sub2.on{border-color:var(--espresso);box-shadow:0 26px 40px -28px rgba(42,35,34,.6)}
.mcard h3{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;margin-bottom:12px}
.mcard .sw{width:14px;height:14px;border-radius:50%;background:var(--rouge)}
.mcard.sub2 .sw{background:var(--espresso)}
.mcard li{display:flex;gap:12px;padding:6px 0;font-size:14.5px;line-height:1.6;color:#3f3532}
.mcard li .ic{margin-top:3px;color:var(--rouge)}
.mcard .tel{font-family:var(--display);font-size:32px;line-height:1;letter-spacing:.03em;color:var(--ink)}
.mcard small{margin-left:10px}
.mlinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mlinks a{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:999px;background:var(--nude);font-size:13.5px;font-weight:700;transition:background .3s,color .3s}
.mlinks a:hover{background:var(--espresso);color:var(--ivory)}
.mlinks .ic{width:15px;height:15px}
.orig-map{margin-top:18px}
.orig-map summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;font-size:14.5px;padding:9px 16px;border-radius:999px;background:rgba(42,35,34,.07);list-style:none}
.orig-map summary::-webkit-details-marker{display:none}
.orig-map summary .ic{width:16px;height:16px;transition:transform .3s}
.orig-map[open] summary .ic{transform:rotate(90deg)}
.orig-map .mapbox{margin-top:14px}

/* 버스 */
.bus{padding:0;background:none;margin:0}
.bus h3{font-size:22px}
.bus-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 40px}
.bus-grid>div{padding:22px 24px;border-radius:22px;background:#fff;border:1px solid rgba(42,35,34,.1)}
.bus-grid .wide{grid-column:1/-1}
.bus-grid b{display:block;margin-bottom:12px;font-size:15px;color:var(--rouge)}
.stops,.nums{display:flex;flex-wrap:wrap;gap:8px}
.stops li{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;background:var(--espresso);color:var(--ivory);font-weight:700;font-size:15px}
.nums li{min-width:48px;padding:8px 14px;border-radius:999px;border:1.5px solid rgba(42,35,34,.22);text-align:center;font-weight:700;font-size:15px;transition:.25s}
.nums li:hover{border-color:var(--rouge);color:var(--rouge);transform:translateY(-2px)}
.nums.seat li{background:var(--rouge);border-color:var(--rouge);color:#fff}
@media (max-width:980px){.map{grid-template-columns:1fr}.bus-grid{grid-template-columns:1fr}.map-stage{aspect-ratio:5/4}}

/* 약도 핀 라벨 글자색(다른 .tag 스타일과 겹침 방지) */

/* ===== 국비지원: 정보 블록 구조 ===== */
.dsec{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start}
.dsec .dhead{position:sticky;top:calc(var(--hh) + 84px)}
.dsec .dhead i{display:block;font-style:normal;font-family:var(--display);font-size:clamp(64px,7vw,96px);line-height:.9;color:var(--rouge);transform:skewX(-8deg);transform-origin:left;margin-bottom:10px}
.dsec .dhead h2{font-size:clamp(21px,2.1vw,27px);font-weight:800;line-height:1.38;letter-spacing:-.02em}
.dsec .dhead p{margin-top:14px;padding-top:14px;border-top:2px solid var(--ink);font-size:14.5px;line-height:1.75;color:#4a3f3b}
.dbody{display:flex;flex-direction:column;gap:20px;min-width:0}
.blk{padding:26px 28px 28px;border-radius:24px;background:#fff;border:1px solid rgba(42,35,34,.1);box-shadow:0 18px 34px -30px rgba(42,35,34,.5)}
.tint .blk{border-color:transparent}
.blk>h3{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:17px;font-weight:800}
.blk>h3::before{content:"";width:5px;height:18px;border-radius:3px;background:var(--rouge)}
.blk>p{line-height:1.8;color:#3f3532}
.blk .fine{margin-top:14px}
.dsec .chips.big{gap:10px}
.chips.big li{padding:12px 20px;font-size:15.5px;background:#fff;border:1.5px solid rgba(168,53,63,.3)}
.dsec>.dbody>.chips.big+.note{margin-top:4px}
.dots{display:flex;flex-direction:column;gap:10px}
.dots>li{position:relative;padding-left:22px;line-height:1.75;color:#3f3532}
.dots>li::before{content:"";position:absolute;left:3px;top:.72em;width:8px;height:8px;border-radius:50%;background:var(--rouge);box-shadow:0 0 0 4px rgba(168,53,63,.12)}
.dots small{display:block;margin-top:2px;color:#7d6e67;font-size:13.5px}
/* 단계 타임라인 */
.stepper{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:26px 10px}
.stepper>li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:0 4px;font-size:14.5px;line-height:1.5}
.stepper>li::before{content:"";position:absolute;top:19px;left:-6px;right:-6px;border-top:2px dashed rgba(168,53,63,.38)}
.stepper>li:first-child::before{left:50%}
.stepper>li:last-child::before{right:50%}
.stepper .no{position:relative;z-index:1;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--rouge);color:#fff;font-family:var(--display);font-size:22px;box-shadow:0 0 0 6px #fff;transition:transform .4s var(--ease)}
.tint .stepper .no{box-shadow:0 0 0 6px #fff}
.stepper>li:hover .no{transform:scale(1.14) rotate(-6deg)}
.stepper b{font-weight:800;margin-top:6px}
.stepper small{color:#6d5f59;font-size:12.5px;line-height:1.55}
/* 큰 수치 카드 */
.stat3{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:10px 14px}
.stat3>div{padding:22px 14px;border-radius:20px;background:var(--espresso);color:var(--ivory);text-align:center}
.stat3 small{display:block;color:var(--blush);font-size:13.5px;margin-bottom:6px}
.stat3 b{font-size:clamp(24px,2.8vw,34px);font-weight:800;line-height:1.2}
.stat3>i{font-style:normal;font-size:24px;color:#a08b7f}
/* 지원내용 3단계 */
.stage3{margin-top:16px}
.stage3 article{position:relative;border-radius:20px;border:1px solid rgba(42,35,34,.12);background:#fff;display:flex;flex-direction:column}
.stage3 article span{display:block;padding:12px 0 0;font-family:var(--display);font-size:20px;letter-spacing:.06em;color:var(--rouge);text-align:center}
.stage3 h4{background:none;color:var(--ink);padding:2px 12px 6px;font-size:19px}
.stage3 p{flex:1;min-height:0;padding:4px 18px 18px}
.stage3 b{border-radius:0 0 19px 19px;background:linear-gradient(135deg,var(--rouge),#7b232c)}
.stage3 article:not(:last-child)::after{content:"";position:absolute;right:-13px;top:46%;width:12px;height:12px;border-top:3px solid var(--rouge);border-right:3px solid var(--rouge);transform:rotate(45deg);z-index:2}
/* 대상 구분 카드 */
.two-box .lab{display:block;margin:0 0 12px;padding:10px 14px;border-radius:12px;background:var(--ink);color:#fff;font-size:15.5px;line-height:1.4}
.two-box .lab small{display:block;margin-top:3px;color:rgba(255,255,255,.72);font-weight:400}
.two-box article{line-height:1.75;color:#3f3532}
.two-box article>p+p{margin-top:10px}
.blk .two-box article{background:var(--ivory);border-color:transparent}
.blk .two-box article.boxed{background:#fff;border:2px solid var(--ink)}
.blk .defs{margin-top:0;border-top:0}
.blk .defs dt{color:var(--rouge)}
.check.big li{padding:12px 0 12px 38px;font-size:17px;border-bottom:1px solid rgba(42,35,34,.1)}
.check.big li::before{top:15px;width:22px;height:22px;background-size:14px}
@media (max-width:980px){
  .dsec{grid-template-columns:1fr}
  .dsec .dhead{position:static}
  .dsec .dhead p{border-top-width:1px}
  .stat3{grid-template-columns:1fr}
  .stat3>i{display:none}
  .stage3 article:not(:last-child)::after{display:none}
  .blk{padding:22px 20px}
}


/* ===== 게시글 상세 ===== */
.post{max-width:880px;margin:0 auto}
.post-head{padding-bottom:24px;margin-bottom:34px;border-bottom:2px solid var(--ink)}
.post-head .cate{display:inline-block;margin-bottom:14px;padding:5px 14px;border-radius:999px;background:var(--rouge);color:#fff;font-size:13.5px;font-weight:700}
.post-title{font-size:clamp(24px,3vw,35px);line-height:1.42;font-weight:800;letter-spacing:-.02em}
.post-meta{display:flex;gap:18px;margin-top:14px;color:#8a7a72;font-size:14px}
.post-body{font-size:17px;line-height:1.95;color:#2f2724;word-break:keep-all;overflow-wrap:anywhere}
.post-body p,.post-body div{margin:0 0 .85em}
.post-body img{display:block;max-width:100%;height:auto;margin:22px auto;border-radius:18px;box-shadow:0 24px 40px -30px rgba(42,35,34,.55)}
.post-body h1,.post-body h2,.post-body h3,.post-body h4{margin:1.4em 0 .5em;line-height:1.4;font-weight:800}
.post-body ul,.post-body ol{margin:0 0 1em 1.3em}
.post-body ul{list-style:disc}.post-body ol{list-style:decimal}
.post-body li{padding:2px 0}
.post-body a{color:var(--rouge);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.post-body blockquote{margin:1.2em 0;padding:14px 20px;border-left:4px solid var(--rouge);background:rgba(228,211,199,.45);border-radius:0 14px 14px 0}
.post-body table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:15px}
.post-body td,.post-body th{padding:9px 12px;border:1px solid rgba(42,35,34,.16)}
.post-body hr{border:0;border-top:1px solid rgba(42,35,34,.18);margin:2em 0}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:54px;padding-top:26px;border-top:1px solid rgba(42,35,34,.16)}
.post-nav a{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border-radius:18px;background:#fff;border:1px solid rgba(42,35,34,.1);transition:transform .35s var(--ease),border-color .3s,box-shadow .3s}
.post-nav a:hover{transform:translateY(-3px);border-color:var(--rouge);box-shadow:0 18px 30px -24px rgba(168,53,63,.6)}
.post-nav .next{text-align:right}
.post-nav small{color:var(--rouge);font-weight:700}
.post-nav b{font-size:15px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-back{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
@media (max-width:640px){
  .post-body{font-size:16px;line-height:1.85}
  .post-nav{grid-template-columns:1fr}
  .post-nav .next{text-align:left}
}

/* ===== 글자 크기 비율 조정 (본문 16px 기준으로 제목 단계를 낮춤) ===== */
.subhero-en{font-size:clamp(54px,8.4vw,124px)}
.subhero h1{font-size:clamp(24px,2.3vw,32px);margin-top:14px}
.subhero-lede{font-size:clamp(14.5px,1.1vw,16px)}
.sub-sec .h2{font-size:clamp(21px,1.9vw,26px)}
.sec-title p{font-size:15px}
.post-title{font-size:clamp(21px,1.9vw,26px);font-weight:700;line-height:1.5}
.post-body{font-size:16px;line-height:1.9}
.post-head{padding-bottom:20px;margin-bottom:28px}
.dsec .dhead h2{font-size:clamp(19px,1.6vw,22px)}
.dsec .dhead i{font-size:clamp(46px,4.8vw,68px)}
.dsec .dhead p{font-size:14px}
.doc h2{font-size:clamp(20px,1.8vw,24px)}
.stat3 b{font-size:clamp(21px,2.1vw,27px)}
.eq b{font-size:clamp(24px,2.6vw,32px)}
.benefit b{font-size:21px}
.stage3 h4{font-size:17px}
.card>b{font-size:36px}
.card h3{font-size:17px}
.timeline h3{font-size:34px}
.tm-in h3{font-size:22px}
.tcard .tname{font-size:18px}
.wtx b{font-size:17px}
.contact .tel{font-size:34px}
.mcard .tel{font-size:28px}
.mcard h3,.bus h3{font-size:17px}
.blk>h3{font-size:16px}
.tbl-cap{font-size:16.5px}
.btt{font-size:15.5px}
.def .h2{font-size:clamp(21px,1.9vw,26px)}
@media (max-width:640px){
  .subhero h1{font-size:23px}
  .post-title{font-size:20px}
  .post-body{font-size:15.5px}
  .dsec .dhead i{font-size:44px}
}

/* SVG 핀 */
.map-svg .pin{cursor:pointer;outline:none}
.map-svg .pin .dot{fill:var(--rouge);transition:transform .45s var(--ease),filter .3s;transform-box:fill-box;transform-origin:50% 100%}
.map-svg .pin.sub2 .dot{fill:var(--espresso)}
.map-svg .pin .tagbg{fill:#fff;filter:drop-shadow(0 4px 6px rgba(0,0,0,.28))}
.map-svg .pin .tagtx{font:800 13px var(--sans);fill:var(--ink)}
.map-svg .pin .ring{fill:none;stroke:var(--rouge);stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.map-svg .pin.sub2 .ring{stroke:var(--espresso)}
.map-svg .pin.on .ring{animation:ping 2s ease-out infinite}
.map-svg .pin.on .dot{transform:scale(1.22)}
.map-svg .pin:not(.on) .dot{filter:saturate(.7) brightness(1.08)}
.map-svg .pin:hover .dot{transform:scale(1.14)}
.map-svg .pin:focus-visible .dot{stroke:#fff;stroke-width:3}
@keyframes ping{0%{transform:scale(.6);opacity:.9}100%{transform:scale(3.2);opacity:0}}

/* 약도 영역 정렬: 지도와 카드 묶음 높이를 맞추고, 아래 버스 카드와 칸 경계를 통일 */
.map{align-items:stretch;gap:22px}
.map-stage{aspect-ratio:auto;min-height:480px}
.map-side{display:grid;grid-template-rows:auto 1fr 1fr;gap:14px}
.mcard{display:flex;flex-direction:column}
.mcard ul{flex:1}
.mcard .mlinks{margin-top:auto}
.bus-grid{grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);gap:22px}
@media (max-width:980px){
  .map-stage{aspect-ratio:5/4;min-height:0}
  .map-side{display:flex}
  .bus-grid{grid-template-columns:1fr}
}
@media (max-width:640px){.map-svg .pin .tagtx{font-size:15px}}
