/* ==================================================
Sub Visual (상단 비주얼 공통)
================================================== */

.sub_visual { position: relative; height: 220px; display: flex; align-items: center; background-repeat: no-repeat; background-position: center center; background-size: cover; overflow: hidden; }
.sub_visual--community01 { background-image: url('../images/sub/sub_v1.jpg'); }
.sub_visual--community02 { background-image: url('../images/sub/sub_v2.jpg'); }
.sub_visual--community03 { background-image: url('../images/sub/sub_v3.jpg'); }
.sub_visual--community04 { background-image: url('../images/sub/sub_v7.jpg'); }
.sub_visual_title { text-align: center; font-size: 4rem; color: #ffffff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.sub_container {padding: 40px 0 80px;}

/* ==================================================
Sub Layout + LNB
================================================== */
.sub_layout { position: relative; display: flex; align-items: flex-start; gap: 40px; padding: 20px 0 80px; z-index: 1; }
    /* LNB 영역 */ 
.lnb { flex: 0 0 280px;}
.lnb_box { position: relative; border-radius: 26px; color: #000; z-index: 2;}
.lnb_title { font-size: 2.5rem;  background-color: #0084d9; color:#fff; text-align: center; padding:40px 50px; border-radius: 20px; margin-top: -100px; }
.lnb_depth2 { margin-top: 18px; overflow: hidden; }
.lnb_depth2 li + li { border-top: 1px solid rgba(255, 255, 255, 0.2); }  
.lnb_depth2 > li{ border-bottom: 1px solid #e5e5e5; }
.lnb_depth2 > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 1.5rem; color: rgba(255, 255, 255, 0.9); background-color: #fff; color: #444; }
.lnb_depth2 .is_active > a { background-color: #003c88; font-weight: 600; color:#fff; border-radius: 12px; }
.lnb_depth2 i { font-size: 1.8rem; }
.sub_content { flex: 1; background-color: #ffffff; }
.sub_page_head{display: flex; align-items: center; justify-content: space-between; padding-bottom: 35px; border-bottom:1px solid #dcdcdc;}
.sub_page_title { font-size: 2.4rem; font-weight: 600;}
.sub_page_title .sub_tit_line{position: relative; color:#444444;}
.sub_page_title .sub_tit_line::before{content:'|'; padding-right: 10px; margin-left: 10px; color:#dddddd; font-weight:100;}
.breadcrumb{display: flex; align-items: center; gap:20px;}
.breadcrumb li{display: inline-flex; align-items:center; justify-content:flex-start; flex-direction:row;}
.breadcrumb li:not(:last-child)::after {display:inline-flex; align-items: center; justify-content: flex-start; content: ''; margin-left:20px; width: 9px; height: 15px; background: url(../images/common/bread_right.png)no-repeat;}
.lnb_depth2 > li.is_active{border-bottom: 0;}
.lnb_depth2 > li.no-border-bottom {border-bottom: none;}
.lnb_depth2 > li.no-border-top { border-top: none !important; }

/* ---------------------------
   LNB 3depth 디자인
----------------------------*/
.lnb_depth3 { display: none; background: #f5f5f7; padding: 12px 20px 14px;}
.lnb_depth3 li + li { margin-top: 6px; }
.lnb_depth3 li a { position: relative; padding-left: 14px; font-size: 1.4rem; color: #555; display: block; }
.lnb_depth3 li a::before { content: "·"; position: absolute; left: 0; top: 0; font-size: 1.6rem; line-height: 1; color: #7d7d7d; }
.lnb_depth3 li.lnb3_active > a { color: #003c88; font-weight: 600; }
/* ==================================================
글자 크기 조절 영역
================================================== */
.font_ctrl { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; justify-content: flex-end; }
.font_btn_group { display: flex; align-items: center; gap: 6px; background-color: #f5f5f5; padding: 4px 10px; border-radius: 20px; border: 1px solid #ddd; }
.font_ctrl .font_label { font-size: 1.4rem; color: #444; }
.font_ctrl button { width: 28px; height: 28px; border: 1px solid #ccc; background: #fff; border-radius: 50%; font-size: 1.6rem; line-height: 26px; text-align: center; cursor: pointer; }
.font_ctrl .font_state { font-size: 1.4rem; color: #444; min-width: 36px; text-align: center; }  

/* ==================================================
게시판 상단 유틸 (총 게시물 / 검색)
================================================== */
.board_util{ display:flex; align-items:flex-end; justify-content:space-between; padding:40px 0 30px; }
.board_info{ font-size:1.4rem; color:#555; }
.board_info .info_total strong,
.board_info .info_page strong{ font-weight:700; }
.board_info .info_divider{ display:inline-block; margin:0 10px; color:#999; }
  /* 검색 폼 */
.board_search{ display:flex; align-items:center; }
.board_search .search_select { position: relative; display: inline-block; }
.board_search .search_select .select_display { width: 100px; height: 40px; padding: 0 34px 0 12px; border: 1px solid #ddd; border-radius: 4px 0 0 4px; background-color: #fff; font-size: 1.4rem; color: #333; text-align: left; cursor: pointer; }
.board_search .search_select::after { content: ""; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 10px; background: url(../images/common/icon_select.png) no-repeat; pointer-events: none; }
/* 옵션 리스트 박스 */
.board_search .search_select .select_list { position: absolute; left: 0; top: 100%; margin-top: 4px; width: 100%; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); list-style: none; padding: 4px 0; display: none; z-index: 10; }
.board_search .search_select .select_list li { padding: 8px 14px; font-size: 1.4rem; color: #333; cursor: pointer; }
.board_search .search_select .select_list li:hover { background-color: #f5f7fb; }
.board_search .search_select .select_list li[aria-selected="true"] { font-weight: 600; background-color: #eef3ff; }
  /* 검색어 입력 */
.board_search .search_input{margin-left: 10px;}
.board_search .search_input input{ height:40px; min-width:240px; padding:0 12px; border:1px solid #ddd; font-size:1.4rem; }
  /* 검색 버튼 */
.board_search .btn_search{ height:40px; padding:0 26px; border:none; border-radius:0 4px 4px 0; background:#333; color:#fff; font-size:1.4rem; cursor:pointer; }
.board_search .search_select select option{ padding: 10px 14px; font-size: 1.4rem; color: #333; }

/* ==================================================
영상 목록 보드
================================================== */
.video_board {padding:30px 0; border-radius: 8px; background-color: #ffffff; }
.video_board_feature { display: flex; align-items: stretch; border-radius: 8px; overflow: hidden; background-color: #f7f7f7; }
.video_feature_thumb { position: relative; flex: 0 0 610px; background-color: #000; border-radius: 0; }
.video_feature_thumb img { display: block; width: 100%; height: auto; }
.video_play_icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: url('../images/sub/icon_play_big.png') no-repeat center center; background-size: contain; }
.video_feature_info { flex: 1; padding: 22px 28px; background: transparent; display: flex; flex-direction: column; }
.video_badge { display: inline-flex; color:#377bbb; font-size: 1.2rem; background-color: #fff; font-size: 1.3rem; font-weight: 600; padding:4px 15px; max-width:150px; border-radius: 15px; text-align: center; border:1px solid #377bbb; justify-content: center;}
.video_feature_title { margin-top: 14px; font-size: 1.8rem; font-weight: 600; color: #222; }
.video_feature_desc { margin-top: 10px; font-size: 1.4rem; color: #555; line-height: 1.6; }
.video_feature_date { margin-top: auto; font-size: 1.3rem; color: #777; }
.video_board_list { margin-top: 24px; padding: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 24px; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; background: linear-gradient(#e5e5e5 0 0) center calc(50% + -5px) / 100% 1px no-repeat; }
.video_card { border: none; border-radius: 0; background-color: transparent; padding: 0; }
.video_thumb { position: relative; display: block; border-radius: 20px; overflow: hidden; background-color: #000; width: 330px; height: 210px; }
.video_thumb img {display: block; width: 100%; height: auto; }
.video_card .video_play_icon { width: 52px; height: 52px; }
.video_card_info { margin-top: 10px; }
.video_card_title { font-size: 1.4rem; color: #222; margin-bottom: 4px; font-weight: 600; }
.video_card_date { font-size: 1.3rem; color: #777; }

/* ==================================================
학생모니터링단
================================================== */
.sub02_01container{}
.blue_box{padding:30px; border-radius:20px; background-color: #f2f8ff; margin-top: 50px;}
.blue_inner { display: flex; align-items:center; gap: 40px; }
.blue_icon img { width: 143px; height: auto; display: block; }
.blue_text { flex: 1; }
.blue_title { font-size: 2.083rem; font-weight: 100; color: #22305c; margin-bottom: 10px; font-family: 'YeogiOttaeJalnanGothic';}
.blue_desc { font-size: 1.5rem; color: #444; line-height: 1.6; }
/* ==================================================
학생모니터링단 카드뉴스
================================================== */
.sub02_02container { margin-top: 20px; }
.card_box { padding: 30px 0; border-top: 2px solid #111111; border-bottom: 1px solid #e5e5e5; }
.card_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card_item { display: flex; flex-direction: column; }
.card_thumb { position: relative; display: block; overflow: hidden; border-radius: 20px; background-color: #000; border: 1px solid #e5e5e5; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04); height: 330px; }
.card_thumb img { display: block; width: 100%; height: 330px; object-fit: cover; }
.card_hover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); color: #ffffff; opacity: 0; transition: opacity 0.25s ease; }
.card_hover_icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #ffffff; font-size: 2.4rem; margin-bottom: 8px; }
.card_hover_text { font-size: 1.4rem; font-weight: 600; }
.card_thumb:hover .card_hover,
.card_thumb:focus-visible .card_hover { opacity: 1; }
.card_info { padding: 12px 2px 0; }
.card_title { font-size: 1.6rem; font-weight: 600; color: #222; margin-bottom: 4px; }
.card_date { font-size: 1.3rem; color: #777; }

  /*주요 역할 및 기능*/
.role_wrap { margin-top: 60px; }
.role_title { font-size: 2.083rem; font-weight: 600; margin-bottom: 24px; position: relative;}
.role_title::before{position: absolute; content: ''; width: 30px; height: 3px; background-color: #0084d9; top:-5px; left:0; border-radius: 1.5px;}
.role_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.role_card { background-color: #f8f9fc; border: 1px solid #e8ecf4; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.role_icon img { width: 80px; height: auto; display: block; margin:0 auto; }
.role_icon2 img { width: 80px; }
.role_card_title { font-size: 1.917rem; font-weight: 600; color: #0056a6; margin: 20px 0; text-align: center;}
.role_list { list-style: none; padding-left: 0; }
.role_list li { position: relative; padding-left: 14px; font-size: 1.4rem; color: #444; line-height: 1.55; margin-bottom: 6px; }
.role_list li::before { content: "•"; position: absolute; left: 0; top: 2px; font-size: 1.3rem; }
.role_flex2{display: flex; align-items: center; gap:50px; justify-content: center;}
.role_flex2 .role_card_title{text-align: left;}
.role_wide { grid-column: 1 / 3; }

/* ==================================================
SNS 홍보 서포터즈단
================================================== */
.sub02_03container{}
.sub02_03container .blue_desc{margin-top: 30px;}
.sub02_03container .blue_desc ~ .blue_desc {margin-top: 30px;}
.youtube_box { margin-top: 20px; }
.youtube_list { padding: 20px 0; border-top: 2px solid #111111; border-bottom: 1px solid #e5e5e5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; 
  background: 
    linear-gradient(#e5e5e5, #e5e5e5) 
    center calc(50% - 2px) / 100% 1px no-repeat;}
.youtube_item { display: flex; flex-direction: column; }
.youtube_thumb { display: block; position: relative; overflow: hidden; border-radius: 20px; background-color: #000; border: 1px solid #e5e5e5;
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;}
.youtube_thumb img { display: block; width: 100%; height: 360px; object-fit: cover;   transform: scale(1); transition: transform 0.4s ease;}
.youtube_thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.youtube_info { padding-top: 10px; }
.youtube_title { font-size: 1.5rem; font-weight: 600; color: #222; margin-bottom: 4px; }
.youtube_date { font-size: 1.3rem; color: #777; }

.youtube_thumb:hover,
.youtube_thumb:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
  border-color: #118ad6; 
}

.youtube_thumb:hover img,
.youtube_thumb:focus-visible img {
  transform: scale(1.06);
}

.youtube_thumb:hover::before,
.youtube_thumb:focus-visible::before {
  opacity: 1;
}



/* ==================================================
융합교육지원센터
================================================== */
.sub_grey_box{background-color: #f2f8ff; padding:40px; border-radius: 20px; margin-top: 50px;}
.sub_grey_box .grey_tit{font-family: 'YeogiOttaeJalnanGothic'; font-weight: 100; font-size: 2.083rem; color:#22305c;} 
.grey_section { display: flex; align-items: flex-start; gap: 40px; margin-top: 30px;}
.grey_section .grey_subtit { flex: 0 0 130px;}

.grey_section + .grey_section { margin-top: 28px; }
.grey_subtit { font-size: 1.9rem; font-weight:600; color: #0056a6;}
.grey_list { list-style: none; padding-left: 0; }
.grey_list li { position: relative; padding-left: 14px; font-size: 1.5rem; color: #444; line-height: 1.6; margin-bottom: 8px; }
.grey_list li::before { content: "•"; position: absolute; left: 0; top: -2px; color: #003c88; font-size: 1.6rem; }

/* ==================================================
프로그램 안내
================================================== */
.program_board_group {padding: 30px 0; border-bottom: 1px solid #dbdbdb;}
.program_card_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program_card { border: 1px solid #e5e5e5; border-radius: 20px; background-color: #fff; overflow: hidden; display: flex; flex-direction: column; min-height: 330px; }
.program_card_body { padding:30px; }
.program_card_category { display: inline-flex; flex-direction: column; font-size: 1.4rem; font-weight: 600; color: #ff7a22; margin-bottom: 14px; }
.program_card_category::after { content: ""; display: block; width:100%; height: 1px; margin-top: 4px; background-color: #ff7a22;}
.program_card_title { font-size: 1.6rem; font-weight: 600; color: #222; line-height: 1.6; margin-bottom: 14px; }
.program_card_info { list-style: none; }
.program_card_info li { display: flex; align-items: center; font-size: 1.4rem; color: #555; margin-top: 4px; }
.program_card_info li~li{margin-top: 7px;}
.program_card_info li:first-child { margin-top: 0; }
.program_card_info i {}
.program_card_info .icon_date{width: 16px; height: 16px; display: inline-block; background:url(../images/sub/icon_date.png)no-repeat; margin-right: 5px;}
.program_card_info .icon_write{width: 15px; height: 15px; display: inline-block; background:url(../images/sub/icon_write.png)no-repeat; margin-right: 5px;}
.program_card_info .info_label { font-weight: 600; margin-right: 4px; }
.program_card_info .info_text { color: #555; }
.program_card_footer {margin-top: auto; padding: 30px 22px; background-color: #f7f7f7; border-top: 1px dashed #dddddd; display: flex; justify-content: center; }
.program_card_btn {border-radius: 10px; font-size: 1.5rem; font-weight: 600; text-align: center; padding:15px 0; width: 270px;}
.program_card_btn--ing { border: 1px solid #118ad6; background-color: #118ad6; color: #fff; }
.program_card_btn--proceed{background-color:#fff; color: #118ad6; border:1px solid #118ad6;}
.program_card_btn--end {background-color: #d4d4d4; color:#333333;}

/* ==================================================
   공통 미디어 카드 (활동사진, 자료실, 기타)
================================================== */

.com_media_box { margin-top: 20px; }
.com_media_list { padding: 30px 0; border-top: 2px solid #111; border-bottom: 1px solid #e5e5e5; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.com_media_item { display: flex; flex-direction: column; }
.com_media_thumb { position: relative; overflow: hidden; border-radius: 20px; background-color: #000; border: 1px solid #e5e5e5; height: 260px; box-shadow: 0 6px 14px rgba(0,0,0,0.08); transition: transform 0.28s ease, box-shadow 0.28s ease; }
.com_media_thumb img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.com_media_hover { position: absolute; inset: 0; background: rgba(0,0,0,0.45); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.28s ease; }
.com_media_icon { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff; margin-bottom: 8px; }
.com_media_text { font-size: 1.4rem; color: #fff; font-weight: 600; }
.com_media_item:hover .com_media_hover,
.com_media_item:focus-visible .com_media_hover { opacity: 1; }
.com_media_item:hover .com_media_thumb { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,0.25); border-color: #118ad6; }
.com_media_item:hover img { transform: scale(1.06); }
.com_media_info { padding: 12px 2px 0; }
.com_media_title { font-size: 1.6rem; font-weight: 600; color: #222; margin-bottom: 4px; }
.com_media_date { font-size: 1.3rem; color: #777; }

/* ============================
   단장 인사말
============================ */
.sub04_01container{}
.greeting_wrap { display: flex; align-items: flex-start; gap: 50px; margin-top: 40px; }
.greeting_left { flex: 1; }
.greeting_right { flex: 0 0 300px; }
.greeting_right img { width: 100%; border-radius: 20px; display: block; }
.greeting_txt_top { font-size: 2.8rem; color: #222;  font-family: "Noto Serif KR", serif; font-weight: 200; display: block; }
.greeting_title { font-size: 2.8rem; font-weight: 700; margin-bottom: 40px; color: #000;  font-family: "Noto Serif KR", serif; }
.greeting_txt { font-size: 1.7rem; line-height: 1.7; color: #222; margin-bottom:20px; }
.greeting_txt:nth-of-type(3){font-size: 2rem; font-weight:600; }
.greeting_list { margin: 10px 0 22px 0; padding-left: 0; list-style: none; }
.greeting_list li { position: relative; padding-left: 26px; font-size: 2rem; color: #0084d9; margin-bottom: 10px; font-weight: 600; }
.greeting_list li::before { content: "✔"; position: absolute; left: 0; top: 0; color: #0084d9; font-size: 2rem; }
.greeting_from {  font-family: "Noto Serif KR", serif;  font-size: 2.2rem; font-weight: 700; margin-top: 30px; text-align: right; color: #222; }




/* ==================================================
대학혁신지원사업 사업비전 및 목표
================================================== */
.sub04_08container{}
.img_box{display: block; width: 100%; height: 100%; text-align: center; margin-top: 30px;}
.img_box img { display: inline-block; margin: 0 auto; max-width: 100%; height: auto; }




/* 반응형 조정 */
@media (max-width: 1400px) {
  .sub_layout {padding: 24px 20px 56px; }
}
@media (max-width: 1200px) {
  .program_card_list { grid-template-columns: repeat(2, 1fr); }
  .youtube_list { grid-template-columns: repeat(3, 1fr); background: none; }
  
}

@media (max-width: 1024px) {
  .sub_layout { flex-direction: column; gap:24px; padding: 24px 0 56px; }
  .lnb { flex: none; max-width: 100%; }
  .lnb_box { margin-top: -60px;}
  .sub_content { padding: 24px 20px 32px; display: block; width: 100%;} 
  .video_board_feature { flex-direction: column; }
  .video_feature_thumb { flex-basis: auto; }
  .video_board_list { grid-template-columns: repeat(2, 1fr); }
  .video_thumb{width: 100%;}
  .role_grid { grid-template-columns: repeat(2, 1fr); }
  .role_wide { grid-column: 1 / 3; }
  .card_list { grid-template-columns: repeat(2, 1fr); }
  .youtube_list { grid-template-columns: repeat(4, 1fr); }
  .youtube_thumb img{object-fit:contain;}
  .com_media_list { grid-template-columns: repeat(2, 1fr); }
  .greeting_right {display: none;}
}
@media (max-width: 768px) {
    .sub_visual { height: 200px; }
    .sub_visual_title { font-size: 2.4rem; }
    .sub_container { padding: 24px 0 48px; }
    .sub_layout { padding: 16px 0 40px; }
    .lnb_box { margin-top: -40px; padding: 22px 18px 14px; }
    .lnb_title { font-size: 1.9rem; }
    .lnb_depth2 a { font-size: 1.4rem; padding: 12px 16px; }
    .board_util{ flex-direction:column; align-items:flex-start; gap:10px; }
    .board_search{ width:100%; } 
    .board_search .search_input{ flex:1; } 
    .board_search .search_input input{ width:100%; }
    .video_board { padding: 20px 16px 24px; }
    .video_board_list { grid-template-columns: 1fr; }
    .video_feature_info { padding: 18px 16px; }
    .grey_section{display: block;}
    .program_card_list { grid-template-columns: 1fr; }
    .role_grid { grid-template-columns: 1fr; }
    .role_wide { grid-column: 1 / 2; }
    .role_flex2{display: block;}
    .role_icon2 img { margin:0 auto; display: block;}
    .role_flex2 .role_card_title{text-align: center;}
    .card_list { grid-template-columns: 1fr; }
    .youtube_list { grid-template-columns: repeat(3, 1fr); }
    .com_media_list { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .sub_page_head{display: block; padding-bottom:10px; }
  .breadcrumb{justify-content: flex-end; margin-top: 10px;}
  .blue_inner{display: block;}
  .blue_text{margin-top: 10px;}
}
@media (max-width: 475px) {
  .program_card{min-height: inherit;}
  .program_card_list{gap:15px;}
  .program_card_title{font-size: 1.4rem;}
  .program_card_info li{font-size: 1.2rem;}
  .youtube_list { grid-template-columns: repeat(2, 1fr); }
  .youtube_thumb img{object-fit:cover; height: 300px;}
  .card_thumb,
  .com_media_thumb { position: relative; aspect-ratio: 1 / 1; height: auto; }
  .card_thumb img,
  .com_media_thumb img { width: 100%; height: 100%; object-fit: cover; }
  .board_search .search_input input{min-width: inherit;}
  .breadcrumb{gap:10px;}
  .breadcrumb li a{font-size: 1.25rem;}
  .sub_grey_box{padding: 20px;}
}