/* Notice board: scoped to the list and article pages. */
.notice-board-page > .notice-board { max-width: 1120px; margin-top: 64px; }
.notice-board-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.notice-board-heading h2 { margin: 0; color: #17232f; font-size: 24px; font-weight: 700; }
.notice-board-heading p, .notice-post-number { margin: 0; color: #697581; font-size: 13px; }
.notice-board-heading strong { color: #214f78; }
.notice-board-heading p span { margin-left: 18px; color: #697581; }
.notice-board-table { width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 2px solid #263b4e; color: #53616e; font-size: 14px; }
.notice-board-table th { padding: 17px 12px; background: #f7f8fa; color: #35424e; font-weight: 600; text-align: center; border-bottom: 1px solid #dce2e7; }
.notice-board-table td { padding: 24px 12px; border-bottom: 1px solid #e4e8ec; text-align: center; overflow-wrap: anywhere; }
.notice-board-table tbody tr:hover { background: #fafbfd; }
.notice-board-table .notice-number { width: 70px; color: #6c7782; }
.notice-board-table .notice-team { width: 140px; }
.notice-board-table .notice-author { width: 180px; }
.notice-board-table .notice-date { width: 118px; font-variant-numeric: tabular-nums; }
.notice-board-table .notice-title { text-align: left; }
.notice-title a { display: block; color: #202e3b; font-size: 16px; font-weight: 500; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.notice-board a:hover { color: #245b88; text-decoration: underline; text-underline-offset: 4px; }
.notice-board a:focus-visible { outline: 2px solid #245b88; outline-offset: 4px; }
.notice-team-label { display: inline-block; padding: 5px 10px; background: #eff3f7; border-radius: 4px; color: #466078; font-size: 12px; font-weight: 600; line-height: 1.5; }
.notice-board-table .notice-empty { padding: 70px 16px; color: #697581; }
.notice-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.notice-pagination a, .notice-pagination span { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid #e0e5ea; border-radius: 4px; color: #53616e; font-size: 14px; }
.notice-pagination [aria-current] { background: #263b4e; border-color: #263b4e; color: white; }
.notice-back-link { color: #546575; font-size: 14px; }
.notice-reader-head { padding: 30px 32px 26px; border-top: 2px solid #263b4e; border-bottom: 1px solid #dce2e7; }
.notice-reader-head h2 { margin: 15px 0 22px; color: #17232f; font-size: clamp(23px, 2.3vw, 30px); font-weight: 700; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.notice-metadata { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; font-size: 13px; }
.notice-metadata div { display: flex; gap: 10px; }
.notice-metadata dt { color: #75808b; font-weight: 400; }
.notice-metadata dd { margin: 0; color: #435362; }
.notice-reader-content { max-width: 864px; margin: 0 auto; padding: 40px 32px 48px; overflow-wrap: anywhere; }
.notice-reader .notice-body { white-space: normal; color: #354553; font-size: 16px; line-height: 1.95; word-break: keep-all; }
.notice-reader .notice-body p { margin: 0 0 1.4em; }
.notice-reader .notice-photo-story { gap: 28px; margin: 32px 0 0; }
.notice-reader .notice-photo-story figure { width: 100%; margin: 0; }
.notice-reader .notice-photo-story img { width: auto; height: auto; max-width: 100%; max-height: 480px; margin: 0 auto; object-fit: contain; background: transparent; border-radius: 4px; }
.notice-image-link { display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
.notice-reader .notice-photo-story figcaption { text-align: center; font-size: 13px; line-height: 1.6; margin-top: 12px; }
.notice-reader .notice-poster { margin-top: 36px; padding-top: 28px; }
.notice-reader .notice-poster figure { width: 100%; }
.notice-reader .notice-poster img { width: auto; max-width: 100%; max-height: 560px; margin: auto; }
.notice-reader .notice-attachments { margin-top: 36px; padding-top: 28px; }
.notice-reader .notice-attachments h2, .notice-reader .notice-poster h2 { font-size: 16px; }
.notice-attachments h2 small { margin-left: 6px; color: #6b7783; font-size: 13px; }
.notice-reader .notice-attachment-list a { border-radius: 4px; background: #f8fafb; font-size: 14px; }
.notice-reader .notice-attachment-list strong { font-weight: 500; }
.notice-neighbors { border-top: 1px solid #cdd5dd; }
.notice-neighbors > div { display: grid; grid-template-columns: 80px minmax(0, 1fr) 100px; gap: 16px; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid #e2e7eb; font-size: 14px; }
.notice-neighbors span, .notice-neighbors time { color: #707e8a; }
.notice-neighbors a { color: #344554; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-neighbors p { margin: 0; color: #7b858e; }
.notice-neighbors time { font-size: 12px; text-align: right; }
.notice-reader-actions { display: flex; justify-content: center; margin-top: 30px; }
.notice-reader-actions a { padding: 12px 36px; background: #263b4e; border-radius: 4px; color: white; font-size: 14px; }
.notice-reader-actions a:hover { background: #335570; color: white; text-decoration: none; }
.notice-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 767px) {
  .notice-board-page > .notice-board { width: calc(100% - 32px); margin-top: 36px; }
  .notice-board-heading h2 { font-size: 21px; }
  .notice-board-heading p span { display: none; }
  .notice-board-table thead { display: none; }
  .notice-board-table, .notice-board-table tbody { display: block; }
  .notice-board-table tr { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 20px 4px; border-bottom: 1px solid #e4e8ec; }
  .notice-board-table td { padding: 0; border: 0; text-align: left; }
  .notice-board-table .notice-number { display: none; }
  .notice-board-table .notice-team { width: 100%; }
  .notice-board-table .notice-title { width: 100%; }
  .notice-board-table .notice-author, .notice-board-table .notice-date { width: auto; font-size: 12px; }
  .notice-board-table .notice-empty { width: 100%; text-align: center; }
  .notice-reader-head { padding: 24px 4px; }
  .notice-reader-content { padding: 28px 4px 36px; }
  .notice-reader .notice-body { font-size: 15px; line-height: 1.9; }
  .notice-reader .notice-photo-story img { max-height: 360px; }
  .notice-reader .notice-poster img { max-height: 440px; }
  .notice-neighbors > div { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 17px 4px; }
  .notice-neighbors time { display: none; }
}
