/* ===========================
   Sub Page - LNB
   =========================== */
.sub_layout{ max-width:1350px; margin:0 auto; padding:30px 24px; display:grid; grid-template-columns:210px 1fr; gap:40px; }
.sub_layout > * { min-width: 0; }

/* LNB 박스 */
.lnb{ position:relative; }
.lnb_title{ display:flex; align-items:center; justify-content:center; height:130px; border-radius:16px; background:url(/ibuilder/template/theme_skin/theme128/images/sub/lnb_bg.jpg); color:#fff; font-size:3.4rem; font-weight:700; box-shadow:0 8px 18px rgba(0,0,0,.08); }
.lnb_nav{ margin-top:12px; }
.lnb_list{ display:flex; flex-direction:column; gap:10px; margin-top: 10px; }
.lnb_link{ display:flex; align-items:center; justify-content:space-between; height:46px; padding:0 16px; border-radius:10px; background:#f1f3f7; color:#2b3445; font-weight:600; border:1px solid #e5e7eb; transition:background .15s ease, box-shadow .15s ease, color .15s ease; }
.lnb_link:hover,
.lnb_link:focus{ background:#e8eefc;  }
.lnb_link.is-current,
.lnb_link[aria-current="page"]{ background:#1c3f8e; color:#fff; border-color:#1c3f8e; box-shadow:0 6px 14px rgba(28,63,142,.24); }
.lnb_link.is-current::after{ content:""; width:25px; height:11px; background:url(/ibuilder/template/theme_skin/theme128/images/sub/link_go.png);margin-left:8px; }
  
.sub_content_area{ min-height:200px; min-width: 0;}

/* ===== 상단 경로/제목 바 ===== */
.page_headbar{padding:18px 0 30px; margin-bottom:28px; border-bottom: 1px solid #c6c6c6;}
.page_path{ display:flex; align-items:center; gap:8px; font-size:1.4rem; color:#6b7280; }
.page_path a{ color:#6b7280; }
.page_path a:hover, .page_path a:focus{ text-decoration:underline; }
.path_home::before{ content:""; display:inline-block; width:14px; height:13px; margin-right:4px; background:url(/ibuilder/template/theme_skin/theme128/images/sub/icon_home.png) no-repeat center/contain; vertical-align:-2px; } 
.path_sep{ opacity:.6; }
  
.page_head_main{ margin-top:10px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.page_title{ font-size:2.8rem; font-weight:800; color:#111; letter-spacing:-.02em; }
.font_size_wrap{ display:flex; align-items:center; gap:10px; }
.fs_label{ font-size:1.3rem; color:#777; }
.fs_pill{ display:inline-flex; align-items:center; gap:12px; padding:4px 10px; border-radius:999px; background:#efefef; border:1px solid #e2e2e2; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.fs_btn{ width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#fff; border:1px solid #d9d9d9; font-size:18px; line-height:1; color:#333; box-shadow:0 1px 2px rgba(0,0,0,.06); transition:background .15s ease, transform .1s ease; }
.fs_btn:hover, .fs_btn:focus{ background:#f8f8f8; outline:0; }
.fs_btn:active{ transform:translateY(1px); }

.fs_base{ font-weight:700; font-size:14px; color:#333; }



.sub01_01con, .sub01_02con, .sub01_03con, .sub01_04con, .sub01_05con, .sub02_01con, .sub02_02con, .sub03_01con, .sub03_02con, .sub03_03con, .sub03_04con, .sub03_05con, .sub04_01con, .sub04_02con, .sub04_03con, .sub04_04con, .sub04_05con, .sub05_01con, .sub05_02con, .sub05_03con{padding:50px 0;}
/*학과소개*/
.dept_intro{ }
.dept_intro_grid{ display:grid;  grid-template-columns: minmax(0,1fr) 460px; gap:40px; align-items:start; }
.dept_label{ font-size: 1.8rem; color:#111111; letter-spacing:.06em; opacity: 0.7; }
.dept_title{ margin-top:6px; font-size: 4rem; color:#111; letter-spacing:-.02em; }
.dept_title span{font-weight: 600;}
.dept_lead{ margin-top:10px; color:#404b5a; line-height:1.8; font-size:1.7rem; }
.dept_section{ margin-top:-70px; }
.dept_section ~ .dept_section{margin-top: 50px;}
.dept_sec_tit{ position:relative; display:inline-block; font-size:2.4rem; font-weight:600; color:#006cd1; padding-top:15px; margin-bottom:12px; }
.dept_sec_tit::before{ content:""; position:absolute; top:0; left:0; width:40px; height:2px; background:#006cd1; }
.dept_list li{ color:#333; line-height:1.7; font-size: 1.7rem; }
.dept_list li~li{margin-top: 5px;}
.dept_intro_media{margin-top:50px; padding:0; border-radius:16px; overflow:hidden; box-shadow: 0 8px 20px rgba(0,0,0,.08); background:#e9eef6; }
.dept_intro_media img{ display:block; width:100%; height:100%; object-fit:cover; border-radius:16px; }
   /*학부/학과 테이블*/
.dept_table_wrap{ margin-top:24px; }
.dept_table{ width:100%; border-collapse:collapse; font-size:1.5rem; color:#333; table-layout: auto; }
.dept_table th,
.dept_table td{border:1px solid #e5e7eb; padding:14px 16px; text-align:left; line-height:1.6; vertical-align:top; }
.dept_table thead th{ background:#f9fafb; font-weight:700; color:#111; text-align:center; }
.dept_table td:first-child{ font-weight:700; color:#1c3f8e; width:220px;}
.dept_txt{margin-top: 20px; font-size: 1.5rem; color:#555555;}  

/*학과장 인사말*/
.greet_wrap{}
.greet_grid{ display:grid; grid-template-columns: minmax(0,1fr) 520px; gap:36px; align-items:start; }
.greet_text{margin-top: 30px;}
.greet_title{ font-size:3rem; line-height:1.4; color:#111; font-weight:700; margin-bottom:16px; }
.greet_title .greet_name{ font-weight:600; letter-spacing:-.02em; }
.greet_p{ font-size:1.7rem; line-height:1.9; color:#333; margin-top:14px; }
.greet_p:nth-of-type(1){margin-top: 30px;}
    /* 서명 */
.greet_sign{ margin-top:26px; text-align:right; color:#333; font-size:1.6rem; }
.greet_sign .sign_dept{ margin-right:8px; color:#222222; font-size: 1.7rem;}
.greet_sign .sign_name{ font-family: "Noto Serif KR", serif; font-weight:600; font-size: 3rem; vertical-align: baseline;}
.greet_sign .sign_tail{ margin-left:4px; color:#222222; font-size: 1.7rem; }
.greet_photo{height: 260px; margin:0; border-radius:20px; overflow:hidden; box-shadow:0 8px 20px rgba(0,0,0,.08); background:#eef2f7; }
.greet_photo img{display:block; width:100%; height:100%;object-fit:cover;border-radius:16px;}
/*20251022 수정*/
/* ===== Timeline ===== */
/* ===== 연혁 페이지 ===== */
.history_box { display: flex; align-items: center; gap: 40px;  box-sizing: border-box; }
.history_list { flex: 1; }
.history_list li + li { margin-top: 20px; }
.history_list li{display: flex; gap:20px; }
.his_year {display: inline-block;font-size: 2rem;color: #111;font-weight: 600;min-width: 100px;}
.his_text { font-size: 1.6rem; color: #333;  line-height: 1.8;}
.history_img { width: 450px; flex-shrink: 0; }
.history_img img { width: 100%; height: auto; border-radius: 12px; display: block; }
/*20251022 수정*/
/*졸업 후 진로*/
.gradu_box .gradu_grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px; }
.gradu_box .gradu_card{ display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 200px; padding: 28px; border-radius: 18px; background: #f3f7fc;           /* 시안 톤 */ border: 1px solid #e6ebf2; box-shadow: 0 12px 20px rgba(0,0,0,.06); }
  
  /* 아이콘 크기 */
  .gradu_box .gradu_icon{
    width: 96px; height: 96px;
    margin: 0 auto 12px;
    flex: 0 0 auto; 
  }
  .gradu_box .gradu_icon img{
    width: 100%; height: 100%; object-fit: contain; display: block;
  }
  .gradu_box .gradu_body{ display:flex; flex-direction:column; align-items:center; gap:10px; }
  .gradu_box .gradu_title{ font-size:1.6rem; color:#222; line-height:1.6; }  
  .gradu_box .gradu_btn{ height: 30px; padding: 0 14px; line-height: 30px; border-radius: 15px; background:#fff; color:#006cd1; border:1px solid #006cd1; font-weight:700; font-size:1.35rem; box-shadow:0 1px 2px rgba(0,0,0,.06); }
  .gradu_box .gradu_btn:hover,
  .gradu_box .gradu_btn:focus{ background:#1c3f8e; color:#fff; border-color:#1c3f8e; outline:0; }
  

/* ===== 위치 및 연락처 - 캠퍼스맵 ===== */
.loc_box{}
.loc_card{ background:#f6f8fb; border:1px solid #e5e7eb; border-radius:18px; box-shadow:0 10px 18px rgba(0,0,0,.06); }
.loc_top{ display:grid; grid-template-columns: 340px 1fr;  align-items:stretch; }
.loc_left{ display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; text-align:center; background:#f5f5f5; border:1px solid #e5e7eb; border-top-left-radius:20px; border-bottom-left-radius:20px; padding:40px; } 
.loc_pin{ width:128px; height:126px; margin-bottom:10px; background:url(/ibuilder/template/theme_skin/theme128/images/sub/icon_coll.png) no-repeat center/contain; display:inline-block; }
.loc_label{ font-size:2.8rem; color:#111; }
.loc_sub{ font-size:1.5rem; color:#a9a9a9; margin-top:15px; }
.loc_map{ margin:0; overflow:hidden; background:#e9eef6; border:1px solid #e5e7eb; padding:25px; border-top-right-radius:20px; border-bottom-right-radius:20px;}
.loc_map img{ display:block; width:100%; height:100%; object-fit:cover; }
.loc_legend{ margin-top:12px; display:grid; grid-template-columns: repeat(5, 1fr); gap:10px; margin-top: 20px;}
.loc_legend li{ display:flex; align-items:center; min-height:38px; }
.loc_no{ display:inline-flex; align-items:center; justify-content:center; min-width:36px; height:40px; color:#fff; background:#6a859e; border-radius:8px 0 0 8px; }
.loc_name{ flex:1; height:40px; display:flex; align-items:center; padding:0 12px; background:#fff; color:#222; border:1px solid #e5e7eb; border-left:0; border-radius:0 8px 8px 0; }

/* ===== 교수진 카드 (디자인 시안 매칭) ===== */
.prof_wrap{ margin-top: 10px;} 
.prof_grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:22px 26px; }
.prof_card{ display:grid; grid-template-columns: 150px 1fr; align-items:flex-start; gap:30px; padding:18px; border:1px solid #e6e8ef; border-radius:14px; background:#fff; box-shadow: 0 6px 14px rgba(0,0,0,.04); }

.prof_thumb{ width:160px; height:200px; border-radius:12px; background:#ededed; }
.prof_thumb img{ width:100%; height:100%; object-fit:cover; border-radius:12px; }
.prof_body{ min-width:0; }
.prof_head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; padding: 10px 0 20px 0; border-bottom: 1px solid #ccc;}
.prof_name{ font-size:2.4rem; font-weight:600; color:#111; line-height:1.1; }
.prof_role{ margin-left:6px; font-size:2rem; color:#222222; }
.prof_link{ display:inline-flex; align-items:center; justify-content:center; height:25px; padding:0 12px; border-radius:12.5px; background:#ffffff; color:#006cd1; font-weight:600; font-size:1.4rem; border:1px solid #006cd1; }
.prof_link:hover, .prof_link:focus-visible{ background:#eaf1ff; }

.prof_rows{ display:flex; flex-direction:column; gap:6px; margin-top: 20px; }
.prof_row{ display:flex; align-items:flex-start; gap:10px; line-height:1.5; }
.prof_chip{ display:inline-flex; align-items:center; justify-content:center; min-width:65px; height:25px; padding:0 8px; font-size:1.2rem; font-weight:700; letter-spacing:.02em; color:#fff; background:#6a859e; border-radius:12.5px; }
.prof_val{ font-size:1.6rem; color:#333333; word-break:keep-all; }

/*학과사무실*/
.office_box h4{font-size: 2rem; margin: 10px 0;}
.office_box .office_wrap ~ .office_wrap{margin-top: 50px;}

/* ===== 학과행사일정 (scoped) ===== */
.schd_wrap{ }
.schd_toolbar{ display:flex; align-items:center; justify-content:space-between; padding:14px 18px; border:1px solid #e5e7eb; background:#f7f8fb; }
.schd_left{ display:flex; align-items:center; gap:10px; }
.schd_year{ height:34px; padding:0 10px; border:1px solid #d1d5db; border-radius:6px; background:#fff; }
.schd_go{ height:34px; padding:0 12px; border-radius:6px; background:#222; color:#fff; }
.schd_mmnav{ margin-left:16px; display:flex; gap:6px; }
.schd_mmnav button{padding:0 10px; border-radius:6px; font-size:1.6rem; color:#444;}
.schd_mmnav button.is_now{ background:#1c3f8e; color:#fff; border-color:#1c3f8e; }
.schd_center{ display:flex; align-items:center; gap:12px; margin:0 auto; }
.schd_title{ font-size:2.0rem; font-weight:700; color:#111; letter-spacing:.02em; min-width:140px; text-align:center; }
.schd_prev, .schd_next{ width:28px; height:28px; border-radius:50%; border:1px solid #cfd6e3; background:#fff; position:relative; }
.schd_prev::before, .schd_next::before{ content:""; position:absolute; inset:0; margin:auto; width:8px; height:8px; border-right:2px solid #6b7280; border-bottom:2px solid #6b7280; transform:rotate(135deg); }
.schd_next::before{ transform:rotate(-45deg); }
.schd_body{ display:grid; grid-template-columns: 350px 1fr; gap:18px; padding:18px; }
.schd_calendar{ border:1px solid #e5e7eb; overflow:hidden; }
.schd_week{ display:grid; grid-template-columns:repeat(7, 1fr); }
.schd_head .cell{ text-align:center; background:#f1f3f7; border-right:1px solid #e5e7eb; padding:10px 0; font-weight:700; color:#2b3445; }
.schd_head .cell:last-child{ border-right:0; }
.schd_head .sun{ color:#e54949; }
.schd_head .sat{ color:#2571d2; }
.schd_grid{ display:grid; grid-template-columns:repeat(7, 1fr); }
.schd_cell{ min-height:56px; border-right:1px solid #e5e7eb; border-top:1px solid #e5e7eb; padding:8px; position:relative; background:#fff; }
.schd_cell:nth-child(7n){ border-right:0; } /* 토요일 끝선 제거 */
.schd_cell .dayno{ font-size:1.4rem; color:#111; }
.schd_cell.sun .dayno{ color:#e54949; }
.schd_cell.sat .dayno{ color:#2571d2; }
.schd_cell.hasEvt{ background:#f6faff; box-shadow: inset 0 0 0 2px #dbe7ff; }
.schd_cell .evt_dot{ position:absolute; left:8px; bottom:6px; display:inline-block; min-width:4px; min-height:4px; border-radius:50%; background:#1c3f8e; }
.schd_cell .evt_label{ display:block; margin-top:6px; font-size:1.2rem; color:#1c3f8e; }
.schd_cell.is_today{ outline:2px solid #1c3f8e; background:#eef4ff; outline-offset: -2px; }
.schd_list{ border:1px solid #e5e7eb; border-radius:10px; padding:12px; }
.event_list{ display:flex; flex-direction:column; gap:10px; }
.event_item{ display:flex; gap:30px; align-items:start; padding:12px;}
.event_item .evt_date{ color:#1c3f8e; font-weight:700; }
.event_item .evt_title{ color:#333; }
.event_item .evt_desc{ color:#555; font-size:1.4rem; }

/* =========================
   Photo Gallery – 시안 맞춤 오버라이드
   ========================= */

/* 그리드: 정확히 3열, 간격은 시안 톤 */
.photo_box { border-top: 1px solid #000; padding-top: 20px; }
.photo_box .gal_grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap: 40px 40px; }
.photo_box .gal_card{ display:flex; flex-direction:column; height:100%; border-radius:8px; background:#fff;}
.photo_box .gal_card:hover,
.photo_box .gal_card:focus-visible{ border-color:#cfd6e3; outline:0; }

.photo_box .gal_thumb{ width:100%; height:230px; background:#eef2f6; border-bottom:1px solid #eef2f6; overflow:hidden; border-radius: 10px; }
.photo_box .gal_thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo_box .gal_thumb.noimg{ background:#e6e9ef; }
.photo_box .gal_body{ padding:12px 10px; }
.photo_box .gal_subject{ font-size:1.7rem; color:#111; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; min-height:40px; }
.photo_box .gal_meta{ margin-top:8px; font-size:1.6rem; color:#6b7280; display:flex; align-items:center; gap:12px; }
.photo_box .gal_meta .gal_div{ opacity:.5; }

/* ===== Video Box (2열, 썸네일 + 분리된 텍스트) ===== */
.video_box { border-top: 1px solid #000; padding-top: 20px; }
.video_box .vid_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.video_box .vid_card { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; }
.video_box .vid_thumb { position: relative; width: 100%; height: 280px; background: #000; border-radius: 10px; overflow: hidden; }
.video_box .vid_thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video_box .vid_thumb:hover{ transform: scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.video_box .vid_body { background: #fff; border-top: 0; padding: 16px 0; }
.video_box .vid_subject { font-size: 1.7rem; font-weight: 600; color: #111; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 45px; }
.video_box .vid_meta { margin-top: 6px; font-size: 1.6rem; color: #6b7280; display: flex; align-items: center; gap: 8px; }
.video_box .vid_meta .vid_div { opacity: .5; }









   /* 반응형 */
@media (max-width:1400px){
  .schd_mmnav button{ padding:0 8px; font-size:1.4rem; height:30px; }
  .schd_toolbar{ flex-wrap: wrap; row-gap: 10px; padding: 12px 14px; }
  .schd_center{ width: 100%; justify-content: center; margin: 0; }
  .schd_title{ font-size:1.9rem; min-width:auto; }
  .schd_left{width: 100%; gap: 8px; flex-wrap: wrap; }
  .schd_year{ height:32px; padding:0 8px; }
  .schd_go{ height:32px; padding:0 10px; }
  .schd_mmnav{ width: 100%; margin-left: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; justify-content: center;}
  .history_box{display: block;}
  .history_img{margin-top: 20px;}
}
@media (max-width:1300px){
  .dept_section{ margin-top:0; }
}
  @media (max-width:1200px){
  .dept_intro_grid{ grid-template-columns: 1fr 360px; gap:24px; }
  .greet_grid{ grid-template-columns: minmax(0,1fr) 380px; }
  .loc_top{ grid-template-columns: 260px 1fr; }
  .prof_card{display: block;}
  .schd_mmnav button{ padding:0 8px; font-size:1.4rem; height:30px; }
  .photo_box .gal_grid{ grid-template-columns:repeat(2, 1fr); gap:20px; }
  .photo_box .gal_thumb{ height:200px; }
}
  @media (max-width:1024px){
    .lnb_box{display: none;}
    .sub_layout{ grid-template-columns:1fr; }
    .dept_intro_grid{ grid-template-columns: 1fr; }
    .dept_intro_media{ order: 2; max-width:520px; margin:20px 0;}
    .greet_grid{ grid-template-columns:1fr; }
    .greet_photo{ order:2; max-width:600px; margin:12px 0 0; }
    .loc_top{ grid-template-columns: 1fr; }
    .loc_left{ min-height:140px; }
    .loc_legend{ grid-template-columns: repeat(3, 1fr); }
    .prof_grid{ grid-template-columns:1fr; }
}
   @media (max-width:980px){
    .timeline_list{--ring: clamp(180px, 12vw, 10px); }
    .timeline_list{ grid-template-columns:1fr; gap:120px;}
    .timeline_item:not(:last-child)::after{transform: rotate(90deg); left:45%; top:107%}  
    .tl_desc{ width:80%; }
    .tl_core{gap:10px;}
    .gradu_box .gradu_grid{ grid-template-columns: 1fr; }
    .loc_left{padding:20px;}
    .loc_left{border-top-right-radius: 20px; border-bottom-left-radius: 0;}
    .loc_map{border-top-right-radius:0; border-bottom-left-radius:20px;}
    .schd_body{ grid-template-columns: 1fr; } 
}
    
@media (max-width:768px){
    .page_title{ font-size:2.2rem; }
    .fs_label{ font-size:1.2rem; }
    .fs_btn{ width:26px; height:26px; font-size:17px; }
    .fs_base{ font-size:13px; }
    .dept_table td:first-child{ width:140px; }
    .dept_table{ font-size:1.4rem; }
    .video_box .vid_grid { grid-template-columns: 1fr; gap: 20px; }
    .video_box .vid_thumb { height: 200px; }
}
@media (max-width:640px){
    .loc_legend{ grid-template-columns: repeat(2, 1fr); }
    .history_img{width: 100%;}
  }
   @media (max-width:560px){
    .dept_title,
    .greet_title{ font-size:2.0rem; }
    .dept_sec_tit,
    .greet_p{ font-size:1.5rem; }
    .sub01_01con, .sub01_02con, .sub01_03con, .sub01_04con, .sub01_05con, .sub02_01con, .sub02_02con, .sub03_01con, .sub03_02con, .sub03_03con, .sub03_04con, .sub03_05con,         
    .sub04_01con, .sub04_02con, .sub04_03con, .sub04_04con, .sub04_05con, .sub05_01con, .sub05_02con, .sub05_03con{padding:20px 0;}
    .greet_text{margin-top: 0;}
    .greet_photo{max-width: inherit; width: 100%;}
    .prof_card{ grid-template-columns:120px 1fr; padding:14px; }
    .event_item{display: block;}
    .event_item .evt_title{margin-top: 5px; padding-left: 10px;}
    .photo_box .gal_grid{ grid-template-columns:1fr; gap:16px; }
    .photo_box .gal_thumb{ height:250px; }
    .his_year{font-size: 1.5rem; min-width: 70px;}
    .his_text{font-size: 1.3rem;}
   }
   @media (max-width:450px){
    .quick_link_wrap{display: none;}
   }



