/* edmkorean.com 스타일 - Noto Sans 기본 글꼴 */
@charset "utf-8";

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&family=Inconsolata:wght@200..900&display=swap');

@font-face {
    font-family: 'GangwonEducationModuche';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFLightA.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GangwonEducationModuche';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFBoldA.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

:root {
    --font-gothic:      'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-serif:       'Noto Serif KR', serif;
    --font-hand:        'GangwonEducationModuche', serif;
    --font-monospace:   'Inconsolata',monospace;

    /* Bootstrap 호환 색상 변수 */
    --bs-primary: #0d6efd;
    --bs-primary-light: #b6d7ff;
    --bs-primary-dark: #0a58ca;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;

    --bs-gray-900: #212529;
    --bs-gray-800: #343a40;
    --bs-gray-700: #495057;
    --bs-gray-600: #6c757d;
    --bs-gray-500: #adb5bd;
    --bs-gray-400: #ced4da;
    --bs-gray-300: #dee2e6;
    --bs-gray-200: #e9ecef;
    --bs-gray-100: #f8f9fa;
    --bs-gray-50: #f8f9fa;

    --edm-color: rgb(39, 182, 176);

    /* 헤더 높이 변수 */
    --header-height: 71px;
    --header-padding: 1rem;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-gothic);
    font-weight: 400;
    color: #333333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 한국어 텍스트에 대한 특별 처리 */
/* :lang(ko) {
    font-family: 'Noto Sans KR', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', helvetica, sans-serif;
} */

/* 제목 태그들 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: #222222;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* 텍스트 요소들 */
p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.5s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
    transition: all 0.5s ease;
}

/* 버튼 */
button, .btn {
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s ease;
}

.btn {
    vertical-align: top;
    line-height: 1.2;
}

.note-toolbar button { border: none; }

/* Bootstrap 스타일 edmKorean 커스텀 버튼 */
.btn-edm {
    background-color: #08c2b7;
    color: #ffffff;
    border: 1px solid #08c2b7;
}

.btn-edm:hover {
    background-color: #06a69c;
    border-color: #06a69c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(8, 194, 183, 0.3);
}

.btn-edm:focus,
.btn-edm.focus {
    background-color: #06a69c;
    border-color: #06a69c;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(8, 194, 183, 0.5);
}

.btn-edm:active,
.btn-edm.active {
    background-color: #059489;
    border-color: #059489;
    color: #ffffff;
}

.btn-edm:disabled,
.btn-edm.disabled {
    background-color: #08c2b7;
    border-color: #08c2b7;
    opacity: 0.65;
    cursor: not-allowed;
}

/* Outline 버전 */
.btn-outline-edm {
    background-color: transparent !important;
    color: #08c2b7 !important;
    border: 1px solid #08c2b7 !important;
}

.btn-outline-edm:hover {
    background-color: #08c2b7 !important;
    border-color: #08c2b7 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(8, 194, 183, 0.3);
}

.btn-outline-edm:focus,
.btn-outline-edm.focus {
    background-color: transparent !important;
    color: #08c2b7 !important;
    border-color: #08c2b7 !important;
    box-shadow: 0 0 0 0.2rem rgba(8, 194, 183, 0.5);
}

.btn-outline-edm:active,
.btn-outline-edm.active {
    background-color: #08c2b7 !important;
    border-color: #08c2b7 !important;
    color: #ffffff !important;
}

.btn-outline-edm:disabled,
.btn-outline-edm.disabled {
    color: #08c2b7 !important;
    background-color: transparent !important;
    border: 1px solid #08c2b7 !important;
    opacity: 0.65;
    cursor: not-allowed;
}

/* 앵커 태그용 버튼 색상 fix */
a.btn-edm {
    color: #ffffff !important;
    text-decoration: none;
}

a.btn-edm:hover {
    color: #ffffff !important;
    text-decoration: none;
}

a.btn-outline-edm {
    color: #08c2b7 !important;
    text-decoration: none;
}

a.btn-outline-edm:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* btn-default */
.btn-default {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 0.5rem 1rem;
    border-radius: 0;
}
.btn-default:hover {
    background-color: transparent;
    color: #000;
}
a.btn-default:hover {
    text-decoration: none;
}

.btn-outline-default {
    background-color: transparent;
    color: #000;
    border: solid 1px #000;
    padding: 0.5rem 1rem;
    border-radius: 0;
}
.btn-outline-default:hover {
    background-color: #000;
    color: #fff;
}
a.btn-outline-default:hover {
    text-decoration: none;
}

a.btn:hover {
    text-decoration: none;
}

/* 입력 필드 */
input, textarea, select {
    font-size: 1rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 코드 */
code, pre {
    font-family: var(--font-monospace);
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* 반응형 글꼴 크기 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    h6 { font-size: 1rem; }
}

/* ===========================================
   반응형 헤더 스타일
   =========================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    border-bottom: 1px solid #e9ecef;
}

/* 공통 로고 스타일 */
.header-logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo-svg {
    display: block;
    height: 40px;
    width: auto;
    transition: transform 0.2s ease;
}

/* Bootstrap Icons 크기 조정 */
.mobile-actions .bi {
    font-size: 18px;
}

.mobile-nav-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-nav-item.active .mobile-nav-arrow {
    transform: rotate(180deg);
}

/* 모바일 로고 크기 */
.mobile-logo {
    height: 30px;
}

/* 데스크톱 로고 크기 */
.desktop-logo {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ===========================================
   모바일 헤더 (768px 이하)
   =========================================== */

.mobile-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: var(--header-height);
    padding: 1.5rem;
}

.mobile-header .mobile-menu-toggle {
    justify-self: start;
}

.mobile-header .header-logo {
    justify-self: center;
}

.mobile-header .mobile-actions {
    justify-self: end;
}

.desktop-header {
    display: none;
}

/* 데스크톱 액션 */
.desktop-actions { display: flex; align-items: center; }

.desktop-user-section,
.desktop-guest-section { display: flex; align-items: center; }

.desktop-notification-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: transparent; color: var(--bs-gray-600); text-decoration: none; font-size: 1.125rem; transition: all 0.2s ease; position: relative; cursor: pointer; }
.desktop-notification-btn:hover { background: var(--bs-gray-100); color: var(--bs-dark); border-color: var(--bs-gray-400); text-decoration: none; }
.desktop-notification-btn .notification-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; background: var(--bs-danger); color: white; border-radius: 50%; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; justify-content: center; border: 2px solid white; }

.desktop-login-btn { width: auto; margin-right: 1rem; }
.desktop-login-btn span { font-size: 0.9rem; white-space: nowrap; margin-left: 0.25rem; }

/* 데스크톱 사용자 메뉴 */
.desktop-user-menu {
    position: relative;
}

.desktop-user-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.desktop-user-toggle:hover {
    background: var(--bs-gray-100);
    border-color: var(--bs-gray-400);
}

.desktop-user-toggle .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bs-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-gray-600);
    font-size: 1rem;
}

.desktop-user-toggle .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.desktop-user-toggle .user-chevron {
    font-size: 0.875rem;
    color: var(--bs-gray-600);
    transition: transform 0.2s ease;
}

.desktop-user-menu.show .user-chevron {
    transform: rotate(180deg);
}

/* 데스크톱 사용자 드롭다운 */
.desktop-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: white;
    border: 1px solid var(--bs-gray-200);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10000; /* z-index를 더 높게 설정 */
}

.desktop-user-menu.show .desktop-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-user-dropdown .user-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.desktop-user-dropdown .user-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bs-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-gray-600);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.desktop-user-dropdown .user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.desktop-user-dropdown .user-details {
    flex: 1;
    min-width: 0;
}

.desktop-user-dropdown .user-name {
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-user-dropdown .user-email {
    font-size: 0.875rem;
    color: var(--bs-gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-user-dropdown .dropdown-divider {
    height: 1px;
    background: var(--bs-gray-200);
    margin: 0.5rem 0;
}

.desktop-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--bs-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.desktop-user-dropdown .dropdown-item:hover {
    background: var(--bs-gray-50);
    color: var(--bs-dark);
}

.desktop-user-dropdown .dropdown-item i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
    color: var(--bs-gray-600);
}

.desktop-user-dropdown .dropdown-item:hover i {
    color: var(--bs-primary);
}

.desktop-user-dropdown .dropdown-item.sign-out {
    color: var(--bs-danger);
}

.desktop-user-dropdown .dropdown-item.sign-out:hover {
    background: rgba(220, 53, 69, 0.1);
    color: var(--bs-danger);
}

.desktop-user-dropdown .dropdown-item.sign-out i {
    color: var(--bs-danger);
}

.desktop-user-dropdown .dropdown-item.sign-out:hover i {
    color: var(--bs-danger);
}

/* 햄버거 메뉴 아이콘 (sitemanager.css에서 가져옴) */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

#nav-icon {
    display: block;
    position: relative;
    width: 20px;
}

#nav-icon em,
#nav-icon em::after,
#nav-icon em::before {
    display: block;
    position: relative;
    height: 1px;
    width: 20px;
    background-color: #333;
    backface-visibility: hidden;
    transition: transform 0.3s ease;
}

#nav-icon em::before,
#nav-icon em::after {
    position: absolute;
    content: '';
    left: 0;
    transition: transform 0.3s ease;
}

#nav-icon em::before {
    transform: translateY(-6px);
}

#nav-icon em::after {
    transform: translateY(6px);
}

/* 햄버거 메뉴 활성화 시 X 모양 */
.mobile-menu-toggle.active #nav-icon em {
    background-color: transparent;
}

.mobile-menu-toggle.active #nav-icon em::before {
    background-color: #333;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active #nav-icon em::after {
    background-color: #333;
    transform: rotate(-45deg);
}

/* 모바일 액션 버튼들 */
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-search-toggle,
.mobile-cart-toggle,
.mobile-translate-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mobile-search-toggle:hover,
.mobile-cart-toggle:hover,
.mobile-translate-toggle:hover {
    background-color: #f8f9fa;
}

/* 모바일 메뉴 오버레이 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.mobile-menu-overlay.active .mobile-menu-sidebar {
    transform: translateX(0);
}

.mobile-menu-header {
    min-height: var(--header-height);
    background-color: var(--bs-gray-900);
    color: var(--bs-gray-500);
}

.login-btn {
    color: white;
}

.login-btn:hover {
    color: var(--bs-gray-300);
}

/* 모바일 네비게이션 */
.mobile-navigation {
    padding: 0;
}

/* ===========================================
   통합 메뉴 시스템 - 데스크톱과 모바일이 동일한 HTML 구조 사용
   =========================================== */

/* 기본 메뉴 스타일 */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #007bff;
    text-decoration: none;
}

.nav-arrow {
    font-size: 14px;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 데스크톱 메뉴 스타일 (#main-nav-menu) */
#main-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: visible;
    flex-wrap: nowrap;
    max-width: 100%;
}

#main-nav-menu .nav-item {
    position: relative;
}

#main-nav-menu .nav-link {
    white-space: nowrap;
    border-radius: 4px;
    justify-content: space-between;
}

#main-nav-menu .nav-link:hover {
    background-color: #f8f9fa;
}

#main-nav-menu .nav-arrow {
    display: none; /* 데스크톱에서는 화살표 숨김 */
}

#main-nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#main-nav-menu .nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#main-nav-menu .submenu li {
    border-bottom: 1px solid #f8f9fa;
}

#main-nav-menu .submenu li:last-child {
    border-bottom: none;
}

#main-nav-menu .submenu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#main-nav-menu .submenu a:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* 모바일 메뉴 스타일 (#mobile-nav-menu) */
#mobile-nav-menu {
    display: block;
}

#mobile-nav-menu .nav-item {
    border-bottom: 1px solid #f8f9fa;
}

#mobile-nav-menu .nav-link {
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 0;
}

#mobile-nav-menu .nav-link:hover {
    background-color: #f8f9fa;
}

/* 모바일에서 서브메뉴가 있는 링크에 chevron 화살표 자동 추가 */
#mobile-nav-menu .has-submenu .nav-link::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    margin-left: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: -2px; /* 수직 중앙 정렬을 위한 미세 조정 */
}

#mobile-nav-menu .nav-item.active .nav-link::after {
    transform: rotate(-135deg);
    border-color: #007bff; /* 활성화 시 색상 변경 */
}

#mobile-nav-menu .nav-arrow {
    display: inline-block; /* 모바일에서는 화살표 표시 */
}

#mobile-nav-menu .nav-item.active .nav-arrow {
    transform: rotate(180deg);
}

#mobile-nav-menu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-nav-menu .nav-item.active .submenu {
    max-height: 300px;
}

#mobile-nav-menu .submenu a {
    display: block;
    padding: 0.75rem 2.5rem;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

#mobile-nav-menu .submenu a:hover {
    background-color: #e9ecef;
    color: #007bff;
}

#mobile-nav-menu .submenu li:last-child a {
    border-bottom: none;
}

#mobile-nav-menu .submenu span.disabled {
    display: block;
    padding: 0.75rem 2.5rem;
    color: var(--bs-gray-500);
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
}

.mobile-submenu li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu a {
    display: block;
    padding: 0.75rem 2rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.mobile-submenu a:hover {
    background-color: #e9ecef;
    color: #333;
    text-decoration: none;
}

/* 모바일 메뉴 닫기 버튼 */
.mobile-menu-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 10001;
}

.mobile-menu-close:hover {
    background: #ffffff;
    transform: scale(1.1);
}

/* 모바일 메뉴 헤더 - 인증된 사용자 */
.mobile-menu-header .user-section {
    padding: var(--header-padding);
}

.mobile-menu-header .user-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mobile-menu-header .user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bs-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-gray-600);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mobile-menu-header .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-menu-header .user-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.mobile-menu-header .user-info {
    padding-left: 0.5rem;
}

.mobile-menu-header .user-name {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.mobile-menu-header .user-email {
    font-size: 0.875rem;
    color: var(--bs-gray-600);
    word-break: break-word;
    line-height: 1.3;
}

.mobile-menu-header .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    border: none;
    background-color: transparent;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-menu-header .action-btn:hover {
    background: var(--bs-gray-100);
    color: var(--bs-dark);
}

.mobile-menu-header .notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--bs-danger);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.mobile-menu-header .login-section {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--bs-gray-200);
}

.mobile-menu-header .login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.mobile-menu-header .login-btn:hover {
    background: var(--bs-primary-dark);
    color: white;
}

/* 통합 알림 오버레이 (모바일/데스크톱 공용) */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10002;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.notification-overlay.show {
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
}

.notification-overlay .notification-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
}

.notification-overlay.show .notification-sidebar {
    transform: translateX(0);
}

.notification-overlay .notification-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bs-gray-200);
    background: white;
    flex-shrink: 0;
}

.notification-overlay .notification-close {
    background: none;
    border: none;
    color: var(--bs-gray-600);
    font-size: 1.5rem;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.notification-overlay .notification-close:hover {
    color: var(--bs-dark);
    background: var(--bs-gray-100);
    transform: scale(1.05);
}

.notification-overlay .notification-close:active {
    transform: scale(0.95);
}

.notification-overlay h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-dark);
    flex: 1;
}

.notification-overlay .notification-content {
    flex: 1;
    background: white;
    overflow-y: auto;
    padding: 0;
}

.notification-overlay .notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bs-gray-100);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    transform: translateX(0);
}

.notification-overlay .notification-item:hover {
    background: var(--bs-gray-50);
    transform: translateX(4px);
}

.notification-overlay .notification-item:active {
    background: var(--bs-gray-100);
    transform: translateX(2px);
}

.notification-overlay .notification-item:last-child {
    border-bottom: none;
}

.notification-overlay .notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
}

.notification-overlay .notification-item:hover .notification-icon {
    transform: scale(1.05);
    background: var(--bs-primary);
    color: white;
}

.notification-overlay .notification-text {
    flex: 1;
    min-width: 0;
}

.notification-overlay .notification-title {
    font-weight: 500;
    color: var(--bs-dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    transition: color 0.2s ease-in-out;
}

.notification-overlay .notification-item:hover .notification-title {
    color: var(--bs-primary);
}

.notification-overlay .notification-time {
    font-size: 0.875rem;
    color: var(--bs-gray-600);
    transition: color 0.2s ease-in-out;
}

.notification-overlay .notification-item:hover .notification-time {
    color: var(--bs-gray-700);
}

/* 모바일 옵션 팝업 */
.mobile-options-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10003;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-end;
}

.mobile-options-popup.show {
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-options-popup .options-menu {
    width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 0 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-options-popup.show .options-menu {
    transform: translateY(0);
}

.mobile-options-popup .option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--bs-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    transform: translateX(0);
}

.mobile-options-popup .option-item:hover {
    background: var(--bs-gray-50);
    color: var(--bs-dark);
    transform: translateX(4px);
}

.mobile-options-popup .option-item:active {
    background: var(--bs-gray-100);
    transform: translateX(2px);
}

.mobile-options-popup .option-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    color: var(--bs-gray-600);
    transition: all 0.2s ease-in-out;
}

.mobile-options-popup .option-item:hover i {
    color: var(--bs-primary);
    transform: scale(1.1);
}

.mobile-options-popup .option-item.sign-out {
    color: var(--bs-danger);
}

.mobile-options-popup .option-item.sign-out:hover {
    background: rgba(220, 53, 69, 0.1);
    color: var(--bs-danger);
}

.mobile-options-popup .option-item.sign-out i {
    color: var(--bs-danger);
}

.mobile-options-popup .option-item.sign-out:hover i {
    color: var(--bs-danger);
    transform: scale(1.1);
}

.mobile-options-popup .option-divider {
    height: 1px;
    background: var(--bs-gray-200);
    margin: 0.5rem 1.5rem;
}

/* 모바일 검색 오버레이 */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-search-content {
    width: 90%;
    max-width: 400px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.mobile-search-overlay.active .mobile-search-content {
    transform: scale(1);
}

.search-form {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-submit {
    background: #007bff;
    border: none;
    padding: 1rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.search-submit:hover {
    background: #0056b3;
}

/* 모바일 검색 닫기 버튼 */
.mobile-search-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
    z-index: 9999;
}

.mobile-search-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ===========================================
   데스크톱 헤더 (768px 이상)
   =========================================== */

@media (min-width: 768px) {
    .mobile-header {
        display: none;
    }

    .desktop-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 80px;
        overflow: visible; /* 서브메뉴가 보이도록 변경 */
        width: 100%;
        position: relative;
        padding: 1.5rem;
    }

    /* 데스크톱 헤더 내부 컨테이너 */
    .desktop-header > * {
        flex-shrink: 0;
    }

    .desktop-header .logo {
        flex-shrink: 0;
        min-width: 0;
    }

    .desktop-header .main-navigation {
        flex: 1;
        min-width: 0;
        overflow: visible; /* 서브메뉴가 보이도록 변경 */
        position: relative;
    }

    /* 데스크톱에서 모바일 오버레이 강제 숨김 */
    .mobile-menu-overlay,
    .mobile-search-overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .desktop-header .logo-svg {
        height: 40px;
    }

    .logo-img {
        height: 40px;
    }

    /* 메인 네비게이션 */
    .main-navigation {
        flex: 1;
        display: flex;
        justify-content: center;
        margin: 0;
        overflow: visible; /* 서브메뉴 표시를 위해 변경 */
        min-width: 0; /* 플렉스 아이템이 줄어들 수 있도록 */
    }

    .submenu a:hover {
        background-color: #f8f9fa;
        color: #007bff;
        text-decoration: none;
    }

    .submenu span.disabled {
        display: block;
        padding: 0.75rem 1rem;
        color: var(--bs-gray-400);
        text-decoration: none;
        font-size: 0.9rem;
    }

    /* 더보기 메뉴 */
    .nav-more {
        position: relative;
        margin-left: auto; /* 오른쪽 정렬 */
        display: none; /* 기본적으로 숨김 - JavaScript에서 필요시 표시 */
    }

    .nav-more .nav-link {
        background-color: transparent;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
    }

    .nav-more .nav-link:hover {
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

    .nav-more .nav-link i {
        font-size: 1.2em;
        color: #6c757d;
    }

    .nav-more .submenu {
        right: 0;
        left: auto;
        min-width: 180px;
        z-index: 10000; /* z-index를 더 높게 설정 */
    }

    .nav-more .submenu li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-more .submenu a {
        display: block;
        padding: 0.75rem 1rem;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #f8f9fa;
        transition: all 0.2s ease;
    }

    .nav-more .submenu a:hover {
        background-color: #f8f9fa;
        color: #007bff;
    }

    .nav-more .submenu li:last-child a {
        border-bottom: none;
    }

    /* 데스크톱 액션 */
    .desktop-actions {
        flex-shrink: 0;
        min-width: 0;
        overflow: visible; /* 드롭다운이 보이도록 변경 */
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .desktop-user-section,
    .desktop-guest-section {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        flex-shrink: 0;
        overflow: visible; /* 드롭다운이 보이도록 추가 */
        position: relative; /* 드롭다운 위치 기준점 */
    }

    /* Registration 버튼 스타일 */
    .registration-btn {
        padding: 0.6rem 1.2rem;
        background: linear-gradient(135deg, #38B6B0, #2A9993);
        color: white;
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border: 1px solid rgba(255,255,255,0.7);
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }

    .registration-btn:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .registration-btn:hover {
        background: linear-gradient(135deg, #2A9993, #1F7C77);
        color: white;
        text-decoration: none;
        /* transform: translateY(-2px); */
        box-shadow: 0 6px 20px rgba(56, 182, 176, 0.4);
        border-color: rgba(255,255,255,0.3);
    }

    .registration-btn:hover:before {
        left: 100%;
    }

    .registration-btn i {
        font-size: 1.1em;
        transition: transform 0.3s ease;
    }

    .registration-btn:hover i {
        transform: scale(1.1);
    }

    .registration-btn span {
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    /* 모바일 Registration 링크 스타일 */
    .registration-mobile-item .registration-link {
        background: linear-gradient(135deg, #38B6B0, #2A9993);
        color: white;
        border-radius: 12px;
        padding: 1rem 1.5rem;
        margin: 0.5rem 0;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .registration-mobile-item .registration-link:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .registration-mobile-item .registration-link:hover {
        background: linear-gradient(135deg, #2A9993, #1F7C77);
        color: white;
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(56, 182, 176, 0.3);
    }

    .registration-mobile-item .registration-link:hover:before {
        left: 100%;
    }

    .registration-mobile-item .registration-link i {
        font-size: 1.3em;
        transition: transform 0.3s ease;
    }

    .registration-mobile-item .registration-link:hover i {
        transform: scale(1.1) rotate(5deg);
    }

    .registration-mobile-item .registration-link span {
        font-size: 1.1em;
        letter-spacing: 0.5px;
    }
}

/* ===========================================
   큰 데스크톱 (1200px 이상)
   =========================================== */

@media (min-width: 1200px) {
    .desktop-header {
        min-height: 90px;
    }

    .nav-menu {
        gap: 1rem;
    }
}

/* 글꼴 로딩 최적화 */
@supports (font-variation-settings: normal) {
    body {
        font-family: var(--font-gothic);
    }
}


/* ===========================================
   푸터 스타일
   =========================================== */

.main-footer {
    background-color: var(--bs-gray-800);
    color: var(--bs-gray-100);
    margin-top: auto;
}

.footer-container {
    padding: 1.5rem;;
}

/* 푸터 섹션 제목 */
.footer-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 주요 링크 섹션 */
.footer-links {
    margin-bottom: 3rem;
}

.footer-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-link {
    color: var(--bs-gray-300);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-gray-700);
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
    transform: translateX(4px);
}

/* 파트너 로고 섹션 */
.footer-partners {
    margin-bottom: 3rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.partner-logos img {
    height: 70px;
}

/* 연락처 섹션 */
.footer-contact {
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-address {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--bs-gray-700);
    border-radius: 8px;
}

.contact-address i {
    color: var(--bs-primary);
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-address span {
    color: var(--bs-gray-100);
    line-height: 1.5;
    font-weight: 500;
}

.contact-details {
    display: grid;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bs-gray-300);
}

.contact-item i {
    color: var(--bs-primary);
    font-size: 1rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item span {
    font-weight: 500;
}

/* 소셜 미디어 섹션 */
.footer-social {
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--bs-gray-700);
    color: var(--bs-gray-300);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid var(--bs-gray-600);
}

.social-link:hover {
    background-color: var(--bs-gray-600);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link i {
    font-size: 1.125rem;
}

.social-link:hover i {
    color: var(--bs-primary);
}

/* Instagram 특별 색상 */
.social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-link[href*="instagram"]:hover i {
    color: white;
}

/* YouTube 특별 색상 */
.social-link[href*="youtube"]:hover {
    background-color: #ff0000;
    border-color: #ff0000;
}

.social-link[href*="youtube"]:hover i {
    color: white;
}

/* 푸터 하단 (Copyright) */
.footer-bottom {
    background-color: var(--bs-gray-900);
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--bs-gray-700);
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-gray-400);
    font-size: 0.9rem;
    line-height: 1.5;
}

.copyright a {
    color: var(--bs-gray-800);
}
.copyright a:hover, .copyright .admin-links button:hover {
    color: var(--bs-gray-300);
}

.copyright .login-link {
    margin-left: 1rem;
}

.copyright .admin-links {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.copyright .admin-links button {
    background: none;
    border: none;
    color: var(--bs-gray-800);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

/* 태블릿 반응형 */
@media (min-width: 768px) {
    .footer-container {
        padding: 2rem 1.5rem;
    }

    .footer-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-details {
        grid-template-columns: repeat(1, 1fr);
    }

    .social-links {
        justify-content: flex-start;
    }
}

/* 데스크톱 반응형 */
@media (min-width: 992px) {
    .footer-container {
        display: grid;
        grid-template-columns: 2fr 1.5fr 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .footer-links,
    .footer-partners,
    .footer-contact,
    .footer-social {
        margin-bottom: 0;
    }

    .footer-link-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link {
        justify-content: center;
    }
}

/* 큰 데스크톱 */
@media (min-width: 1200px) {
    .footer-container {
        padding: 3rem 1.5rem;
        gap: 4rem;
    }

    .footer-section-title {
        font-size: 1.375rem;
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    .footer-link,
    .social-link {
        transition: none;
    }

    .footer-link:hover,
    .social-link:hover {
        transform: none;
    }
}

/* 인쇄 스타일 */
@media print {
    .main-footer {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }

    .footer-section-title {
        color: black !important;
    }

    .footer-link,
    .contact-item,
    .social-link {
        color: black !important;
    }

    .social-link:after {
        content: " (" attr(href) ")";
    }
}

/* ===========================================
    Main
   =========================================== */

body > main { min-height: 60vh; padding-bottom: 5rem; }
body > main > .container { padding: 1.5rem; }
.container img { max-width: 100%; }

/* document navigation */
.document-navigation .edm-breadcrumb,
.document-navigation .menu-breadcrumb {
    margin-bottom: 1rem;
}

/* Document Header Image */
.document-header-image {
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.document-header-image img {
    width: 100%;
    height: 300px; /* Desktop 기본 높이 */
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.document-header-image.object-position-bottom img {
    object-position: bottom;
}

.document-header-image:hover img {
    transform: scale(1.02);
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .document-header-image img {
        height: 320px;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .document-header-image img {
        height: 280px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .document-header-image {
        margin-bottom: 1.25rem;
    }

    .document-header-image img {
        height: 220px;
    }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .document-header-image {
        margin-bottom: 1rem;
    }

    .document-header-image img {
        height: 180px;
    }
}

/* Mobile Small (575px 이하) */
@media (max-width: 575px) {
    .document-header-image {
        margin-bottom: 1rem;
        border-radius: 0.25rem;
    }

    .document-header-image img {
        height: 150px;
    }
}


/* breadcrumb */
.edm-breadcrumb {
    margin-bottom: 3rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-gray-200);
}

.edm-breadcrumb ol {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.edm-breadcrumb > ol li {
    position: relative;
}

.edm-breadcrumb > ol li + li {
    margin-left: 1rem;
    padding-left: 1rem;
}

.edm-breadcrumb > ol li + li::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 0;
    transform: translateY(-50%);
    width: 0.25rem;
    height: 0.25rem;
    background-color: var(--edm-color);
    border-radius: 50%;
}

.edm-breadcrumb a {
    color: var(--bs-gray-500);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.edm-breadcrumb a:hover {
    color: var(--edm-color);
    text-decoration: underline;
}

.edm-breadcrumb li.active {
    color: #000;
    white-space: nowrap;
}

/* menu-tabs */
.edm-menu-tabs {
    margin: 2rem 0;
}

.edm-menu-tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.edm-menu-tabs ul li {
    flex: 1 0 50%;
    text-align: center;
    padding: 0 1px 1px 0;
}

.edm-menu-tabs ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: var(--bs-gray-100);
    color: var(--bs-gray-900);
    line-height: 1;
}

.edm-menu-tabs ul li a:hover, .edm-menu-tabs ul li a.active {
    background-color: var(--bs-gray-900);
    color: white;
    text-decoration: none;
}

@media (min-width: 768px) {
    .edm-menu-tabs ul li {
        flex: 1 0 auto;
    }
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* article */
article, .board .note-editable { word-break: keep-all; line-height: 1.8; }
article img { max-width: 100%; }

h1 { margin: 4rem 0; }

h2 { color: var(--edm-color); }

h5 { color: var(--edm-color); }

h6.description {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--edm-color);
    margin-bottom: 3rem;
}

article p {
    line-height: 1.8;
    font-size: 1.125rem;
}

article section {
    margin-bottom: 6rem;
}

.article-list-with-thumbnail {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.article-list-with-thumbnail li {
    display: flex;
    align-items: flex-start;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    flex-direction: column;
}

.article-list-with-thumbnail li:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.article-list-with-thumbnail .content {
    flex: 1;
    min-width: 0; /* flexbox overflow 방지 */
}

.article-list-with-thumbnail .content h6 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.article-list-with-thumbnail .content p {
    margin: 0;
    line-height: 1.6;
    color: #666;
    font-size: 0.9rem;
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .article-list-with-thumbnail li {
        margin: 2rem 0;
        padding: 1.5rem;
        flex-direction: row;
    }

    .article-list-with-thumbnail .content h6 {
        font-size: 1.1rem;
    }

    .article-list-with-thumbnail .content p {
        font-size: 1rem;
    }
}

.article-list-with-thumbnail .thumbnail {
    flex-shrink: 0;
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f8f9fa;
}

.article-list-with-thumbnail .thumbnail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.article-list-with-thumbnail .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-list-with-thumbnail .thumbnail-icon i {
    font-size: 3rem;
    color: #fff;
    background-color: var(--edm-color);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .article-list-with-thumbnail li {
        flex-direction: row;
        padding: 1.5rem;
    }

    .article-list-with-thumbnail .thumbnail {
        width: 150px;
        height: 110px;
        margin-right: 1.25rem;
        margin-bottom: 0;
    }

    .article-list-with-thumbnail .thumbnail-icon {
        width: auto;
        padding: 0 1rem;
    }

    .article-list-with-thumbnail .thumbnail-icon i {
        font-size: 2.5rem;
        width: 80px;
        height: 80px;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .article-list-with-thumbnail .thumbnail {
        width: 200px;
        height: 140px;
        margin-right: 1.75rem;
    }

    .article-list-with-thumbnail .thumbnail-icon i {
        font-size: 3.5rem;
        width: 110px;
        height: 110px;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .article-list-with-thumbnail .thumbnail {
        width: 250px;
        height: 180px;
        margin-right: 2rem;
    }

    .article-list-with-thumbnail .thumbnail-icon i {
        font-size: 4rem;
        width: 125px;
        height: 125px;
    }
}


/* Courses */
.courses .table td strong { display: block; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--edm-color); }

.courses .content-row { display: flex; align-items: stretch; }

.courses .image-container { display: flex; align-items: center; padding-right: 0 !important; }
.courses .image-container img { width: 100%; height: auto; object-fit: cover; }

.courses .table-container { display: flex; align-items: stretch; }
.courses .table-container .table { height: 100%; margin: 0; }
.courses .table-container .table td { width: 33.333%; padding: 1rem; }

@media (max-width: 991px) {
    .courses .content-row { display: block; }

}

/* 별표 마커 스타일 */
.star-list { list-style: none; padding-left: 0; margin: 1rem 0; }
.star-list li { position: relative; padding-left: 1rem; color: var(--bs-gray-600); }
.star-list li::before { content: "*"; position: absolute; left: 0; top: 15%; color: var(--edm-color); font-weight: bold; }

.caption { text-align: center; margin-top: 0.5rem; font-size: 0.9rem; color: var(--bs-gray-600); }
.img-banner { width: 100%; max-height: 500px; object-fit: cover; object-position: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }

/* activity-list */
.activity-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.activity-list li { text-align: center; }
.activity-list img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.activity-list h6 { margin-top: 1rem; margin-bottom: 0.5rem; }
.activity-list p { font-size: 0.9em; color: var(--bs-gray-600); line-height: 1.4; }

@media (min-width: 768px) {
    .activity-list img { width: 200px; height: 200px; }
    .activity-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
    .activity-list { grid-template-columns: repeat(4, 1fr); }
    .activity-list.list-3 { grid-template-columns: repeat(3, 1fr); }
}
