@charset "UTF-8";
/* 리뉴얼 공용 푸터. 배경 이미지는 마크업의 --rn-footer-bg 로 사이트별 지정 */

.rn-footer {
    position: relative;
    bottom: 16px;
    box-sizing: border-box;
    width: calc(1920px - 32px);
    max-width: calc(100% - 32px);
    margin: 16px auto 0; 
    background: var(--rn-footer-bg, none) no-repeat center / cover;
    background-position:center ;
    background-size: cover;
    border-radius: 10px;
    font-family: var(--rn-font);
    color: #fff;
    letter-spacing: 0;
    text-align: left;    
}

/* :where 로 우선순위 0, 아래 클래스가 항상 이기게 */
:where(.rn-footer) *,
:where(.rn-footer) *::before,
:where(.rn-footer) *::after { box-sizing: border-box; }

:where(.rn-footer) a {
    color: inherit;
    text-decoration: none;
}

:where(.rn-footer) ul,
:where(.rn-footer) dl,
:where(.rn-footer) dd,
:where(.rn-footer) p,
:where(.rn-footer) h2 {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.rn-footer) button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.rn-footer a:focus-visible,
.rn-footer button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.rn-footer__box {
    position: relative;
    max-width: var(--rn-max-width);
    margin: 0 auto;
    padding-top: 32px;
}

/* ---------- 슬로건 ---------- */
.rn-footer__slogan {
    margin: 0 0 24px;
    padding: 0 var(--rn-gutter);
    font-size: 22px;
    line-height: 1.36;
    letter-spacing: -0.02em;
    text-align: center;
    word-break: keep-all;
}
.rn-footer__slogan span,
.rn-footer__slogan strong{
    font-size: 22px;
}
.rn-footer__slogan-light,
.rn-footer__slogan-bold { display: block; }

.rn-footer__slogan-light { font-weight: 300; }
.rn-footer__slogan-bold { font-weight: 600; }

/* ---------- 패널 ---------- */
.rn-footer__panel {
    position: relative;
    border-radius: 15px 15px 0 0;
    background: #122894;
}

.rn-footer__top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px;
    border-bottom: 1px solid #0E256A;
}

/* 바로가기 */
.rn-footer__family {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rn-footer__drop { position: relative; }

.rn-footer__drop-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 48px;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.48;
    letter-spacing: -0.015em;
    text-align: left;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.rn-footer__drop-btn::after {
    content: '';
    flex: none;
    width: 16px;
    height: 16px;
    background: url('/type/common/renewal/img/ico_chevron_down.svg') no-repeat center / contain;
    transition: transform 0.2s;
}

.rn-footer__drop-btn:hover,
.rn-footer__drop-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.14); }

.rn-footer__drop-btn[aria-expanded="true"]::after { transform: rotate(180deg); }

/* 시안 1577:29076 Dropbox_Open */
.rn-footer__drop-panel {
    overflow-y: auto;
    max-height: 320px;
    margin-top: 8px;
    padding: 8px 4px 8px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(17.5px);
    backdrop-filter: blur(17.5px);
    overscroll-behavior: contain;
}

/* 크롬은 scrollbar-color 가 있으면 아래 ::-webkit-scrollbar 를 무시해 숨김 스크롤바가 된다 — 파이어폭스만 */
@supports not selector(::-webkit-scrollbar) {
    .rn-footer__drop-panel {
        scrollbar-width: thin;
        scrollbar-color: #222 transparent;
    }
}

.rn-footer__drop-panel::-webkit-scrollbar { width: 6px; }
.rn-footer__drop-panel::-webkit-scrollbar-track { background: transparent; }
.rn-footer__drop-panel::-webkit-scrollbar-thumb { border-radius: 100px; background: #222; }

.rn-footer__drop-panel[hidden] { display: none; }

.rn-footer__dept > li + li { margin-top: 16px; }

.rn-footer__dept-group {
    display: block;
    padding: 8px 0 8px 16px;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.48;
    letter-spacing: -0.24px;
}

.rn-footer__dept a,
.rn-footer__site a {
    display: block;
    padding: 8px 0 8px 16px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.48;
    letter-spacing: -0.27px;
}

.rn-footer__dept a:hover,
.rn-footer__site a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 연락처, 하단 링크 */
.rn-footer__contact {
    display: flex;
    flex-direction: column;
}

.rn-footer__call,
.rn-footer__remote,
.rn-footer__links {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rn-footer__remote,
.rn-footer__links { margin-top: 32px; }

.rn-footer__title {
    margin-bottom: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.48;
    letter-spacing: -0.015em;
}

.rn-footer__num {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.rn-footer__remote .rn-footer__num { margin-bottom: 12px; }

.rn-footer__hours {
    color: #fff;
    opacity: 0.8;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.48;
    letter-spacing: -0.015em;
    word-break: keep-all;
}

.rn-footer__hours b { font-weight: 600; }

.rn-footer__etc {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.rn-footer__etc > div { display: contents; }

.rn-footer__etc dt {
    padding: 2px 8px;
    border: 1px solid #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.48;
    text-align: center;
}

.rn-footer__etc dd {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.48;
}

.rn-footer__remote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 40px;
    margin-top: 16px;
    padding: 12px;
    border-radius: 10px;
    background: #82D4F6;
    color: var(--text-font-color-dk-navy, #0A2240);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.rn-footer__remote-btn::after {
    content: '';
    width: 12px;
    height: 12px;
    background: url('/type/common/renewal/img/ico_arrow_right.svg') no-repeat center / contain;
}

.rn-footer__remote-btn:hover { background: #005ac0; }

/* 관리자 링크 세로 2열 (행 수는 JSP 의 --rn-link-rows) */
.rn-footer__links {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--rn-link-rows, 4), auto);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.rn-footer__links a {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.48;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.rn-footer__links a:hover { text-decoration: underline; }

.rn-footer__links a.is-highlight { color: #82D4F6; }

/* ---------- 하단 ---------- */
.rn-footer__bottom {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 24px;
}

.rn-footer__logo {
    display: block;
    width: 73px;
    height: auto;
}

/* 관리자 푸터 내용(footerInfo.CONTENTS), HTML 은 그대로 두고 모양만 */
.rn-footer__info {
    opacity: 0.8;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.48;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.rn-footer__info p,
.rn-footer__info address {
    margin: 0;
    font-style: normal;
}
 
 
/* 관리자 HTML 의 b 는 SemiBold 로 */
.rn-footer__info b {
    margin-right: 4px;
    margin-bottom: 8px;
    display: inline-block;
    font-weight: 600 !important;
}

.rn-footer__info .copyright {
    margin-top: 24px;
    font-size: 16px;
    font-weight: 500;
}

/* 원격지원은 위로 옮김. 브라우저 확장이 남긴 태그 숨김 */
.rn-footer__info .remote_box,
.rn-footer__info chatgpt-sidebar { display: none; }

.rn-footer__sns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rn-footer__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.4);
    transition: background-color 0.2s;
}


.rn-footer__sns img {
    display: block;
    width: 20px;
    height: 20px;
}

.rn-footer__top-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url('/type/common/renewal/img/ico_arrow_top.svg') no-repeat center / 17px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background-color 0.2s;
}

.rn-footer__top-btn:hover { background-color: rgba(255, 255, 255, 0.14); }
@media screen and (max-width: 767px) {
    .rn-footer{        
        background: #002183 var(--rn-footer-bg-mobile, var(--rn-footer-bg, none));
        background-position: center top;        
        bottom: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        background-size: 100%;
    }    
}
        
/* =========================================================
   768~
   ========================================================= */

@media screen and (min-width: 768px) {
    .rn-footer{        
        background-image: var(--rn-footer-bg);
        background-position: left -150px center;
    }        
    /* 화면 끝에서 32px 안쪽 (여백 16 + 박스 패딩 16) */
    .rn-footer__box { padding: 56px calc(var(--rn-gutter)) 16px; }

    .rn-footer__slogan {
        margin-bottom: 48px;
        font-size: 34px;
        line-height: 1.3;
    }
    .rn-footer__slogan span,
    .rn-footer__slogan strong{
        font-size: 34px;
    }
    .rn-footer__panel { border-radius: 10px; }

    .rn-footer__top { padding: 32px 40px; }

    .rn-footer__family { flex-direction: row; }

    .rn-footer__drop { flex: 1 1 0; }

    /* 목록을 띄워서 펼쳐도 배치가 안 흔들리게 — 시안대로 버튼 위로 연다 */
    .rn-footer__drop-panel {
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        z-index: 20;
        margin: 0 0 8px;
    }

    /* 두 번째(교내 주요 사이트)는 아래로 — 같은 자리에 뜨면 어느 쪽이 열렸는지 구분이 안 된다 */
    .rn-footer__drop + .rn-footer__drop .rn-footer__drop-panel {
        top: 100%;
        bottom: auto;
        margin: 8px 0 0;
    }

    .rn-footer__contact {
        display: grid;
        grid-template-columns: auto 1fr;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .rn-footer__call,
    .rn-footer__remote {
        padding-top: 0;
        border-top: 0;
    }

    .rn-footer__call { padding-right: 32px; }

    .rn-footer__remote {
        margin-top: 0;
        padding-left: 32px;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .rn-footer__links {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, max-content));
        column-gap: 80px;
    }

    .rn-footer__num { font-size: 28px; }

    .rn-footer__remote-btn {
        display: inline-flex;
        height: auto;
    }

    .rn-footer__links a { font-size: 16px; }

    .rn-footer__bottom {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 40px;
        padding: 40px;
    }

    .rn-footer__logo {
        grid-row: span 2;
        width: 96px;
    }

    .rn-footer__info { font-size: 16px; }

    .rn-footer__sns { gap: 8px; }

    .rn-footer__top-btn {
        right: 16px;
        bottom: 16px;
    }
}

/* =========================================================
   1024~
   ========================================================= */
@media screen and (min-width: 1024px) {
    .rn-footer__box { padding-top: 80px; }

    .rn-footer__slogan {
        margin-bottom: 64px;
        font-size: 56px;
        line-height: 1.24;
    }
 
    .rn-footer__slogan span,
    .rn-footer__slogan strong{
        font-size: 56px;
    }
    .rn-footer__top { padding: 40px 56px; }

    .rn-footer__call { padding-right: 56px; }

    .rn-footer__remote { padding-left: 56px; }

    .rn-footer__num { font-size: 32px; }

    .rn-footer__links a { font-size: 18px; }

    .rn-footer__bottom { padding: 40px 56px; }

    .rn-footer__logo { width: 119px; }
}

/* =========================================================
   1440~ PC
   ========================================================= */
@media screen and (min-width: 1440px) {    
    .rn-footer {
        /* 시안 값(68, 56)은 1920 부터, 그 아래는 한 줄에 들어가는 값 */
        --rn-footer-gap: 32px;
        --rn-footer-pad: 40px;
        background-position: center center;
    }

    .rn-footer__box { padding-top: 110px; }

    .rn-footer__slogan {
        margin-bottom: 89px;
        font-size: 56px;
    }

    /* 1440 근처에서 한 줄에 안 들어가면 바로가기를 윗줄 오른쪽으로 */
    .rn-footer__top {
        flex-direction: row-reverse;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 32px 40px;
        padding: 48px var(--rn-footer-pad) 40px;
    }

    .rn-footer__family {
        flex: none;
        flex-direction: column;
        width: 229px;
    }

    /* 시안: 두 목록 모두 버튼 묶음 바로 위, 같은 자리(폭 229)에서 열린다 */
    .rn-footer__family { position: relative; }

    .rn-footer__drop { flex: none; position: static; }

    .rn-footer__contact {
        display: flex;
        flex: none;
        flex-direction: row;
        margin-right: auto;
        padding-top: 0;
        border-top: 0;
    }

    .rn-footer__call { padding-right: var(--rn-footer-gap); }

    .rn-footer__remote { padding: 0 var(--rn-footer-gap); }

    .rn-footer__links {
        grid-column: auto;
        grid-template-columns: none;
        grid-auto-columns: max-content;
        align-content: start;
        column-gap: 40px;
        margin-top: 0;
        padding: 0 0 0 var(--rn-footer-gap);
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .rn-footer__title { margin-bottom: 20px; }

    .rn-footer__num {
        margin-bottom: 12px;
        font-size: 36px;
    }

    .rn-footer__hours { font-size: 15px; opacity: 0.8; }

    .rn-footer__etc { margin-top: 20px; }

    .rn-footer__remote-btn { margin-top: 20px; }

    .rn-footer__bottom {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--rn-footer-gap);
        padding: 40px var(--rn-footer-pad);
    }

    .rn-footer__logo { flex: none; }

    .rn-footer__info {
        flex: 1 1 auto;
        min-width: 0;
        color: #ccc;
    }

    /* 대학 정보는 항목별 한 줄, 관리자 br 은 1440 미만에서만 */
    .rn-footer__info p:not(.copyright) br,
    .rn-footer__info address br { display: none; }

    .rn-footer__info p:not(.copyright) b ~ b,
    .rn-footer__info address b ~ b { margin-left: 20px; }

    .rn-footer__sns {
        flex: none;
        align-self: flex-start;
    }

    .rn-footer__sns a {
        width: 48px;
        height: 48px;
    }

    .rn-footer__sns img {
        width: 24px;
        height: 24px;
    }

    .rn-footer__top-btn {
        width: 52px;
        height: 52px;
        background-size: 18px;
    }
}

/* =========================================================
   1920~ 시안 간격
   ========================================================= */
@media screen and (min-width: 1920px) {
        
    .rn-footer {
        --rn-footer-gap: 68px;
        --rn-footer-pad: 56px;
    }
}

/* ---------- 터치 영역 44px ---------- */
.rn-footer__sns a,
.rn-footer__links a,
.rn-footer__remote-btn { position: relative; }

.rn-footer__sns a::after,
.rn-footer__links a::after,
.rn-footer__remote-btn::before {
    position: absolute;
    content: '';
}

.rn-footer__sns a::after { inset: -2px; }

/* 행 간격(20px)의 절반까지만, 위아래 링크와 안 겹치게 */
.rn-footer__links a::after { inset: -10px 0; }

.rn-footer__remote-btn::before { inset: -2px 0; }
