/* (기존 내용 보존) sdfsdfsdfsdf sdftertert dhfghjfgh vdfghfgh */

/* ============================================================
   서브페이지 글자 크기 통일 (기준: 산학협력프로젝트 /page/industry)
   - 표 본문(td, 행 제목 th) = var(--text-18)
   - 표 머리글(thead th)     = var(--text-20)
   크기(font-size)만 보정하며 폭·간격·배치는 건드리지 않음
   ============================================================ */

/* 참여기관 (participation) */
.part_table th{font-size:var(--text-20);}
.part_table td{font-size:var(--text-18);}
.part_table td:empty{height:calc(var(--text-18) * 1.4 + var(--row-gap10) * 2);}

/* 예비입학생교육(pre-admission) · 인턴십(internship) */
.intern_table th,.intern_table td{font-size:var(--text-18);}
.intern_table thead th{font-size:var(--text-20);}
.intern_table.basic_weeks tbody th{font-size:var(--text-18);}
.intern_table.intern_plan thead tr:last-child th{font-size:var(--text-20);}
.intern_table.intern_credit tbody th,
.intern_table.intern_credit td{font-size:var(--text-18);}
.intern_table .intern_dot li{font-size:var(--text-18);}

/* AI-SAINT (ai-saint) */
.saint_table th,.saint_table td{font-size:var(--text-18);}
.saint_table thead th{font-size:var(--text-20);}

/* 인사말 (greeting) - 우측 본문 */
.greeting_text p{font-size:var(--text-20);}
.greeting_text br.for_pc{display:none;}

/* ============================================================
   [A안] 서브페이지 글자 크기 통일 2차
   소제목(h4급) = 22px(var(--text-24)) / 제목 아래 설명문 = 21px(var(--text-21))
   크기만 보정, 폭·간격·배치는 그대로
   ============================================================ */

/* 소제목 (h4급) */
.intern_head,
.basic_head,
.intern_box h4,
.part_group_tit,
.conv_bar,
.coop_term h4{font-size:var(--text-24);}

/* 제목 아래 설명문 (리드 문장) */
.intern_lead,
.goal_intro_desc,
.talent_intro_desc,
.lms_lead,
.part_desc{font-size:var(--text-21);}

/* ------------------------------------------------------------
   본문 18px(var(--text-20)) - 1차 적용: 연혁, 오시는길 (표 안 글자는 제외)
   ------------------------------------------------------------ */
.history_item .bullet-list li{font-size:var(--text-20);}
.loc_txt{font-size:var(--text-20);}
.loc_note,
.loc_note_list li{font-size:var(--text-20);}

/* ============================================================
   2026-10-28 고객 수정요청(1028_수정) 반영
   (원본: dp_bak_20261028/ 에 백업)
   ============================================================ */

/* [메인] 3번째 슬라이드 강의실 사진 기울기 보정
   사진이 반시계로 약 1.8도 기울어 있어 시계 방향으로 돌리고, 모서리 빈틈이 안 보이게 살짝 확대 */
.hero-bg img[src*="4bbeddb87c854e3c5c90"]{transform:rotate(1.8deg) scale(1.08);transform-origin:50% 50%;}

/* [GNB] 2차 메뉴 - 빨간 배경 대신 흰 배경 + 작은 점, 마우스 올리면 연한 분홍 */
#header .gnb .dep02{padding:12px 0;background:var(--point-white);border:1px solid rgba(0,0,0,.08);box-shadow:0 12px 28px rgba(0,0,0,.12);}
#header .gnb .dep02 > li > a{position:relative;padding:10px 26px 10px 38px;color:var(--black-color03);transition:background-color .2s ease, color .2s ease;}
#header .gnb .dep02 > li > a::before{content:"";position:absolute;left:24px;top:50%;width:4px;height:4px;margin-top:-2px;border-radius:50%;background:var(--black-color05);transition:background-color .2s ease;}
#header .gnb .dep02 > li.on > a{background:var(--point-color06);color:var(--point-color03);}
#header .gnb .dep02 > li.on > a::before{background:var(--point-color03);}
@media (hover:hover) and (pointer: fine){
    #header .gnb .dep02 > li > a:hover,
    #header .gnb .dep02 > li > a:focus-visible{background:var(--point-color06);color:var(--point-color03);}
    #header .gnb .dep02 > li > a:hover::before,
    #header .gnb .dep02 > li > a:focus-visible::before{background:var(--point-color03);}
}

/* [서브 내비] (홈 > 1차 > 2차) 글자 약 1.5pt 키움 */
.sub_nav .desc dd span{font-size:var(--text-19);}
.sub_nav .desc dd ul li a{font-size:var(--text-20);}

/* [푸터] IITP 로고 - 글자 높이를 과기정통부 로고와 맞춤(약 1.5px 위로) */
.ft_logo img[src*="3c01ca29616f354f8cbf"]{padding-top:calc(var(--row-gap10) - 1.5px);padding-bottom:calc(var(--row-gap10) + 1.5px);}

/* [인사말] aiboot.ssu.ac.kr/page/about 형식: 왼쪽 세로 사진(380px, 비율 0.79) + 오른쪽 인사 제목·본문·서명
   (인사 제목 greeting_lead 를 오른쪽 칸 맨 위로 옮김 — greeting.html) */
.greeting_body{gap:clamp(40px, 5vw, 60px);}
.greeting_photo{width:clamp(280px, 30vw, 380px);max-width:none;aspect-ratio:.79;background:#eef0f3;}
.greeting_photo img{object-position:50% 15% !important;}
.greeting_content{gap:var(--row-gap30);}
.greeting_content .greeting_lead{display:block;margin:0;text-align:left;}
.greeting_content .greeting_lead p{font-size:var(--text-30);font-weight:300;line-height:1.4;letter-spacing:-.03em;color:var(--black-color01);}
.greeting_content .greeting_lead p strong{font-weight:600;color:var(--point-color03);}
.greeting_text{gap:20px;}
.greeting_text p{line-height:1.7;}
/* [인사말] 1103 요청: PC 넓은 화면에서만 지정 위치 줄바꿈, 그 외 자연 줄바꿈(단어 단위) */
.greeting_text p{word-break:keep-all;}
.greeting_text br.gt_br{display:none;}
@media (min-width:1400px){
    .greeting_text br.gt_br{display:inline;}
}
@media (max-width:860px){
    .greeting_photo{width:100%;max-width:380px;}
}

/* [인재상] 1104 요청: 원은 예전처럼 테두리(링)형(색 테두리·흰 배경·색 글자), 크기는 현재 유지,
   글자 배치는 전원 영문 위·국문 아래로 통일. 라벨 위치는 R·N 만 원 위, 나머지(S·P·A·T·A)는 원 아래 */
.talent_node_s{--tc:#d9232d;}
.talent_node_p{--tc:#ec6810;}
.talent_node_a1{--tc:#f3b200;}
.talent_node_r{--tc:#7cb82f;}
.talent_node_t{--tc:#166eb8;}
.talent_node_a2{--tc:#0b2f83;}
.talent_node_n{--tc:#7a318b;}
.talent_node{--ms:clamp(52px, 4.8vw, 64px);} /* 1109 요청: 원 크기 축소(84→70→64) */
.talent_node_mark{width:var(--ms);height:var(--ms);border:3px solid var(--tc);background:var(--point-white);color:var(--tc);box-shadow:0 0 0 8px var(--point-white);font-size:calc(var(--ms) * .46);font-weight:700;line-height:1;}
.talent_node_txt{gap:2px;}
.talent_node_txt em{font-size:var(--text-20);font-weight:600;letter-spacing:0;color:var(--tc);} /* 1103 요청: 영문을 원 색상으로, 2~3pt 확대 */
.talent_node_txt > span{font-size:var(--text-18);font-weight:700;color:var(--black-color02);}
@media (min-width:1024px){
    .talent_map_wrap{max-width:820px;padding-block:36px;}
    .talent_map{max-width:760px;}
    .talent_node{gap:12px;}
    .talent_node_s,.talent_node_p,.talent_node_a1,.talent_node_t,.talent_node_a2{flex-direction:column;transform:translate(-50%, calc(var(--ms) * -.5));}
    .talent_node_s .talent_node_txt,.talent_node_p .talent_node_txt,.talent_node_a1 .talent_node_txt,.talent_node_t .talent_node_txt,.talent_node_a2 .talent_node_txt{flex-direction:column;}
    .talent_node_r,.talent_node_n{flex-direction:column-reverse;transform:translate(-50%, calc(-100% + var(--ms) * .5));}
    .talent_node_r .talent_node_txt,.talent_node_n .talent_node_txt{flex-direction:column;}
}
@media (max-width:1023px){
    .talent_node{--ms:48px;}
    .talent_node_mark{box-shadow:none;}
}

/* [예비입학생] 소제목과 표 사이 간격이 겹쳐 넓던 것 정리 */
#container.pre-admission .basic_section{gap:0;}

/* [전교생] 교양필수 통합 표(교과목군 | 과목명 | 학점 | 수강학기) */
.basic_req_table thead th:nth-child(1){width:22%;}
.basic_req_table thead th:nth-child(3){width:12%;}
.basic_req_table thead th:nth-child(4){width:20%;}
.basic_req_table .basic_name{background:var(--point-white);}
/* [전교생] 교양선택 표도 AI가치확산처럼 붉은색 제거(순번 빨간 글자·테두리, 과목명 분홍 배경 → 회색) */
.basic_opttable .basic_no{border-color:var(--black-color05);color:var(--black-color02);}
.basic_opttable .basic_name{background:#f7f7f7;}

/* [AI가치확산] 기대효과 열 삭제에 따른 열 폭 + 대상 칸 회색 */
.val_table thead th:nth-child(1){width:11%;}
.val_table thead th:nth-child(2){width:22%;}
.val_table thead th:nth-child(3){width:auto;}
.val_table thead th:nth-child(4){width:20%;}
.val_table .basic_tag{background:#e9e9e9;border-color:var(--black-color05);color:var(--black-color02);}
.val_table .basic_name{background:#f7f7f7;}

/* [푸터] 모바일(640px 이하): 로고 3개를 한 줄로 - 화면 폭에 맞춰 크기 조절 */
@media (max-width:640px){
    .ft_logo{flex-wrap:nowrap;gap:8px;}
    .ft_logo img{height:calc(min(20px, 7.2vw - 7px) + 16px);padding:8px 10px;}
    .ft_logo img[src*="3c01ca29616f354f8cbf"]{padding:6.5px 10px 9.5px;}
}

/* [게시판 목록] 모바일(520px 이하): 번호·분류 칸을 숨길 때 col 도 함께 빼서
   제목이 폭 0 칸으로 밀려 안 보이던 문제 수정 */
@media (max-width:520px){
    .bd_table col.c_no,.bd_table col.c_cate{display:none;}
    .bd_table th:not(.t_no):not(.t_cate):not(.t_date):not(.t_state){white-space:nowrap;}
}

/* [푸터] 모바일(768px 이하): 화면 아래 고정 TOP 버튼(47px + 아래 15px)이
   페이지 끝에서 푸터 로고를 가리지 않도록 푸터 아래 여백 확보 */
@media (max-width:768px){
    #footer{padding-bottom:80px;}
}

/* [메인 교육프로그램] 카드 열림 효과를 부드럽게 (PC 1024px 이상)
   - 폭: 처음부터 빠르게 튀는 곡선 → 천천히 출발해 부드럽게 멈추는 곡선, 0.9초
   - 어두운 덮개: 단색↔그라데이션이 한 번에 바뀌던 것 → 두 겹을 겹쳐 서서히 전환
   - 세로/가로 태그·제목 위치: 한 번에 튀던 것 → 잠깐 사라졌다가 새 자리에서 서서히 나타남
   - 설명·자세히보기: 카드가 거의 열린 뒤 아래에서 떠오르듯 나타남 */
@media (min-width:1024px){
    .edu-acc-item{transition:flex-grow .9s cubic-bezier(.45,.05,.2,1), opacity .6s ease, transform .6s ease;}
    .edu-acc-bg{transition:transform 1.4s cubic-bezier(.22,1,.36,1);}
    .edu-acc-item::after{background:rgba(17,17,17,.6);transition:opacity .9s ease;}
    .edu-acc-item::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg, rgba(17,17,17,.85) 0%, rgba(17,17,17,.15) 55%, rgba(17,17,17,.35) 100%);opacity:0;transition:opacity .9s ease;}
    .edu-acc-item.is-active::after{background:rgba(17,17,17,.6);opacity:0;}
    .edu-acc-item.is-active::before{opacity:1;}
    .edu-acc-item.is-active .edu-acc-bg{transform:scale(1.05);}
    .edu-acc-tag,.edu-acc-title{animation:eduAccFade .8s ease both;}
    .edu-acc-item.is-active .edu-acc-tag,.edu-acc-item.is-active .edu-acc-title{animation:eduAccFadeOn .9s ease both;}
    .edu-acc-title{transition:font-size .6s cubic-bezier(.45,.05,.2,1), margin .6s ease;}
    .edu-acc-reveal{transition:opacity .25s ease, transform .3s ease, max-height .3s ease;}
    .edu-acc-item.is-active .edu-acc-reveal{transition:opacity .6s ease .45s, transform .7s cubic-bezier(.22,1,.36,1) .45s, max-height .6s ease .3s;}
}
@keyframes eduAccFade{0%,25%{opacity:0;transform:translateY(6px);}100%{opacity:1;transform:none;}}
@keyframes eduAccFadeOn{0%,30%{opacity:0;transform:translateY(8px);}100%{opacity:1;transform:none;}}
@media (prefers-reduced-motion: reduce){
    .edu-acc-tag,.edu-acc-title,.edu-acc-item.is-active .edu-acc-tag,.edu-acc-item.is-active .edu-acc-title{animation:none !important;}
    .edu-acc-item::before,.edu-acc-item::after,.edu-acc-bg,.edu-acc-reveal{transition:none !important;}
}

/* [메인 교육프로그램] 등장 효과(AOS) CSS 가 transition 을 opacity,transform 으로 덮어써
   카드 폭(flex-grow)이 애니메이션 없이 순간 전환되던 문제 — 우선순위 높여 재지정 */
@media (min-width:1024px){
    #eduAccordion > .edu-acc-item[data-aos]{
        transition-property:flex-grow, opacity, transform;
        transition-duration:.9s, .6s, .6s;
        transition-timing-function:cubic-bezier(.45,.05,.2,1), ease, ease;
        transition-delay:0s;
        will-change:flex-grow;
    }
}

/* [메인 교육프로그램] 끊김 보정 2차 (PC 1024px 이상)
   - 이전 깜빡임 애니메이션 제거 → 글자는 살짝 사라졌다(0.15초) 새 배치에서 다시 나타남(is-swap)
   - 글자 배치(세로↔가로 태그, 가운데↔왼쪽 제목, 제목 크기)는 is-open 에서만 바뀜(main.js)
   - 배경 사진은 카드 폭에 맞춰 매 프레임 늘였다 줄이지 않고, 고정 폭 사진을 가운데 기준으로 드러냄
   - 설명 글은 넓어지는 동안 줄바꿈이 계속 바뀌지 않게 고정(1280px 이상) */
@media (min-width:1024px){
    #eduAccordion .edu-acc-tag,#eduAccordion .edu-acc-title{animation:none;transition:opacity .4s ease;}
    #eduAccordion .edu-acc-item.is-swap .edu-acc-tag,#eduAccordion .edu-acc-item.is-swap .edu-acc-title,#eduAccordion .edu-acc-item.is-swap .edu-acc-reveal{opacity:0;transition:opacity .15s ease;}
    #eduAccordion .edu-acc-item.is-active:not(.is-open) .edu-acc-tag{writing-mode:vertical-rl;}
    #eduAccordion .edu-acc-item.is-active:not(.is-open) .edu-acc-content{align-items:center;padding:var(--row-gap30);text-align:center;}
    #eduAccordion .edu-acc-item.is-active:not(.is-open) .edu-acc-title{font-size:var(--text-30);margin-bottom:var(--row-gap15);}
    #eduAccordion .edu-acc-item.is-active:not(.is-open) .edu-acc-reveal{max-height:0;opacity:0;transform:translateY(12px);}
    #eduAccordion .edu-acc-item.is-open:not(.is-active) .edu-acc-tag{writing-mode:horizontal-tb;}
    #eduAccordion .edu-acc-item.is-open:not(.is-active) .edu-acc-content{align-items:flex-start;padding:var(--row-gap45);text-align:left;}
    #eduAccordion .edu-acc-item.is-open:not(.is-active) .edu-acc-title{font-size:var(--text-42);margin-bottom:var(--row-gap10);}
    #eduAccordion .edu-acc-item.is-active.is-open .edu-acc-reveal{transition:opacity .6s ease .25s, transform .7s cubic-bezier(.22,1,.36,1) .25s, max-height .5s ease .1s;}
    #eduAccordion .edu-acc-bg img{width:max(100%, 760px) !important;left:50%;right:auto;transform:translateX(-50%);}
}
@media (min-width:1280px){
    #eduAccordion .edu-acc-desc{white-space:nowrap;}
}

/* [메인 교육프로그램] 끊김 보정 3차 (PC 1024px 이상) — 상태를 data-acc 속성으로 (main.js)
   Tailwind CDN 이 class 변경마다 CSS 를 다시 만들던 것을 피함. 카드 안 다시 그리기 범위 제한,
   배경 사진은 고정 폭(Tailwind 의 img max-width:100% 도 해제)으로 늘였다 줄이지 않음 */
@media (min-width:1024px){
    #eduAccordion > .edu-acc-item{contain:layout paint;}
    #eduAccordion > .edu-acc-item[data-acc~="active"]{flex-grow:3.4;}
    #eduAccordion > .edu-acc-item[data-acc~="active"]::after{opacity:0;}
    #eduAccordion > .edu-acc-item[data-acc~="active"]::before{opacity:1;}
    #eduAccordion > .edu-acc-item[data-acc~="active"] .edu-acc-bg{transform:scale(1.05);}
    #eduAccordion > .edu-acc-item[data-acc~="open"] .edu-acc-tag{writing-mode:horizontal-tb;}
    #eduAccordion > .edu-acc-item[data-acc~="open"] .edu-acc-content{align-items:flex-start;justify-content:flex-end;padding:var(--row-gap45);text-align:left;}
    #eduAccordion > .edu-acc-item[data-acc~="open"] .edu-acc-title{font-size:var(--text-42);margin-bottom:var(--row-gap10);}
    #eduAccordion > .edu-acc-item[data-acc~="open"] .edu-acc-reveal{max-height:240px;opacity:1;transform:translateY(0);transition:opacity .6s ease .25s, transform .7s cubic-bezier(.22,1,.36,1) .25s, max-height .5s ease .1s;}
    #eduAccordion > .edu-acc-item[data-acc~="swap"] .edu-acc-tag,#eduAccordion > .edu-acc-item[data-acc~="swap"] .edu-acc-title,#eduAccordion > .edu-acc-item[data-acc~="swap"] .edu-acc-reveal{opacity:0;transition:opacity .15s ease;}
    #eduAccordion .edu-acc-bg img{max-width:none !important;width:max(100%, 760px) !important;will-change:transform;}
}

/* [표 통일] 전교생·AI가치확산 표(basic_table)를 예비입학생 표(intern_table) 모양으로:
   연회색 얇은 선 + 둥근 바깥 테두리, 머리글 20px/600, 본문 18px, 글자색·여백 동일 */
.basic_table{border-collapse:separate;border-spacing:0;border:1px solid var(--border-color01);border-radius:var(--radius-10);overflow:hidden;}
.basic_table th,.basic_table td{padding:var(--row-gap10) var(--row-gap20);border:0;border-right:1px solid var(--border-color01);border-bottom:1px solid var(--border-color01);background:var(--point-white);font-size:var(--text-18);font-weight:400;line-height:1.4;letter-spacing:-.03em;color:var(--black-color06);}
.basic_table tr > :last-child{border-right:0;}
.basic_table thead th{background:var(--border-color03);font-size:var(--text-20);font-weight:600;color:var(--black-color03);}
.basic_table tbody th{font-weight:600;color:var(--black-color03);}
.basic_table tbody tr:last-child > *,
.basic_table tbody tr:nth-last-child(2) > [rowspan="2"],
.basic_table tbody tr:nth-last-child(3) > [rowspan="3"],
.basic_table tbody tr:nth-last-child(4) > [rowspan="4"],
.basic_table tbody tr:nth-last-child(5) > [rowspan="5"],
.basic_table tbody tr:nth-last-child(6) > [rowspan="6"],
.basic_table tbody tr:nth-last-child(7) > [rowspan="7"]{border-bottom:0;}
.basic_table .basic_tag,.basic_table .basic_group,.basic_table .basic_name,.basic_table .basic_no{border-color:var(--border-color01);background:var(--point-white);font-size:var(--text-18);font-weight:600;color:var(--black-color03);}
.basic_table .basic_name{font-weight:500;}
.val_table tbody tr > td:last-child:not([rowspan]){border-right:1px solid var(--border-color01);}
.val_table .basic_tag{background:var(--border-color03);border-color:var(--border-color01);}

/* [연혁] 1103 요청: 2025 마지막 항목 PC에서 한 줄 표시 */
@media (min-width:1440px){
    .history_item .bullet-list li.history_oneline{white-space:nowrap;letter-spacing:-.05em;}
}

/* [교육목표] 1103 요청: 5단 카드일 때 01·02 카드 지정 줄바꿈 */
.goal_strategy_card_desc{word-break:keep-all;}
.goal_strategy_card_desc br.goal_br{display:none;}
@media (min-width:1400px){
    .goal_strategy_card_desc br.goal_br{display:inline;}
}

/* [인턴십] 1103 요청: 운영방안 표 보조 문구 들여쓰기·위아래 간격을 글머리 항목과 맞춤 */
.intern_table td p{margin-top:0;padding-left:.8em;line-height:1.6;}
.intern_table td p.intern_sub{padding-left:1.7em;text-indent:-.9em;}

/* [AI융합교육] 목표 문구를 위 「AI융합교육 추진전략」 막대와 같은 가운데로 (왼쪽 목표 칸 폭만큼 보정) */
@media (min-width:641px){
    .conv_g1 .conv_goal{padding-right:calc(var(--conv-label) + var(--col-gap20) + 12px);}
}

/* 1109 요청: 하단 기관 로고 링크 */
.ft_logo a{display:block;}
/* 1109 요청: 인재상 제목을 로고 아래에서 카드 위쪽 가운데로 이동 */
.talent_card{flex-wrap:wrap;row-gap:var(--row-gap20);}
.talent_card_head{flex:0 0 100%;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;}
.talent_card_head strong{font-size:var(--text-24);font-weight:700;line-height:1.4;letter-spacing:-.03em;color:var(--point-color03);}
.talent_card_head span{font-size:var(--text-18);font-weight:500;line-height:1.5;color:var(--black-color05);}
/* 1110 요청: 참여기관 표 연번 열 삭제(유형·기관명 2열) */
.part_table_nonum th:nth-child(1),.part_table_nonum td:nth-child(1){width:clamp(70px, 8.15vw, 110px);}
.part_table_nonum th:nth-child(2),.part_table_nonum td:nth-child(2){width:auto;}
/* 1110 요청: 인재상 카드 제목 글씨 2~3pt 확대 */
.talent_card_head strong{font-size:var(--text-28);}
.talent_card_head span{font-size:var(--text-21);}
