.notice-board__inner { max-width: 1040px; }
.notice-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.notice-toolbar[hidden], .notice-item[hidden], .notice-empty[hidden] { display: none; }
.notice-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.notice-filters button { min-height: 44px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-0); color: var(--ink-600); font: inherit; font-size: .9rem; cursor: pointer; }
.notice-filters button[aria-pressed="true"] { color: #fff; background: var(--green-600); border-color: var(--green-600); }
.notice-search { display: flex; align-items: center; gap: 10px; width: 300px; max-width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-0); }
.notice-search:focus-within { outline: 2px solid var(--green-600); outline-offset: 3px; }
.notice-search svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--ink-500); stroke-width: 1.6; }
.notice-search input { min-width: 0; width: 100%; padding: 11px 0; border: 0; outline: none; font: inherit; font-size: .88rem; color: var(--ink-800); background: transparent; }
.notice-list-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 14px; font-size: .8rem; color: var(--ink-500); }
.notice-list { border-top: 2px solid var(--green-600); }
.notice-item { border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.notice-item summary { display: grid; grid-template-columns: 76px minmax(0, 1fr) 100px 24px; align-items: center; gap: 20px; padding: 27px 22px; list-style: none; cursor: pointer; }
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary:hover { background: var(--gold-050); }
.notice-item summary:focus-visible { outline: 2px solid var(--green-600); outline-offset: -3px; }
.notice-item--pinned summary { background: var(--green-050); }
.notice-item__badge { padding: 5px 8px; border-radius: 6px; color: var(--green-700); background: var(--green-100); text-align: center; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.notice-item__number { text-align: center; color: var(--gold-600); font-size: .9rem; font-variant-numeric: tabular-nums; }
.notice-item__heading { display: grid; gap: 4px; }
.notice-item__category { font-size: .74rem; color: var(--gold-700); }
.notice-item__title { color: var(--ink-900); font-size: 1.05rem; font-weight: 700; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.notice-item time { font-size: .8rem; color: var(--ink-500); font-variant-numeric: tabular-nums; white-space: nowrap; }
.notice-item__toggle { width: 22px; height: 22px; position: relative; color: var(--green-600); }
.notice-item__toggle::before, .notice-item__toggle::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 1px; background: currentColor; }
.notice-item__toggle::after { transform: rotate(90deg); }
.notice-item[open] .notice-item__toggle::after { transform: rotate(0); }
.notice-item__body { padding: 28px 42px 32px 118px; background: #fff; border-top: 1px solid var(--line); color: var(--ink-600); font-size: .95rem; line-height: 1.95; }
.notice-item__body > * + * { margin-top: 18px; }
.notice-item__body .hours-table { max-width: 560px; }
.notice-item__body ol { padding-left: 1.5em; list-style: decimal; }
.notice-item__body ol li { margin-top: 4px; }
.notice-item__body ol li::marker { color: var(--green-600); font-weight: 700; }
.notice-item__body a:not(.notice-item__link) { text-decoration: underline; text-underline-offset: 3px; }
.notice-item__link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--green-600); font-weight: 700; }
/* inline-flex + gap 구조라 text-decoration 은 간격에서 끊어집니다.
   밑줄을 끊김 없이 그리기 위해 가상 요소를 사용합니다. */
.notice-item__link { position: relative; }
.notice-item__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; opacity: 0; transition: opacity .15s ease; }
.notice-item__link:hover::after, .notice-item__link:focus-visible::after { opacity: 1; }
.notice-item__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.notice-empty { padding: 54px 20px; text-align: center; background: var(--surface-0); border-bottom: 1px solid var(--line); }
.notice-empty p { font-size: 1.1rem; font-weight: 700; }
.notice-empty > span { display: block; margin: 8px 0 20px; color: var(--ink-500); }
.notice-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 40px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--gold-050); border: 1px solid var(--gold-100); }
.notice-contact strong { display: block; margin-bottom: 5px; font-size: 1.15rem; color: var(--ink-900); }
.notice-contact p { color: var(--ink-600); font-size: .9rem; }
@media (max-width: 699px) {
  .notice-search { width: 100%; }
  .notice-item summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 8px 16px; padding: 22px 16px; }
  .notice-item__badge { grid-column: 1; justify-self: start; }
  .notice-item__number { display: none; }
  .notice-item__heading { grid-column: 1; }
  .notice-item time { grid-column: 1; }
  .notice-item__toggle { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .notice-item__body { padding: 24px 20px; }
  .notice-contact { padding: 24px; }
}
