/* ============================================================
   261014 제5차 과기인재 기본계획 반영 – 추가 스타일
   sub.css 하단(또는 "#tab_main_info" 관련 규칙 다음)에 추가
   기존 규칙은 수정하지 않음
   ============================================================ */

/* [개요] 목표 블록 – 윗줄(작게) + 아랫줄(강조) */
.block_ul.plan5_goal .point_block span{display:block; font-size:15px; opacity:0.85; margin-bottom:4px;}
.block_ul.plan5_goal .point_block strong{display:block; font-size:20px; font-weight:600; color:#9fd0ff;}

/* [개요] 추진전략 3개 – 전략별 가로 1행 (block_1) + 클릭 영역 */
.block_ul.plan5_str{flex-direction:column;}
.block_ul.plan5_str > li:nth-child(n+2){margin-top:20px;}
.block_ul.plan5_str a.block_li_a{display:block; width:100%;}
.block_ul.plan5_str a.block_li_a:hover .point_block,
.block_ul.plan5_str a.block_li_a:focus .point_block{background:linear-gradient(315deg, rgb(244, 162, 97), rgb(146, 80, 172), rgb(77, 23, 227)) !important;}
.block_ul.plan5_str .num_block .num{font-size:20px; white-space:nowrap; padding-right:14px; margin-right:14px; border-right:1px solid rgba(255,255,255,0.35);}
.block_ul.plan5_str .num_block .txt{font-size:20px; font-weight:600;}

/* [개요] 세부과제 목록 – 번호 배지 (chk_ul 체크표시 대신) */
.basic_block .chk_ul.plan5_task{display:flex; flex-wrap:wrap; gap:12px 30px; padding-left:0;}
.basic_block .chk_ul.plan5_task > li{position:relative; padding-left:34px; margin-top:0; font-weight:500;}
.basic_block .chk_ul.plan5_task > li:before{display:none;}
.chk_ul.plan5_task .t_num{position:absolute; left:0; top:1px; width:24px; height:24px; line-height:24px; text-align:center; background:#181d68; color:#fff; font-size:14px; font-weight:600; font-style:normal; border-radius:4px;}
.chk_ul.plan5_task.col3 > li{width:calc((100% - 60px) / 3);}
.chk_ul.plan5_task.col2 > li{width:calc((100% - 30px) / 2);}
.chk_ul.plan5_task.rows > li{width:100%; display:flex; align-items:flex-start;}
.chk_ul.plan5_task.rows > li > strong{width:340px; flex-shrink:0; font-weight:600;}
.chk_ul.plan5_task.rows > li .dot_ul{display:flex; flex:1 1 auto; gap:0 30px; padding-left:13px; font-weight:400;}
.chk_ul.plan5_task.rows .dot_ul > li{width:50%; margin-top:0; font-size:16px; padding-left:0;}
.basic_block .chk_ul.plan5_task .dot_ul > li:before{content:" "; display:block; position:absolute; width:4px; height:4px; border:0; background:#7c84ff; border-radius:10px; left:-13px; top:11px; transform:none;}
.chk_ul.plan5_task b{font-weight:600; color:#181d68;}

/* [팝업] 발표자료 이미지형 레이어 */
.policy_layer.policy_layer_img h3{padding-right:60px;}
.policy_layer_img .plan5_pop{display:flex; flex-direction:column; margin-top:20px; height:calc(100% - 55px);}
.plan5_pop_tab{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:15px; flex-shrink:0;}
.plan5_pop_tab li{display:block;}
.plan5_pop_tab a{display:block; padding:7px 18px; border:2px solid #181d68; border-radius:30px; background:#fff; color:#181d68; font-size:16px; font-weight:500; line-height:1.4; word-break:keep-all;}
.plan5_pop_tab a .num{display:inline-block; margin-right:8px; font-weight:600;}
.plan5_pop_tab a.on, .plan5_pop_tab a:hover, .plan5_pop_tab a:focus{background:#181d68; color:#fff;}
.plan5_pop_tab a.on .num, .plan5_pop_tab a:hover .num, .plan5_pop_tab a:focus .num{color:#ffd84f;}
.plan5_pop_img{flex:1 1 auto; min-height:0; text-align:center; border-radius:15px; overflow:hidden; background:#fff; box-shadow:0px 0px 20px 0px rgba(0,0,0,0.1);}
.plan5_pop_img img{max-width:100%; max-height:100%; width:auto; height:auto; vertical-align:top;}

/* [자료 다운로드] 차수별 우측 버튼 위치
   – 기존 :first-child(-290px) 규칙이 제5차(1행)에 적용되므로 차수별 클래스로 분리 */
.tab_dataDL .board_list .list_over.plan5 > div.btn_box{margin-top:-50px;}
.tab_dataDL .board_list .list_over.plan4 > div.btn_box{margin-top:-290px;}
/* [숨김 261022] 제5차 2026 시행계획(ul) 숨김 시 제목 1줄만 남아 -50px가 과도 → 제목 높이에 맞춰 보정.
   JSP <li>의 plan5_curhide 클래스와 한 쌍. 블록 복구 시 클래스 제거하면 위 -50px(2줄용)로 복귀 */
.tab_dataDL .board_list .list_over.plan5.plan5_curhide > div.btn_box{margin-top:0;}

/* 반응형 (mobile.css 의 .policy_layer 95% 축소와 함께 동작) */
@media only screen and (max-width:1280px){
	.plan5_pop_tab a{font-size:14px; padding:6px 12px;}
}
@media only screen and (max-width:900px){
	.block_ul.plan5_str > li:nth-child(n+2){margin-top:15px;}
	.block_ul.plan5_str .num_block .num{font-size:17px;}
	.block_ul.plan5_str .num_block .txt{font-size:17px;}
	.chk_ul.plan5_task.col3 > li, .chk_ul.plan5_task.col2 > li{width:100%;}
	.chk_ul.plan5_task.rows > li{display:block;}
	.chk_ul.plan5_task.rows > li > strong{width:auto; display:block; margin-bottom:4px;}
	.chk_ul.plan5_task.rows > li .dot_ul{display:block;}
	.chk_ul.plan5_task.rows .dot_ul > li{width:100%;}
	.plan5_pop_tab a .num{margin-right:4px;}
	.tab_dataDL .board_list .list_over.plan5 > div.btn_box,
	.tab_dataDL .board_list .list_over.plan4 > div.btn_box{margin-top:0;}
}
