/* css/pages/board-index.css — 게시판 메인 페이지 보정(최소)
 * 원본 #container{z-index:100} 가 overlay 의 #mononav(absolute, z10)를 덮어
 * PC GNB 텍스트가 가려짐(원본은 scroll_navi.js 런타임이 nav 를 위로 유지 — JS 미반입분 보정).
 * 시각 정답(_shots/board-index-d.png·-scrolled.png)은 GNB 가 콘텐츠 위. */
#mononav { z-index: 101; }
div#mononav.is-scrolled { z-index: 101; }

/* ---- R24 body#layout 제거 보정(goods#0 패턴) ----
 * 원본 PC 문서는 body 무id — body#layout 은 m 문서 전용이라 HTML 에서 제거(파리티 키 BODY 정합).
 * style-16(m) 의 #layout 접두 5규칙(전부 m 헤더)은 m 레이어 스코프로 동치 재기술(선언 원문 그대로).
 * 셀렉터는 래퍼형+병합형 병기(r1 전역 보정의 header.html 병합 대비 — 구조 독립형). */
@media (max-width: 1024px) {
  .m-only header#header .header, header#header.m-only .header { position: relative; width: 100%; text-align: left; background: #fff; }
  .m-only header#header h1, header#header.m-only h1 { height: 65px; line-height: 62px; padding: 0; text-align: center; }
  .m-only header#header h1 img, header#header.m-only h1 img { max-height: 35px; vertical-align: middle; }
  .m-only #topArea .searchWrap, header#header.m-only #topArea .searchWrap { border-bottom: 1px #e0e0e0 solid; }
  .m-only header#header .search, header#header.m-only .search { top: 12px; }
}

/* style-16(m) bare 규칙(body,code Roboto 13px #1b1b1b / #container -1px margin·relative·overflow:hidden·bg#fff /
 * #contents padding 29px·relative·bg#fff / #wrap min-height:100%)의 PC 전이 복원 — style-31 원문값. */
@media (min-width: 1025px) {
  body, code { font: 0.75em 'Noto Sans KR', sans-serif, 'LotteMartDream', Verdana, Dotum, AppleGothic; color: #353535; background: #fff; }
  #wrap { min-height: 0; }
  #container { position: static; overflow: visible; margin: 0 auto; background-color: transparent; }
  #contents { padding: 0; position: static; background-color: transparent; }

  /* style-16(m) .ec-base-table bare 규칙의 PC 전이 복원 — style-31 원문값.
   * m: .ec-base-table{border:1px solid #d5d5d5;background:#fff} / th,td{font-size:13px;border-top:#ececec}
   *    / .typeList th,td{padding:9px 10px;border:1px solid #d7d5d5} → td +3px 높이 연쇄(boardMain 145≠142). */
  .ec-base-table { border: 0; background: none; }
  .ec-base-table th, .ec-base-table td { font-size: inherit; border-top: 1px solid #dfdfdf; }
  .ec-base-table td { padding: 11px 10px 10px; vertical-align: middle; }
  .ec-base-table.typeList th, .ec-base-table.typeList td { padding: 8px 10px 7px; border: 0; border-top: 1px solid #dfdfdf; }
  .ec-base-table thead.blind + tbody tr:first-child th,
  .ec-base-table thead.blind + tbody tr:first-child td { border-top-width: 0; }
}

/* ---- board-index API 배선 3상태(hidden 토글) — zone: board-index ---- */
.boardMain .board-state td,
.boardMain li.board-state { padding: 12px 10px; color: #757575; }
.boardMain .galleryList li.board-state { float: none; width: auto; }
.boardMain .board-state[hidden] { display: none !important; }
/* 갤러리 제목 span 은 원본 bare 텍스트 스타일 계승(.galleryList li span 일괄 규칙 상쇄) */
.galleryList li .imgLink span[data-slot="title"] { display: inline; margin: 0; font-size: inherit; color: inherit; }
