/* ==========================================
   KSEI 심포지움 - Figma 디자인 재현
   ========================================== */

/* ==========================================
   1. CSS 변수
   ========================================== */
:root {
    --primary-dark: #0a1628;
    --accent-orange: #FFA702;
    --white: #ffffff;
    --cream: #F5F3EE;
    --dark-card: rgba(26, 35, 50, 0.6);
    --text-gray: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   2. 기본 스타일 (Reset & Base)
   ========================================== */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { width:100%; }
body { 
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height:1.6; 
    color:var(--white); 
    background: #000 url('../img/2025symposium2_bg.png') center top / cover no-repeat fixed;
    letter-spacing: -0.3px;
    font-size:16px;
}

/* ==========================================
   3. 레이아웃 (Wrapper & Container)
   ========================================== */
#wrapper { 
    min-width:auto !important; 
    min-height:100vh; 
    display:flex; 
    flex-direction:column; 
    width:100% !important; 
    max-width:100% !important; 
}

.container { 
    max-width:1000px; 
    width:100%; 
    margin:0 auto; 
    padding:0 24px; 
    box-sizing:border-box; 
}

#content { 
    flex:1; 
    padding:0;  
    width:100%; 
    min-height: calc(100vh - 200px);
}

#content > .container {
    background: rgba(255, 255, 255, 0.05);
    margin-top:60px;
    border-radius: 8px;
    padding: 60px 40px; 
}

/* ==========================================
   4. 헤더 (Header)
   ========================================== */
#header { 
    background: rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%; 
    max-width: 100%;
    padding: 20px 0;
}

#header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 로고 */
.logo { 
    margin: 0;
    flex-shrink: 0;
}

.logo a { 
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.logo a:hover {
    color: var(--accent-orange);
}

.logo a span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1.2;
    color: inherit;
}

.logo img {
    height: 40px;
    width: auto;
}

/* 햄버거 메뉴 */
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--white);
    font-size: 24px;
    z-index: 1001;
    transition: color 0.3s ease;
}

.nav-toggle-label:hover {
    color: var(--accent-orange);
}

.nav-toggle-label i {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-toggle-label .ri-menu-line {
    opacity: 1;
    transform: scale(1);
}

.nav-toggle-label .ri-close-line {
    opacity: 0;
    transform: scale(0.8);
}

#nav-toggle:checked ~ .nav-toggle-label .ri-menu-line {
    opacity: 0;
    transform: scale(0.8);
}

#nav-toggle:checked ~ .nav-toggle-label .ri-close-line {
    opacity: 1;
    transform: scale(1);
}

/* 네비게이션 래퍼 */
.nav-wrapper {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    gap: 24px;
}

/* GNB (Global Navigation Bar) */
#gnb { 
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

#gnb ul { 
    list-style: none; 
    display: flex; 
    gap: 48px;
    margin: 0;
    padding: 0;
    align-items: center;
}

#gnb > ul > li {
    position: relative;
    display: flex;
    align-items: center;
}

#gnb a { 
    display: flex;
    align-items: center;
    text-decoration: none; 
    color: var(--white); 
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    letter-spacing: -0.3px;
    position: relative;
}

#gnb a:hover,
#gnb li.active > a { 
    color: var(--accent-orange);
}

#gnb li.active > a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-orange);
}

/* 서브메뉴 */
#gnb li.has-submenu {
    position: relative;
}

#gnb li.has-submenu > a {
    gap: 4px;
}

#gnb li.has-submenu > a i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

#gnb li.has-submenu:hover > a i,
#gnb li.has-submenu.active > a i {
    transform: rotate(180deg);
}

#gnb .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 240px;
    width: max-content;
    max-width: 320px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#gnb li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}

/* 서브메뉴와 부모 메뉴 사이 호버 영역 확보 */
#gnb li.has-submenu::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    z-index: 999;
}

/* 반응형: 화면 오른쪽 끝에 가까우면 왼쪽 정렬 */
@media (min-width: 1024px) {
    #gnb li.has-submenu:last-child .submenu,
    #gnb li.has-submenu:nth-last-child(2) .submenu {
        left: auto;
        right: 0;
        transform: translateX(0);
    }
    
    #gnb li.has-submenu:last-child:hover .submenu,
    #gnb li.has-submenu:nth-last-child(2):hover .submenu {
        transform: translateX(0);
    }
}

#gnb .submenu li {
    margin: 0;
    display: block;
    width: 100%;
}

#gnb .submenu a {
    display: block;
    padding: 10px 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: keep-all;
    line-height: 1.5;
    text-align: left;
}

#gnb .submenu a:hover,
#gnb .submenu li.active > a {
    color: var(--accent-orange);
    background: rgba(255, 167, 2, 0.1);
    padding-left: 28px;
}

#gnb .submenu li.active > a::after {
    display: none;
}

/* 헤더 유틸 */
.header-util { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 14px;
    flex-shrink: 0;
    display: none;
}

.header-util .member-name {
    color: var(--white); 
    font-weight: 500;
}

.header-util .btn-util { 
    color: var(--white); 
    text-decoration: none; 
    transition: color 0.3s;
    font-weight: 400;
}

.header-util .btn-util:hover { 
    color: var(--accent-orange); 
}

.header-util .btn-official {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.header-util .btn-official:hover {
    color: var(--accent-orange);
}

.header-util .divider { 
    color: rgba(255, 255, 255, 0.3); 
}

/* ==========================================
   5. 메인 컨텐츠 (Main Content)
   ========================================== */

/* 히어로 섹션 */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 100px 24px 80px;
}

.hero-content {
    max-width: 900px;
    width: 100%;
}

.hero-subtitle-top {
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 32px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.hero-subtitle-ko {
    font-size: 26px;
    font-weight: 500;
    color: var(--accent-orange);
    margin: 0 0 40px;
    letter-spacing: 0.5px;
}

.hero-description {
    margin: 0 0 40px;
}

.hero-description p {
    font-size: 20px;
    font-weight: 400;
    margin: 4px 0;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto 40px;
}

.hero-info {
    margin: 0 0 48px;
}

.hero-info p {
    font-size: 16px;
    font-weight: 400;
    margin: 8px 0;
    line-height: 1.6;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-logo {
    height: 32px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    vertical-align: middle;
}

.hero-cta-btn {
    display: inline-block;
    padding: 14px 80px;
    background: #000000;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.hero-cta-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.hero-quick-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.quick-menu-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    min-width: 120px;
    text-align: center;
}

.quick-menu-item:hover {
    background: rgba(255, 167, 2, 0.2);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 167, 2, 0.3);
}

/* 회장 인사말 섹션 */
.greeting-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: transparent;
    color: var(--white);
}

.greeting-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.greeting-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin: 0 0 48px;
    letter-spacing: -0.5px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.greeting-body {
    margin-bottom: 48px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

.greeting-text {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
    color: rgba(255, 255, 255, 0.9);
}

.greeting-text:last-of-type {
    margin-bottom: 0;
}

.greeting-text strong {
    font-weight: 600;
    color: var(--white);
}

.greeting-signature {
    text-align: right;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.greeting-date,
.greeting-org,
.greeting-name {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.2px;
}

.greeting-name {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0;
}

/* ==========================================
   6. 서브페이지 공통 스타일
   ========================================== */
.page-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.page-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.5px;
}

.content-body {
    color: var(--white);
    line-height: 1.8;
}

.info-section {
    margin-bottom: 48px;
}

.content-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: -0.3px;
}

.content-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 16px;
}




/* ==========================================
   7. 공통 컴포넌트 (Common Components)
   ========================================== */

/* 테이블 */
.info-table,
.schedule-table,
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    background: rgba(26, 35, 50, 0.6);
    overflow: hidden;
    table-layout: fixed;
    border-top:1px solid var(--accent-orange);
}

.info-table th,
.schedule-table th,
.fee-table th {
    background: rgba(255, 167, 2, 0.2);
    color: var(--accent-orange);
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 180px;
    min-width: 180px;
    vertical-align: top;
}

.info-table td,
.schedule-table td,
.fee-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    vertical-align: top;
}

.info-table tbody tr:last-child td,
.schedule-table tbody tr:last-child td,
.fee-table tbody tr:last-child td {
    border-bottom: none;
}

/* 버튼 */
.btn-area {
    text-align: center;
    margin: 48px 0;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    margin: 0 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-orange);
    color: #000;
}

.btn-primary:hover {
    background: #FFB620;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 안내 문구 */
.notice {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 16px;
}

.notice-list {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
}

.notice-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.notice-list li:last-child {
    margin-bottom: 0;
}

.notice-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--accent-orange);
    font-weight: bold;
}

.info-content {
    line-height: 1.8;
}

.info-section h3 {
    font-size: 22px;
    color: #ffffff;
}

.info-content {
}
.info-content p {
    margin-bottom: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content p strong {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
}

.notice-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 16px;
}

.info-list {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
}

.info-list li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li strong {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
}

.info-method {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.info-method strong {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
}

.text-danger {
    color: #f44336;
}

/* ==========================================
   8. 페이지별 스타일 (Page-specific Styles)
   ========================================== */

/* 행사안내 페이지 */
.event-info {
    margin-bottom: 48px;
    text-align: center;
}

.event-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-subtitle-en {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.event-title-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.event-title-eng {
    font-size: 28px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-title-ko {
    font-size: 24px;
    font-weight: 500;
    color: var(--accent-orange);
    margin: 0;
    line-height: 1.4;
}

.event-description {
    background: rgba(26, 35, 50, 0.6);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    line-height: 1.8;
    text-align: left;
}

.event-description p {
    margin-bottom: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.event-description p:last-child {
    margin-bottom: 0;
}

.event-thumbnail {
    margin: 32px 0;
}

.event-thumbnail img {
    width: 100%;
    border-radius: 8px;
}

/* 오시는 길 페이지 */
.location-info {
    background: rgba(26, 35, 50, 0.6);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.venue-name {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--accent-orange);
}

.address p {
    margin-bottom: 8px;
}

.map-area {
    margin: 32px 0;
}

.map-area #map {
    width: 100%;
    height: 400px;
    background: rgba(26, 35, 50, 0.6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.map-embed {
    margin: 24px 0;
}

.map-embed .root_daum_roughmap { 
    width:100% !important; 
}

.transportation {
    margin-top: 32px;
}

.trans-section {
    background: rgba(26, 35, 50, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.trans-section h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.trans-section ul {
    margin: 8px 0;
    padding-left: 20px;
}

.trans-section li {
    margin-bottom: 4px;
}

/* 사전등록 페이지 */
.register-info,
.fee-info {
    background: rgba(26, 35, 50, 0.6);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.register-info h3,
.fee-info h3 {
    margin-top: 0;
}

.register-info ul {
    list-style: none;
    padding-left: 0;
}

.register-info li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.register-info li:last-child {
    border-bottom: none;
}

.register-success {
    background: rgba(26, 35, 50, 0.6);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.register-success h2 {
    font-size: 24px;
    font-weight: 500;
    color: var(--accent-orange);
    margin-bottom: 12px;
}

.register-success p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.register-success strong {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
}

.register-number {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.register-number span {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
}

.register-number span.label {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
}

.register-number span.number {
    font-weight: 600;
    color: var(--white);
    margin-right: 8px;
}

/* ==========================================
   9. 푸터 (Footer)
   ========================================== */
#ft, #footer { 
    min-width:auto !important; 
    color:rgba(255,255,255,0.7); 
    padding:60px 0; 
    text-align:center; 
    margin-top:auto; 
    width:100% !important; 
    max-width:100% !important; 
}

#ft_wr, #ft_copy { 
    width:100% !important; 
    max-width:1200px !important; 
    margin:0 auto !important; 
}

#aside { 
    float:none !important; 
    width:100% !important; 
    margin:0 !important; 
}

#footer a { 
    color:var(--accent-orange); 
    text-decoration:none; 
}

#footer a:hover { 
    text-decoration:underline; 
}

/* ==========================================
   10. 반응형 디자인 (Responsive Design)
   ========================================== */

/* 모바일 (1024px 미만) */
@media (max-width: 1023px) {
    /* 헤더 */
    #header { 
        padding: 16px 0; 
    }
    
    .logo a span {
        font-size: 17px;
        letter-spacing: -0.4px;
    }
    
    .logo img { 
        height: 36px; 
    }
    
    .nav-toggle-label {
        display: flex;
        margin-left: auto;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 80px 24px 24px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        z-index: 999;
        gap: 0;
        overflow-y: auto;
    }
    
    #nav-toggle:checked ~ .nav-wrapper {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: translateY(0);
    }
    
    #gnb { 
        flex: none;
        width: 100%;
        display: block;
        margin-bottom: 24px;
    }
    
    #gnb ul { 
        flex-direction: column; 
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        display: block;
    }
    
    #gnb > ul > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }
    
    #gnb > ul > li.has-submenu {
        position: relative;
        display: block;
    }
    
    #gnb a { 
        display: block;
        width: 100%;
        padding: 16px 24px;
        font-size: 17px;
        text-align: left;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    #gnb a:hover,
    #gnb li.active > a {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--accent-orange);
    }
    
    #gnb li.active > a::after {
        display: none;
    }
    
    #gnb li.has-submenu > a i {
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    #gnb li.has-submenu.open > a i {
        transform: rotate(180deg);
    }
    
    /* 모바일 서브메뉴 - depth1 아래로 배치 */
    #gnb .submenu {
        position: static !important;
        float: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(0, 0, 0, 0.3) !important;
        margin: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        min-width: auto !important;
        max-width: none !important;
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: block !important;
        clear: both !important;
    }
    
    #gnb li.has-submenu.open .submenu {
        max-height: 500px !important;
    }
    
    #gnb .submenu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    #gnb .submenu li:last-child {
        border-bottom: none;
    }
    
    #gnb .submenu a {
        padding: 12px 24px 12px 40px !important;
        font-size: 15px !important;
        white-space: normal !important;
        word-break: keep-all !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        line-height: 1.5 !important;
    }
    
    #gnb .submenu a:hover,
    #gnb .submenu li.active > a {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: var(--accent-orange) !important;
        padding-left: 44px !important;
    }
    
    /* 모바일에서 데스크톱 호버 효과 완전히 비활성화 */
    #gnb li.has-submenu:hover .submenu {
        max-height: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    #gnb li.has-submenu.open:hover .submenu {
        max-height: 500px !important;
    }
    
    .header-util {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-util .divider {
        display: none;
    }
    
    .header-util .btn-util,
    .header-util .btn-official {
        display: block;
        width: 100%;
        padding: 16px 24px;
        font-size: 17px;
        color: var(--white);
        text-decoration: none;
        text-align: left;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .header-util .btn-util:hover,
    .header-util .btn-official:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--accent-orange);
    }
    
    /* 히어로 */
    .hero-section {
        padding: 100px 20px 80px;
    }
    
    .hero-title { font-size: 42px; }
    
    .hero-subtitle-ko { font-size: 22px; }
    
    .hero-description p { font-size: 14px; }
    
    .hero-info p { 
        font-size: 13px; 
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .hero-logo {
        height: 28px;
        max-width: 160px;
    }
    
    .hero-cta-btn {
        padding: 12px 60px;
        font-size: 15px;
    }
    
    .hero-quick-menu {
        flex-direction: column;
        gap: 12px;
        margin-top: 40px;
    }
    
    .quick-menu-item {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* 회장 인사말 */
    .greeting-section {
        padding: 60px 0;
    }
    
    .greeting-title {
        font-size: 28px;
        margin-bottom: 32px;
        padding-bottom: 16px;
    }
    
    .greeting-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .greeting-signature {
        margin-top: 32px;
        padding-top: 24px;
        text-align: center;
    }
    
    .greeting-date,
    .greeting-org,
    .greeting-name {
        font-size: 15px;
    }
    
    /* 서브페이지 */
    #content > .container {
        padding: 40px 20px;
    }
    
    .page-header {
        margin-bottom: 32px;
        padding-bottom: 16px;
    }
    
    .page-header h2 {
        font-size: 28px;
    }
    
    .content-body h3 {
        font-size: 20px;
    }
    
    .content-body > div {
        margin-bottom: 32px;
    }
    
    .info-table th,
    .schedule-table th,
    .fee-table th {
        width: 140px;
        min-width: 140px;
    }
    
    .info-table th,
    .schedule-table th,
    .fee-table th,
    .info-table td,
    .schedule-table td,
    .fee-table td {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-secondary {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
    
    .btn-area {
        margin: 32px 0;
    }
}

/* 모바일 (480px 이하) */
@media (max-width: 480px) {
    .logo a span {
        font-size: 15px;
        letter-spacing: -0.3px;
    }
    
    .logo img { height: 32px; }
    
    /* 히어로 */
    .hero-section {
        min-height: 70vh;
        padding: 80px 16px 50px;
    }
    
    .hero-subtitle-top { font-size: 20px; }
    
    .hero-title { 
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle-ko { font-size: 20px; }
    
    .hero-description p { font-size: 13px; }
    
    .hero-info p { 
        font-size: 12px; 
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .hero-logo {
        height: 24px;
        max-width: 140px;
    }
    
    .hero-cta-btn {
        padding: 12px 50px;
        font-size: 14px;
    }
    
    .hero-quick-menu {
        gap: 10px;
        margin-top: 32px;
    }
    
    .quick-menu-item {
        padding: 11px 20px;
        font-size: 13px;
        min-width: auto;
    }
    
    /* 서브페이지 */
    .page-header h2 {
        font-size: 24px;
    }
    
    .content-body h3 {
        font-size: 18px;
    }
    
    .content-body p {
        font-size: 14px;
    }
    
    .info-table,
    .schedule-table,
    .fee-table {
        font-size: 13px;
    }
    
    .info-table th,
    .schedule-table th,
    .fee-table th {
        width: 120px;
        min-width: 120px;
    }
    
    .info-table th,
    .schedule-table th,
    .fee-table th,
    .info-table td,
    .schedule-table td,
    .fee-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .event-title {
        font-size: 22px;
    }
    
    .event-main-title {
        font-size: 26px;
    }
    
    .event-subtitle-en {
        font-size: 18px;
    }
    
    .event-title-section {
        padding-bottom: 24px;
    }
    
    .event-title-eng {
        font-size: 24px;
    }
    
    .event-title-ko {
        font-size: 20px;
    }
    
    .info-content p {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .info-list {
        margin: 12px 0;
    }
    
    .info-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .notice-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .info-method {
        font-size: 15px;
        margin-top: 12px;
    }
    
    .notice-text {
        font-size: 13px;
        margin-top: 12px;
    }
    
    .event-description,
    .program-schedule,
    .location-info,
    .register-info,
    .fee-info,
    .trans-section {
        padding: 20px;
    }
    
    .map-area #map {
        height: 300px;
    }
    
    
}

