/* 연혁 전용 스타일: 다른 소개 페이지와 게시판에 영향을 주지 않는다. */
.hw-about-panel.hw-about-history{padding:0;border:0;border-radius:0;overflow:visible;background:transparent}
.hw-history{padding:0 0 20px;color:#243541;min-width:0;font-family:var(--hw-font,'Malgun Gothic',sans-serif)}
.hw-history *{box-sizing:border-box}
.hw-history .hw-history-hero{position:relative;isolation:isolate;overflow:hidden;padding:36px 38px;margin-bottom:40px;border-radius:18px;background:#f0f7fa}
.hw-history .hw-history-hero>img{position:absolute;z-index:-1;right:34px;top:-18px;width:180px;height:180px;object-fit:contain;opacity:.045;pointer-events:none}
.hw-history .hw-history-kicker{display:block;margin-bottom:11px;color:#0084b4;font-size:12px;font-weight:700;letter-spacing:2px}
.hw-history .hw-history-hero>h2{margin:0;color:#243541;font-size:34px;line-height:1.4;font-weight:700;letter-spacing:-1.2px}
.hw-history .hw-history-hero>p{margin:10px 0 0;color:#607888;font-size:16px;line-height:1.7;font-weight:400}
.hw-history .hw-history-era{display:grid;grid-template-columns:170px minmax(0,1fr);gap:28px;min-width:0;margin:0 0 34px}
.hw-history .hw-history-period{margin:0;padding:24px 0 0;border-top:2px solid #0084b4;font-size:28px;line-height:1.4;letter-spacing:-1.1px;font-weight:700;color:#0084b4}
.hw-history .hw-history-events{position:relative;min-width:0;list-style:none;margin:0;padding:0;border-top:1px solid #dce7ed}
.hw-history .hw-history-events:before{content:'';position:absolute;top:32px;bottom:32px;left:9px;width:1px;background:#dce7ed;pointer-events:none}
.hw-history .hw-history-event{display:grid;grid-template-columns:145px minmax(0,1fr);gap:16px;position:relative;min-width:0;margin:0;padding:23px 0 23px 34px;border-bottom:1px solid #dce7ed;word-break:keep-all;overflow-wrap:anywhere;list-style:none}
.hw-history .hw-history-event:before{content:'';position:absolute;top:31px;left:5px;width:9px;height:9px;border:2px solid #0084b4;border-radius:50%;background:#fff}
.hw-history .hw-history-date{min-width:0;color:#007eaf;font-size:15px;line-height:1.8;font-weight:700;font-variant-numeric:tabular-nums}
.hw-history .hw-history-event>p{min-width:0;margin:0;color:#243541;font-size:17px;line-height:1.8;font-weight:400}
.hw-history .hw-history-planned{display:block;width:fit-content;margin-top:5px;padding:1px 7px;border:1px solid #edc363;border-radius:5px;background:#ffe6aa;color:#79510f;font-size:12px;line-height:1.6;font-weight:400}
.hw-history .hw-history-event.is-upcoming{border-radius:8px;border-bottom-color:#f0dfb8;background:#fffaf0}
.hw-history .hw-history-event.is-upcoming:before{border-color:#c58a22;background:#fff1cc}
.hw-history .hw-history-event.is-upcoming .hw-history-date{color:#94621c}
.hw-history .hw-history-event.is-upcoming>p{color:#8a5a18}
@media(max-width:1000px){
    .hw-history .hw-history-era{grid-template-columns:140px minmax(0,1fr);gap:22px}
    .hw-history .hw-history-period{font-size:25px}
    .hw-history .hw-history-event{grid-template-columns:135px minmax(0,1fr);gap:10px}
}
@media(max-width:680px){
    .hw-history .hw-history-hero{padding:26px 23px;margin-bottom:28px;border-radius:13px}
    .hw-history .hw-history-hero>img{width:130px;height:130px;top:4px;right:5px}
    .hw-history .hw-history-hero>h2{font-size:29px}
    .hw-history .hw-history-hero>p{font-size:16px!important;line-height:1.7}
    .hw-history .hw-history-era{display:block;margin-bottom:30px}
    .hw-history .hw-history-period{margin-bottom:16px;padding-top:16px;font-size:27px}
    .hw-history .hw-history-events:before{left:7px}
    .hw-history .hw-history-event{display:block;padding:20px 4px 20px 29px}
    .hw-history .hw-history-event:before{left:3px;top:29px}
    .hw-history .hw-history-date{margin-bottom:7px;font-size:16px}
    .hw-history .hw-history-event>p{font-size:17px!important;line-height:1.8}
    .hw-history .hw-history-planned{display:inline-block;margin:0 0 0 6px;vertical-align:1px}
}
@media print{
    .hw-history .hw-history-hero{padding:15px 0;background:none}
    .hw-history .hw-history-hero>img{display:none}
    .hw-history .hw-history-era{display:block;margin-bottom:18px}
    .hw-history .hw-history-period{padding-top:10px;margin-bottom:10px;font-size:22px;break-after:avoid}
    .hw-history .hw-history-event{padding-top:10px;padding-bottom:10px;break-inside:avoid}
    .hw-history .hw-history-event:before{top:18px}
}
