
* { margin: 0; padding: 0; box-sizing: border-box; }
header.stnHeader {
    width:100%;
}
header.stnHeader > section.stnHeaderBn {

}

@keyframes blinkColor {
    0%   { opacity: 1; color: #142a5e;  }
    50%  { opacity: .6; color: #142a5e; }
    100% { opacity: 1; color: #142a5e; }
}

.blink {
    animation: blinkColor 1s infinite;
}

header.stnHeader > section.stnHeaderBn  {
    background-image: url(https://ecudemo23165.cafe24.com/skin-skin604/_wg/_cPack/cp507/img/01.png);
    background-color: #eee;
}
header.stnHeader > section.stnHeaderBn  > article.stnHeaderTopBn {
    max-width: var(--max-width);
    margin:0 auto;
    text-align: center;
    padding:1rem 0;
    color: #111;
    display: flex; align-items:center;justify-content:center; gap: .5rem;
}
header.stnHeader > section.stnHeaderBn  > article.stnHeaderTopBn > h1 {
    padding:0 0 0 0; margin:0 0 0 0;  font-size: .875rem; font-weight: 400;
}
header.stnHeader > section.stnHeaderBn  > article.stnHeaderTopBn > h2 {
    padding:0 0 0 0; margin:0 0 0 0;  font-size:1rem; font-weight: 400;
}
header.stnHeader > section.stnHeaderBn > article.stnHeaderTopBn > h2 > strong {
    font-weight: 600;
}





header.stnHeader > section.stnHeaderGnb {
    font-family: var(--FontFamily2);
    border-bottom:1px solid #ebebeb;
}

header.stnHeader > section.stnHeaderGnb > article.stnHeaderGnb {
    max-width:calc(var(--max-width));
    margin:0 auto;
    padding:0 2rem;
    display: flex;
    justify-content:flex-end;
    gap: 1rem;
}
header.stnHeader > section.stnHeaderGnb > article.stnHeaderGnb > label {
    font-size:12px;
    color:#494949;
    font-weight: 400;
    padding:.5rem 0;
}
header.stnHeader > section.stnHeaderGnb > article.stnHeaderGnb > label > span.userName {
    color:#333;
    font-size:14px;
}
header.stnHeader > section.stnHeaderGnb > article.stnHeaderGnb > a {
    text-decoration: none;
    color:#494949;
    font-size:12px;
    font-weight: 400;
    padding:.5rem 0;
}



header.stnHeader > section.stnHeader  {

}
header.stnHeader > section.stnHeader > article.stnHeader  {
    max-width:calc(var(--max-width));
    margin:0 auto;
    padding:2rem 2rem .75rem 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns:repeat(3,minmax(0,1fr));
    justify-items:center; align-items:center;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.logo {
    display: flex;
    width:100%;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.logo img {
    width:240px !important;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.stnHeaderGnb {
    margin-left:auto;
    letter-spacing:-1px;
    display: flex;
    gap: 1.25rem;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.stnHeaderGnb > a {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color:#494949;
    font-size:12px;
    font-weight: 400;
    align-items:center;
    transition: all .3s;
    gap: .25rem;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.stnHeaderGnb > a > span {
    position: absolute;
    font-size:.75rem;
    font-weight: 500;
    align-items:center;justify-content:center;
    top:-10px;
    right:0;
    background: #142a5e;
    width:18px; height: 18px;
    color:#fff;
    display: flex;
    border-radius: 9999px;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.stnHeaderGnb > a  > i {
    font-size:1.75rem;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.stnHeaderGnb > a:hover {
    color:#135dba;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap {
    width:100%;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap > div.searach {

}
header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap > div.searach > form {
    display: flex;
    height: 44px;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap > div.searach> form  input {
    width:100%;
    font-family: var(--FontFamily2);
    font-size:16px;
    line-height: 25px;
    padding:0 10px;
    border-radius: 6px 0 0 6px;
    border:1px solid #C2C3C4;
    border-right:0;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap > div.searach> form  button {
    cursor: pointer;
    background: transparent;
    border-radius: 0 6px 6px 0;
    border:1px solid #C2C3C4;
    padding:0 .75rem;
    border-left:0;
}
header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap > div.searach > form button > i {
    color:#135dba;
    font-size:1.25rem;
}

nav.nav {
    height: 100%; width:100%;
}
nav.nav ul {
    width: 100%;
    display: flex;
    list-style: none;
    justify-content:space-between;
}
nav.nav a {
    font-family: var(--FontFamily2);
    text-decoration: none;
    color: #4d4d4d;
    font-weight: 500;
    font-size:.875rem;
    line-height: 3rem;
}

nav.nav > ul > li.allBars { background: #4C7CCD; color: #FFF; min-width: 50px; display:flex;align-items:center;justify-content:center; font-size: 14px; padding:0 1rem; gap: .75rem; }
nav.nav > ul > li.allBars > i {
    font-size: 1rem;
}

/* ===== submenu (header 밑) ===== */
div.submenu-wrap {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 999;
    display: none;
}
div.submenu {
    display: none;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
div.submenu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
div.submenu-inner ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}
div.submenu-inner a {
    color: #333;
    font-size: .875rem;
    text-decoration: none;
}

.all-menu {
    display: none;
    position: absolute;
    background: #fff;
    top:49px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    z-index: 9100;          /* header보다 위 */
}

.all-menu.open {
    display: block;
}

/* 내부 레이아웃 */
.menu-wrap {
    max-width: calc(var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    box-shadow: 6px 6px 0px 0px rgba(0,0,0, 0.2);
}

/* depth1 */
.depth1 {
    background: #192f45;
    list-style: none;
    color:#c5c5c5;
    border-right: 1px solid #e5e5e5;
    font-size: 13px;
    font-family: var(--FontFamily2);
    padding:0 0 0 1.5rem !important;
}

.depth1 li {
    height: 40px;
    cursor: pointer;
    font-size: .875rem;
    line-height: 40px;
}
.depth1 li > a { text-decoration: none; color:#c5c5c5 }
.depth1 li > i {
    font-size: .5rem;
}
.depth1 li.on,
.depth1 li:hover {
    background: #03142F;
}

/* depth2 */
.depth2-wrap {
    min-width: 0;
    border-right:1px solid #222;
    border-bottom:1px solid #222;
}

.depth2 {
    min-width: 522px;
    list-style: none;
    display: none;
}

.depth2.on {
    display: grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.depth2 > h2 {
    grid-column: 1 / 3;
    padding: 20px 20px 8px 27px;
    margin:0 0 0 0;
    font-size: 26px;
}
.depth2 li {
    width:260px;
    margin: .3rem 0;
    padding:0 30px;
    font-size: .875rem;
    display:flex;align-items:center;justify-content:center;
}
.depth2 li:nth-child(even) {
    border-right:1px solid #DEE2E2;
}
.depth2 a {
    color: #333;
    width:100%;
    margin:0 30px;
    border-bottom: 1px solid #222;
    text-decoration: none;
    display:flex;align-items:center;
    padding:.75rem 0 .25rem 0;
    font-size:13px;  font-weight: 500;
}

.depth2 a:hover {
    color: #000;
    text-decoration: none;
}

/* 버튼 */
.allBars {
    cursor: pointer;
}

section.stnHeaderCate {
    width:100%;
    border-top:1px solid #cfcfcd;
    border-bottom:1px solid #222;
    position: relative;
}
section.stnHeaderCate ul,
section.stnHeaderCate  li { padding:0 0 0 0; margin:0 0 0 0; list-style: none; }
section.stnHeaderCate > article.stnHeaderCate {
    max-width:calc(var(--max-width));
    margin:0 auto;
    padding:0 2rem;
}

/* ===== submenu (header 밑) ===== */
div.submenu-wrap {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 999;
    display: none;
}
div.submenu {
    display: none;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
div.submenu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
div.submenu-inner ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}
div.submenu-inner a {
    color: #333;
    font-size: .875rem;
    text-decoration: none;
}

/* ===== 모바일 메뉴 (오른쪽→왼쪽) ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 460px;
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
    width:100%; height:77px; background: #f5f5f5; border-bottom: 1px solid #eee;
    padding:0 1rem;
    display:flex;align-items:center;justify-content:space-between;
}
.mobile-menu .mobile-menu-close > img { max-height: 30px; }
.mobile-menu .close-btn {
    display: flex;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    z-index: 1101;
}
.mobile-menu .close-btn:hover {
    color: #000;
}
.mobile-menu-inner {
    font-size: .75rem;
    color:#333;
    overflow-y: auto;
    height: calc(100vh - 77px);
}
.mobile-menu-inner div.mobile-cate-wrap {
}
.mobile-menu ul {
    list-style: none;
}
.mobile-menu li {
    border-bottom: 1px solid #eee;
    width:100%;
    line-height: 2.5rem;
    text-indent: 1rem;
}
.mobile-menu a {
    text-decoration: none;
    font-size: .875rem;
    color:#333;
    display: block;
    transition: transform 0.3s;
}
.mobile-menu a:hover { color: #000; }
.sub-menu {
    background: #f5f5f5;
    margin:.5rem 1rem;
    padding:.5rem .5rem;
    border-radius: 10px 10px;
}
.sub-menu li {
    border-bottom: 0;
    font-size:.75rem;
    line-height: 1.5rem !important;
}
.sub-menu li a {
    font-size:.75rem;
}
/* 어두운 배경 */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
}
.menu-overlay.active {
    display: block;
}

/* 서브메뉴 숨김 */
.mobile-menu .sub-menu {
    display: none;
    transition: all 0.3s ease;
}

/* 펼쳤을 때 보이기 */
.mobile-menu .has-sub.active > .sub-menu {
    display: block;
}

/* 토글 버튼 스타일 */
.mobile-menu .accordion-toggle {
    background: none;
    border: none;
    color: #333;
    width: 100%;
    padding-left:1rem;
    padding-right:1rem;
    font-size: .875rem;
    text-align: left;
    line-height: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
}
.mobile-menu .accordion-toggle:hover { color: #000; }

/* 아이콘 스타일 */
.mobile-menu .accordion-toggle i {
    font-size: 1rem;
    transition: transform 0.3s;
}

/* 펼쳐졌을 때 아이콘 전환 */
.mobile-menu .has-sub.active > .accordion-toggle i {
    transform: rotate(180deg);
}
.mobile-menu .has-sub.active > .accordion-toggle .fa-plus {
    display: none;
}
.mobile-menu .has-sub.active > .accordion-toggle::after {
    content: none;
}
.mobile-menu .has-sub.active > .accordion-toggle .fa-minus {
    display: inline-block;
}
.mobile-menu .accordion-toggle .fa-minus {
    display: none;
}
.mobile-menu .mobileBox {
    padding-top:1rem; padding-bottom:.5rem;
    display: grid; grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #eee;
}
.mobile-menu .mobileBox a {
    display: flex; flex-direction: column; align-items:center;justify-content:center; font-size:.75rem; gap: .5rem;
}
.mobile-menu .mobileBox a > i {
    font-size:1.5rem;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}
.hamburger span {
    height: 3px;
    background: #333;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 599px) {
    .hamburger { display: flex; }
    .searachWrap { display: none; }
    .stnHeaderGnb { display: none !important; }
    section.stnHeaderCate { display: none !important; }
    .mobile-menu { width:calc(100vw - 2rem);}
    header.stnHeader > section.stnHeader > article.stnHeader > div.logo {
        width:150px;
    }
    header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap {
        display: none;
    }
    header.stnHeader > section.stnHeader > article.stnHeader  {
        display: flex;
        gap: 2rem;
        justify-content:space-between;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .hamburger { display: flex; }
    .stnHeaderGnb { display: none !important; }
    section.stnHeaderCate { display: none !important; }
    header.stnHeader > section.stnHeader > article.stnHeader > div.logo {
        width:150px;
    }
    header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap {
        width:40%;
    }
    header.stnHeader > section.stnHeader > article.stnHeader  {
        display: flex;
        gap: 2rem;
        justify-content:space-between;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .hamburger { display: flex; }
    .stnHeaderGnb { display: none !important; }
    section.stnHeaderCate { display: none !important; }
    header.stnHeader > section.stnHeader > article.stnHeader > div.logo {
        width:150px;
    }
    header.stnHeader > section.stnHeader > article.stnHeader > div.searachWrap {
        width:40%;
    }
    header.stnHeader > section.stnHeader > article.stnHeader  {
        display: flex;
        gap: 2rem;
        justify-content:space-between;
    }
}
