/* 임용ㆍ예우 연령대별 예우 체계 차트 — 6분할 그리드(1칸 = 연령축 1/6), 50세=1/3, 60세=2/3, 65세=5/6, 70세=끝 */
.honor_chart { --hn-line:#ebe5df; --hn-ink:#222; --hn-sub:#6b6b6b; margin-top:40px; color:var(--hn-ink); }

/* 연령 축 */
.honor_axis { position:relative; height:50px; margin-bottom:18px; }
.honor_axis::before { content:''; position:absolute; left:0; right:0; bottom:6px; height:2px; border-radius:2px; background:linear-gradient(90deg, #f1dbe6 0%, #d8579a 60%, #c8005f 100%); }
.honor_tick { position:absolute; bottom:0; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:8px; }
.honor_tick em { font-style:normal; font-size:16px; font-weight:700; letter-spacing:-0.32px; white-space:nowrap; }
.honor_tick::after { content:''; width:14px; height:14px; box-sizing:border-box; border-radius:50%; background:#fff; border:3px solid #c8005f; }
.honor_tick.t50 { left:33.333%; }
.honor_tick.t60 { left:66.666%; }
.honor_tick.t65 { left:83.333%; }
.honor_tick.t70 { left:auto; right:0; transform:none; align-items:flex-end; }
.honor_tick.t50::after { border-color:#e3a3c2; }
.honor_tick.t60::after { border-color:#d8579a; }

/* 카드 그리드 */
.honor_grid { display:grid; grid-template-columns:repeat(6, 1fr); gap:12px; }
.honor_card { --hn-accent:#c8005f; --hn-soft:#fbeaf2; --hn-chip:#b0004f; position:relative; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:8px; min-height:92px; box-sizing:border-box; padding:24px 26px; background:#fff; border:1px solid var(--hn-line); border-radius:12px; overflow:hidden; }
.honor_card::before { content:''; position:absolute; left:0; top:0; right:0; height:4px; background:var(--hn-accent); }
.honor_range { display:inline-block; padding:3px 10px; border-radius:20px; background:var(--hn-soft); color:var(--hn-chip); font-size:13px; font-weight:700; letter-spacing:-0.26px; }
.honor_tit { font-size:19px; font-weight:700; line-height:1.35; letter-spacing:-0.38px; word-break:keep-all; }
.honor_sub { font-size:15px; color:var(--hn-sub); letter-spacing:-0.3px; }

/* 연령대별 색 단계 (배지 글자색은 명도대비 4.5:1 이상) */
.honor_card.band1 { --hn-accent:#d9769f; --hn-soft:#fbf0f5; --hn-chip:#a8346a; }
.honor_card.band2 { --hn-accent:#cf3a85; --hn-soft:#f9e6ef; --hn-chip:#a8175f; }
.honor_card.band3 { --hn-accent:#c8005f; --hn-soft:#f7dde9; --hn-chip:#b0004f; }
.honor_card.band23::before { background:linear-gradient(90deg, #cf3a85, #c8005f); }
.honor_card.band23 { --hn-accent:#c8005f; --hn-soft:#f7dde9; --hn-chip:#b0004f; background:#fdf9fb; }

/* 배치 */
.honor_card.c_leader   { grid-column:1 / 3; grid-row:3; }
.honor_card.c_mueunjae { grid-column:1 / 3; grid-row:1 / 3; }
.honor_card.c_chair    { grid-column:3 / 5; grid-row:1 / 3; }
.honor_card.c_extend   { grid-column:3 / 7; grid-row:3; align-items:center; }
.honor_card.c_up       { grid-column:5 / 7; grid-row:1; }
.honor_card.c_dept     { grid-column:5 / 7; grid-row:2; }

.link_btn{margin-top:20px;}

/* 링크 카드 — 카드 전체 클릭 + 아이콘 + 마우스오버 */
.honor_link { color:inherit; text-decoration:none; }
.honor_link::after { content:''; position:absolute; inset:0; z-index:1; }
.honor_card.is_link { padding-right:60px; cursor:pointer; transition:border-color .2s, box-shadow .2s, transform .2s; }
.honor_card.is_link::after { content:''; position:absolute; top:16px; right:16px; width:30px; height:30px; border-radius:50%; background:var(--hn-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b0004f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11 11 5M6 5h5v5'/%3E%3C/svg%3E") center / 14px no-repeat; transition:background-color .2s; }
.honor_card.is_link:hover,
.honor_card.is_link:focus-within { border-color:var(--hn-accent); box-shadow:0 6px 18px rgba(200,0,95,.12); transform:translateY(-2px); }
.honor_card.is_link:hover::after,
.honor_card.is_link:focus-within::after { background:#c8005f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11 11 5M6 5h5v5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.honor_link:focus-visible::after { outline:2px solid #c8005f; outline-offset:-2px; border-radius:12px; }


@media screen and (max-width:1024px) {
  .honor_tick em { font-size:14px; }
  .honor_card { padding:20px; }
  .honor_tit { font-size:17px; }
  .honor_sub { font-size:14px; }
}
@media screen and (max-width:768px) {
  .honor_axis { display:none; }
  .honor_grid { grid-template-columns:1fr; gap:10px; }
  .honor_card[class*="c_"] { grid-column:auto; grid-row:auto; align-items:flex-start; min-height:0; padding:18px 18px 16px; }
  .honor_tit { font-size:16px; }
  .honor_sub { font-size:13px; }
  .honor_card.is_link[class*="c_"] { padding-right:50px; }
  .honor_card.is_link::after { top:14px; right:14px; width:26px; height:26px; }
}