:root {
    --tp-blue: #3182f6;
    --tp-blue-strong: #1b64da;
    --tp-blue-soft: #eaf3ff;
    --tp-text: #191f28;
    --tp-text-sub: #4e5968;
    --tp-muted: #8b95a1;
    --tp-line: #e5e8eb;
    --tp-surface: #ffffff;
    --tp-bg: #f7f8fa;
    --tp-green: #00a878;
    --tp-orange: #ff7658;
    --tp-radius-sm: 12px;
    --tp-radius-md: 18px;
    --tp-radius-lg: 24px;
    --tp-shadow: 0 14px 38px rgba(26, 40, 58, .08);
    --tp-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

html, body, button, input, select, textarea {
    font-family: var(--tp-font) !important;
}

html { background: var(--tp-bg); }
body {
    color: var(--tp-text);
    background: var(--tp-bg);
    letter-spacing: -.02em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:hover { text-decoration: none; }

#hd {
    position: relative;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--tp-line);
}

#hd_wrapper {
    padding: 18px 0 14px;
    background: #fff;
}

#hd_wrapper > .inner_wrap {
    display: grid;
    grid-template-columns: 210px minmax(340px, 520px) 1fr;
    align-items: center;
    gap: 30px;
    width: min(1240px, calc(100% - 48px));
    min-height: 52px;
    margin: 0 auto;
}

#hd_wrapper .hd_logo,
#hd_wrapper .job_brand_logo {
    display: flex;
    align-items: center;
    height: 48px;
    margin: 0;
}

#hd_wrapper .hd_logo { width: 184px !important; }
#hd_wrapper .job_brand_logo { width: 184px; }

#hd_wrapper .job_brand_logo img {
    display: block;
    width: 174px;
    max-height: 45px;
    object-fit: contain;
}

#hd_wrapper .hd_sch_wr {
    position: relative;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #d8dee5;
    border-radius: 999px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

#hd_wrapper .hd_sch_wr:focus-within {
    border-color: var(--tp-blue);
    box-shadow: 0 0 0 4px rgba(49,130,246,.11);
}

#hd_sch,
#hd_sch form { height: 100%; }

#hd_sch #sch_stx {
    width: 100%;
    height: 46px;
    padding: 0 22px 0 56px;
    color: var(--tp-text);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
}

#hd_sch #sch_stx::placeholder { color: #a5adb8; }

#hd_sch #sch_submit {
    position: absolute;
    top: 5px;
    right: auto !important;
    left: 7px !important;
    width: 38px;
    height: 38px;
    color: var(--tp-blue);
    background: var(--tp-blue-soft);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

#hd_sch #sch_submit img { width: 17px; height: 17px; opacity: .86; }

#hd_wrapper .hd_login {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#hd_wrapper .hd_login li { margin: 0; padding: 0; }
#hd_wrapper .hd_login li::before { display: none; }
#hd_wrapper .hd_login a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    color: var(--tp-text-sub);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

#hd_wrapper .hd_login a:hover { color: var(--tp-text); background: var(--tp-bg); }
#hd_wrapper .hd_login .tp-header-cta {
    margin-left: 4px;
    padding: 0 16px;
    color: #fff;
    background: var(--tp-blue);
}
#hd_wrapper .hd_login .tp-header-cta:hover { color: #fff; background: var(--tp-blue-strong); }

.mobile_gnb_open,
.mobile_account_shortcut { display: none; }
.mobile_gnb_open.is-menu-hidden { visibility: hidden; pointer-events: none; }

#gnb {
    position: relative;
    min-height: 58px;
    background: #fff;
    border-top: 1px solid #f2f4f6;
}

#gnb .gnb_wrap {
    display: flex;
    align-items: stretch;
    width: min(1240px, calc(100% - 48px));
    height: 58px;
    min-height: 58px;
    margin: 0 auto;
}

#gnb .gnb_cateall {
    display: flex;
    align-items: center;
    flex: 0 0 150px;
    margin-right: 10px;
}

#gnb .gnb_category_toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 138px;
    height: 42px;
    color: var(--tp-blue-strong);
    background: var(--tp-blue-soft);
    border: 0;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}

#gnb .gnb_category_toggle::before {
    content: "";
    width: 18px;
    height: 13px;
    background: linear-gradient(var(--tp-blue),var(--tp-blue)) 0 0/18px 2px no-repeat,
                linear-gradient(var(--tp-blue),var(--tp-blue)) 0 50%/18px 2px no-repeat,
                linear-gradient(var(--tp-blue),var(--tp-blue)) 0 100%/18px 2px no-repeat;
}

#gnb .gnb_category_toggle i { transition: transform .18s ease; }
#gnb .gnb_category_toggle.is-open i { transform: rotate(180deg); }
#gnb .gnb_close { display: none !important; }

#gnb_1dul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

#gnb_1dul .gnb_1dli {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    float: none;
    margin: 0;
    padding: 0;
}

#gnb_1dul .gnb_1da {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 12px;
    color: var(--tp-text);
    background: transparent;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

#gnb_1dul .gnb_1da:hover { color: var(--tp-blue); }

body.mc-gnb-fixed #gnb {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 7px 24px rgba(26,40,58,.08);
}

body.mc-gnb-fixed #wrapper { padding-top: 58px; }

#gnb_all {
    display: none;
    position: absolute;
    top: 58px;
    right: 0;
    left: 0;
    z-index: 1001;
    width: auto;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--tp-line);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 54px rgba(26,40,58,.14);
    box-sizing: border-box;
}

#gnb_all .mobile_account_menu { display: none; }
#gnb_all .tp-responsive-menu-head { display: none; }
#gnb_all .tp-mega-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr .9fr;
    gap: 26px;
}

#gnb_all .gnb_all_cate {
    float: none;
    width: auto;
    min-height: 220px;
    padding: 0 26px 0 0;
    border-right: 1px solid var(--tp-line);
    box-sizing: border-box;
}

#gnb_all .gnb_all_cate:last-child { padding-right: 0; border-right: 0; }
#gnb_all .gnb_all_cate h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--tp-text);
    font-size: 16px;
    font-weight: 800;
}

#gnb_all .gnb_all_cate h3::before {
    content: "";
    width: 4px;
    height: 16px;
    background: var(--tp-blue);
    border-radius: 999px;
}

#gnb_all .gnb_all_cate ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 4px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#gnb_all .gnb_all_cate li { float: none; width: auto; margin: 0; padding: 0; }
#gnb_all .gnb_all_cate a {
    display: block;
    padding: 8px 9px;
    color: var(--tp-text-sub);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 560;
}
#gnb_all .gnb_all_cate a:hover { color: var(--tp-blue-strong); background: var(--tp-blue-soft); }
#gnb_all .tp-mega-service ul { grid-template-columns: 1fr; }
#gnb_all .tp-mega-service a { font-weight: 700; }

.gnb_sub_layer { display: none !important; }

#wrapper { background: var(--tp-bg); }
#container { min-height: 480px; }
#container > .inner_wrap2 { width: min(1240px, calc(100% - 48px)); }

#ft {
    margin: 0;
    padding: 54px 0 42px;
    color: var(--tp-muted);
    background: #f2f4f6;
    border-top: 0;
}

#ft #ft_wr {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 48px;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

#ft .ft_logo img { width: 170px !important; max-height: 46px !important; opacity: .86; }
#ft .ft_company { min-width: 0; margin-left: 0 !important; }
#ft .ft_menu { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 22px; padding: 0; }
#ft .ft_menu li { margin: 0; }
#ft .ft_menu a { color: var(--tp-text-sub); font-size: 13px; font-weight: 700; }
#ft .ft_link { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 0; padding: 0; }
#ft .ft_link li { width: auto; margin: 0; color: var(--tp-muted); font-size: 12px; line-height: 1.65; }
#ft .ft_link li::after { display: none; }
#ft .ft_copy { margin-top: 20px; color: #a5adb8; font-size: 12px; }

#mobile_quick_nav { display: none; }

body.job-layout #wrapper,
body.job-layout #container {
    width: 100%;
    min-width: 0;
    max-width: none;
}

body.job-layout #hd,
body.job-layout #gnb,
body.job-layout #ft {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1100px) and (min-width: 768px) {
    body.job-layout #gnb { overflow-x: auto; }
    #hd_wrapper > .inner_wrap { grid-template-columns: 180px minmax(300px,1fr) auto; gap: 18px; }
    #hd_wrapper .job_brand_logo img { width: 158px; }
    #hd_wrapper .hd_login a { padding: 0 7px; font-size: 12px; }
    #gnb_1dul .gnb_1da { padding: 0 7px; font-size: 14px; }
    #gnb .gnb_cateall { flex-basis: 136px; }
    #gnb .gnb_category_toggle { width: 126px; }
}

@media (max-width: 820px) {
    body { padding-bottom: 0; background: #fff; }
    #hd { position: sticky; top: 0; border-bottom: 0; box-shadow: 0 1px 0 var(--tp-line); }
    #hd_wrapper > .inner_wrap {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        gap: 8px;
        width: 100%;
        min-height: 0;
        margin: 0;
    }
    #hd_wrapper.tp-desktop-header {
        display: block;
        min-height: 0;
        padding: 4px 14px 10px !important;
    }
    #hd_wrapper .mobile_gnb_open {
        display: block;
        position: static;
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        border: 0;
    }
    #hd_wrapper .mobile_gnb_open span,
    #hd_wrapper .mobile_gnb_open span::before,
    #hd_wrapper .mobile_gnb_open span::after {
        display: block;
        width: 21px;
        height: 2px;
        margin: 0 auto;
        background: var(--tp-text);
        border-radius: 999px;
    }
    #hd_wrapper .mobile_gnb_open span { position: relative; }
    #hd_wrapper .mobile_gnb_open span::before,
    #hd_wrapper .mobile_gnb_open span::after { content: ""; position: absolute; left: 0; }
    #hd_wrapper .mobile_gnb_open span::before { top: -6px; }
    #hd_wrapper .mobile_gnb_open span::after { top: 6px; }
    #hd_wrapper .hd_logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: 150px !important;
        height: 40px;
    }
    #hd_wrapper .job_brand_logo { width: 150px; height: 40px; }
    #hd_wrapper .job_brand_logo img { width: 146px; max-height: 38px; }
    #hd_wrapper .mobile_account_shortcut {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: var(--tp-text-sub);
        font-size: 18px;
    }
    #hd_wrapper .hd_sch_wr {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        height: 46px;
        margin-top: 4px;
        background: #f2f4f6;
        border-color: transparent;
        border-radius: 14px;
    }
    #hd_sch #sch_stx { height: 44px; padding: 0 46px 0 15px; font-size: 13px; }
    #hd_sch #sch_submit { top: 4px; right: 5px; width: 36px; height: 36px; background: transparent; }
    #hd_wrapper .hd_login { display: none; }
    #hd_wrapper {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        min-height: 58px;
        padding: 4px 14px !important;
        box-sizing: border-box;
    }
    #hd_wrapper #logo { grid-column: 2; justify-self: center; }
    #hd_wrapper #logo img { width: 138px !important; max-height: 36px !important; }
    #btn_hd_cate {
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 10px;
    }
    #btn_hd_cate img { width: 22px; height: 22px; }
    #hd_search { padding: 10px 14px 12px; background: #fff; }
    #hd_search .sch_inner {
        position: relative;
        height: 46px;
        background: #f2f4f6;
        border: 1px solid transparent;
        border-radius: 14px;
    }
    #hd_search .sch_inner:focus-within { background: #fff; border-color: var(--tp-blue); }
    #hd_search #sch_stx {
        width: 100%;
        height: 44px;
        padding: 0 48px 0 16px;
        background: transparent;
        border: 0;
        outline: 0;
        font-size: 13px;
        box-sizing: border-box;
    }
    #hd_search #sch_submit {
        position: absolute;
        top: 4px;
        right: 5px;
        width: 36px;
        height: 36px;
        padding: 0;
        background: transparent;
        border: 0;
    }
    #hd_search #sch_submit img { width: 17px; }
    #gnb_wrap {
        overflow-x: auto;
        padding: 0 10px;
        background: #fff;
        border-top: 1px solid #f2f4f6;
        border-bottom: 1px solid var(--tp-line);
        scrollbar-width: none;
    }
    #gnb_wrap::-webkit-scrollbar { display: none; }
    #gnb_wrap .gnb_main {
        display: flex;
        width: max-content;
        min-width: 100%;
        height: 48px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    #gnb_wrap .gnb_main li { flex: 0 0 auto; margin: 0; }
    #gnb_wrap .gnb_main a {
        display: flex;
        align-items: center;
        height: 48px;
        padding: 0 15px;
        color: var(--tp-text-sub);
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
    }
    #gnb {
        width: 100%;
        min-height: 47px;
        overflow-x: auto;
        border-top: 1px solid #f2f4f6;
        border-bottom: 1px solid var(--tp-line);
        scrollbar-width: none;
    }
    #gnb::-webkit-scrollbar { display: none; }
    #gnb .gnb_wrap {
        display: block;
        width: 100%;
        min-width: 0;
        height: 46px;
        min-height: 46px;
    }
    #gnb .gnb_cateall { display: none; }
    #gnb_1dul {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 46px;
        margin: 0 !important;
    }
    #gnb_1dul .gnb_1dli { flex: 1 1 0; min-width: 0; }
    #gnb_1dul .gnb_1da { justify-content: center; width: 100%; height: 46px; padding: 0 4px; font-size: 13px; box-sizing: border-box; }
    #gnb_all {
        position: fixed;
        top: 0;
        right: auto;
        bottom: 0;
        left: 0;
        width: min(88vw,370px);
        height: 100vh;
        padding: 22px 18px 40px;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        box-shadow: 18px 0 50px rgba(26,40,58,.2);
    }
    #gnb_all .tp-responsive-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    #gnb_all .tp-responsive-menu-head strong { font-size: 20px; font-weight: 820; }
    #gnb_all .tp-gnb-dismiss { width: 38px; height: 38px; color: var(--tp-text-sub); background: var(--tp-bg); border: 0; border-radius: 50%; font-size: 24px; }
    #gnb_all .mobile_account_menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
    #gnb_all .mobile_account_menu a { padding: 12px; color: var(--tp-blue-strong); background: var(--tp-blue-soft); border-radius: 12px; text-align: center; font-size: 13px; font-weight: 750; }
    #gnb_all .tp-mega-grid { grid-template-columns: 1fr; gap: 0; }
    #gnb_all .gnb_all_cate { min-height: 0; padding: 18px 0; border-right: 0; border-top: 1px solid var(--tp-line); }
    #gnb_all .gnb_all_cate h3 { margin-bottom: 10px; font-size: 14px; }
    #gnb_all .gnb_all_cate ul { gap: 1px 8px; }
    #gnb_all .gnb_all_cate a { padding: 8px 6px; font-size: 12px; }
    #wrapper, #container { background: #fff; }
    #category.tp-mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 2000;
        background: rgba(0,0,0,.36);
    }
    #category.tp-mobile-menu .cate_bg { position: absolute; inset: 0; }
    #category.tp-mobile-menu .tp-mobile-menu-panel {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(88vw, 360px);
        padding: 24px 20px 36px;
        overflow-y: auto;
        background: #fff;
        box-sizing: border-box;
    }
    .tp-mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
    .tp-mobile-menu-head strong { font-size: 20px; font-weight: 800; }
    .tp-mobile-menu .menu_close {
        width: 38px;
        height: 38px;
        color: var(--tp-text-sub);
        background: var(--tp-bg);
        border: 0;
        border-radius: 50%;
        font-size: 24px;
    }
    .tp-mobile-account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 26px; }
    .tp-mobile-account a { padding: 12px; color: var(--tp-blue-strong); background: var(--tp-blue-soft); border-radius: 12px; text-align: center; font-size: 13px; font-weight: 750; }
    .tp-mobile-menu-section { padding: 18px 0; border-top: 1px solid var(--tp-line); }
    .tp-mobile-menu-section h3 { margin: 0 0 12px; font-size: 14px; font-weight: 800; }
    .tp-mobile-menu-section ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 0; list-style: none; }
    .tp-mobile-menu-section a { display: block; padding: 9px 7px; color: var(--tp-text-sub); font-size: 13px; font-weight: 600; }
    #mobile_fixed_nav,
    #mobile_quick_nav {
        display: block !important;
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1600;
        height: calc(66px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255,255,255,.97);
        border-top: 1px solid var(--tp-line);
        box-shadow: 0 -8px 24px rgba(26,40,58,.05);
        box-sizing: border-box;
        backdrop-filter: blur(12px);
    }
    #mobile_fixed_nav ul,
    #mobile_quick_nav ul { display: flex; height: 66px; margin: 0; padding: 0; list-style: none; }
    #mobile_fixed_nav li,
    #mobile_quick_nav li { flex: 1; margin: 0; }
    #mobile_fixed_nav a,
    #mobile_quick_nav a,
    #mobile_quick_nav button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 66px;
        padding: 0;
        color: var(--tp-muted) !important;
        background: transparent;
        border: 0;
        font-size: 11px;
        font-weight: 650;
    }
    #mobile_fixed_nav i,
    #mobile_quick_nav i { margin: 0 0 5px; font-size: 20px; font-weight: normal; }
    #mobile_fixed_nav a.on,
    #mobile_fixed_nav a:active,
    #mobile_quick_nav a.on { color: var(--tp-blue) !important; }
    #ft { padding: 32px 20px calc(82px + env(safe-area-inset-bottom)) !important; }
    #ft #ft_wr {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    #ft .ft_company { width: 100%; margin: 0 !important; }
    #ft .ft_logo { margin-bottom: 14px; text-align: left; }
    #ft .ft_logo img { width: 148px !important; }
    #ft .ft_menu { justify-content: flex-start !important; gap: 8px 16px !important; }
    #ft .ft_info, #ft .ft_link { color: var(--tp-muted); font-size: 11px; line-height: 1.65; }
    #ft .ft_copy { margin-top: 14px; }
}
