/* 승인한 공지사항 미리보기 디자인. 목록/상세의 자체 클래스에만 적용. */
.eom-notice-shell,
.eom-notice-detail {
    display: block;
    box-sizing: border-box;
    margin: 0 auto;
    color: #273751;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
    text-align: left;
    word-break: keep-all;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: calc(100vh - 315px);
}
.eom-notice-shell { width: calc(100% - 48px); max-width: 1132px; padding: 56px 0 76px; }
.eom-notice-detail { width: calc(100% - 80px); max-width: 848px; padding: 57px 0 76px; }
.eom-notice-shell *, .eom-notice-detail * { box-sizing: border-box; }
.eom-notice-shell a, .eom-notice-detail a { font-family: inherit; }
.eom-notice-shell [hidden], .eom-notice-detail [hidden] { display: none !important; }
.eom-notice-shell a:focus-visible, .eom-notice-detail a:focus-visible { outline: 3px solid #82b7ff; outline-offset: 3px; }

.eom-notice-head { position: relative; padding-bottom: 32px; }
.eom-notice-type { display: inline-flex; gap: 7px; align-items: center; color: #1161eb; font-size: 14px; font-weight: 700; line-height: 1.5; }
.eom-notice-type svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.eom-notice-head h1 { font-size: clamp(36px, 3vw, 45px); font-weight: 800; color: #102b68; letter-spacing: -.052em; line-height: 1.27; margin: 12px 0 0; overflow-wrap: anywhere; }
.eom-notice-head p { font-size: 16px; color: #60718f; margin: 13px 0 0; line-height: 1.65; }
.eom-notice-stamp { position: absolute; top: 3px; right: 4px; width: 84px; height: 49px; fill: none; stroke: #d8e3f6; stroke-width: 1.2; pointer-events: none; }
.eom-notice-page-number { font-size: .5em; font-weight: 700; color: #63758a; letter-spacing: -.025em; }

.eom-notice-shell .eom-notice-list { border-top: 2px solid #17376f; }
.eom-notice-tablehead, .eom-notice-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 130px 36px; align-items: center; gap: 16px; padding: 0 21px; }
.eom-notice-tablehead { min-height: 47px; background: #f6f9fd; border-bottom: 1px solid #dce5f2; font-size: 12px; font-weight: 700; color: #60718f; }
.eom-notice-tablehead span:first-child, .eom-notice-num { text-align: center; }
.eom-notice-tablehead span:nth-child(3) { text-align: center; }
.eom-notice-items { padding: 0; margin: 0; list-style: none; }
.eom-notice-items > li { padding: 0; margin: 0; border-bottom: 1px solid #e5eaf2; list-style: none; }
.eom-notice-row { min-height: 66px; padding-top: 13px; padding-bottom: 13px; transition: background .15s; text-decoration: none; }
.eom-notice-row:hover { background: #f7faff; }
.eom-notice-row:focus-visible { outline-offset: -3px !important; }
.eom-notice-row h2 { font-size: 16px; font-weight: 650; line-height: 1.55; color: #253a60; margin: 0; overflow-wrap: anywhere; letter-spacing: -.025em; }
.eom-notice-row:hover h2 { color: #1161eb; }
.eom-notice-num { color: #8593a7; font-size: 13px; font-variant-numeric: tabular-nums; }
.eom-notice-row-date { text-align: center; color: #718199; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eom-notice-arrow { width: 18px; height: 18px; stroke: #8a9ab0; fill: none; stroke-width: 1.7; justify-self: end; }
.eom-notice-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 32px auto 0; }
.eom-notice-more, .eom-notice-prev { display: flex; align-items: center; justify-content: center; gap: 14px; width: 240px; max-width: 100%; min-height: 48px; padding: 10px 22px; border: 1px solid #c9d9ee; border-radius: 8px; font-size: 14px; font-weight: 750; color: #17386d; background: #fff; text-decoration: none; }
.eom-notice-prev { width: auto; min-width: 130px; }
.eom-notice-more:hover, .eom-notice-prev:hover { border-color: #1161eb; background: #f3f8ff; color: #1161eb; }
.eom-notice-more[aria-disabled="true"] { opacity: .65; cursor: wait; }
.eom-notice-more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.eom-notice-empty { padding: 45px 12px; border-bottom: 1px solid #e5eaf2; color: #718199; text-align: center; font-size: 15px; }
.eom-notice-end, .eom-notice-message { color: #718199; text-align: center; font-size: 12px; }
.eom-notice-message { margin-top: 8px; }
.eom-notice-message:empty, .eom-notice-pagination:empty { display: none; }

.eom-notice-detail .eom-notice-head { padding-bottom: 25px; border-bottom: 1px solid #dce5f2; }
.eom-notice-detail .eom-notice-head h1 { max-width: calc(100% - 90px); }
.eom-notice-date { display: flex; align-items: center; gap: 8px; margin: 24px 0 0; color: #63758a; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.eom-notice-date svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.eom-notice-body { min-width: 0; margin: 28px auto 0; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; word-break: normal; overflow-x: auto; }
.eom-notice-body p { margin: 0 0 1.15em; }
.eom-notice-body h2 { font-size: 23px; line-height: 1.45; letter-spacing: -.035em; color: #102b68; margin: 1.55em 0 .65em; font-weight: 700; }
.eom-notice-body h3 { font-size: 19px; line-height: 1.45; color: #102b68; }
.eom-notice-body img { max-width: 100%; height: auto !important; }
.eom-notice-body map br { display: none; }
.eom-notice-body a { color: #1159bf; text-decoration: underline; text-underline-offset: 3px; }
.eom-notice-body > :first-child { margin-top: 0; }
.eom-notice-body > :last-child { margin-bottom: 0; }
.eom-notice-body ul, .eom-notice-body ol { padding-inline-start: 1.5em; margin-bottom: 1.15em; }
.eom-notice-body ul { list-style-type: disc; }
.eom-notice-body ol { list-style-type: decimal; }
.eom-notice-body li { list-style-type: inherit; }
.eom-notice-body table { max-width: 100%; }
.eom-notice-body pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.eom-notice-detail-actions { margin: 35px 0 0; padding-top: 25px; border-top: 1px solid #dce5f2; display: flex; justify-content: center; }
.eom-notice-detail .eom-notice-back { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 160px; min-height: 47px; border-radius: 8px; background: #1161eb; color: #fff; font-size: 14px; font-weight: 750; padding: 10px 24px; text-decoration: none; }
.eom-notice-detail .eom-notice-back:hover { background: #074bc9; color: #fff; }
.eom-notice-back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

@media (max-width: 899px) {
    .eom-notice-shell, .eom-notice-detail { width: calc(100% - 40px); max-width: 740px; padding: 32px 0 46px; min-height: 0; }
    .eom-notice-head { padding-bottom: 23px; }
    .eom-notice-head h1 { font-size: clamp(27px, 5.3vw, 36px); line-height: 1.32; margin-top: 10px; letter-spacing: -.055em; }
    .eom-notice-head p { font-size: 14px; line-height: 1.65; margin-top: 10px; }
    .eom-notice-type { gap: 6px; font-size: 12px; }
    .eom-notice-type svg { width: 16px; height: 16px; }
    .eom-notice-stamp, .eom-notice-tablehead, .eom-notice-num { display: none; }
    .eom-notice-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 5px 12px; padding: 14px 2px; min-height: 70px; }
    .eom-notice-row h2 { grid-column: 1; grid-row: 1; font-size: 15px; line-height: 1.5; }
    .eom-notice-row-date { grid-column: 1; grid-row: 2; text-align: left; font-size: 11px; }
    .eom-notice-arrow { grid-column: 2; grid-row: 1 / span 2; }
    .eom-notice-pagination { margin-top: 23px; }
    .eom-notice-more, .eom-notice-prev { max-width: none; width: 100%; min-height: 46px; font-size: 13px; }
    .eom-notice-detail .eom-notice-head { padding-bottom: 20px; }
    .eom-notice-detail .eom-notice-head h1 { max-width: 100%; }
    .eom-notice-date { margin-top: 18px; font-size: 12px; }
    .eom-notice-date svg { width: 14px; height: 14px; }
    .eom-notice-body { margin-top: 20px; font-size: 16px; line-height: 1.85; }
    .eom-notice-body h2 { font-size: 20px; }
    .eom-notice-detail-actions { margin-top: 27px; padding-top: 20px; }
    .eom-notice-detail .eom-notice-back { width: 100%; min-height: 46px; font-size: 13px; }
}
@media (max-width: 360px) {
    .eom-notice-shell, .eom-notice-detail { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) { .eom-notice-row { transition: none; } }
