/* 한국HRD 공통 헤더 · 원본 main2.css/course.css의 헤더 규칙만 분리.
 * 본문에는 main2.css/hrd-font-fix.css를 새로 로드하지 않습니다.
 * 모든 일반 선택자는 #hrd-site-header 아래에 한정합니다.
 */
@font-face {

    font-family: 'HRD Sans Complete';
    src: url('/asset/font/ibm-plex-sans-kr/IBMPlexSansKR-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;

}
@font-face {

    font-family: 'HRD Sans Complete';
    src: url('/asset/font/ibm-plex-sans-kr/IBMPlexSansKR-Medium.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;

}
@font-face {

    font-family: 'HRD Sans Complete';
    src: url('/asset/font/ibm-plex-sans-kr/IBMPlexSansKR-SemiBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;

}
@font-face {

    font-family: 'HRD Sans Complete';
    src: url('/asset/font/ibm-plex-sans-kr/IBMPlexSansKR-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;

}
#hrd-site-header {
  --blue: #0853a1;
  --navy: #172033;
  --ink: #172033;
  --muted: #475467;
  --line: #d0d5dd;
  --soft: #f5f6f8;
  --green: #176147;
  --warm: #fff4e5;
  --radius: 16px;
  --brand-hover: #01366f;
  --brand-soft: #edf4fc;
  --surface: #fff;
  --font-body: 'HRD Sans Complete', 'Malgun Gothic', sans-serif;
  --font-title: var(--font-body);
  --font-ui: var(--font-body);
  --hrd-brand: #0853a1;
  --hrd-brand-hover: #01366f;
  --hrd-brand-soft: #edf4fc;
  --hrd-ink: #172033;
  --hrd-max-width: 1240px;

  font-family:var(--font-body);font-size:18px;line-height:1.8;
  font-weight:400;color:#172033;background:#fff;word-break:keep-all;
  overflow-wrap:anywhere;letter-spacing:0;font-synthesis:none;
}
#hrd-site-header *, #hrd-site-header *::before, #hrd-site-header *::after { box-sizing:border-box; }
#hrd-site-header :where(h1,h2,h3,p,ul,li,form):not(:where(.hrd-header-legacy-alarm *)) { margin:0; }
#hrd-site-header :where(ul,li):not(:where(.hrd-header-legacy-alarm *)) { list-style:none; }
#hrd-site-header :where(button,input):not(:where(.hrd-header-legacy-alarm *)) { font:inherit;letter-spacing:inherit; }
#hrd-site-header *:not(:where(.hrd-header-legacy-alarm *)) {
box-sizing: border-box
}

#hrd-site-header a:not(:where(.hrd-header-legacy-alarm *)) {
color: inherit;
    text-decoration: none
}

#hrd-site-header button:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:not(:where(.hrd-header-legacy-alarm *)) {
font: inherit
}

#hrd-site-header button:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header a:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header summary:not(:where(.hrd-header-legacy-alarm *)) {
touch-action: manipulation
}

#hrd-site-header a:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header button:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header summary:not(:where(.hrd-header-legacy-alarm *)) {
outline-offset: 5px
}

#hrd-site-header a:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header button:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header summary:focus-visible:not(:where(.hrd-header-legacy-alarm *)) {
outline: 3px solid #c26a00
}

#hrd-site-header button:not(:where(.hrd-header-legacy-alarm *)) {
cursor: pointer
}

#hrd-site-header a:hover:not(:where(.hrd-header-legacy-alarm *)) {
text-decoration: underline;
    text-underline-offset: 5px
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h2:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h3:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header p:not(:where(.hrd-header-legacy-alarm *)) {
margin: 0
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 56px;
    line-height: 1.22;
    letter-spacing: -.04em;
    font-weight: 800
}

#hrd-site-header h2:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 36px;
    line-height: 1.35;
    letter-spacing: -.025em
}

#hrd-site-header h3:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 24px;
    line-height: 1.45;
    letter-spacing: -.02em
}

#hrd-site-header p + p:not(:where(.hrd-header-legacy-alarm *)) {
margin-top: 12px
}

#hrd-site-header ul:not(:where(.hrd-header-legacy-alarm *)) {
padding-left: 1.3em
}

#hrd-site-header img:not(:where(.hrd-header-legacy-alarm *)) {
max-width: 100%;
    height: auto
}

#hrd-site-header .wrap {
max-width: 1248px;
    margin: auto;
    padding-inline: 32px
}

#hrd-site-header.site-header {
border-bottom: 1px solid var(--line);
    background: #fff;
    position: relative;
    z-index: 5
}

#hrd-site-header .header-main {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 90px
}

#hrd-site-header .brand {
display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.055em
}

#hrd-site-header .brand img {
width: 222px
}

#hrd-site-header .brand small {
display: block;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0;
        margin-top: 6px;
        color: var(--muted)
}

#hrd-site-header .all-menu {
position: relative
}

#hrd-site-header .all-menu > summary {
min-height: 48px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        list-style: none
}

#hrd-site-header .all-menu > summary::-webkit-details-marker {
display: none
}

#hrd-site-header .all-menu > summary:before {
content: '☰';
            font-size: 20.8px
}

#hrd-site-header .all-menu[open] > summary:before {
content: '×'
}

#hrd-site-header .menu-grid {
position: absolute;
    right: 0;
    top: 53px;
    width: min(1110px,calc(100vw - 48px));
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px #082b4920;
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 28px;
    border-radius: 12px
}

#hrd-site-header .menu-grid h3 {
font-size: 18px;
        margin-bottom: 10px
}

#hrd-site-header .menu-grid a {
display: block;
        padding: 8px 0;
        font-size: 16px;
        font-weight: 500
}

#hrd-site-header .sr-only {
position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

#hrd-site-header [hidden]:not(:where(.hrd-header-legacy-alarm *)) {
display: none !important
}

@media(min-width:1100px) {
#hrd-site-header.site-header {
position: sticky;
        top: -1px
}

#hrd-site-header .header-main {
min-height: 80px
}
}

@media(max-width:1000px) {
#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 44px
}
}

@media(max-width:760px) {
#hrd-site-header .wrap {
padding-inline: 20px
}

#hrd-site-header .header-main {
min-height: 82px;
        flex-wrap: wrap;
        gap: 14px;
        padding-block: 17px
}

#hrd-site-header .brand img {
width: 200px
}

#hrd-site-header .brand {
font-size: 17.6px
}

#hrd-site-header .brand small {
font-size: 14px
}

#hrd-site-header .all-menu > summary {
font-size: 16px
}

#hrd-site-header .menu-grid {
position: absolute;
        right: 0;
        top: 48px;
        width: calc(100vw - 40px);
        grid-template-columns: 1fr 1fr;
        max-height: 70vh;
        overflow: auto;
        padding: 20px;
        gap: 24px
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 36px;
        line-height: 1.3
}

#hrd-site-header h2:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 30px
}

#hrd-site-header h3:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 22px
}
}

@media(max-width:359px) {
#hrd-site-header .wrap {
padding-inline: 16px
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)) {
font-size: 32px
}

#hrd-site-header .all-menu > summary {
font-size: 15px
}

#hrd-site-header .brand img {
width: 185px
}

#hrd-site-header .menu-grid {
width: calc(100vw - 32px);
        grid-template-columns: 1fr
}
}

@media(max-width:400px) {
#hrd-site-header .all-menu {
margin-left: auto
}

#hrd-site-header .all-menu > summary {
white-space: nowrap
}
}

@media(prefers-reduced-motion:reduce) {
#hrd-site-header *:not(:where(.hrd-header-legacy-alarm *)) {
transition: none !important
}
}

@media print {
#hrd-site-header.site-header {
position: static
}

#hrd-site-header a:not(:where(.hrd-header-legacy-alarm *)) {
color: #000
}
}

#hrd-site-header .header-main {
min-height: 96px;
    flex-wrap: wrap;
    padding-block: 14px;
    gap: 18px 24px
}

#hrd-site-header .brand-identity {
display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 100%
}

#hrd-site-header .brand {
flex: 0 1 275px;
    max-width: 100%
}

#hrd-site-header .brand img {
display: block;
        width: 275px;
        height: auto;
        max-width: 100%
}

#hrd-site-header .accreditation {
display: flex;
    align-items: center;
    max-width: 100%;
    line-height: 1
}

#hrd-site-header .accreditation img {
display: block;
        width: 260px;
        height: auto;
        max-width: 100%
}

@media(max-width:760px) {
#hrd-site-header .header-main {
padding-block: 16px;
        gap: 14px
}

#hrd-site-header .brand-identity {
gap: 8px 12px
}

#hrd-site-header .brand {
flex-basis: 275px
}

#hrd-site-header .brand img {
width: 275px
}

#hrd-site-header .accreditation img {
width: 260px
}
}

@media(max-width:359px) {
#hrd-site-header .brand,
#hrd-site-header .brand img {
width: 100%;
        flex-basis: 100%
}

#hrd-site-header .accreditation img {
width: min(260px,100%)
}
}

@media print {
#hrd-site-header.site-header {
position: static
}
}

#hrd-site-header .header-actions {
display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    flex: 0 1 360px;
    min-width: 0;
    max-width: 100%;
    margin-left: auto
}

#hrd-site-header .header-search {
position: relative;
    width: 100%;
    z-index: 12
}

#hrd-site-header .menu-search-form {
margin: 0
}

#hrd-site-header .menu-search-field {
display: flex;
    align-items: center;
    border: 1px solid #adc6da;
    background: #f4f8fc;
    border-radius: 9px;
    min-width: 0;
    padding-left: 12px;
    gap: 8px
}

#hrd-site-header .menu-search-field:focus-within {
outline: 2px solid var(--blue);
        outline-offset: 2px;
        background: white
}

#hrd-site-header .search-icon {
width: 20px;
    height: 20px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
    flex: 0 0 20px
}

#hrd-site-header .menu-search-field input {
width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    color: var(--ink);
    outline: none
}

#hrd-site-header .menu-search-field input::placeholder {
color: #63788c
}

#hrd-site-header .menu-search-submit {
border: 0;
    border-radius: 0 8px 8px 0;
    align-self: stretch;
    min-width: 58px;
    padding: 8px 12px;
    background: var(--blue);
    color: white;
    font-size: 15px;
    font-weight: 750;
    flex: 0 0 auto
}

#hrd-site-header .menu-search-submit:hover {
background: #01366f
}

#hrd-site-header .menu-search-panel {
position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max(100%,420px);
    max-width: calc(100vw - 40px);
    max-height: min(440px,65dvh);
    overflow-y: auto;
    background: white;
    border: 1px solid #bfd1df;
    border-radius: 12px;
    box-shadow: 0 16px 36px #0d2f4b20;
    z-index: 20;
    overscroll-behavior: contain
}

#hrd-site-header .search-panel-head {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #e1e9f0;
    background: #f6f9fc;
    position: sticky;
    top: 0;
    z-index: 1
}

#hrd-site-header .search-panel-head p {
font-size: 15px;
        font-weight: 750;
        margin: 0;
        color: #294d6a
}

#hrd-site-header .search-close {
min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #3c5870;
    font-size: 20px;
    cursor: pointer
}

#hrd-site-header .search-close:hover {
background: #e7f0f8
}

#hrd-site-header .search-results {
list-style: none;
    margin: 0;
    padding: 6px
}

#hrd-site-header .search-results li {
margin: 0;
        padding: 0
}

#hrd-site-header .search-hit {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 13px;
    border-radius: 7px;
    min-height: 62px
}

#hrd-site-header .search-hit:hover,
#hrd-site-header .search-hit:focus-visible {
background: #eaf3fc;
        color: var(--blue);
        text-decoration: none
}

#hrd-site-header .search-hit small {
display: block;
        font-size: 13px;
        color: #5d7285;
        line-height: 1.4;
        margin-bottom: 3px
}

#hrd-site-header .search-hit strong {
font-size: 16px;
        line-height: 1.5;
        font-weight: 750
}

#hrd-site-header .search-hit .search-arrow {
font-size: 18px;
        color: var(--blue)
}

#hrd-site-header .search-empty {
padding: 22px 18px;
    font-size: 16px;
    color: #526577
}

#hrd-site-header .search-empty a {
color: var(--blue);
        font-weight: 700;
        text-decoration: underline;
        display: inline-block;
        margin-top: 10px;
        padding: 5px 0
}

#hrd-site-header .search-foot {
padding: 10px 18px 12px;
    background: #f6f9fc;
    border-top: 1px solid #e1e9f0;
    font-size: 13px;
    color: #526577;
    line-height: 1.6
}

#hrd-site-header .hrd-gnb {
position: relative;
    border-top: 1px solid #e4ebf1
}

#hrd-site-header .gnb-list {
list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    gap: 0
}

#hrd-site-header .gnb-item {
position: relative;
    min-width: 0
}

#hrd-site-header .gnb-top {
display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    border-bottom: 3px solid transparent;
    gap: 0
}

#hrd-site-header .gnb-main-link {
font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
    padding: 15px 3px;
    min-height: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center
}

#hrd-site-header .gnb-main-link:hover {
text-decoration: none;
        color: var(--blue)
}

#hrd-site-header .gnb-item.is-open .gnb-top {
border-bottom-color: var(--blue);
    background: #f4f8fc
}

#hrd-site-header .gnb-toggle {
width: 22px;
    flex: 0 0 22px;
    min-height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #52718b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px
}

#hrd-site-header .gnb-toggle:after {
content: '⌄'
}

#hrd-site-header .gnb-toggle[aria-expanded=true]:after {
content: '⌃'
}

#hrd-site-header .gnb-item.is-apply .gnb-main-link {
color: var(--blue)
}

#hrd-site-header .gnb-item.is-classroom .gnb-top {
background: #eaf1f7;
    border-radius: 8px 8px 0 0
}

#hrd-site-header .gnb-panel {
padding: 10px 0 14px
}

#hrd-site-header .gnb-panel ul {
list-style: none;
        padding: 0;
        margin: 0
}

#hrd-site-header .gnb-panel li {
padding: 0;
        margin: 0
}

#hrd-site-header .gnb-panel a {
display: block;
        padding: 10px 16px;
        min-height: 44px;
        line-height: 1.5;
        font-size: 16px
}

#hrd-site-header .gnb-panel a:hover,
#hrd-site-header .gnb-panel a:focus-visible {
background: #edf5fd;
            color: var(--blue);
            text-decoration: none
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel {
display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 242px;
    max-height: min(580px,65dvh);
    overflow-y: auto;
    background: white;
    border: 1px solid #c8d9e6;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 14px 28px #082b491a;
    z-index: 15
}

#hrd-site-header .hrd-gnb.enhanced .gnb-item.is-open .gnb-panel {
display: block
}

#hrd-site-header .hrd-gnb.enhanced .gnb-item:nth-last-child(-n+2) .gnb-panel {
left: auto;
    right: 0
}

#hrd-site-header .mobile-all-menu {
display: none
}

@media(min-width:1051px) and (max-width:1490px) {
#hrd-site-header .gnb-main-link {
font-size: 15px;
        padding-inline: 1px
}

#hrd-site-header .gnb-toggle {
width: 20px;
        flex-basis: 20px
}

#hrd-site-header .header-actions {
flex-basis: 330px
}

#hrd-site-header .brand-identity {
gap: 12px
}
}

@media(max-width:1050px) {
#hrd-site-header.site-header {
position: relative
}

#hrd-site-header .gnb-list {
display: none
}

#hrd-site-header .mobile-all-menu {
display: block;
        width: 100%
}

#hrd-site-header .mobile-all-menu > summary {
min-height: 52px;
            font-size: 16px;
            justify-content: space-between
}

#hrd-site-header .mobile-all-menu > .menu-grid {
position: static;
            width: 100%;
            max-height: 65dvh;
            overflow: auto;
            grid-template-columns: repeat(3,minmax(0,1fr));
            box-shadow: none;
            border-radius: 10px;
            margin: 0 0 16px;
            padding: 20px;
            gap: 24px
}

#hrd-site-header .mobile-all-menu .menu-grid h3 {
font-size: 16px
}

#hrd-site-header .mobile-all-menu .menu-grid a {
font-size: 15px
}

#hrd-site-header .header-actions {
flex: 1 1 280px;
        max-width: 100%
}

#hrd-site-header .header-main {
align-items: center
}
}

@media(max-width:760px) {
#hrd-site-header .header-actions {
flex-basis: 100%;
        margin: 0
}

#hrd-site-header .menu-search-panel {
width: 100%;
        max-width: 100%
}

#hrd-site-header .mobile-all-menu > .menu-grid {
grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 16px
}

#hrd-site-header .search-foot {
font-size: 14px
}
}

@media(max-width:359px) {
#hrd-site-header .mobile-all-menu > .menu-grid {
grid-template-columns: 1fr
}

#hrd-site-header .menu-search-field {
padding-left: 9px;
        gap: 6px
}

#hrd-site-header .menu-search-submit {
min-width: 52px;
        padding-inline: 9px
}
}

@media print {
#hrd-site-header .header-actions,
#hrd-site-header .hrd-gnb {
display: none
}
}

#hrd-site-header .header-main {
min-height: 96px
}

#hrd-site-header .header-actions {
flex: 0 1 360px;
    gap: 0
}

#hrd-site-header .hrd-gnb.enhanced .gnb-item {
position: static
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel,
#hrd-site-header .hrd-gnb.enhanced .gnb-item:nth-last-child(-n+2) .gnb-panel {
left: 0;
        right: 0;
        top: 100%;
        width: 100%;
        padding: 28px;
        border: 1px solid #c8d9e6;
        border-top: 3px solid var(--blue);
        border-radius: 0 0 16px 16px;
        box-shadow: 0 18px 32px #082b4920;
        max-height: min(460px,65dvh);
        overflow-y: auto;
}

#hrd-site-header .mega-heading {
display: none
}

#hrd-site-header .hrd-gnb.enhanced .gnb-item.is-open .gnb-panel {
display: grid;
    grid-template-columns: 184px minmax(0,1fr);
    gap: 28px;
    align-items: stretch;
}

#hrd-site-header .hrd-gnb.enhanced .mega-heading {
display: flex;
    align-items: flex-start;
    padding: 12px 24px 12px 0;
    border-right: 1px solid #dce7ef;
    color: var(--blue);
}

#hrd-site-header .mega-heading h3 {
font-size: 24px;
    line-height: 1.5;
    letter-spacing: -.03em
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel ul {
display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px 12px;
    align-content: start;
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel a {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 60px;
    height: 100%;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.5;
    background: #f5f8fb;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel a:after {
content: '→';
        flex: 0 0 auto;
        color: #6b869c;
        font-size: 16px
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel a:hover,
#hrd-site-header .hrd-gnb.enhanced .gnb-panel a:focus-visible {
background: #eaf3fd;
        border-color: #8fb6d9;
        color: var(--blue);
}

@media(min-width:1051px) and (max-width:1199px) {
#hrd-site-header .hrd-gnb.enhanced .gnb-item.is-open .gnb-panel {
grid-template-columns: 160px minmax(0,1fr);
        gap: 22px;
        padding: 24px
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel ul {
grid-template-columns: repeat(3,minmax(0,1fr))
}

#hrd-site-header .mega-heading h3 {
font-size: 22px
}
}

@media(max-width:1050px) {
#hrd-site-header .header-actions {
flex: 1 1 280px
}
}

@media(max-width:760px) {
#hrd-site-header .header-actions {
flex-basis: 100%
}
}

@media screen and (min-width:761px) {
#hrd-site-header.site-header .header-main {
min-height: 77px;
        padding-block: 10px
}
}

#hrd-site-header button:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header textarea:not(:where(.hrd-header-legacy-alarm *)) {
font-family: var(--font-body)
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h2:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h3:not(:where(.hrd-header-legacy-alarm *)) {
font-family: var(--font-body);
    letter-spacing: -.02em;
    color: var(--ink);
    text-wrap: balance
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)) {
font-weight: 750
}

#hrd-site-header h2:not(:where(.hrd-header-legacy-alarm *)) {
font-weight: 750
}

#hrd-site-header h3:not(:where(.hrd-header-legacy-alarm *)) {
font-weight: 700
}

#hrd-site-header .menu-search-submit {
background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    font-weight: 700
}

#hrd-site-header .menu-search-submit:hover {
background: var(--brand-hover);
        color: #fff;
        border-color: var(--brand-hover)
}

#hrd-site-header.site-header {
background: #fff;
    border-color: var(--line)
}

#hrd-site-header .brand small {
color: var(--muted)
}

#hrd-site-header .menu-search-field {
background: #f5f6f8;
    border-color: #98a2b3
}

#hrd-site-header .menu-search-field:focus-within {
background: #fff;
        outline-color: var(--blue)
}

#hrd-site-header .menu-search-field input {
color: var(--ink)
}

#hrd-site-header .menu-search-field input::placeholder {
color: #475467;
            opacity: 1
}

#hrd-site-header .search-icon {
stroke: var(--blue)
}

#hrd-site-header .menu-search-panel {
background: #fff;
    border-color: var(--line);
    box-shadow: 0 16px 36px #1720331f
}

#hrd-site-header .search-panel-head,
#hrd-site-header .search-foot {
background: #f5f6f8;
    border-color: var(--line);
    color: var(--muted)
}

#hrd-site-header .search-panel-head p,
#hrd-site-header .search-close {
color: var(--ink)
}

#hrd-site-header .search-close:hover {
background: #e8ebef
}

#hrd-site-header .search-hit {
color: var(--ink)
}

#hrd-site-header .search-hit:hover,
#hrd-site-header .search-hit:focus-visible {
background: var(--brand-soft);
        color: var(--blue)
}

#hrd-site-header .search-hit small,
#hrd-site-header .search-empty {
color: var(--muted)
}

#hrd-site-header .search-hit small,
#hrd-site-header .search-foot {
font-size: 14px
}

#hrd-site-header .search-hit .search-arrow,
#hrd-site-header .search-empty a {
color: var(--blue)
}

#hrd-site-header .gnb-main-link {
color: var(--ink);
    font-weight: 650;
    letter-spacing: -.01em
}

#hrd-site-header .gnb-main-link:hover,
#hrd-site-header .gnb-item.is-apply .gnb-main-link {
color: var(--blue)
}

#hrd-site-header .gnb-item.is-open .gnb-top {
background: var(--brand-soft);
    border-bottom-color: var(--blue)
}

#hrd-site-header .gnb-item.is-classroom .gnb-top {
background: #eef0f3
}

#hrd-site-header .gnb-toggle {
color: var(--muted)
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel {
background: #fff;
    border-color: var(--line);
    border-top-color: var(--blue);
    box-shadow: 0 18px 32px #1720331f
}

#hrd-site-header .hrd-gnb.enhanced .mega-heading {
color: var(--blue);
    border-color: var(--line)
}

#hrd-site-header .mega-heading h3 {
color: var(--blue);
    font-weight: 700
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel a {
background: #f5f6f8;
    border-color: #dfe3e8;
    color: var(--ink)
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel a:after {
color: var(--muted)
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel a:hover,
#hrd-site-header .hrd-gnb.enhanced .gnb-panel a:focus-visible {
background: var(--brand-soft);
        border-color: #0853a1;
        color: var(--blue)
}

#hrd-site-header a:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header button:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:focus-visible:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header summary:focus-visible:not(:where(.hrd-header-legacy-alarm *)) {
outline: 3px solid var(--blue)
}

#hrd-site-header button:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header textarea:not(:where(.hrd-header-legacy-alarm *)) {
font-family: var(--font-body);
    font-optical-sizing: auto
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h2:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h3:not(:where(.hrd-header-legacy-alarm *)) {
font-family: var(--font-body);
    font-weight: 750;
    letter-spacing: -.02em
}

#hrd-site-header .gnb-list {
grid-template-columns: repeat(8,auto)
}

#hrd-site-header .gnb-main-link {
font-size: 21px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.5;
    white-space: nowrap;
    padding: 15px 2px
}

#hrd-site-header .gnb-top {
min-height: 66px
}

#hrd-site-header .gnb-toggle {
width: 20px;
    flex-basis: 20px
}

#hrd-site-header .mega-heading h3 {
font-weight: 750;
    letter-spacing: -.015em
}

#hrd-site-header .hrd-gnb.enhanced .gnb-panel a {
font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0
}

#hrd-site-header .mobile-all-menu > summary {
font-size: 18px;
    font-weight: 700
}

#hrd-site-header .mobile-all-menu .menu-grid h3 {
font-size: 18px;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: 0
}

#hrd-site-header .mobile-all-menu .menu-grid a {
font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0
}

@media screen and (min-width:1051px) and (max-width:1199px) {
#hrd-site-header .gnb-main-link {
font-size: 20px
}
}

#hrd-site-header button:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header input:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header select:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header textarea:not(:where(.hrd-header-legacy-alarm *)) {
font-family: var(--font-body)
}

#hrd-site-header h1:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h2:not(:where(.hrd-header-legacy-alarm *)),
#hrd-site-header h3:not(:where(.hrd-header-legacy-alarm *)) {
font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -.02em
}

#hrd-site-header .gnb-main-link {
font-family: var(--font-ui)
}

#hrd-site-header .gnb-main-link {
font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.01em;
    padding: 15px 2px
}

#hrd-site-header .gnb-top {
min-height: 60px
}

#hrd-site-header .gnb-list {
grid-template-columns: repeat(8,auto)
}

#hrd-site-header .mobile-all-menu > summary,
#hrd-site-header .mobile-all-menu .menu-grid h3 {
font-size: 17px
}

#hrd-site-header .mobile-all-menu .menu-grid a {
font-size: 16px
}

@media screen and (min-width:1051px) and (max-width:1199px) {
#hrd-site-header .gnb-main-link {
font-size: 18px
}
}

#hrd-site-header .search-results.recommended-results .search-hit {
min-height: 44px;
    padding: 8px 13px
}

#hrd-site-header .search-results.recommended-results .search-hit small {
display: none
}

#hrd-site-header .search-results.recommended-results .search-hit strong {
font-size: 16px;
        font-weight: 500;
        line-height: 1.5
}
/* 수강신청에서 확정한 로그인/프로필 표시를 공통화 */
#hrd-site-header.site-header {
position:relative;top:auto
}

#hrd-site-header .header-actions {
flex-direction:row;align-items:center;gap:12px;flex:0 1 360px
}

#hrd-site-header .header-actions .header-search {
width:270px;flex:1 1 270px;min-width:0
}

#hrd-site-header .en-header-auth {
display:flex;align-items:center;flex:0 0 auto
}

#hrd-site-header .en-header-auth-button {
display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:46px;padding:9px 12px;border:1px solid #bfd0e3;border-radius:8px;background:#fff;color:#164e87;font:500 15px/1.4 var(--font-body);white-space:nowrap;cursor:pointer
}

#hrd-site-header .en-header-auth-button:hover {
background:#edf4fc;border-color:#164e87
}

#hrd-site-header .en-header-auth-button:focus-visible {
outline:3px solid #0b559f;outline-offset:3px
}

#hrd-site-header .en-header-auth-button:disabled {
opacity:.65;cursor:wait
}

@media(max-width:1020px) {
#hrd-site-header .header-actions {
flex:0 1 360px
}
}

@media(max-width:760px) {
#hrd-site-header .header-actions {
flex:1 1 100%;width:100%;margin-left:0;gap:10px
}

#hrd-site-header .header-actions .header-search {
width:auto;flex:1 1 0
}

#hrd-site-header .en-header-auth-button {
min-width:70px;padding-inline:10px;font-size:14px
}
}

#hrd-site-header.site-header>.wrap {
width:min(var(--hrd-max-width),calc(100% - 64px));max-width:none;padding-inline:0;margin-inline:auto
}

#hrd-site-header.site-header .brand img {
transform:translateX(-3.6%)
}

#hrd-site-header .header-actions {
flex:0 1 auto;gap:12px;flex-wrap:nowrap
}

#hrd-site-header .header-actions .header-search {
width:270px;flex:0 1 270px
}

#hrd-site-header .en-header-welcome {
font-size:14px;line-height:1.5;margin:0;color:var(--hrd-ink);max-width:180px;overflow-wrap:anywhere;word-break:normal
}

#hrd-site-header .en-header-welcome strong {
color:var(--blue);font-size:16px;font-weight:700
}

#hrd-site-header .en-header-auth-button {
min-width:90px;min-height:46px;padding:10px 16px;border:1px solid var(--blue);border-radius:8px;background:var(--blue);color:#fff;font:700 15px/1.5 var(--font-ui);box-shadow:0 2px 6px #0853a114
}

#hrd-site-header .en-header-auth-button:hover {
background:var(--brand-hover);border-color:var(--brand-hover);color:#fff
}

#hrd-site-header .en-header-auth-button:focus-visible {
outline:3px solid var(--blue);outline-offset:4px
}

@media(max-width:1080px) {
#hrd-site-header.site-header>.wrap {
width:calc(100% - 40px)
}
}

@media(max-width:760px) {
#hrd-site-header.site-header>.wrap {
width:calc(100% - 32px)
}

#hrd-site-header .header-actions {
display:flex;flex:1 1 100%;width:100%;gap:10px;flex-wrap:wrap
}

#hrd-site-header .en-header-welcome {
flex:1 0 100%;max-width:none;font-size:14px
}

#hrd-site-header .header-actions .header-search {
width:auto;flex:1 1 0;min-width:0
}

#hrd-site-header .en-header-auth-button {
min-width:80px;padding-inline:12px
}
}

#hrd-site-header .en-header-welcome {
font-size:18px;line-height:1.5;max-width:240px
}

#hrd-site-header .en-header-welcome strong {
font-size:calc(1em + 2pt);font-weight:700
}

@media(max-width:760px) {
#hrd-site-header .en-header-welcome {
font-size:18px;max-width:none
}
}

#hrd-site-header .en-header-auth {
gap:8px
}

#hrd-site-header #header-profile {
background:#fff;color:var(--hrd-brand);border:1px solid #b8c8dc;box-shadow:none;min-width:110px;padding-inline:12px;font-size:14px;text-decoration:none
}

#hrd-site-header #header-profile:hover {
background:var(--hrd-brand-soft);border-color:var(--hrd-brand)
}

@media(max-width:760px) {
#hrd-site-header .header-actions.is-signed-in .en-header-auth {
width:100%
}

#hrd-site-header .header-actions.is-signed-in .en-header-auth-button {
flex:1
}

#hrd-site-header .header-actions.is-signed-in .header-search {
flex:1 0 100%;width:100%
}
}

#hrd-site-header .en-header-welcome {
white-space:normal;
}

/* 공존 보정: 고정 헤더/전역 reset을 추가하지 않습니다. */
#hrd-site-header.site-header { position:relative;top:auto;z-index:50;isolation:isolate;width:100%;max-width:100vw;min-width:0; }
#hrd-site-header [hidden] { display:none!important; }
#hrd-site-header .header-main { flex-wrap:wrap;padding-block:16px;row-gap:12px; }
#hrd-site-header .hrd-header-brand-row { display:flex;align-items:center;flex:0 1 auto;min-width:0; }
#hrd-site-header .header-actions { flex:1 1 400px;justify-content:flex-end;gap:10px;min-width:0;flex-wrap:wrap; }
#hrd-site-header .en-header-auth { display:flex; }
#hrd-site-header .en-header-welcome { white-space:normal; }
#hrd-site-header .menu-search-field input { min-width:0;width:100%; }
#hrd-site-header .header-search { max-width:100%; }
#hrd-site-header .gnb-item.is-current .gnb-main-link { color:#0853a1; }
#hrd-site-header .gnb-panel a[aria-current=page] { border-color:#0853a1;background:#edf4fc;color:#0853a1;font-weight:700; }
#hrd-site-header .hrd-header-legacy-alarm { flex:none;font-family:NanumSquare,sans-serif;font-size:14px;line-height:normal;letter-spacing:-1px; }
#hrd-site-header .gnb-panel ul { padding-left:0; }
@media(max-width:760px) {
 #hrd-site-header .header-main { align-items:flex-start; }
 #hrd-site-header .hrd-header-brand-row { width:100%;flex-wrap:wrap;gap:8px; }
 #hrd-site-header .brand img { transform:none;width:220px;max-width:100%; }
 #hrd-site-header .accreditation { border:0;padding-left:0; }
 #hrd-site-header .accreditation img { max-width:220px; }
 #hrd-site-header .header-actions { width:100%;flex:1 1 100%;justify-content:flex-start; }
 #hrd-site-header .header-actions .header-search { flex:1 1 200px;width:auto; }
 #hrd-site-header .en-header-welcome { flex:1 1 100%; }
}

/* 기존 서브페이지의 로그인 헤더. 검색창과 알림도 같은 행의 폭 계산에 포함합니다. */
#hrd-site-header .header-main.hrd-legacy-member {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, max-content);
    column-gap: clamp(12px, 1.5vw, 24px);
    align-items: center;
}
#hrd-site-header .hrd-legacy-member .brand-identity,
#hrd-site-header .hrd-legacy-member .accreditation {
    min-width: 0;
}
#hrd-site-header .hrd-legacy-member .header-actions {
    display: grid;
    grid-template-columns: minmax(0, max-content) auto auto auto clamp(176px, calc(37vw - 248px), 270px);
    grid-template-areas: "welcome logout profile alarm search";
    align-items: center;
    justify-content: end;
    gap: 8px;
    width: 100%;
    margin: 0;
}
#hrd-site-header .hrd-legacy-member .en-header-welcome {
    grid-area: welcome;
    display: flex;
    align-items: baseline;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}
#hrd-site-header .hrd-legacy-member #header-learner-name {
    min-width: 0;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#hrd-site-header .hrd-legacy-member .en-header-auth { grid-area: logout; }
#hrd-site-header .hrd-legacy-member .en-header-profile { grid-area: profile; }
#hrd-site-header .hrd-legacy-member .hrd-header-legacy-alarm {
    grid-area: alarm;
    display: flex;
    align-items: center;
    justify-self: start;
}
#hrd-site-header .hrd-legacy-member .header-search {
    grid-area: search;
    width: 100%;
}

@media (max-width: 1050px) {
    #hrd-site-header .header-main.hrd-legacy-member {
        grid-template-columns: minmax(0, 1fr);
    }
    #hrd-site-header .hrd-legacy-member .header-actions {
        grid-template-columns: minmax(0, max-content) auto auto auto minmax(176px, 270px);
    }
}
@media (max-width: 760px) {
    #hrd-site-header .hrd-legacy-member #header-learner-name { max-width: 100%; }
    #hrd-site-header .hrd-legacy-member .header-actions {
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        grid-template-areas:
            "welcome logout profile alarm"
            "search  search search  search";
    }
}
@media (max-width: 520px) {
    #hrd-site-header .hrd-legacy-member .header-actions {
        grid-template-columns: auto auto minmax(0, 1fr);
        grid-template-areas:
            "welcome welcome welcome"
            "logout  profile alarm"
            "search  search  search";
    }
}

@media print {
    #hrd-site-header .hrd-legacy-member .header-actions { display: none; }
}
