/* ========================================
   CSS 변수 중앙 관리 시스템
   이 파일을 모든 페이지에서 가장 먼저 로드하세요
   ======================================== */

:root {
    /* ========================================
       색상 변수
       ======================================== */
    /* 골드 색상 팔레트 */
    --gold-color: #ffdc1f;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --gold-border: rgba(212, 175, 55, 0.3);

    /* 글래스 효과 */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* 어두운 배경 */
    --dark-bg: rgba(0, 0, 0, 0.4);

    /* ========================================
       Z-Index 계층 구조 (6단계)
       ======================================== */

    /* L0: 배경 및 기본 레이어 (0-9) */
    --z-background: 0;
    --z-base: 1;
    --z-content: 10;

    /* L1: 페이지 구성 요소 (10-99) */
    --z-page-background: 1;
    --z-video-background: 1;
    --z-overlay: 5;
    --z-page-content: 10;

    /* L2: 레이아웃 컴포넌트 (100-499) */
    --z-sidebar: 100;
    --z-header: 200;
    --z-footer: 200;
    --z-sidebar-content: 50;
    --z-top-logo: 60;

    /* L3: UI 컴포넌트 (500-899) */
    --z-card: 500;
    --z-widget: 510;
    --z-dropdown: 600;
    --z-tooltip: 700;
    --z-sticky: 800;
    --z-fixed-element: 850;

    /* L4: 오버레이 및 모달 (900-1999) */
    --z-modal-overlay: 900;
    --z-modal: 1000;
    --z-popup-overlay: 1000;
    --z-popup: 1100;
    --z-dialog: 1200;
    --z-drawer: 1300;

    /* L5: 최상위 UI (2000-9998) */
    --z-notification: 2000;
    --z-toast: 2100;
    --z-loading: 2200;
    --z-chat-widget: 9998;
    --z-kakao-chat: 9998;

    /* L6: 긴급/디버그 (9999+) */
    --z-top: 9999;
    --z-fullscreen: 9999;
    --z-debug: 99999;
}

/* ===========================================
   Body
=========================================== */
.book-body {
    margin: 0;
    padding: 0;
    background: rgb(0 0 0 / 0);
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    overflow: hidden;
    height: 100%;
}

/* ===========================================
   Video Background
=========================================== */
.book-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-video-background);
    overflow: hidden;
}

.book-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.book-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0%, rgba(0, 0, 0, 0.56) 50%, rgba(255, 255, 255, 0.30) 100%);
    z-index: var(--z-overlay);
    pointer-events: none;
}

/* ===========================================
   Book Container
=========================================== */
.book-container {
    position: fixed;
    inset: 5% 12% 5% 5%;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    max-height: 100vh;
    z-index: var(--z-page-content);
    background: var(--dark-bg);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 218, 11, 0.86);
    border-radius: 12px;
    box-shadow:
        0 25px 50px -12px rgba(87, 77, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.39);
    overflow: hidden;
}

/* ===========================================
   Page Styles
=========================================== */
.book-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
}

.book-page.active {
    opacity: 1;
    pointer-events: auto;
    z-index: var(--z-content);
}

.page-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.27);
    padding: clamp(12px, calc(6px + 1.5vw), 30px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* ===========================================
   PAGE 0: 입구 (COVER)
=========================================== */
.hm_page-cover {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.hm_cover-bottom {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    flex: 1;
    height: 100%;
    width: 100%;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: auto;
}

/* 왼쪽: 로고 */
.hm_cover-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.hm_cover-big-logo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 오른쪽: 콘텐츠 */
.hm_cover-right {
    flex: 1%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    gap: 5px;
    overflow-y: auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.hm_cover-right h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    color: var(--gold-color);
    margin: 0;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.hm_cover-date {
    font-size: clamp(0.75rem, 1.15vw, 0.875rem);
    color: rgba(255, 255, 255, 1);
    margin: 0 0 5px 0;
}

/* 통계 카드 */
.hm_stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
    text-align: center;
}

.hm_stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    border-radius: 10px;
    padding: clamp(5px, 1vw, 10px);
    text-align: center;
    font-size: clamp(0.6rem, 1vw, 0.77rem);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 100px;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.hm_stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.hm_stat-card:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.hm_stat-card:hover::before {
    left: 100%;
}

.hm_stat-card .count-up {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--gold-color);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    margin-bottom: 8px;
    line-height: 1;
}

.hm_stat-card.cta {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: rgba(212, 175, 55, 0.5);
    cursor: pointer;
    font-weight: 600;
}

.hm_stat-card.cta:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.25));
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.hm_stat-card.cta span:first-child {
    display: block;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 5px;
}

.hm_stat-card.cta span {
    color: #fff;
}

/* 날씨 및 시간 */
.hm_toc-weather {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    margin: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    width: 100%;
    justify-content: center;
    align-items: center;
}

.hm_toc-weather span {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hm_toc-weather i {
    color: rgba(212, 175, 55, 0.7);
    font-size: 1rem;
}

/* 회사 정보 */
.hm_cover-company {
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin: 100px 0 10px 0;
}

.hm_cover-links {
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    margin: 0;
}

.hm_cover-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.hm_cover-links a:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

/* 입장하기 버튼 */
.cover-next-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    z-index: 100;
}

.cover-next-btn:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.cover-next-btn i {
    margin-left: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}



/* ========================================
   PAGE 3: MEMBERSHIP
   ======================================== */
.hm_membership-desc {
    text-align: center;
    margin: 0;
    color: #ccc;
}

.hm_membership-table {
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 8px;
    margin: 0 2px;
    overflow: hidden;
}

.hm_membership-row {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.hm_membership-row.header {
    background: rgba(212, 175, 55, 0.3);
    font-weight: bold;
    text-align: center;
}

.hm_membership-row span {
    padding: 0;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hm_membership-row span:last-child {
    border-right: none;
    align-items: flex-start;
}
/* ============================================================
   EVENTS Section CSS (ev_) - 책자 스타일 개선
   ============================================================ */

/* 공통 스타일 */
.ev_header {
    text-align: center;
    margin-bottom: 20px;
}

.ev_header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold-color);
    margin: 0 0 8px 0;
}

.ev_header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.ev_intro-text {
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.ev_intro-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.ev_empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.ev_empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.ev_empty-state p {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.ev_empty-state small {
    font-size: 0.85rem;
    opacity: 0.7;
}

.ev_empty-full {
    grid-column: 1 / -1;
    min-height: 300px;
}

/* PAGE 7: 하이라이트 카드 */
.ev-highlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.ev-highlight-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.ev-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-color);
}

.ev-highlight-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ev-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ev-highlight-card:hover .ev-highlight-image img {
    transform: scale(1.1);
}

.ev-highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.ev-highlight-label {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ev-highlight-content {
    padding: 20px;
}

.ev-highlight-content h3 {
    font-size: 1.2rem;
    color: var(--gold-color);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ev-highlight-content h3 i {
    font-size: 1rem;
}

.ev-highlight-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.ev-highlight-arrow {
    color: var(--gold-color);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.ev-highlight-card:hover .ev-highlight-arrow {
    transform: translateX(5px);
}

/* PAGE 7: 공지&안내 미리보기 */
.ev-blog-preview {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.ev-blog-preview h3 {
    font-size: 1.1rem;
    color: var(--gold-color);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ev-blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.ev-blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.ev-blog-img {
    height: 100px;
    overflow: hidden;
}

.ev-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ev-blog-card:hover .ev-blog-img img {
    transform: scale(1.1);
}

.ev-blog-text {
    padding: 12px;
}

.ev-blog-text h4 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-blog-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-more-link {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    cursor: pointer;
    color: var(--gold-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ev-more-link:hover {
    color: #fff;
}

.ev-more-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.ev-more-link:hover i {
    transform: translateX(3px);
}

/* PAGE 8-9: 카드 그리드 */
.ev-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 15px;
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

.ev-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.ev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-color);
}

.ev-card-package:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.ev-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.ev-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ev-card:hover .ev-card-image img {
    transform: scale(1.1);
}

.ev-card-content {
    padding: 18px;
}

.ev-card-content h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.ev-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-card-date {
    font-size: 0.8rem;
    color: var(--gold-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ev-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ev-price-label {
    font-size: 0.9rem;
    color: var(--gold-color);
}

.ev-price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-color);
}

.ev_ended-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* PAGE 10: 공지&안내 전체 그리드 */
.ev-blog-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 15px;
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

.ev-blog-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.ev-blog-item-img {
    height: 200px;
    overflow: hidden;
}

.ev-blog-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ev-blog-item:hover .ev-blog-item-img img {
    transform: scale(1.1);
}

.ev-blog-item-content {
    padding: 20px;
}

.ev-blog-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--gold-color);
    background: rgba(212, 175, 55, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.ev-blog-item-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.ev-blog-excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 15px 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-blog-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ev-blog-readmore {
    font-size: 0.85rem;
    color: var(--gold-color);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.ev-blog-item:hover .ev-blog-readmore {
    transform: translateX(5px);
}

/* 모달 스타일 */
.ev_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: var(--z-modal-overlay);
    justify-content: center;
    align-items: center;
}

.ev_modal.active {
    display: flex;
}

.ev_modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 20px;
    animation: modalSlideIn 0.3s ease-out;
}

.ev_modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.ev_modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.ev_modal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.ev_modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ev_modal-body {
    padding: 25px;
}

.ev_modal-body h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    font-family: 'Playfair Display', serif;
}

.ev_modal-date {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ev_modal-desc {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ev_modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4a017;
    margin: 20px 0;
    font-family: 'Playfair Display', serif;
}

.ev_modal-includes {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.ev_modal-includes h4 {
    font-size: 1rem;
    color: #1a1a2e;
    margin: 0 0 10px 0;
}

.ev_modal-includes ul {
    padding-left: 20px;
    margin: 0;
}

.ev_modal-includes li {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.ev_modal-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #d4a017, #b8860b);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.ev_modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

body.ev_modal-open {
    overflow: hidden;
}

body.ev_modal-open .book-container {
    pointer-events: none;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 반응형 */
@media (max-width: 1024px) {
    .ev-highlight-container {
        grid-template-columns: 1fr;
    }
    .ev-blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ev-cards-grid {
        grid-template-columns: 1fr;
    }
    .ev-blog-full-grid {
        grid-template-columns: 1fr;
    }}
.hm_docs-list {
    color: inherit;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    align-items: center;
    font-family: "Apple SD Gothic Neo", "SF Pro KR", -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif;
}
.hm_toc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(15px, 2.5vh, 25px) clamp(20px, 3vw, 40px);
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}
