@charset "utf-8";

/* common-anchor 계열 게시판 목록 전용 스타일 */


/* 뉴스레터 구독신청 안내문과 약관 동의 영역의 시각적 구분 */
.newsletter-subscription .b-intro-box { margin-bottom: 24px; }
.newsletter-subscription .b-privacy-chk-box { margin-top: 16px; }


/* 행 강조는 마우스 호버 시에만. 공유 CSS가 신규글(tr.new)과 상단공지(b-top-box)에 주는
   상시 회색 배경은 퍼블 단계 오류라 되돌린다 */
.bn-list-common01.common-anchor-list table tbody tr.new,
.bn-list-common01.common-anchor-list table tbody tr.b-top-box { background: transparent; }

@media ( hover: hover ) {
	.bn-list-common01.common-anchor-list table tbody tr:hover { background: #F7F7F7; }
}


/* 모바일 컬럼 제어. 공유 CSS는 노출할 칸을 td:nth-of-type(N)으로 지정하지만,
   이 유형은 카테고리/첨부/상태 사용 여부에 따라 칸 순서가 달라지므로 제목 칸을 클래스로 지정한다 */
@media ( max-width: 1024px ) {
	.bn-list-common01.common-anchor-list table tbody tr td:not(.b-td-left):not(.b-no-post) { display: none; }
	.bn-list-common01.common-anchor-list table tbody tr td.b-td-left { display: block; width: 100%; }
	.bn-list-common01.common-anchor-list table tbody tr td.b-no-post { display: block; }

	.bn-list-common01.common-anchor-list col:not(.b-col-title) { display: none; width: 0; }
	.bn-list-common01.common-anchor-list col.b-col-title { width: 100%; }
}


/* ── 목록 컬럼 폭 (PC, 1025px↑) ─────────────────────────────────────────
   type01 목록 table 은 common01-01.css 에서 table-layout:fixed 인데,
   번호(b-col-num)·첨부(b-col-repre)·담당부서(b-col-cate) 칸에 폭이 어느 CSS에도
   지정돼 있지 않다(퍼블 이식 때 누락). fixed 레이아웃에서 폭 미지정 칸끼리 남는
   공간을 균등 분할하므로 번호 칸이 과도하게 넓어진다. 아래로 폭을 지정해 번호 영역을
   좁히고 제목(b-col-title, 유일한 auto 칸)이 잔여폭을 흡수하게 한다.
   ※ b-col-num/repre/cate 는 anchor 계열 목록에만 쓰는 클래스라 다른 게시판엔 무영향.
   ※ 모바일(≤1024)은 위 col 축소 규칙을 유지하도록 min-width 로 감싼다. */
@media ( min-width: 1025px ) {
	.bn-list-common01 .b-col-num   { width: 7%; }   /* 번호 */
	.bn-list-common01 .b-col-repre { width: 8%; }   /* 첨부 */
	.bn-list-common01 .b-col-cate  { width: 12%; }  /* 담당부서(작성자) */

	/* common-anchor-list(공지·자료실 등)는 b-col 폭도 없어 등록일/조회수 칸까지 벌어진다.
	   이 유형에만 b-col 폭을 지정한다(bn-common 계열은 공유 board.css 가 이미 10% 지정). */
	.bn-list-common01.common-anchor-list .b-col { width: 8%; }

	/* type04(iacf)는 목록 col 을 퍼블 의미별 어휘로 찍어 폭을 common01-04.css 에서 받는다.
	   확장필드만 b-col 로 남아 폭이 없으므로 여기서 지정한다. common-anchor-list 클래스는
	   type04 에 붙지 않아 위 규칙이 닿지 않는다. */
	.bn-list-common01.type04 .b-col { width: 10%; }
}

/* ── 목록 첨부파일 표시 (type04 / iacf) ──────────────────────────────
   common01-04.css 에는 .b-file-box 아이콘 규칙과 .m-file 숨김 규칙이 없다
   (type01·02·03·05 는 각 common01-0N.css 가 갖고 있는데 type04 만 누락).
   그래서 PC 에서 첨부 칸은 height:0 인 빈 박스가 되고, 모바일용 span.m-file 이
   숨겨지지 않아 제목 옆에 "첨부파일" 이라는 글자가 그대로 노출된다.
   퍼블에 iacf 목록 첨부 규격이 없어 type02 와 같은 공용 아이콘을 쓴다. */
.bn-list-common01.type04 .b-file-box { margin: 0 auto; width: 18px; height: 16px; background: url(/_res/nsu/_share/img/board/ico-file.png) no-repeat 0 0/18px 16px; }
.bn-list-common01.type04 .b-title-box a .m-file { display: none; }

@media ( max-width: 1024px ) {
	/* 모바일은 첨부 td 가 통째로 숨겨지므로(common01-04.css) 제목 안 아이콘으로 대신한다 */
	.bn-list-common01.type04 .b-title-box a .m-file { display: inline-block; background: url(/_res/nsu/_share/img/board/ico-file.png) no-repeat; text-indent: -999px; width: 18px; overflow: hidden; }
}

/* ============================================================
   iacf 댓글 입력 박스 모서리 (2026-09-03 사용자 요청)

   상세 첨부 박스와 같은 반경으로 맞춘다. 반경 값만 common01-04.css 의
   .b-file-box(16) / .b-file-box ul li(8) 에서 가져오고, 배경·테두리색·여백은
   기존 board.css 값을 그대로 둔다 — 요청은 모서리 통일까지다.

   .write-reply-content 은 새 댓글·댓글 수정·대댓글이 공유하는 껍데기라 셋이 함께 둥글어진다.
   ============================================================ */

.bn-view-common01.type04 .b-reply-wrap .write-reply-content {
    border-radius: 16px;
    /* 하단 등록줄의 흰 배경이 모서리를 네모로 덮는 것을 막는다 */
    overflow: hidden;
}

/* 이름+입력칸. textarea 흰 배경이 모서리를 덮지 않도록 함께 자른다 */
.bn-view-common01.type04 .b-write-reply-box .write-reply-content .write-reply-con-box > div {
    border-radius: 8px;
    overflow: hidden;
}

/* 댓글 수정·대댓글은 감싸는 div 가 없어 textarea 가 곧 입력칸이다 */
.bn-view-common01.type04 .b-view-reply-box .write-reply-content .write-reply-con-box textarea {
    border-radius: 8px;
}

/* 둥근 모서리 안에서 버튼만 각지지 않도록 */
.bn-view-common01.type04 .b-reply-wrap .write-reply-content .write-reply-etc-box > button {
    border-radius: 8px;
}

/* 등록된 댓글의 답변달기·수정·삭제 */
.bn-view-common01.type04 .b-reply-wrap .b-btn-replay-box .b-btn-reply {
    border-radius: 6px;
}
