@charset "utf-8";
/* ========================================================
 * Products > Download Center — 시안 없음
 * 목록 표·탭·검색·페이징 = content.css .fd-bbs-* 공통 (IR 전자공고와 공유), 이 파일은 상단·통신사 탭·비밀번호 모달만
 * 1920 PC 기준 (반응형·효과는 추후 단계)
======================================================== */

/* -------- 상단 : 페이지 타이틀 + 소개(왼쪽, content.css .fd-top-desc) → 60 아래 본문 — Newsroom 상단과 동일 간격 -------- */
.dl-sec{padding:6rem 0 15rem;}

/* -------- 분류 1 : 통신사 탭 (4등분 — 선택 = main-color 채움, 자료 탭(검정 필)보다 한 단계 위 위계) -------- */
.dl-carrier{display:grid; grid-template-columns:repeat(4,1fr); gap:1rem;}
.dl-carrier a{display:flex; align-items:center; justify-content:center; height:9rem; border-radius:1.5rem; background:#f5f5f5; color:#333; font-family:var(--font-family2); font-size:2.4rem; font-weight:700; line-height:normal; white-space:nowrap; transition:background-color .2s, color .2s;}
.dl-carrier a:hover{color:var(--main-color);}
.dl-carrier li.on a{background:var(--main-color); color:#fff;}
.dl-board{margin-top:6rem;}

/* -------- 비밀번호 확인 모달 (layer_popup.js — body 직속으로 붙으므로 .fd-page 박스모델을 따로 선언) -------- */
.dl-pass-modal,
.dl-pass-modal *{box-sizing:border-box;}
.dl-pass-modal{position:relative; width:56rem; margin:2rem auto; padding:6rem 5rem 5rem; border-radius:3rem; background:#fff; color:#333; text-align:left;}/* .modal-inner-content가 text-align:left라 margin auto로 가운데 (.footer-modal-content와 같은 방식) */
.dl-pass-modal .modal-close-btn{top:2.4rem; right:2.4rem; padding:0; border:0; background:none; color:#333; cursor:pointer;}
.dl-pass-modal .modal-close-btn i{font-size:3.2rem;}
.dl-pass-modal .modal-close-btn i:hover{color:#000;}
.dl-pass-label{color:var(--main-color); font-family:var(--font-family2); font-size:1.8rem; font-weight:700; line-height:1.5; text-transform:uppercase;}
.dl-pass-tit{margin-top:1rem; font-size:3.2rem; font-weight:700; line-height:1.4; letter-spacing:-0.025em;}
.dl-pass-desc{margin-top:1.2rem; font-size:1.6rem; font-weight:500; line-height:1.6; letter-spacing:-0.025em; opacity:0.7;}
.dl-pass-file{display:flex; align-items:center; gap:1rem; height:5.6rem; margin-top:3rem; padding:0 2rem; border-radius:1rem; background:#f5f5f5; font-size:1.5rem; font-weight:600; letter-spacing:-0.025em; white-space:nowrap;}
.dl-pass-file .material-symbols-outlined{flex:none; color:var(--main-color); font-size:2.2rem;}
.dl-pass-file .txt{min-width:0; overflow:hidden; text-overflow:ellipsis;}
.dl-pass-form{display:flex; flex-direction:column; gap:1rem; margin-top:1rem;}
.dl-pass-input{width:100%; height:6rem; padding:0 2rem; border:2px solid rgba(0,0,0,0.1); border-radius:1rem; background:#fff; color:#333; font-family:var(--font-family1); font-size:1.6rem; font-weight:500; outline:0;}
.dl-pass-input:focus{border-color:var(--main-color);}
.dl-pass-input::placeholder{color:rgba(0,0,0,0.4); opacity:1;}
.dl-pass-btn{width:100%; height:6rem; margin-top:1rem; border:0; border-radius:1rem; background:var(--main-color); color:#fff; font-family:var(--font-family1); font-size:1.8rem; font-weight:700; letter-spacing:-0.025em; cursor:pointer;}

/* ===== 반응형 ===== */
@media all and (max-width:1280px){
	.dl-sec{padding:5rem 0 10rem;}
	.dl-carrier{grid-template-columns:repeat(4,minmax(0,1fr));}
	.dl-carrier a{height:7.6rem; font-size:2.2rem;}
	#content .dl-carrier a{white-space:nowrap;}
	.dl-board{margin-top:5rem;}
	/* 표 : colgroup 인라인 폭(합 90rem)을 줄여 제목 열 확보 — 제목·파일명은 줄바꿈 */
	.dl-table col:nth-child(1){width:8rem !important;}
	.dl-table col:nth-child(3){width:30rem !important;}
	.dl-table col:nth-child(4){width:13rem !important;}
	.dl-table col:nth-child(5){width:11rem !important;}
	.dl-page .fd-bbs-table th,
	.dl-page .fd-bbs-table td{padding:1.6rem 1rem;}
	.dl-page .fd-bbs-table td.subject{padding-left:2rem;}
	.dl-page .fd-bbs-table td.subject a,
	.dl-page .fd-bbs-table td.file .txt{word-break:keep-all; overflow-wrap:anywhere;}/* 단어 중간 끊김 방지 */
}
@media all and (max-width:800px){
	.dl-sec{padding:4rem 0 8rem;}
	.dl-carrier a{height:6.4rem; border-radius:1rem; font-size:1.8rem;}
	.dl-board{margin-top:4rem;}
	/* 표 → 블록형 : 제목 / 파일명 / 등록일·다운로드수 (번호 숨김, 머리행 대신 다운로드수 앞에 머리글 표시) */
	.dl-page .fd-bbs-table{display:block;}
	.dl-page .fd-bbs-table colgroup,
	.dl-page .fd-bbs-table thead,
	.dl-page .fd-bbs-table td.num{display:none;}
	.dl-page .fd-bbs-table tbody{display:block;}
	.dl-page .fd-bbs-table tr{display:flex; flex-wrap:wrap; gap:0.8rem 2rem; padding:2.4rem 0.4rem; border-bottom:1px solid rgba(0,0,0,0.1);}
	.dl-page .fd-bbs-table td{display:block; height:auto; padding:0; border-bottom:0; background:none; font-size:1.4rem; text-align:left; white-space:normal;}
	.dl-page .fd-bbs-table td.subject,
	.dl-page .fd-bbs-table td.file{flex:0 0 100%; padding-left:0;}
	.dl-page .fd-bbs-table td.subject a{font-size:1.8rem; line-height:1.5;}
	.dl-page .fd-bbs-table td.file .material-symbols-outlined{font-size:1.8rem;}
	.dl-page .fd-bbs-table td.cnt:before{margin-right:0.6rem; color:#333; content:"다운로드";}
	.dl-page .fd-bbs-paging{margin-top:4rem;}
}
@media all and (max-width:640px){
	.dl-carrier{grid-template-columns:repeat(2,minmax(0,1fr));}
	/* 페이징 12칸이 한 줄에 들어가도록 축소, 더 좁으면 줄바꿈 */
	.dl-page .fd-bbs-paging{flex-wrap:wrap; gap:0.5rem 0.3rem;}
	.dl-page .fd-bbs-paging a{width:3.6rem; height:3.6rem; font-size:1.4rem;}
	/* 비밀번호 모달 (body 직속 — 화면 폭에 맞춤) */
	.dl-pass-modal{width:auto; max-width:56rem; margin:2rem var(--area-padding); padding:5rem 3rem 3rem; border-radius:2rem;}
	.dl-pass-tit{font-size:2.8rem;}
	.dl-pass-modal .modal-close-btn{top:1.6rem; right:1.6rem;}
}
