/**
 * Sub PC 반응형 — 소통/알림 sec7-notice 전용 (Container Query)
 *
 * 로드 순서: sub-responsive.css(공통 셸) → 이 파일
 * sec7-notice 규칙은 이 파일에만 있음
 * MO 레퍼런스: sub-mobile.css sec7-notice @450px
 */

body.sub-page--sec7-notice.sub-page--pc-responsive .sub-cq-notice {
  container-type: inline-size;
  container-name: sub-notice;
}

body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-cq-notice-view {
  container-type: inline-size;
  container-name: sub-notice-view;
}

@media (max-width: 768px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive {
    --header-mobile-h: clamp(64px, 14vw, 80px);
  }
}

/* ══════════════════════════════════════
   sec7-notice — 탭: sub-responsive.css 공통 (768 · 451)
   ══════════════════════════════════════ */

@container sub-main (max-width: 768px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-title-wrap.pt10,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-title-wrap.pt10 {
    padding-top: 40px;
  }

}

/* ══════════════════════════════════════
   sec7-notice — 게시판 목록 (1280 · 768 · 451)
   ══════════════════════════════════════ */

@container sub-notice (max-width: 1280px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__toolbar {
    gap: clamp(10px, 1.25cqi, 16px);
    margin-bottom: clamp(8px, 0.78cqi, 10px);
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__select-wrap {
    width: clamp(90px, 7.8125cqi, 100px);
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search {
    width: clamp(200px, 17.1875cqi, 220px);
  }
}

@container sub-notice (max-width: 900px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__filter {
    flex: 1 1 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    height: auto;
    gap: 8px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
}

@container sub-notice (max-width: 1024px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr {
    gap: 16px;
    padding: 20px 24px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-meta {
    column-gap: 32px;
    width: auto;
    min-width: 240px;
    grid-template-columns: 28px 88px 56px;
  }
}

@container sub-notice (max-width: 768px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__count {
    display: none;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__filter {
    flex-direction: column;
    align-items: stretch;
    gap: 0px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: auto;
    margin-bottom: 10px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__filter {
    height: auto;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__filter-field {
    height: auto;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search {
    width: 100%;
    height: 44px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 34px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search-btn svg {
    width: 13px;
    height: 13px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__select-wrap {
    width: 100%;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__select-btn {
    height: 34px;
    font-size: 14px !important;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search {
    max-width: none;
    width: 100%;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search-input {
    height: 34px;
    font-size: 14px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table-wrap {
    border: none;
    background: transparent;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table thead {
    display: none;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table {
    display: block;
    width: 100%;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(36, 36, 36, 0.10);
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr:hover,
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr:active {
    border-color: #1bace4;
    box-shadow: 0 0 0 1px #1bace4, 0 4px 16px rgba(27, 172, 228, 0.18);
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr.is-top-notice {
    background: #EBF2F4;
    border-color: rgba(36, 36, 36, 0.10);
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr:has(.sub-notice-board__cell-empty) {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr:has(.sub-notice-board__cell-empty):hover {
    border: none;
    box-shadow: none;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody td {
    height: auto;
    border: none;
    padding: 0;
    background: transparent;
    text-align: left;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-no {
    display: none;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-title {
    display: block;
    flex: none;
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__title-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    color: inherit;
    text-decoration: none;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__title-text {
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: #242424;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-width: 0;
    grid-template-columns: none;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-attach {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    min-height: 28px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-attach:empty {
    visibility: hidden;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-date {
    flex-shrink: 0;
    width: auto;
    font-size: 13px;
    line-height: 1;
    color: #242424;
    white-space: nowrap;
    text-align: left;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    width: auto;
    font-size: 13px;
    line-height: 1;
    color: #9f9f9f;
    white-space: nowrap;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-views::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 17px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='12' viewBox='0 0 17 12' fill='none'%3E%3Cpath d='M1 6C1 6 3.75 1.5 8.5 1.5C13.25 1.5 16 6 16 6C16 6 13.25 10.5 8.5 10.5C3.75 10.5 1 6 1 6Z' stroke='%23242424' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='8.5' cy='6' r='1.5' fill='%23242424'/%3E%3C/svg%3E") no-repeat center / contain;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__file-icon {
    width: 24px;
    height: 24px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__paging {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__paging ul {
    flex-wrap: nowrap;
    gap: 12px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-group--ctrl {
    gap: 4px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-group--nums {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-ctrl {
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #eef2f4;
    color: #242424;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-ctrl svg {
    width: auto;
    height: 12px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-num {
    min-width: 0;
    width: 32px;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #575756;
    font-size: 14px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-num.is-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    background: #1bace4;
    color: #fff;
    font-weight: 700;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-btn,
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-link {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-contact .inner.container17 {
    display: block;
    text-align: center;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-contact p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    word-break: keep-all;
  }

}

@container sub-notice (max-width: 451px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__filter-row {
    gap: 2vw;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__select-btn,
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__search-input {
    font-size: max(13px, 3.5vw);
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody tr {
    padding: 4vw 5vw;
    gap: 3vw;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__title-link {
    gap: 2vw;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__table tbody .sub-notice-board__title-text {
    font-size: max(13px, 4vw);
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-meta {
    gap: 5vw;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-date,
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__cell-views {
    font-size: max(13px, 3.5vw);
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__paging {
    margin-top: 8vw;
    margin-bottom: 8vw;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-num,
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-btn,
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-notice-board__page-link {
    font-size: max(13px, 3.25vw);
  }
}

/* ══════════════════════════════════════
   sec7-notice-view — 상세 (768 · 451)
   ══════════════════════════════════════ */

@container sub-notice-view (max-width: 768px) {
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(36, 36, 36, 0.10);
    background: #fff;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__head-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__title {
    font-size: 18px;
    line-height: 1.45;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__meta {
    gap: 24px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__date,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__views {
    font-size: 13px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__attach {
    padding: 0 0 20px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__attach-list {
    flex-direction: column;
    gap: 10px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__attach-link {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__attach-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__body {
    padding: 20px 0;
    font-size: 16px;
    line-height: 1.5;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-item {
    align-items: center;
    padding: 14px 20px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-label {
    width: auto;
    min-width: max-content;
    margin-right: 10px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-icon {
    margin-right: 10px;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-link,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-empty {
    flex: 1;
    min-width: 0;
    padding-left: 0;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__actions {
    margin: 40px 0;
    padding: 0;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-contact .inner.container17 {
    display: block;
    text-align: center;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-contact p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    word-break: keep-all;
  }

}

@container sub-notice-view (max-width: 451px) {
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__head {
    padding: 5vw 0;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__title {
    font-size: max(13px, 4.5vw);
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__meta {
    gap: 5vw;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__date,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__views {
    font-size: max(13px, 3.5vw);
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__body {
    padding: 5vw 0;
    font-size: 16px;
    line-height: 1.5;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-item {
    padding: 3.5vw 5vw;
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-link,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__nav-empty {
    font-size: max(13px, 3.5vw);
  }

  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-notice-view__actions {
    margin: 10vw 0;
  }
}

@container sub-notice (max-width: 768px) {
  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-contact .inner.container17,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-contact .inner.container17 {
    display: block;
    text-align: center;
  }

  body.sub-page--sec7-notice.sub-page--pc-responsive .sub-contact p,
  body.sub-page--sec7-notice-view.sub-page--pc-responsive .sub-contact p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    word-break: keep-all;
  }
}
