/* css/pages/board-board-notice-list.css — NOTICE 목록 페이지 전용 보정
 * R24 레이어 오염 보정: m 스킨(style-2)이 PC 스킨(style-11) 뒤에 로드되며
 * bare `.xans-board-notice .subject` / `.xans-board-list .subject`(display:block;font-size:15px;color:#1b1b1b)가
 * PC 레이어의 td.subject(테이블 셀)에도 맞아 행 레이아웃이 깨짐 — PC 레이어에서 원상복구.
 * (padding 8px 10px 7px = style-11 `.ec-base-table.typeList td` 원본 수치)
 */
.pc-only .ec-base-table .xans-board-notice .subject,
.pc-only .ec-base-table .xans-board-list .subject {
  display: table-cell;
  padding: 8px 0 7px 10px; /* src 실측 [8,0,7,10] — typeList td 기본(8px 10px 7px)의 우측 10 아님 */
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
/* m 페이지네이션: PC 스킨 bare `.ec-base-paginate li{border:1px solid #d7d5d5}` 가
 * m 레이어 typeList li(원본은 a 에만 보더)에 이중 보더를 만든다 — 원상복구. */
.m-only .ec-base-paginate.typeList ol li,
.ec-base-paginate.typeList.m-only ol li { border: 0; }

/* R24 레이어 오염 보정 2(역방향): m 스킨(style-2)의 bare
 * #container{z-index:100;position:relative;overflow:hidden;margin-top:-1px;margin-left:-1px;background-color:#fff}
 * #contents{position:relative;background-color:#fff;padding:0 0 29px}
 * 가 공유 요소(#container/#contents)에 전이되어 PC 뷰에서 absolute #mononav(z10) 위를
 * 흰 배경(z100)으로 덮음 → GNB 대메뉴 가림 + 브레드크럼(.path) 좌측 잘림. PC 뷰포트에서
 * 원본 PC 스킨(style-11) 상태로 되돌린다.
 * (원본 PC: #container{width:80%;margin:0 auto} / #contents{float:right;width:100%} — 포지션·배경 없음) */
@media (min-width: 1025px) {
  /* r3: m 스킨(style-2) bare body,code{Roboto 13px #1b1b1b} 의 PC 전이 복원(BODY fontFamily·
   * 상속 color→borderColor 102↔27 결함의 단일 근인) — PC 스킨(style-11) 원문
   * body{font-size:12px;font-family:'NanumGothic',…;line-height:1.2em;color:#666} 값 그대로.
   * (position/min-width 등 전 페이지 동형분은 overlay 전역 복원 — 여기는 스킨별 상이분만) */
  body { font-size: 12px; font-family: 'NanumGothic', "맑은고딕", "Malgun Gothic", Dotum, "돋음", sans-serif; line-height: 1.2em; color: #666; }

  #container { z-index: auto; position: static; overflow: visible; margin: 0 auto; background-color: transparent; }
  #contents { position: static; background-color: transparent; padding: 0; }

  /* R24 레이어 오염 보정 4(역방향 — 검색폼): m 스킨(style-2) bare
   * select{-webkit-appearance:none;height:29px;padding:0 20px 0 8px;font-size:13px;border:1px solid #d7d5d5;...}
   * input[type="text"]{width:100%} / legend{height:0;width:0;text-indent:-9999em}
   * 가 PC 검색폼에 전이 → 셀렉트 텍스트 안 보임·인풋 전폭(1117px)·"게시물 검색" 레전드 소실·행 3줄 붕괴.
   * 원본 PC 상태(UA 기본 + style-11 의 select{width:72px;margin:0 2px 0 0}/#search_date{margin:0 2px 0 22px})로 복원. */
  .pc-only .boardSearch select { all: revert; width: 72px; margin: 0 2px 0 0; }
  .pc-only .boardSearch select#search_date { margin: 0 2px 0 22px; }
  /* all:revert 는 reset 의 input padding:0 도 UA 기본(1px 2px)으로 풀어버림 — src 실측 padding 0
   * (w166=162+보더4, h19) 복원. */
  .pc-only .boardSearch input.inputTypeText { all: revert; padding: 0; }
  /* m 스킨(style-2) `.xans-board-search input#search{width:100%}`(id 특이성)가 위 revert 를 이김 —
   * 원본 PC(style-11) `.xans-board-search input{width:162px}` 값으로 id 특이성 복원. */
  .pc-only .xans-board-search input#search { width: 162px; }
  .pc-only .boardSearch legend { height: auto; width: auto; text-indent: 0; }

  /* R24 레이어 오염 보정 6(역방향 — 목록 테이블/검색폼 잔여): style-2(m) bare
   * .xans-board-listpackage{background:#fff} / .ec-base-table{border:1px solid #d5d5d5;background:#fff;color:#353535}
   * / .xans-board-notice,.xans-board-list{margin:-1px 0 0;font-size:11px;border-top:1px solid #ececec}
   * / .xans-board-notice a,.xans-board-list a{display:block} / th,td{vertical-align:top}
   * / .xans-board-search{margin:0 0 29px;padding:14px;border-top·bottom:1px solid #ececec}
   * 의 PC 전이 → 목록 bg 백화·보더 213·행높이 +21(작성자 2줄 셀 middle 정렬 소실)·footer y +40.
   * PC 스킨(style-11) 원문 상태로 복원(src 실측: listpackage bg none·h318, gBorder bc 102, 행 34/52,
   * search pad 20 0 20 10·무보더·무마진). */
  .pc-only.xans-board-listpackage { background: transparent; }
  .pc-only .ec-base-table { border: 0; background: transparent; color: inherit; }
  .pc-only .ec-base-table .xans-board-notice,
  .pc-only .ec-base-table .xans-board-list { margin: 0; font-size: inherit; border-top: 0; }
  .pc-only .ec-base-table .xans-board-notice a,
  .pc-only .ec-base-table .xans-board-list a { display: inline; }
  /* style-2 bare th,td{font-size:13px;vertical-align:top} 전이 — 원문(style-11)은 무선언(상속 12)·middle */
  .pc-only .ec-base-table th,
  .pc-only .ec-base-table td { font-size: inherit; }
  .pc-only .ec-base-table td { vertical-align: middle; }
  /* style-2 .ec-base-table.typeList th,td{padding:9px 10px;border:1px solid #d7d5d5} ·
   * .ec-base-table.typeList thead th{background:#fafafa} 전이(동특이성 후로드/고특이성 승) —
   * style-11 원문 thead th{padding:11px 0 10px;border-left/bottom 1px #dfdfdf;background:#fbfafa}
   * 복원(보더 top/right 0 → borderColor=currentColor #353535 = src 실측 53,53,53). */
  .pc-only .ec-base-table.typeList thead th { padding: 11px 0 10px; background: #fbfafa; border: 0; border-left: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf; }
  .pc-only .ec-base-table.typeList thead th:first-child { border-left: 0; }
  .pc-only .ec-base-table.typeList td { padding: 8px 0 7px; border: 0; border-top: 1px solid #dfdfdf; }
  .pc-only .ec-base-table.gBorder td { border-left: 1px solid #dfdfdf; }
  .pc-only .ec-base-table.gBorder td:first-child { border-left: 0; }
  .pc-only .xans-board-search { margin: 0; padding: 20px 0 20px 10px; border: 0; }
}

/* R24 레이어 오염 보정 3(정방향): PC 스킨(style-11)의 bare
 * header{float:left;width:100%;position:fixed;z-index:10} / #container{width:80%;margin:0 auto}
 * / #contents{float:right;width:100%} 가 모바일 레이어에 전이 —
 * m 헤더가 float 로 플로우에서 빠져 mainNav 첫 줄(ul)이 전폭 float 옆으로 밀려 w0 붕괴
 * (브리더 펫아미/강아지분양/고양이분양/분양혜택 행 소실), #container 80% 축소로 본문 312px.
 * 모바일 뷰포트에서 원본 m 스킨(style-2) 상태로 되돌린다.
 * (원본 m: header 규칙 없음(static·비float) / #container{position:relative;overflow:hidden;margin:-1px}
 *  / #contents{position:relative;background:#fff} — float·축소폭 없음) */
@media (max-width: 1024px) {
  .m-only header#header { float: none; }
  #container { width: auto; }
  #contents { float: none; }

  /* R24 레이어 오염 보정 5(정방향 — 검색폼): PC 스킨(style-11)
   * .xans-board-search select#search_date{margin:0 2px 0 22px} 가 m 카테고리 셀렉트
   * (style-2: float:left/right;width:49%)에 전이 → 좌측 여백 초과로 우측 셀렉트가 줄바꿈.
   * m 스킨(style-2) 원본값 select{margin:0 0 7px} 복원. */
  .m-only .xans-board-search .category select#search_date { margin: 0 0 7px; }
}

/* stylefix r2: m 스킨 td.subject(색 #555) 전이 → PC 스펙 #353535(_styles/board-notice-1.json 실측) */
@media (min-width: 1025px) {
  .pc-only .ec-base-table.typeList td.subject, .pc-only .ec-base-table.typeList td.subject strong { color: #353535; }
}

/* --- API 배선(3상태 메시지) — board-notice 존 --- */
.board-state { padding: 30px 0; text-align: center; color: #757575; }
.xans-board-empty { padding: 30px 0; text-align: center; color: #757575; }
