:root {
  --navy: #071f34;
  --navy-soft: #0c2e49;
  --gold: #cda552;
  --gold-light: #e5c987;
  --ink: #102638;
  --muted: #6e7d86;
  --line: #dce2e5;
  --paper: #ffffff;
  --surface: #f5f7f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: fixed; z-index: 100; top: -60px; left: 20px; padding: 12px 18px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }

.utility-bar { border-bottom: 1px solid #e8e5de; background: #f7f5ef; color: #6d777c; font-size: 12px; }
.utility-bar__inner { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-bar p { margin: 0; }
.utility-bar strong { color: var(--navy); }
.utility-bar__inner div { display: flex; gap: 26px; white-space: nowrap; }

.site-header { background: #fff; border-bottom: 1px solid #e6eaec; }
.site-header__inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { flex: 0 0 220px; height: 78px; overflow: hidden; display: flex; align-items: center; }
.brand img { width: 220px; height: 110px; object-fit: contain; }
.main-navigation { display: flex; align-items: center; justify-content: flex-end; gap: clamp(22px, 3vw, 42px); font-size: 15px; font-weight: 700; white-space: nowrap; }
.main-navigation a { position: relative; padding: 45px 0; }
.main-navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 31px; height: 2px; background: var(--gold); transition: right .2s ease; }
.main-navigation a:hover::after, .main-navigation a:focus-visible::after, .main-navigation a.is-active::after { right: 0; }

.notice-hero { background: linear-gradient(135deg, #f8fafb 0%, #fff 55%, #f3efe5 100%); border-bottom: 1px solid var(--line); }
.notice-hero .shell { padding-block: 52px 82px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #8a969d; font-size: 11px; }
.breadcrumb strong { color: var(--navy); }
.notice-hero__content { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; margin-top: 68px; }
.eyebrow { margin: 0; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.eyebrow span { display: inline-block; width: 32px; height: 1px; margin: 0 12px 3px 0; background: currentColor; }
.eyebrow--dark { color: var(--navy-soft); }
.notice-hero h1 { margin: 21px 0 0; color: var(--navy); font-size: clamp(54px, 7vw, 92px); letter-spacing: -.07em; line-height: .95; }
.notice-hero__content > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }

.local-navigation { border-bottom: 1px solid var(--line); background: #fff; }
.local-navigation .shell { display: flex; gap: 0; overflow-x: auto; }
.local-navigation a { flex: 0 0 auto; min-width: 126px; padding: 20px 28px; border-left: 1px solid var(--line); color: #7a878e; text-align: center; font-size: 13px; }
.local-navigation a:last-child { border-right: 1px solid var(--line); }
.local-navigation a.is-active { color: #fff; background: var(--navy); font-weight: 700; }

.notice-board { padding-block: 94px 120px; }
.notice-board__heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.notice-board__heading h2 { margin: 22px 0 0; color: var(--navy); font-size: clamp(42px, 5vw, 67px); letter-spacing: -.065em; line-height: 1; }
.notice-board__heading > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.notice-board__heading > p strong { color: var(--navy); }

.notice-toolbar { margin-top: 58px; padding: 14px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.notice-categories { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-bottom: 1px; }
.notice-categories button { min-width: 65px; padding: 10px 15px; border: 1px solid transparent; background: transparent; color: #78868d; cursor: pointer; font-size: 12px; white-space: nowrap; }
.notice-categories button:hover, .notice-categories button:focus-visible { border-color: #a9b3b8; color: var(--navy); }
.notice-categories button.is-active { border-color: var(--navy); background: var(--navy); color: #fff; font-weight: 700; }
.notice-search { position: relative; flex: 0 0 275px; }
.notice-search input { width: 100%; padding: 11px 38px 11px 4px; border: 0; border-bottom: 1px solid #aeb8bd; outline: none; background: transparent; color: var(--ink); font-size: 12px; }
.notice-search input:focus { border-color: var(--gold); }
.notice-search svg { position: absolute; right: 6px; top: 9px; width: 19px; fill: none; stroke: var(--gold); stroke-width: 1.7; }
.notice-result-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); color: #89959b; font-size: 11px; }
.notice-result-bar p { margin: 0; }
.notice-result-bar p strong { color: var(--navy); font-size: 13px; }
.notice-result-bar > span { letter-spacing: .12em; }

.notice-list { border-bottom: 1px solid var(--navy); }
.notice-card { border-bottom: 1px solid var(--line); background: #fff; transition: background .2s ease, box-shadow .2s ease; }
.notice-card:last-child { border-bottom: 0; }
.notice-card[open] { background: #fbfaf6; box-shadow: inset 4px 0 0 var(--gold); }
.notice-card summary { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr) 125px 132px; align-items: center; gap: 0; min-height: 142px; cursor: pointer; }
.notice-card summary::-webkit-details-marker { display: none; }
.notice-card summary:focus-visible { outline: 3px solid #5baecb; outline-offset: -3px; }
.notice-number { align-self: stretch; display: grid; place-items: start center; padding-top: 31px; color: var(--gold); border-right: 1px solid var(--line); font-size: 11px; font-weight: 800; }
.notice-summary { min-width: 0; padding: 27px 35px; }
.notice-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.notice-category, .notice-latest { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 9px; background: #eef2f3; color: #687981; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.notice-latest { background: #efe3c6; color: #7a5a18; }
.notice-summary h3 { margin: 0; color: var(--navy); font-size: 21px; letter-spacing: -.035em; line-height: 1.4; }
.notice-summary p { display: -webkit-box; overflow: hidden; margin: 9px 0 0; color: #718087; font-size: 13px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.notice-date { color: #829097; text-align: center; font-size: 11px; }
.notice-open-label { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 112px; min-height: 42px; margin-right: 18px; border: 1px solid #b9c3c8; color: var(--navy); font-size: 11px; font-weight: 700; transition: .2s ease; }
.notice-open-label svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.notice-card summary:hover .notice-open-label { border-color: var(--navy); background: var(--navy); color: #fff; }
.notice-card[open] .notice-open-label { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.notice-card[open] .notice-open-label svg { transform: rotate(180deg); }
.notice-detail { margin: 0 132px 0 64px; padding: 0 35px 35px; border-left: 1px solid var(--line); }
.notice-detail__inner { padding: 30px; border-top: 1px solid var(--line); background: #fff; }
.notice-detail__image { display: block; width: min(100%, 760px); max-height: 520px; margin: 0 0 28px; object-fit: contain; object-position: left center; background: var(--surface); }
.notice-detail__body { margin: 0; color: #344b5b; white-space: pre-wrap; word-break: keep-all; font-size: 15px; line-height: 2; }
.notice-attachment { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; padding: 12px 17px; border: 1px solid var(--navy); color: var(--navy); font-size: 12px; font-weight: 700; }
.notice-attachment:hover, .notice-attachment:focus-visible { background: var(--navy); color: #fff; }

.notice-empty, .notice-error { padding: 80px 24px; text-align: center; color: var(--muted); }
.notice-empty strong, .notice-error strong { display: block; margin-bottom: 12px; color: var(--navy); font-size: 21px; }
.notice-loading { display: grid; gap: 12px; padding: 42px 0; }
.notice-loading span { display: block; height: 15px; border-radius: 20px; background: linear-gradient(90deg, #eef1f2 25%, #f9fafb 50%, #eef1f2 75%); background-size: 200% 100%; animation: loading 1.2s infinite; }
.notice-loading span:nth-child(2) { width: 76%; }
.notice-loading span:nth-child(3) { width: 58%; }
@keyframes loading { to { background-position: -200% 0; } }
.notice-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 42px; }
.notice-pagination button { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; color: #738188; cursor: pointer; }
.notice-pagination button:hover, .notice-pagination button:focus-visible { border-color: var(--navy); color: var(--navy); }
.notice-pagination button.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }

.site-footer { background: var(--navy); color: #fff; }
.site-footer__top { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border-bottom: 1px solid #ffffff24; }
.site-footer__top img { width: 180px; height: 90px; object-fit: contain; filter: brightness(0) invert(1); opacity: .88; }
.site-footer__top div { display: flex; gap: 24px; color: var(--gold-light); font-size: 11px; letter-spacing: .12em; }
.site-footer__bottom { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #ffffff8a; font-size: 11px; }

@media (max-width: 980px) {
  .site-header__inner { min-height: 96px; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; }
  .brand { align-self: center; height: 66px; }
  .main-navigation { justify-content: flex-start; gap: 28px; overflow-x: auto; }
  .main-navigation a { padding: 15px 0 18px; }
  .main-navigation a::after { bottom: 10px; }
  .notice-card summary { grid-template-columns: 54px minmax(0, 1fr) 112px; }
  .notice-date { display: none; }
  .notice-detail { margin-right: 0; margin-left: 54px; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 34px, 1180px); }
  .utility-bar { display: none; }
  .site-header__inner { width: 100%; }
  .brand { margin-inline: 17px; align-self: flex-start; }
  .main-navigation { padding-inline: 17px; border-top: 1px solid var(--line); font-size: 13px; }
  .notice-hero .shell { padding-block: 37px 58px; }
  .notice-hero__content { grid-template-columns: 1fr; gap: 25px; margin-top: 48px; }
  .notice-hero__content > p { font-size: 13px; }
  .notice-hero h1 { font-size: 53px; }
  .local-navigation .shell { width: 100%; }
  .local-navigation a { min-width: 105px; padding: 17px 20px; font-size: 12px; }
  .notice-board { padding-block: 65px 85px; }
  .notice-board__heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .notice-board__heading h2 { font-size: 43px; }
  .notice-board__heading > p { font-size: 13px; }
  .notice-toolbar { align-items: stretch; flex-direction: column; gap: 15px; margin-top: 40px; }
  .notice-search { flex-basis: auto; width: 100%; }
  .notice-card summary { grid-template-columns: 39px minmax(0, 1fr); min-height: 132px; }
  .notice-number { padding-top: 26px; }
  .notice-summary { padding: 23px 16px; }
  .notice-summary h3 { font-size: 18px; }
  .notice-summary p { -webkit-line-clamp: 2; font-size: 12px; }
  .notice-open-label { grid-column: 2; justify-self: start; min-width: 100px; min-height: 36px; margin: -12px 0 20px 16px; }
  .notice-detail { margin: 0 0 0 39px; padding: 0 16px 25px; }
  .notice-detail__inner { padding: 22px 18px; }
  .notice-detail__body { font-size: 14px; line-height: 1.9; }
  .site-footer__top, .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 26px; }
  .site-footer__bottom { gap: 9px; }
  .site-footer__bottom p { margin: 0; line-height: 1.7; }
}
