/* ===== EEA 헤더 스타일 (심플 모던) ===== */

/* ── 리셋 ── */
#heaDer * { box-sizing: border-box; }
#heaDer { font-family: 'Noto Sans KR', sans-serif; }

/* ── 유틸리티 바 숨김 ── */
.hdGnb { display: none; }

/* ── 메인 헤더 (로고 + 네비 + 우측 액션) ── */
.hdH1log {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.hdH1log-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* ── 로고 ── */
.hdlog {
    flex-shrink: 0;
    margin-right: 40px;
}
.hdlog a { display: flex; align-items: center; }
.hdlog a img { height: 44px; width: auto; display: block; }

/* ── 메인 네비게이션 ── */
.hdLnbArea { flex: 1; }
#gnb-container_new { position: relative; height: 70px; display: flex; align-items: center; }
.hdLnb { height: 70px; display: flex; align-items: center; }
.hdLnb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 70px;
}
.hdLnb ul li { height: 70px; display: flex; align-items: center; }
.hdLnb ul li > a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 70px;
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}
.hdLnb ul li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #C8102E;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: center;
}
.hdLnb ul li:hover > a { color: #C8102E; }
.hdLnb ul li:hover > a::after { transform: scaleX(1); }

/* nav-underline span 숨김 (::after로 대체) */
.hdLnb ul li > a .nav-underline { display: none; }

/* ── 우측 액션 영역 ── */
.hd-right-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
}

/* 검색창 */
.hd-search {
    flex-shrink: 0;
    position: relative;
}
.hd-search input {
    height: 38px;
    padding: 0 42px 0 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: 20px;
    font-size: 13px;
    width: 200px;
    outline: none;
    background: #F9FAFB;
    transition: border-color 0.2s, background 0.2s, width 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
    color: #1F2937;
}
.hd-search input:focus {
    border-color: #C8102E;
    background: #fff;
    width: 240px;
}
.hd-search input::placeholder { color: #9CA3AF; }
.hd-search button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.hd-search button:hover { color: #C8102E; }

/* 로그인 버튼 */
.hd-login-btn {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 18px;
    background: #C8102E;
    color: #fff !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    border: none;
}
.hd-login-btn:hover { background: #a50d24; }

/* 회원가입 버튼 */
.hd-join-btn {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 18px;
    background: #fff;
    color: #C8102E !important;
    border: 1.5px solid #C8102E;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
}
.hd-join-btn:hover { background: #C8102E; color: #fff !important; }

/* 로그인 후: 사용자 메뉴 */
.hd-user-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.hd-user-menu a {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    color: #4B5563;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.hd-user-menu a:hover { background: #F3F4F6; color: #C8102E; }
.hd-user-menu a.my-btn {
    background: #C8102E;
    color: #fff !important;
    font-weight: 700;
}
.hd-user-menu a.my-btn:hover { background: #a50d24; }
.hd-user-menu a.logout-btn { color: #9CA3AF; }
.hd-user-menu a.logout-btn:hover { color: #C8102E; background: #F3F4F6; }

/* ── 드롭다운 ── */
.site_container_new {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 2px solid #C8102E;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    z-index: 999;
    padding: 28px 0 24px;
    overflow: visible !important;
}
.site_container_new.active { display: block; }
.hdLnbDropDn > div {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 0;
}
.hdLnbDropDn ul {
    list-style: none !important;
    padding: 0 16px !important;
    margin: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
    border-right: 1px solid #F3F4F6 !important;
}
.hdLnbDropDn ul:first-child { padding-left: 0 !important; }
.hdLnbDropDn ul:last-child { border-right: none !important; }
.hdLnbDropDn ul li a {
    display: block;
    padding: 6px 4px !important;
    font-size: 13.5px !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: color 0.15s;
    white-space: normal !important;
    word-break: keep-all !important;
    font-family: 'Noto Sans KR', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}
.hdLnbDropDn ul li a:hover { color: #C8102E !important; font-weight: 600 !important; }

/* ── 상단 팝업 배너 숨김 ── */
.hdAdarea { display: none; }

/* ── renewal.css 구 스타일 전면 덮어쓰기 ── */
body {
    font-family: 'Noto Sans KR', sans-serif !important;
    overflow-x: hidden !important;
}
#heaDer { min-width: 0 !important; width: 100% !important; font-family: 'Noto Sans KR', sans-serif !important; }
.hdH1log { width: 100% !important; height: auto !important; clear: none !important; }
.hdlog { float: none !important; line-height: normal !important; width: auto !important; }
.hdLnbArea { clear: none !important; width: auto !important; height: auto !important; border: none !important; }
.hdLnb { width: auto !important; height: 70px !important; margin: 0 !important; }
.hdLnb > ul > li {
    float: none !important; width: auto !important; text-align: left !important;
    background: none !important; font-size: 15px !important; font-weight: 600 !important;
    line-height: 70px !important; font-family: 'Noto Sans KR', sans-serif !important;
}
.hdLnb > ul > li > a {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 15px !important; font-weight: 600 !important; color: #1F2937 !important;
}
.hdLnb > ul > li:hover > a { color: #C8102E !important; }
.hdLnbDropDn { height: auto !important; background: transparent !important; opacity: 1 !important; }
.hdLnbDropDn > div { width: auto !important; height: auto !important; }
.hdLnbDropDn > div > ul { height: auto !important; position: static !important; }
.Lnbdrdm01, .Lnbdrdm02, .Lnbdrdm03, .Lnbdrdm04,
.Lnbdrdm05, .Lnbdrdm06, .Lnbdrdm07, .Lnbdrdm08 {
    position: static !important; margin-top: 0 !important;
}
#contanTs { min-width: 0 !important; font-family: 'Noto Sans KR', sans-serif !important; }
.hdlogin { float: none !important; width: auto !important; }

/* ── 구버전 잔재 정리 ── */
.skip_submit { display: none; }
#frm_login { display: none; }
#naver_id_login { display: none !important; }
#p-kakao_id_login { display: none !important; }
ul.hdlogInfo { display: none; }

/* ── 로그인/회원가입 모달 스타일 잔재 ── */
.agree_info { padding: 10px; }
.agree_info h1 { margin: 10px auto; text-align: center; line-height: 1.6em; }
.agree_info div, .agree_info p { line-height: 1.6em; }
.guest_agree_btn1, .guest_agree_btn2 {
    border-radius: 2px; color: #fff !important;
    height: 21px; line-height: 21px;
    padding: 4px 9px; text-align: center; background: #716c6c;
}
