/* file-index_header-1.css : 기존 화면의 분리된 스타일. 적용 순서와 기능을 유지합니다. */

.eh-version-switch-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0 0;
    box-sizing: border-box;
}
.eh-version-switch-wrap .eh-header-slogan.eh-welcome {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -.3px;
    color: var(--eh-t-text,var(--theme-dark));
}
.eh-version-switch-wrap .eh-welcome-brand {
    color: var(--eh-t-accent,var(--theme-dark));
    background: transparent;
    border-color: var(--eh-border-level4,var(--theme-divider));
}
.eh-version-switch-wrap .eh-version-switch {
    flex: 0 0 var(--eh-sidebar-width,240px);
    margin-left: auto;
    width: var(--eh-sidebar-width,240px)!important;
    max-width: 100%;
}
.eh-version-switch {
    display: inline-flex;
    box-sizing: border-box;
    width: var(--eh-sidebar-width,240px);
    height: 28px;
    border: 1px solid var(--theme-palette-level3,#83b5dd);
    border-radius: 5px;
    overflow: hidden;
    background: var(--theme-surface,#fff);
}
html body .eh-version-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 2px;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    color: var(--theme-palette-level1,#1754a4)!important;
    text-decoration: none;
}
.eh-version-switch a+a {
    border-left: 1px solid var(--theme-palette-level3,#83b5dd);
}
html body .eh-version-switch a:hover {
    background: var(--theme-light,#edf5fc);
}
html body .eh-version-switch a[aria-current="page"] {
    background: var(--theme-palette-level2,#2871bc);
    color: #fff!important;
    font-weight: 700;
}
@media (max-width:767px) {
    .eh-version-switch-wrap {
        display: flex;
        justify-content: stretch;
        flex-wrap: nowrap;
        width: 100%;
        padding: 5px 0 0;
        gap: 0;
    }
    .eh-version-switch-wrap .eh-header-slogan.eh-welcome {
        display: none!important;
    }
    .eh-version-switch-wrap .eh-version-switch {
        flex: 1 1 100%;
        width: 100%!important;
        max-width: 100%;
        margin: 0;
        height: 28px;
    }
    .eh-version-switch-wrap .eh-version-switch a {
        flex: 1 1 0;
    }
}
.eh-mobile-version-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    padding: 5px 10px 0;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 1.5;
    color: var(--theme-dark);
}
.eh-mobile-version-links a {
    color: var(--theme-dark);
    text-decoration: none;
    white-space: nowrap;
}
.eh-admin-list-switch {
    display: inline-flex;
    flex: 0 0 auto;
    height: 28px;
    border: 1px solid var(--theme-palette-level3,#83b5dd);
    border-radius: 5px;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
}
.eh-admin-list-switch button {
    border: 0;
    background: var(--theme-surface,#fff);
    color: var(--theme-palette-level1,#1754a4);
    font-size: 12px;
    padding: 0 12px;
    cursor: pointer;
    white-space: nowrap;
}
.eh-admin-list-switch button+button {
    border-left: 1px solid var(--theme-palette-level3,#83b5dd);
}
.eh-admin-list-switch button[aria-pressed=true] {
    background: var(--theme-palette-level2,#2871bc);
    color: #fff;
    font-weight: 700;
}
@media (max-width:767px) {
    .eh-version-switch-wrap:has(.eh-admin-list-switch) .eh-version-switch {
        flex: 1 1 0;
        width: auto!important;
    }
    .eh-admin-list-switch button {
        padding: 0 8px;
    }
    .eh-admin-list-switch {
        margin-left: 4px;
    }
}
.eh-version-switch-wrap .eh-slogan-cycle {
    display: grid;
    align-items: center;
    flex: 1 1 auto;
}
.eh-slogan-cycle :is(.eh-slogan-original,.eh-slogan-alternate) {
    grid-area: 1/1;
}
.eh-slogan-cycle .eh-slogan-alternate {
    visibility: hidden;
    opacity: 0;
}
.eh-slogan-cycle .eh-slogan-original {
    animation: ehSloganOriginal 10s infinite;
}
.eh-slogan-cycle .eh-slogan-alternate {
    animation: ehSloganAlternate 10s infinite;
}
@keyframes ehSloganOriginal {
    0%,45% {
        opacity: 1;
        visibility: visible;
    }
    50%,95% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}
@keyframes ehSloganAlternate {
    0%,45% {
        opacity: 0;
        visibility: hidden;
    }
    50%,95% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}
@media (prefers-reduced-motion:reduce) {
    .eh-slogan-cycle :is(.eh-slogan-original,.eh-slogan-alternate) {
        animation-timing-function: steps(1,end);
    }
}
html[data-eh-theme] body .top_header_title>.logo a.eh-site-text-logo {
    display: inline-flex!important;
    align-items: center;
    gap: 0;
    font-size: 33px!important;
    font-weight: 800!important;
    line-height: 1.2!important;
    -webkit-text-stroke: 0!important;
    color: var(--theme-text,#24364B)!important;
}
html[data-eh-theme] body .top_header_title>.logo a.eh-site-text-logo .eh-site-text-logo-accent {
    color: var(--theme-main,var(--theme-dark,#246CB4))!important;
}
.eh-site-text-logo .eh-brand-dot {
    display: block;
    position: absolute;
    right: -0.32em;
    top: -0.08em;
    width: 0.23em;
    height: 0.23em;
    border-radius: 50%;
    background: var(--theme-main,var(--theme-dark,#246CB4));
    pointer-events: none;
}
.eh-site-text-logo .eh-brand-word {
    white-space: nowrap;
    position: relative;
    display: inline-block;
    padding-right: 0.12em;
    margin-right: 0.32em;
}
@media (max-width:767px) {
    html[data-eh-theme] body:not(.eh-mobile-forced-pc) .top_header_title>.logo a.eh-site-text-logo {
        font-size: clamp(23px,calc(6.2vw + 4px),29px)!important;
        gap: 0;
    }
}
