.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; }

.notice-hero { background-image: url("../assets/subpages/hospital/hospital-hero.png"); }
.notice-hero .doctor-hero-inner { top: -24px; }
.customer-tabs { position: absolute; z-index: 2; left: 50%; bottom: 80px; width: min(calc(100% - 80px), 1135px); min-height: 96px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; transform: translateX(-50%); overflow: hidden; border: 1px solid rgba(255, 255, 255, .9); border-radius: 17px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(5px); }
.customer-tabs :is(a, button) { position: relative; display: flex; align-items: center; justify-content: center; padding: 18px 8px; border: 0; color: rgba(255, 255, 255, .75); background: transparent; font-size: 18px; font-weight: 600; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.customer-tabs :is(a, button):hover, .customer-tabs :is(a, button):focus-visible { color: #fff; background: rgba(255, 255, 255, .08); }
.customer-tabs :is(a, button)::after { content: ""; position: absolute; right: 28%; bottom: 20px; left: 28%; height: 3px; background: #fff; transform: scaleX(0); transition: transform .2s ease; }
.customer-tabs .is-active { color: #fff; }
.customer-tabs .is-active::after { transform: scaleX(1); }

.notice-board { padding: 130px 0 160px; background: #fff; }
.notice-board-inner { width: min(calc(100% - 80px), 1200px); margin: 0 auto; }
.notice-intro { margin: 0 0 78px; font-size: 36px; line-height: 1.35; letter-spacing: -.045em; }
.board-search { min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; background: #f5f7fc; }
.board-search select, .board-search input, .page-size-control select { height: 42px; border: 1px solid #cfd4df; background: #fff; color: #303541; font: inherit; }
.board-search select { width: 112px; padding: 0 12px; }
.board-search input { width: 285px; padding: 0 15px; }
.board-search button, .page-size-control button { height: 42px; padding: 0 18px; border: 1px solid #20205e; font: inherit; font-weight: 600; }
.search-button { color: #fff; background: #20205e; }
.reset-button { color: #20205e; background: #fff; }
.board-search button:hover, .board-search button:focus-visible, .page-size-control button:hover, .page-size-control button:focus-visible { filter: brightness(.94); }
.board-meta { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.board-meta p { margin: 0; color: #616978; font-size: 14px; }
.board-meta strong { color: #262d3b; }
.page-size-control { display: flex; align-items: center; gap: 6px; }
.page-size-control select { width: 82px; padding: 0 11px; }
.page-size-control button { color: #fff; background: #34454b; border-color: #34454b; }
.board-table-wrap { border-top: 2px solid #273241; }
.board-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.board-table th { height: 58px; padding: 10px; border-bottom: 1px solid #aeb6c3; color: #3e4653; font-size: 14px; }
.board-table th:nth-child(1) { width: 10%; }
.board-table th:nth-child(2) { width: 41%; }
.board-table th:nth-child(3) { width: 15%; }
.board-table th:nth-child(4) { width: 10%; }
.board-table th:nth-child(5) { width: 15%; }
.board-table th:nth-child(6) { width: 9%; }
.board-table td.empty-state { height: 560px; padding: 40px 16px; border-bottom: 1px solid #d7dce5; color: #8a919e; font-size: 18px; text-align: center; }
.empty-state p { margin: 0; }
.press-grid { min-height: 560px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 24px; padding: 20px 0 0; border-top: 2px solid #273241; border-bottom: 1px solid #d7dce5; }
.press-card { overflow: hidden; border: 1px solid #d7dce5; background: #fff; }
.press-card[hidden], .press-empty[hidden] { display: none; }
.press-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.press-card-copy { padding: 16px 18px 20px; }
.press-card-label { display: inline-block; margin: 0 0 9px; color: #1756ae; font-size: 13px; font-weight: 800; }
.press-card h3 { min-height: 54px; margin: 0 0 18px; font-size: 19px; line-height: 1.45; }
.press-card-meta { margin: 0; padding-top: 13px; border-top: 1px solid #e0e3e9; color: #7b8290; font-size: 13px; }
.press-empty { grid-column: 1 / -1; align-self: stretch; min-height: 510px; display: grid; place-items: center; margin: 0; color: #8a919e; font-size: 18px; }
.pagination { display: flex; justify-content: center; gap: 9px; margin-top: 56px; }
.pagination button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #54606b; background: transparent; font: inherit; }
.pagination button.is-current { color: #fff; background: #1756ae; }
.pagination button:disabled { opacity: .35; cursor: default; }

@media (max-width: 1100px) {
  .customer-tabs { width: calc(100% - 60px); }
  .customer-tabs :is(a, button) { font-size: 15px; }
}

@media (max-width: 800px) {
  .notice-hero { background-position: 58% center; }
  .notice-hero .doctor-hero-inner { top: -50px; }
  .customer-tabs { right: 20px; bottom: 34px; left: 20px; width: auto; min-height: 76px; display: flex; justify-content: flex-start; transform: none; overflow-x: auto; border-radius: 12px; scrollbar-width: none; }
  .customer-tabs::-webkit-scrollbar { display: none; }
  .customer-tabs :is(a, button) { min-width: 128px; padding-inline: 14px; font-size: 14px; }
  .customer-tabs :is(a, button)::after { bottom: 11px; }

  .notice-board { padding: 74px 0 96px; }
  .notice-board-inner { width: min(calc(100% - 40px), 1200px); }
  .notice-intro { margin-bottom: 50px; font-size: 28px; }
  .board-search { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 14px; }
  .board-search select, .board-search input { width: 100%; min-width: 0; }
  .board-search button { width: 100%; }
  .board-meta { align-items: flex-start; padding-block: 18px; }
  .page-size-control select { width: 68px; }
  .page-size-control button { padding-inline: 12px; }
  .board-table { width: 100%; min-width: 0; }
  .board-table-wrap { max-width: 100%; }
  .board-table th, .board-table td { padding: 10px 6px; overflow-wrap: anywhere; }
  .board-table th { height: 48px; font-size: 13px; }
  .board-table th:nth-child(1) { width: 44px; }
  .board-table th:nth-child(2) { width: auto; }
  .board-table th:nth-child(5) { width: 80px; }
  .board-table th:is(:nth-child(3), :nth-child(4), :nth-child(6)),
  .board-table td:not(.empty-state):is(:nth-child(3), :nth-child(4), :nth-child(6)) { display: none; }
  .board-table td { font-size: 14px; }
  .board-table td:nth-child(5) { font-size: 12px; }
  .board-table td.empty-state { height: 200px; padding: 24px 16px; font-size: 15px; }
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 430px; }
  .press-empty { min-height: 380px; }
}

@media (max-width: 520px) {
  .notice-intro { font-size: 24px; }
  .board-meta { display: grid; }
  .page-size-control { justify-self: end; }
  .press-grid { grid-template-columns: 1fr; }
}
