/* AiNex 사이버연수원 — the five public sub pages (02–06). Scoped under .yw-page; ported from the 시안.
   Tags, key/value rows, notes, steps and the schedule table are shared with the 메인 in yw-components.css. */
.yw-page .sec{padding:52px 0;border-bottom:1px solid var(--line);scroll-margin-top:120px}
.yw-page .sec:last-child{border-bottom:0}
.yw-page .sec h2{font-size:24px;color:var(--ink);margin:0 0 14px;letter-spacing:-.4px;font-weight:800}
.yw-page .sec h2 .cat{margin-left:10px;vertical-align:middle;font-size:12px}
.yw-page .sec > p{margin:0 0 12px}
.yw-page .sec p.lead{color:var(--mute);font-size:14px}
.yw-page .sec p.vision{font-size:18px;color:var(--ink);font-weight:700}
.yw-page .sec a.inline{color:var(--a);font-weight:700;text-decoration:none}
.yw-page .g4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}
.yw-page .note b{font-size:15px}
.yw-page ul.plain{margin:10px 0;padding-left:20px}
.yw-page ul.plain li{margin:6px 0}
.yw-page details{border:1px solid var(--line);border-radius:6px;background:#fff;margin-bottom:8px}
.yw-page summary{cursor:pointer;padding:14px 18px;font-weight:800;list-style:none;display:flex;justify-content:space-between;gap:12px}
.yw-page summary::-webkit-details-marker{display:none}
.yw-page summary::after{content:"+";color:var(--a);font-weight:900}
.yw-page details[open] summary::after{content:"−"}
.yw-page details .a{padding:0 18px 16px;color:var(--text);font-size:14.5px}
.yw-page details .dt{color:var(--mute);font-weight:600;font-size:13px;white-space:nowrap}
.yw-page details .pin{color:var(--warn);font-weight:900;font-size:12px;margin-right:6px}
.yw-page summary .cat{margin-right:8px}
.yw-page .bt{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.yw-page .steps.s4{grid-template-columns:repeat(4,1fr)}
/* link cards (법정·안전보건: 분야별 과정 바로가기) */
.yw-page .yw-links{margin-top:16px}
.yw-page a.yw-card{display:flex;flex-direction:column;border-top:3px solid var(--p);color:inherit;text-decoration:none}
.yw-page a.yw-card p{flex:1}
.yw-page a.yw-card p.sm{flex:0;font-size:13px;color:var(--mute)}
.yw-page a.yw-card .go{margin-top:6px;font-size:14px;font-weight:800;color:var(--p)}
.yw-page a.yw-card:hover{border-color:var(--p)}
.yw-page a.yw-card:hover h3{color:var(--p);text-decoration:underline}
.yw-page .yw-table td b{color:var(--ink)}
@media (max-width:1023px){
  .yw-page .g4{grid-template-columns:1fr 1fr}
}
@media (max-width:599px){
  .yw-page .steps.s4{grid-template-columns:1fr 1fr}
  .yw-page .sec{padding:40px 0}
  .yw-page .sec h2{font-size:20px}
  .yw-page .g4{grid-template-columns:1fr}
}
