@charset "utf-8";

/* 헤더 스타일 - Figma 디자인 기반 */
#hd {
    background: var(--white, #fff);
    border-bottom: 1px solid var(--grey-400, #ddd);
    padding: 20px 130px;
    display: flex;
    align-items: center;
    position: relative;
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

#hd_h1 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#skip_to_container {
    position: absolute;
    left: -9999px;
}

#skip_to_container a:focus,
#skip_to_container a:active {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 75px;
    background: #21272e;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 3.3em;
    z-index: 100000;
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo {
    height: 29.18px;
    width: auto;
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.logo img {
    height: 29.18px;
    width: auto;
    display: block;
}

.header-text {
    display: flex;
    align-items: center;
    margin-left: 0;
    gap: 0;
}

.university-name {
    color: #21529c;
    font-family: 'Pretendard', 'Malgun Gothic', dotum, sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

.divider {
    width: 1px;
    height: 16px;
    background: #e0e0e0;
    margin: 0 12px;
    display: inline-block;
}

.office-name {
    color: #333333;
    font-family: 'Pretendard', 'Malgun Gothic', dotum, sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
}

/* 반응형 - 모바일 (1024px 이하) */
@media (max-width: 1024px) {
    #hd {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        box-sizing: border-box;
    }

    .header-container {
        width: 100%;
        max-width: calc(100% - 32px);
        margin: 0 auto;
    }

    .logo {
        height: auto;
        margin-right: 8px;
    }

    .logo img {
        height: 24px;
        width: auto;
    }

    .header-text {
        font-size: 0.875em;
    }

    .university-name,
    .office-name {
        font-size: 0.875em;
    }

    .divider {
        height: 14px;
        margin: 0 8px;
    }
}
